Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp128 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
130 mSwapBehavior = SwapBehavior::Preserved; in initialize()
328 mEglConfig = load8BitsConfig(mEglDisplay, mSwapBehavior); in loadConfigs()
330 if (mSwapBehavior == SwapBehavior::Preserved) { in loadConfigs()
333 mSwapBehavior = SwapBehavior::Discard; in loadConfigs()
334 mEglConfig = load8BitsConfig(mEglDisplay, mSwapBehavior); in loadConfigs()
343 mEglConfigF16 = loadFP16Config(mEglDisplay, mSwapBehavior); in loadConfigs()
430 mEglConfigA8 = loadA8Config(mEglDisplay, mSwapBehavior); in createSurface()
489 if (mSwapBehavior != SwapBehavior::Preserved) { in createSurface()
560 switch (mSwapBehavior) { in queryBufferAge()
[all …]
H A DEglManager.h110 SwapBehavior mSwapBehavior = SwapBehavior::Discard; variable
H A DVulkanManager.h200 SwapBehavior mSwapBehavior = SwapBehavior::Discard; variable
H A DCanvasContext.h301 SwapBehavior mSwapBehavior = SwapBehavior::kSwap_default; variable
H A DVulkanManager.cpp406 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
528 int bufferAge = (mSwapBehavior == SwapBehavior::Discard) ? 0 : surface->getCurrentBuffersAge(); in dequeueNextBuffer()
H A DCanvasContext.cpp236 mNativeSurface ? mNativeSurface->getNativeWindow() : nullptr, mSwapBehavior); in setupPipelineSurface()
260 mSwapBehavior = swapBehavior; in setSwapBehavior()
/aosp14/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaOpenGLPipeline.cpp63 setSurface(mNativeWindow.get(), mSwapBehavior); in makeCurrent()
227 mSwapBehavior = swapBehavior; in setSurface()
H A DSkiaOpenGLPipeline.h73 renderthread::SwapBehavior mSwapBehavior = renderthread::SwapBehavior::kSwap_discardBuffer; variable