Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp383 s.state.what |= layer_state_t::eReparent; in doDropReferenceTransaction()
409 layer_state_t* s = getLayerState(sc); in cacheBuffers()
410 if (!(s->what & layer_state_t::eBufferChanged)) { in cacheBuffers()
423 s->what &= ~static_cast<uint64_t>(layer_state_t::eBufferChanged); in cacheBuffers()
428 s->what |= layer_state_t::eCachedBufferChanged; in cacheBuffers()
461 layer_state_t* s = getLayerState(surfaceControl); in apply()
466 s->what |= layer_state_t::eHasListenerCallbacksChanged; in apply()
548 layer_state_t* SurfaceComposerClient::Transaction::getLayerState(const sp<SurfaceControl>& sc) { in getLayerState()
571 layer_state_t* s = getLayerState(sc); in setPosition()
576 s->what |= layer_state_t::ePositionChanged; in setPosition()
[all …]
DLayerState.cpp29 status_t layer_state_t::write(Parcel& output) const in write()
42 *reinterpret_cast<layer_state_t::matrix22_t *>( in write()
43 output.writeInplace(sizeof(layer_state_t::matrix22_t))) = matrix; in write()
101 status_t layer_state_t::read(const Parcel& input) in read()
114 const void* matrix_data = input.readInplace(sizeof(layer_state_t::matrix22_t)); in read()
116 matrix = *reinterpret_cast<layer_state_t::matrix22_t const *>(matrix_data); in read()
240 void layer_state_t::merge(const layer_state_t& other) { in merge()
/frameworks/native/services/surfaceflinger/
DSurfaceInterceptor.cpp233 const layer_state_t::matrix22_t& matrix) in addMatrixLocked()
259 if (flags & layer_state_t::eLayerHidden) { in addFlagsLocked()
264 if (flags & layer_state_t::eLayerOpaque) { in addFlagsLocked()
269 if (flags & layer_state_t::eLayerSecure) { in addFlagsLocked()
324 const layer_state_t& state) in addSurfaceChangesLocked()
335 if (state.what & layer_state_t::ePositionChanged) { in addSurfaceChangesLocked()
338 if (state.what & layer_state_t::eLayerChanged) { in addSurfaceChangesLocked()
341 if (state.what & layer_state_t::eSizeChanged) { in addSurfaceChangesLocked()
344 if (state.what & layer_state_t::eAlphaChanged) { in addSurfaceChangesLocked()
347 if (state.what & layer_state_t::eMatrixChanged) { in addSurfaceChangesLocked()
[all …]
DSurfaceInterceptor.h41 struct layer_state_t;
141 const layer_state_t::matrix22_t& matrix);
152 void addSurfaceChangesLocked(Transaction* transaction, const layer_state_t& state);
DSurfaceFlinger.cpp3734 const layer_state_t& s = state.state; in transactionIsReadyToBeApplied()
3735 if (!(s.what & layer_state_t::eAcquireFenceChanged)) { in transactionIsReadyToBeApplied()
3971 const layer_state_t& s = composerState.state; in setClientStateLocked()
3983 what & layer_state_t::eGeometryAppliesWithResize; in setClientStateLocked()
3987 if (what & layer_state_t::eDeferTransaction_legacy) { in setClientStateLocked()
3991 if (what & layer_state_t::ePositionChanged) { in setClientStateLocked()
3996 if (what & layer_state_t::eLayerChanged) { in setClientStateLocked()
4014 if (what & layer_state_t::eRelativeLayerChanged) { in setClientStateLocked()
4032 if (what & layer_state_t::eSizeChanged) { in setClientStateLocked()
4037 if (what & layer_state_t::eAlphaChanged) { in setClientStateLocked()
[all …]
DBufferStateLayer.h85 bool setMatrix(const layer_state_t::matrix22_t& /*matrix*/, in setMatrix()
DLayer.cpp82 if (args.flags & ISurfaceComposerClient::eHidden) layerFlags |= layer_state_t::eLayerHidden; in Layer()
83 if (args.flags & ISurfaceComposerClient::eOpaque) layerFlags |= layer_state_t::eLayerOpaque; in Layer()
84 if (args.flags & ISurfaceComposerClient::eSecure) layerFlags |= layer_state_t::eLayerSecure; in Layer()
649 return (s.flags & layer_state_t::eLayerSecure); in isSecure()
1116 bool Layer::setMatrix(const layer_state_t::matrix22_t& matrix, in setMatrix()
1242 return s.flags & layer_state_t::eLayerHidden; in isHiddenByPolicy()
DBufferLayer.cpp97 return ((s.flags & layer_state_t::eLayerOpaque) != 0) || getOpacityForFormat(getPixelFormat()); in isOpaque()
DLayer.h259 virtual bool setMatrix(const layer_state_t::matrix22_t& matrix,
/frameworks/native/cmds/surfacereplayer/replayer/
DReplayer.cpp533 layer_id flag = hfc.hidden_flag() ? layer_state_t::eLayerHidden : 0; in setHiddenFlag()
535 t.setFlags(mLayers[id], flag, layer_state_t::eLayerHidden); in setHiddenFlag()
541 layer_id flag = ofc.opaque_flag() ? layer_state_t::eLayerOpaque : 0; in setOpaqueFlag()
543 t.setFlags(mLayers[id], flag, layer_state_t::eLayerOpaque); in setOpaqueFlag()
549 layer_id flag = sfc.secure_flag() ? layer_state_t::eLayerSecure : 0; in setSecureFlag()
551 t.setFlags(mLayers[id], flag, layer_state_t::eLayerSecure); in setSecureFlag()
/frameworks/native/services/surfaceflinger/tests/
DSurfaceInterceptor_test.cpp351 t.setFlags(mBGSurfaceControl, layer_state_t::eLayerHidden, layer_state_t::eLayerHidden); in hiddenFlagUpdate()
355 t.setFlags(mBGSurfaceControl, layer_state_t::eLayerOpaque, layer_state_t::eLayerOpaque); in opaqueFlagUpdate()
359 t.setFlags(mBGSurfaceControl, layer_state_t::eLayerSecure, layer_state_t::eLayerSecure); in secureFlagUpdate()
DTransaction_test.cpp1287 Transaction().setFlags(layer, layer_state_t::eLayerHidden, layer_state_t::eLayerHidden).apply(); in TEST_P()
1293 Transaction().setFlags(layer, 0, layer_state_t::eLayerHidden).apply(); in TEST_P()
1311 .setFlags(layerR, layer_state_t::eLayerOpaque, layer_state_t::eLayerOpaque) in TEST_P()
1318 Transaction().setFlags(layerR, 0, layer_state_t::eLayerOpaque).apply(); in TEST_P()
1334 .setFlags(layer, layer_state_t::eLayerSecure, layer_state_t::eLayerSecure) in TEST_P()
1339 Transaction().setFlags(layer, 0, layer_state_t::eLayerSecure).apply(true); in TEST_P()
1365 .setFlags(layer, layer_state_t::eLayerSecure, layer_state_t::eLayerSecure) in TEST_F()
/frameworks/native/libs/gui/include/gui/
DLayerState.h55 struct layer_state_t { struct
DSurfaceComposerClient.h317 layer_state_t* getLayerState(const sp<SurfaceControl>& sc);
/frameworks/base/native/android/
Dsurface_control.cpp402 layer_state_t::eLayerOpaque : 0; in ASurfaceTransaction_setBufferTransparency()
403 transaction->setFlags(surfaceControl, flags, layer_state_t::eLayerOpaque); in ASurfaceTransaction_setBufferTransparency()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp663 ts.setFlags(mBGSurfaceControl, layer_state_t::eLayerOpaque, in TEST_F()
664 layer_state_t::eLayerOpaque); in TEST_F()
726 ts.setFlags(mFGSurfaceControl, layer_state_t::eLayerHidden, in TEST_F()
727 layer_state_t::eLayerHidden); in TEST_F()