/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 781 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 …]
|
D | LayerState.cpp | 34 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()
|
D | BLASTBufferQueue.cpp | 169 .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/ |
D | SurfaceInterceptor.cpp | 145 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 …]
|
D | SurfaceInterceptor.h | 43 struct layer_state_t; 159 const layer_state_t::matrix22_t& matrix); 170 void addSurfaceChangesLocked(Transaction* transaction, const layer_state_t& state);
|
D | SurfaceFlinger.cpp | 3417 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 …]
|
D | EffectLayer.cpp | 130 return (s.flags & layer_state_t::eLayerOpaque) != 0 || (fillsColor() && getAlpha() == 1.0_hf); in isOpaque()
|
D | BufferStateLayer.h | 73 bool setMatrix(const layer_state_t::matrix22_t& /*matrix*/,
|
D | Layer.cpp | 96 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()
|
D | Layer.h | 364 virtual bool setMatrix(const layer_state_t::matrix22_t& matrix, 882 bool backpressureEnabled() { return mDrawingState.flags & layer_state_t::eEnableBackpressure; } in backpressureEnabled()
|
D | RefreshRateOverlay.cpp | 247 layer_state_t::matrix22_t matrix; in setViewport()
|
D | BufferLayer.cpp | 109 return ((s.flags & layer_state_t::eLayerOpaque) != 0) || getOpacityForFormat(getPixelFormat()); in isOpaque()
|
D | BufferStateLayer.cpp | 366 bool BufferStateLayer::setMatrix(const layer_state_t::matrix22_t& matrix, in setMatrix()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | MirrorLayer_test.cpp | 43 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()
|
D | LayerTypeTransaction_test.cpp | 167 .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()
|
D | EffectLayer_test.cpp | 38 t.setFlags(mParentLayer, layer_state_t::eLayerOpaque, layer_state_t::eLayerOpaque); in SetUp()
|
D | LayerTypeAndRenderTypeTransaction_test.cpp | 100 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()
|
D | SurfaceInterceptor_test.cpp | 387 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()
|
D | ScreenCapture_test.cpp | 658 .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()
|
D | LayerUpdate_test.cpp | 219 t2.setFlags(mFGSurfaceControl, 0 /* flags */, layer_state_t::eLayerSecure /* mask */); in TEST_F()
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
D | Replayer.cpp | 537 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/ |
D | surface_control.cpp | 468 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/ |
D | LayerState.h | 64 struct layer_state_t { struct
|
D | SurfaceComposerClient.h | 395 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/ |
D | SFFakeHwc_test.cpp | 1330 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()
|