Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp124 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
126 mSwapBehavior = SwapBehavior::Preserved; in initialize()
241 mEglConfig = load8BitsConfig(mEglDisplay, mSwapBehavior); in loadConfigs()
243 if (mSwapBehavior == SwapBehavior::Preserved) { in loadConfigs()
246 mSwapBehavior = SwapBehavior::Discard; in loadConfigs()
247 mEglConfig = load8BitsConfig(mEglDisplay, mSwapBehavior); in loadConfigs()
257 mEglConfigWideGamut = loadFP16Config(mEglDisplay, mSwapBehavior); in loadConfigs()
264 mEglConfigWideGamut = load8BitsConfig(mEglDisplay, mSwapBehavior); in loadConfigs()
351 if (mSwapBehavior != SwapBehavior::Preserved) { in createSurface()
412 switch (mSwapBehavior) { in queryBufferAge()
[all …]
DEglManager.h106 SwapBehavior mSwapBehavior = SwapBehavior::Discard; variable
DVulkanManager.h179 SwapBehavior mSwapBehavior = SwapBehavior::Discard; variable
DCanvasContext.h233 SwapBehavior mSwapBehavior = SwapBehavior::kSwap_default; variable
DVulkanManager.cpp376 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
475 int bufferAge = (mSwapBehavior == SwapBehavior::Discard) ? 0 : surface->getCurrentBuffersAge(); in dequeueNextBuffer()
DCanvasContext.cpp165 bool hasSurface = mRenderPipeline->setSurface(mNativeSurface.get(), mSwapBehavior, colorMode, in setSurface()
180 mSwapBehavior = swapBehavior; in setSwapBehavior()