Home
last modified time | relevance | path

Searched refs:swapBehavior (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp150 EGLConfig EglManager::load8BitsConfig(EGLDisplay display, EglManager::SwapBehavior swapBehavior) { in load8BitsConfig() argument
152 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in load8BitsConfig()
180 EGLConfig EglManager::loadFP16Config(EGLDisplay display, SwapBehavior swapBehavior) { in loadFP16Config() argument
182 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in loadFP16Config()
496 EGLint swapBehavior; in setPreserveBuffer() local
497 if (eglQuerySurface(mEglDisplay, surface, EGL_SWAP_BEHAVIOR, &swapBehavior)) { in setPreserveBuffer()
498 preserved = (swapBehavior == EGL_BUFFER_PRESERVED); in setPreserveBuffer()
DEglManager.h90 static EGLConfig load8BitsConfig(EGLDisplay display, SwapBehavior swapBehavior);
91 static EGLConfig loadFP16Config(EGLDisplay display, SwapBehavior swapBehavior);
DRenderProxy.cpp65 void RenderProxy::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior() argument
66 mRenderThread.queue().post([this, swapBehavior]() { mContext->setSwapBehavior(swapBehavior); }); in setSwapBehavior()
DIRenderPipeline.h69 virtual bool setSurface(ANativeWindow* window, SwapBehavior swapBehavior, ColorMode colorMode,
DRenderProxy.h68 ANDROID_API void setSwapBehavior(SwapBehavior swapBehavior);
DCanvasContext.h111 void setSwapBehavior(SwapBehavior swapBehavior);
DCanvasContext.cpp182 void CanvasContext::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior() argument
183 mSwapBehavior = swapBehavior; in setSwapBehavior()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.cpp172 bool SkiaOpenGLPipeline::setSurface(ANativeWindow* surface, SwapBehavior swapBehavior, in setSurface() argument
191 const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); in setSurface()
DSkiaOpenGLPipeline.h46 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior,
DSkiaVulkanPipeline.h45 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior,
DSkiaVulkanPipeline.cpp118 bool SkiaVulkanPipeline::setSurface(ANativeWindow* surface, SwapBehavior swapBehavior, in setSurface() argument