Home
last modified time | relevance | path

Searched refs:layer_state_t (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp781 layer_state_t* s = &(mComposerStates[handle].state); in cacheBuffers()
782 if (!(s->what & layer_state_t::eBufferChanged)) { in cacheBuffers()
784 } else if (s->what & layer_state_t::eCachedBufferChanged) { in cacheBuffers()
801 s->what &= ~static_cast<uint64_t>(layer_state_t::eBufferChanged); in cacheBuffers()
807 s->what |= layer_state_t::eCachedBufferChanged; in cacheBuffers()
842 layer_state_t* s = getLayerState(surfaceControl); in apply()
848 s->what |= layer_state_t::eHasListenerCallbacksChanged; in apply()
940 layer_state_t* SurfaceComposerClient::Transaction::getLayerState(const sp<SurfaceControl>& sc) { in getLayerState()
967 layer_state_t* s = getLayerState(sc); in setPosition()
972 s->what |= layer_state_t::ePositionChanged; in setPosition()
[all …]
DLayerState.cpp34 layer_state_t::layer_state_t() in layer_state_t() function in android::layer_state_t
76 status_t layer_state_t::write(Parcel& output) const in write()
179 status_t layer_state_t::read(const Parcel& input) in read()
380 void layer_state_t::merge(const layer_state_t& other) { in merge()
568 bool layer_state_t::hasBufferChanges() const { in hasBufferChanges()
569 return (what & layer_state_t::eBufferChanged) || (what & layer_state_t::eCachedBufferChanged); in hasBufferChanges()
572 bool layer_state_t::hasValidBuffer() const { in hasValidBuffer()
576 status_t layer_state_t::matrix22_t::write(Parcel& output) const { in write()
584 status_t layer_state_t::matrix22_t::read(const Parcel& input) { in read()
DBLASTBufferQueue.cpp169 .setFlags(surface, layer_state_t::eEnableBackpressure, in BLASTBufferQueue()
170 layer_state_t::eEnableBackpressure) in BLASTBufferQueue()
210 t.setFlags(mSurfaceControl, layer_state_t::eEnableBackpressure, in update()
211 layer_state_t::eEnableBackpressure); in update()
/frameworks/native/services/surfaceflinger/
DSurfaceInterceptor.cpp145 layer_state_t::eLayerHidden | layer_state_t::eLayerOpaque | in addInitialSurfaceStateLocked()
146 layer_state_t::eLayerSecure); in addInitialSurfaceStateLocked()
286 const layer_state_t::matrix22_t& matrix) in addMatrixLocked()
311 if (mask & layer_state_t::eLayerHidden) { in addFlagsLocked()
314 flagChange->set_hidden_flag(flags & layer_state_t::eLayerHidden); in addFlagsLocked()
316 if (mask & layer_state_t::eLayerOpaque) { in addFlagsLocked()
319 flagChange->set_opaque_flag(flags & layer_state_t::eLayerOpaque); in addFlagsLocked()
321 if (mask & layer_state_t::eLayerSecure) { in addFlagsLocked()
324 flagChange->set_secure_flag(flags & layer_state_t::eLayerSecure); in addFlagsLocked()
409 const layer_state_t& state) in addSurfaceChangesLocked()
[all …]
DSurfaceInterceptor.h43 struct layer_state_t;
159 const layer_state_t::matrix22_t& matrix);
170 void addSurfaceChangesLocked(Transaction* transaction, const layer_state_t& state);
DSurfaceFlinger.cpp3417 composerState.state.what = layer_state_t::eLayerCreated; in addClientLayer()
3491 transaction.traverseStatesWithBuffers([&](const layer_state_t& state) { in flushTransactionQueues()
3522 transaction.traverseStatesWithBuffers([&](const layer_state_t& state) { in flushTransactionQueues()
3604 const layer_state_t& s = state.state; in transactionIsReadyToBeApplied()
3605 const bool acquireFenceChanged = (s.what & layer_state_t::eAcquireFenceChanged); in transactionIsReadyToBeApplied()
3738 state.traverseStatesWithBuffers([&](const layer_state_t& state) { in setTransactionState()
3904 const layer_state_t& s = composerState.state; in setClientStateLocked()
3933 if (what & layer_state_t::eLayerCreated) { in setClientStateLocked()
3957 if (what & layer_state_t::eProducerDisconnect) { in setClientStateLocked()
3961 if (what & layer_state_t::ePositionChanged) { in setClientStateLocked()
[all …]
DEffectLayer.cpp130 return (s.flags & layer_state_t::eLayerOpaque) != 0 || (fillsColor() && getAlpha() == 1.0_hf); in isOpaque()
DBufferStateLayer.h73 bool setMatrix(const layer_state_t::matrix22_t& /*matrix*/,
DLayer.cpp96 if (args.flags & ISurfaceComposerClient::eHidden) layerFlags |= layer_state_t::eLayerHidden; in Layer()
97 if (args.flags & ISurfaceComposerClient::eOpaque) layerFlags |= layer_state_t::eLayerOpaque; in Layer()
98 if (args.flags & ISurfaceComposerClient::eSecure) layerFlags |= layer_state_t::eLayerSecure; in Layer()
100 layerFlags |= layer_state_t::eLayerSkipScreenshot; in Layer()
676 if (s.flags & layer_state_t::eLayerSecure) { in isSecure()
952 bool Layer::setMatrix(const layer_state_t::matrix22_t& matrix, in setMatrix()
1336 return s.flags & layer_state_t::eLayerHidden; in isHiddenByPolicy()
2550 if (s.flags & layer_state_t::eLayerSkipScreenshot) { in getPrimaryDisplayOnly()
DLayer.h364 virtual bool setMatrix(const layer_state_t::matrix22_t& matrix,
882 bool backpressureEnabled() { return mDrawingState.flags & layer_state_t::eEnableBackpressure; } in backpressureEnabled()
DRefreshRateOverlay.cpp247 layer_state_t::matrix22_t matrix; in setViewport()
DBufferLayer.cpp109 return ((s.flags & layer_state_t::eLayerOpaque) != 0) || getOpacityForFormat(getPixelFormat()); in isOpaque()
DBufferStateLayer.cpp366 bool BufferStateLayer::setMatrix(const layer_state_t::matrix22_t& matrix, in setMatrix()
/frameworks/native/services/surfaceflinger/tests/
DMirrorLayer_test.cpp43 t.setFlags(mParentLayer, layer_state_t::eLayerOpaque, layer_state_t::eLayerOpaque); in SetUp()
44 t.setFlags(mChildLayer, layer_state_t::eLayerOpaque, layer_state_t::eLayerOpaque); in SetUp()
62 .setFlags(grandchild, layer_state_t::eLayerOpaque, layer_state_t::eLayerOpaque) in TEST_F()
DLayerTypeTransaction_test.cpp167 .setFlags(layer, layer_state_t::eLayerSecure, layer_state_t::eLayerSecure) in TEST_P()
180 Transaction().setFlags(layer, 0, layer_state_t::eLayerSecure).apply(true); in TEST_P()
DEffectLayer_test.cpp38 t.setFlags(mParentLayer, layer_state_t::eLayerOpaque, layer_state_t::eLayerOpaque); in SetUp()
DLayerTypeAndRenderTypeTransaction_test.cpp100 Transaction().setFlags(layer, layer_state_t::eLayerHidden, layer_state_t::eLayerHidden).apply(); in TEST_P()
106 Transaction().setFlags(layer, 0, layer_state_t::eLayerHidden).apply(); in TEST_P()
124 .setFlags(layerR, layer_state_t::eLayerOpaque, layer_state_t::eLayerOpaque) in TEST_P()
131 Transaction().setFlags(layerR, 0, layer_state_t::eLayerOpaque).apply(); in TEST_P()
DSurfaceInterceptor_test.cpp387 t.setFlags(mBGSurfaceControl, layer_state_t::eLayerHidden, layer_state_t::eLayerHidden); in hiddenFlagUpdate()
391 t.setFlags(mBGSurfaceControl, layer_state_t::eLayerOpaque, layer_state_t::eLayerOpaque); in opaqueFlagUpdate()
395 t.setFlags(mBGSurfaceControl, layer_state_t::eLayerSecure, layer_state_t::eLayerSecure); in secureFlagUpdate()
DScreenCapture_test.cpp658 .setFlags(layer, layer_state_t::eLayerSkipScreenshot, in TEST_F()
659 layer_state_t::eLayerSkipScreenshot) in TEST_F()
708 .setFlags(layer, layer_state_t::eLayerSkipScreenshot, in TEST_F()
709 layer_state_t::eLayerSkipScreenshot) in TEST_F()
DLayerUpdate_test.cpp219 t2.setFlags(mFGSurfaceControl, 0 /* flags */, layer_state_t::eLayerSecure /* mask */); in TEST_F()
/frameworks/native/cmds/surfacereplayer/replayer/
DReplayer.cpp537 layer_id flag = hfc.hidden_flag() ? layer_state_t::eLayerHidden : 0; in setHiddenFlag()
539 t.setFlags(mLayers[id], flag, layer_state_t::eLayerHidden); in setHiddenFlag()
545 layer_id flag = ofc.opaque_flag() ? layer_state_t::eLayerOpaque : 0; in setOpaqueFlag()
547 t.setFlags(mLayers[id], flag, layer_state_t::eLayerOpaque); in setOpaqueFlag()
553 layer_id flag = sfc.secure_flag() ? layer_state_t::eLayerSecure : 0; in setSecureFlag()
555 t.setFlags(mLayers[id], flag, layer_state_t::eLayerSecure); in setSecureFlag()
/frameworks/base/native/android/
Dsurface_control.cpp468 layer_state_t::eLayerOpaque : 0; in ASurfaceTransaction_setBufferTransparency()
469 transaction->setFlags(surfaceControl, flags, layer_state_t::eLayerOpaque); in ASurfaceTransaction_setBufferTransparency()
633 layer_state_t::eEnableBackpressure : 0; in ASurfaceTransaction_setEnableBackPressure()
634 transaction->setFlags(surfaceControl, flags, layer_state_t::eEnableBackpressure); in ASurfaceTransaction_setEnableBackPressure()
/frameworks/native/libs/gui/include/gui/
DLayerState.h64 struct layer_state_t { struct
DSurfaceComposerClient.h395 layer_state_t* getLayerState(const sp<SurfaceControl>& sc);
400 void setReleaseBufferCallback(layer_state_t*, const ReleaseCallbackId&,
402 void removeReleaseBufferCallback(layer_state_t*);
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp1330 ts.setFlags(mBGSurfaceControl, layer_state_t::eLayerOpaque, in Test_LayerSetLayerOpaque()
1331 layer_state_t::eLayerOpaque); in Test_LayerSetLayerOpaque()
1393 ts.setFlags(mFGSurfaceControl, layer_state_t::eLayerHidden, in Test_LayerSetFlags()
1394 layer_state_t::eLayerHidden); in Test_LayerSetFlags()

12