Home
last modified time | relevance | path

Searched refs:bgColorLayer (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerLifecycleManager.cpp235 backgroundLayer->bgColorLayer = true; in applyTransactions()
244 RequestedLayerState* bgColorLayer = getLayerFromId(layer->bgColorLayerId); in applyTransactions() local
246 bgColorLayer->parentId = unlinkLayer(bgColorLayer->parentId, bgColorLayer->id); in applyTransactions()
247 onHandlesDestroyed({{bgColorLayer->id, bgColorLayer->debugName}}); in applyTransactions()
249 RequestedLayerState* bgColorLayer = getLayerFromId(layer->bgColorLayerId); in applyTransactions() local
250 bgColorLayer->color = layer->bgColor; in applyTransactions()
251 bgColorLayer->dataspace = layer->bgColorDataspace; in applyTransactions()
252 bgColorLayer->what |= layer_state_t::eColorChanged | in applyTransactions()
254 bgColorLayer->changes |= RequestedLayerState::Changes::Content; in applyTransactions()
255 mChangedLayers.push_back(bgColorLayer); in applyTransactions()
DRequestedLayerState.h139 bool bgColorLayer = false; member
/frameworks/native/services/surfaceflinger/
DLayer.cpp1000 if (!mDrawingState.bgColorLayer && alpha == 0) { in setBackgroundColor()
1007 if (!mDrawingState.bgColorLayer && alpha != 0) { in setBackgroundColor()
1011 mDrawingState.bgColorLayer = mFlinger->getFactory().createEffectLayer( in setBackgroundColor()
1016 addChild(mDrawingState.bgColorLayer); in setBackgroundColor()
1020 MUTEX_ALIAS(mFlinger->mStateLock, mDrawingState.bgColorLayer->mFlinger->mStateLock); in setBackgroundColor()
1021 mDrawingState.bgColorLayer->onRemovedFromCurrentState(); in setBackgroundColor()
1024 } else if (mDrawingState.bgColorLayer && alpha == 0) { in setBackgroundColor()
1025 MUTEX_ALIAS(mFlinger->mStateLock, mDrawingState.bgColorLayer->mFlinger->mStateLock); in setBackgroundColor()
1026 mDrawingState.bgColorLayer->reparent(nullptr); in setBackgroundColor()
1027 mDrawingState.bgColorLayer = nullptr; in setBackgroundColor()
[all …]
DLayer.h166 sp<Layer> bgColorLayer; member
DSurfaceFlinger.cpp2525 layer->bgColorLayer) { in updateLayerSnapshots()
2526 sp<Layer> bgColorLayer = getFactory().createEffectLayer( in updateLayerSnapshots() local
2530 mLegacyLayers[bgColorLayer->sequence] = bgColorLayer; in updateLayerSnapshots()