Home
last modified time | relevance | path

Searched refs:mSwapBehavior (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp119 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
121 mSwapBehavior = SwapBehavior::Preserved; in initialize()
148 ALOGD("Swap behavior %d", static_cast<int>(mSwapBehavior)); in loadConfig()
149 EGLint swapBehavior = (mSwapBehavior == SwapBehavior::Preserved) in loadConfig()
167 if (mSwapBehavior == SwapBehavior::Preserved) { in loadConfig()
170 mSwapBehavior = SwapBehavior::Discard; in loadConfig()
232 if (mSwapBehavior != SwapBehavior::Preserved) { in createSurface()
288 switch (mSwapBehavior) { in queryBufferAge()
316 if (EglExtensions.setDamage && mSwapBehavior == SwapBehavior::BufferAge) { in damageFrame()
328 return EglExtensions.setDamage && mSwapBehavior == SwapBehavior::BufferAge; in damageRequiresSwap()
[all …]
DEglManager.h118 SwapBehavior mSwapBehavior = SwapBehavior::Discard; variable
DCanvasContext.h199 SwapBehavior mSwapBehavior = kSwap_default; variable
DCanvasContext.cpp114 const bool preserveBuffer = (mSwapBehavior != kSwap_discardBuffer); in setSurface()
124 mSwapBehavior = swapBehavior; in setSwapBehavior()