Home
last modified time | relevance | path

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

/aosp12/frameworks/base/libs/hwui/renderthread/
H A DEglManager.h89 static EGLConfig load8BitsConfig(EGLDisplay display, SwapBehavior swapBehavior);
90 static EGLConfig loadFP16Config(EGLDisplay display, SwapBehavior swapBehavior);
91 static EGLConfig load1010102Config(EGLDisplay display, SwapBehavior swapBehavior);
H A DEglManager.cpp159 EGLConfig EglManager::load8BitsConfig(EGLDisplay display, EglManager::SwapBehavior swapBehavior) { in load8BitsConfig() argument
161 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in load8BitsConfig()
189 EGLConfig EglManager::load1010102Config(EGLDisplay display, SwapBehavior swapBehavior) { in load1010102Config() argument
191 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in load1010102Config()
218 EGLConfig EglManager::loadFP16Config(EGLDisplay display, SwapBehavior swapBehavior) { in loadFP16Config() argument
220 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in loadFP16Config()
566 EGLint swapBehavior; in setPreserveBuffer() local
567 if (eglQuerySurface(mEglDisplay, surface, EGL_SWAP_BEHAVIOR, &swapBehavior)) { in setPreserveBuffer()
568 preserved = (swapBehavior == EGL_BUFFER_PRESERVED); in setPreserveBuffer()
H A DRenderProxy.cpp62 void RenderProxy::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior() argument
63 mRenderThread.queue().post([this, swapBehavior]() { mContext->setSwapBehavior(swapBehavior); }); in setSwapBehavior()
H A DIRenderPipeline.h60 virtual bool setSurface(ANativeWindow* window, SwapBehavior swapBehavior) = 0;
H A DRenderProxy.h71 void setSwapBehavior(SwapBehavior swapBehavior);
H A DCanvasContext.h116 void setSwapBehavior(SwapBehavior swapBehavior);
H A DCanvasContext.cpp236 void CanvasContext::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior() argument
237 mSwapBehavior = swapBehavior; in setSwapBehavior()
/aosp12/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaOpenGLPipeline.cpp168 bool SkiaOpenGLPipeline::setSurface(ANativeWindow* surface, SwapBehavior swapBehavior) { in setSurface() argument
184 const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); in setSurface()
H A DSkiaOpenGLPipeline.h48 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior) override;
H A DSkiaVulkanPipeline.h45 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior) override;
H A DSkiaVulkanPipeline.cpp126 bool SkiaVulkanPipeline::setSurface(ANativeWindow* surface, SwapBehavior swapBehavior) { in setSurface() argument