Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp113 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
115 mSwapBehavior = SwapBehavior::Preserved; in initialize()
162 ALOGD("Swap behavior %d", static_cast<int>(mSwapBehavior)); in loadConfig()
163 EGLint swapBehavior = (mSwapBehavior == SwapBehavior::Preserved) in loadConfig()
181 if (mSwapBehavior == SwapBehavior::Preserved) { in loadConfig()
184 mSwapBehavior = SwapBehavior::Discard; in loadConfig()
229 if (mSwapBehavior != SwapBehavior::Preserved) { in createSurface()
289 switch (mSwapBehavior) { in queryBufferAge()
317 if (EglExtensions.setDamage && mSwapBehavior == SwapBehavior::BufferAge) { in damageFrame()
329 return EglExtensions.setDamage && mSwapBehavior == SwapBehavior::BufferAge; in damageRequiresSwap()
[all …]
DEglManager.h89 SwapBehavior mSwapBehavior = SwapBehavior::Discard; variable
DVulkanManager.h178 SwapBehavior mSwapBehavior = SwapBehavior::Discard; variable
DCanvasContext.h225 SwapBehavior mSwapBehavior = SwapBehavior::kSwap_default; variable
DCanvasContext.cpp189 bool hasSurface = mRenderPipeline->setSurface(surface, mSwapBehavior); in setSurface()
202 mSwapBehavior = swapBehavior; in setSwapBehavior()
DVulkanManager.cpp112 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
695 if (mSwapBehavior == SwapBehavior::Discard in getAge()