Home
last modified time | relevance | path

Searched refs:SwapBehavior (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/libs/hwui/renderthread/
DEglManager.h84 enum class SwapBehavior { enum
90 static EGLConfig load8BitsConfig(EGLDisplay display, SwapBehavior swapBehavior);
91 static EGLConfig loadFP16Config(EGLDisplay display, SwapBehavior swapBehavior);
92 static EGLConfig load1010102Config(EGLDisplay display, SwapBehavior swapBehavior);
93 static EGLConfig loadA8Config(EGLDisplay display, SwapBehavior swapBehavior);
110 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
DEglManager.cpp131 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
133 mSwapBehavior = SwapBehavior::Preserved; in initialize()
163 EGLConfig EglManager::load8BitsConfig(EGLDisplay display, EglManager::SwapBehavior swapBehavior) { in load8BitsConfig()
165 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in load8BitsConfig()
193 EGLConfig EglManager::load1010102Config(EGLDisplay display, SwapBehavior swapBehavior) { in load1010102Config()
195 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in load1010102Config()
222 EGLConfig EglManager::loadFP16Config(EGLDisplay display, SwapBehavior swapBehavior) { in loadFP16Config()
224 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in loadFP16Config()
253 EGLConfig EglManager::loadA8Config(EGLDisplay display, EglManager::SwapBehavior swapBehavior) { in loadA8Config()
255 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in loadA8Config()
[all …]
DVulkanManager.h204 enum class SwapBehavior { enum
208 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
DCanvasContext.h128 void setSwapBehavior(SwapBehavior swapBehavior);
305 SwapBehavior mSwapBehavior = SwapBehavior::kSwap_default;
DIRenderPipeline.h78 virtual bool setSurface(ANativeWindow* window, SwapBehavior swapBehavior) = 0;
DRenderProxy.h78 void setSwapBehavior(SwapBehavior swapBehavior);
DVulkanManager.cpp415 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
616 int bufferAge = (mSwapBehavior == SwapBehavior::Discard) ? 0 : surface->getCurrentBuffersAge(); in dequeueNextBuffer()
DRenderProxy.cpp76 void RenderProxy::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
DCanvasContext.cpp272 void CanvasContext::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
/frameworks/base/libs/hwui/platform/android/pipeline/skia/
DSkiaOpenGLPipeline.h52 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior) override;
75 renderthread::SwapBehavior mSwapBehavior = renderthread::SwapBehavior::kSwap_discardBuffer;
DSkiaVulkanPipeline.h54 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior) override;
/frameworks/base/libs/hwui/
DSwapBehavior.h24 enum class SwapBehavior { enum
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaVulkanPipeline.cpp64 setSurface(mNativeWindow.get(), SwapBehavior::kSwap_default); in makeCurrent()
166 bool SkiaVulkanPipeline::setSurface(ANativeWindow* surface, SwapBehavior /*swapBehavior*/) { in setSurface() argument
DSkiaOpenGLPipeline.cpp234 bool SkiaOpenGLPipeline::setSurface(ANativeWindow* surface, SwapBehavior swapBehavior) { in setSurface()
253 const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); in setSurface()
DSkiaCpuPipeline.h58 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior) override;
DSkiaCpuPipeline.cpp111 bool SkiaCpuPipeline::setSurface(ANativeWindow* surface, SwapBehavior swapBehavior) { in setSurface()
/frameworks/base/libs/hwui/platform/host/pipeline/skia/
DSkiaGpuPipeline.h64 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior) override { in setSurface()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRenderer.cpp207 proxy->setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in android_view_ThreadedRenderer_setSurface()
765 proxy.setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
/frameworks/base/libs/hwui/tests/unit/
DSkiaPipelineTests.cpp406 EXPECT_TRUE(pipeline->setSurface(surface.get(), SwapBehavior::kSwap_default)); in RENDERTHREAD_TEST()