Searched refs:SwapBehavior (Results 1 – 19 of 19) sorted by relevance
/frameworks/base/libs/hwui/renderthread/ |
D | EglManager.h | 84 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;
|
D | EglManager.cpp | 131 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 …]
|
D | VulkanManager.h | 204 enum class SwapBehavior { enum 208 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
|
D | CanvasContext.h | 128 void setSwapBehavior(SwapBehavior swapBehavior); 305 SwapBehavior mSwapBehavior = SwapBehavior::kSwap_default;
|
D | IRenderPipeline.h | 78 virtual bool setSurface(ANativeWindow* window, SwapBehavior swapBehavior) = 0;
|
D | RenderProxy.h | 78 void setSwapBehavior(SwapBehavior swapBehavior);
|
D | VulkanManager.cpp | 415 mSwapBehavior = SwapBehavior::BufferAge; in initialize() 616 int bufferAge = (mSwapBehavior == SwapBehavior::Discard) ? 0 : surface->getCurrentBuffersAge(); in dequeueNextBuffer()
|
D | RenderProxy.cpp | 76 void RenderProxy::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
|
D | CanvasContext.cpp | 272 void CanvasContext::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
|
/frameworks/base/libs/hwui/platform/android/pipeline/skia/ |
D | SkiaOpenGLPipeline.h | 52 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior) override; 75 renderthread::SwapBehavior mSwapBehavior = renderthread::SwapBehavior::kSwap_discardBuffer;
|
D | SkiaVulkanPipeline.h | 54 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior) override;
|
/frameworks/base/libs/hwui/ |
D | SwapBehavior.h | 24 enum class SwapBehavior { enum
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaVulkanPipeline.cpp | 64 setSurface(mNativeWindow.get(), SwapBehavior::kSwap_default); in makeCurrent() 166 bool SkiaVulkanPipeline::setSurface(ANativeWindow* surface, SwapBehavior /*swapBehavior*/) { in setSurface() argument
|
D | SkiaOpenGLPipeline.cpp | 234 bool SkiaOpenGLPipeline::setSurface(ANativeWindow* surface, SwapBehavior swapBehavior) { in setSurface() 253 const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); in setSurface()
|
D | SkiaCpuPipeline.h | 58 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior) override;
|
D | SkiaCpuPipeline.cpp | 111 bool SkiaCpuPipeline::setSurface(ANativeWindow* surface, SwapBehavior swapBehavior) { in setSurface()
|
/frameworks/base/libs/hwui/platform/host/pipeline/skia/ |
D | SkiaGpuPipeline.h | 64 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior) override { in setSurface()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_HardwareRenderer.cpp | 207 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/ |
D | SkiaPipelineTests.cpp | 406 EXPECT_TRUE(pipeline->setSurface(surface.get(), SwapBehavior::kSwap_default)); in RENDERTHREAD_TEST()
|