Searched refs:mDrawingState (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 166 mDrawingState.flags = layerFlags; in Layer() 167 mDrawingState.crop.makeInvalid(); in Layer() 168 mDrawingState.z = 0; in Layer() 169 mDrawingState.color.a = 1.0f; in Layer() 170 mDrawingState.layerStack = ui::DEFAULT_LAYER_STACK; in Layer() 171 mDrawingState.sequence = 0; in Layer() 172 mDrawingState.transform.set(0, 0); in Layer() 173 mDrawingState.frameNumber = 0; in Layer() 174 mDrawingState.previousFrameNumber = 0; in Layer() 175 mDrawingState.barrierFrameNumber = 0; in Layer() [all …]
|
D | Layer.h | 304 virtual bool isColorSpaceAgnostic() const { return mDrawingState.colorSpaceAgnostic; } in isColorSpaceAgnostic() 701 inline const State& getDrawingState() const { return mDrawingState; } in getDrawingState() 702 inline State& getDrawingState() { return mDrawingState; } in getDrawingState() 876 return mDrawingState.flags & layer_state_t::eEnableBackpressure; in backpressureEnabled() 1036 State mDrawingState; variable 1113 bool getAutoRefresh() const { return mDrawingState.autoRefresh; } in getAutoRefresh() 1193 return ((mDrawingState.sidebandStream != nullptr) || (mDrawingState.buffer != nullptr)); in hasBufferOrSidebandStreamInDrawing()
|
D | SurfaceFlinger.cpp | 924 mDrawingState.displays.add(token, state); in init() 967 mDrawingState = mCurrentState; in init() 2470 State drawingState(mDrawingState); in updateLayerSnapshots() 2484 .globalShadowSettings = mDrawingState.globalShadowSettings, in updateLayerSnapshots() 2816 mVisibleRegionsDirty || mDrawingState.colorMatrixChanged; in composite() 2819 if (CC_UNLIKELY(mDrawingState.colorMatrixChanged)) { in composite() 2820 refreshArgs.colorTransformMatrix = mDrawingState.colorMatrix; in composite() 2821 mDrawingState.colorMatrixChanged = false; in composite() 3278 mDrawingState.traverse([&, compositionDisplay = compositionDisplay](Layer* layer) { in onCompositionPresented() 3378 for (const auto& layer : mDrawingState.layersSortedByZ) { in computeLayerBounds() [all …]
|
D | SurfaceFlinger.h | 1284 State mDrawingState{LayerVector::StateSet::Drawing};
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TransactionSurfaceFrameTest.cpp | 76 EXPECT_EQ(1u, layer->mDrawingState.bufferlessSurfaceFramesTX.size()); in PresentedSurfaceFrameForBufferlessTransaction() 77 ASSERT_TRUE(layer->mDrawingState.bufferSurfaceFrameTX == nullptr); in PresentedSurfaceFrameForBufferlessTransaction() 78 const auto surfaceFrame = layer->mDrawingState.bufferlessSurfaceFramesTX.at(/*token*/ 1); in PresentedSurfaceFrameForBufferlessTransaction() 106 EXPECT_EQ(0u, layer->mDrawingState.bufferlessSurfaceFramesTX.size()); in PresentedSurfaceFrameForBufferTransaction() 107 ASSERT_NE(nullptr, layer->mDrawingState.bufferSurfaceFrameTX); in PresentedSurfaceFrameForBufferTransaction() 108 const auto surfaceFrame = layer->mDrawingState.bufferSurfaceFrameTX; in PresentedSurfaceFrameForBufferTransaction() 138 EXPECT_EQ(0u, layer->mDrawingState.bufferlessSurfaceFramesTX.size()); in DroppedSurfaceFrameForBufferTransaction() 139 ASSERT_NE(nullptr, layer->mDrawingState.bufferSurfaceFrameTX); in DroppedSurfaceFrameForBufferTransaction() 140 const auto droppedSurfaceFrame = layer->mDrawingState.bufferSurfaceFrameTX; in DroppedSurfaceFrameForBufferTransaction() 158 EXPECT_EQ(0u, layer->mDrawingState.bufferlessSurfaceFramesTX.size()); in DroppedSurfaceFrameForBufferTransaction() [all …]
|
D | TestableSurfaceFlinger.h | 325 static auto& mutableLayerDrawingState(const sp<Layer>& layer) { return layer->mDrawingState; } in mutableLayerDrawingState() 336 layer->mDrawingState.sidebandStream = sidebandStream; in setLayerSidebandStream() 669 const auto& drawingState() const { return mFlinger->mDrawingState; } in drawingState() 682 auto& mutableDrawingState() { return mFlinger->mDrawingState; } in mutableDrawingState()
|