Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DEglManager.h83 enum class SwapBehavior { enum
89 static EGLConfig load8BitsConfig(EGLDisplay display, SwapBehavior swapBehavior);
90 static EGLConfig loadFP16Config(EGLDisplay display, SwapBehavior swapBehavior);
91 static EGLConfig load1010102Config(EGLDisplay display, SwapBehavior swapBehavior);
92 static EGLConfig loadA8Config(EGLDisplay display, SwapBehavior swapBehavior);
109 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
DEglManager.cpp128 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
130 mSwapBehavior = SwapBehavior::Preserved; in initialize()
160 EGLConfig EglManager::load8BitsConfig(EGLDisplay display, EglManager::SwapBehavior swapBehavior) { in load8BitsConfig()
162 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in load8BitsConfig()
190 EGLConfig EglManager::load1010102Config(EGLDisplay display, SwapBehavior swapBehavior) { in load1010102Config()
192 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in load1010102Config()
219 EGLConfig EglManager::loadFP16Config(EGLDisplay display, SwapBehavior swapBehavior) { in loadFP16Config()
221 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in loadFP16Config()
250 EGLConfig EglManager::loadA8Config(EGLDisplay display, EglManager::SwapBehavior swapBehavior) { in loadA8Config()
252 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in loadA8Config()
[all …]
DVulkanManager.h215 enum class SwapBehavior { enum
219 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
DCanvasContext.h124 void setSwapBehavior(SwapBehavior swapBehavior);
276 SwapBehavior mSwapBehavior = SwapBehavior::kSwap_default;
DIRenderPipeline.h70 virtual bool setSurface(ANativeWindow* window, SwapBehavior swapBehavior) = 0;
DRenderProxy.h71 void setSwapBehavior(SwapBehavior swapBehavior);
DVulkanManager.cpp362 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
467 int bufferAge = (mSwapBehavior == SwapBehavior::Discard) ? 0 : surface->getCurrentBuffersAge(); in dequeueNextBuffer()
DRenderProxy.cpp69 void RenderProxy::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
DCanvasContext.cpp238 void CanvasContext::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.h51 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior) override;
73 renderthread::SwapBehavior mSwapBehavior = renderthread::SwapBehavior::kSwap_discardBuffer;
DSkiaVulkanPipeline.cpp61 setSurface(mNativeWindow.get(), SwapBehavior::kSwap_default); in makeCurrent()
140 bool SkiaVulkanPipeline::setSurface(ANativeWindow* surface, SwapBehavior /*swapBehavior*/) { in setSurface() argument
DSkiaOpenGLPipeline.cpp172 bool SkiaOpenGLPipeline::setSurface(ANativeWindow* surface, SwapBehavior swapBehavior) { in setSurface()
191 const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); in setSurface()
DSkiaVulkanPipeline.h48 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior) override;
/frameworks/base/libs/hwui/
DSwapBehavior.h24 enum class SwapBehavior { enum
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRenderer.cpp200 proxy->setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in android_view_ThreadedRenderer_setSurface()
725 proxy.setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
/frameworks/base/libs/hwui/tests/unit/
DSkiaPipelineTests.cpp403 EXPECT_TRUE(pipeline->setSurface(surface.get(), SwapBehavior::kSwap_default)); in RENDERTHREAD_SKIA_PIPELINE_TEST()