Searched refs:SwapBehavior (Results 1 – 16 of 16) sorted by relevance
/frameworks/base/libs/hwui/renderthread/ |
D | EglManager.h | 83 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); 107 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
|
D | EglManager.cpp | 126 mSwapBehavior = SwapBehavior::BufferAge; in initialize() 128 mSwapBehavior = SwapBehavior::Preserved; in initialize() 154 EGLConfig EglManager::load8BitsConfig(EGLDisplay display, EglManager::SwapBehavior swapBehavior) { in load8BitsConfig() 156 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in load8BitsConfig() 184 EGLConfig EglManager::load1010102Config(EGLDisplay display, SwapBehavior swapBehavior) { in load1010102Config() 186 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in load1010102Config() 213 EGLConfig EglManager::loadFP16Config(EGLDisplay display, SwapBehavior swapBehavior) { in loadFP16Config() 215 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in loadFP16Config() 280 if (mSwapBehavior == SwapBehavior::Preserved) { in loadConfigs() 283 mSwapBehavior = SwapBehavior::Discard; in loadConfigs() [all …]
|
D | VulkanManager.h | 213 enum class SwapBehavior { enum 217 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
|
D | CanvasContext.h | 116 void setSwapBehavior(SwapBehavior swapBehavior); 272 SwapBehavior mSwapBehavior = SwapBehavior::kSwap_default;
|
D | IRenderPipeline.h | 60 virtual bool setSurface(ANativeWindow* window, SwapBehavior swapBehavior) = 0;
|
D | RenderProxy.h | 71 void setSwapBehavior(SwapBehavior swapBehavior);
|
D | VulkanManager.cpp | 359 mSwapBehavior = SwapBehavior::BufferAge; in initialize() 464 int bufferAge = (mSwapBehavior == SwapBehavior::Discard) ? 0 : surface->getCurrentBuffersAge(); in dequeueNextBuffer()
|
D | RenderProxy.cpp | 62 void RenderProxy::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
|
D | CanvasContext.cpp | 236 void CanvasContext::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
|
/frameworks/base/libs/hwui/ |
D | SwapBehavior.h | 24 enum class SwapBehavior { enum
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaOpenGLPipeline.cpp | 168 bool SkiaOpenGLPipeline::setSurface(ANativeWindow* surface, SwapBehavior swapBehavior) { in setSurface() 184 const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); in setSurface()
|
D | SkiaOpenGLPipeline.h | 48 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior) override;
|
D | SkiaVulkanPipeline.h | 45 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior) override;
|
D | SkiaVulkanPipeline.cpp | 126 bool SkiaVulkanPipeline::setSurface(ANativeWindow* surface, SwapBehavior swapBehavior) { in setSurface()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_HardwareRenderer.cpp | 197 proxy->setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in android_view_ThreadedRenderer_setSurface() 711 proxy.setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaPipelineTests.cpp | 403 EXPECT_TRUE(pipeline->setSurface(surface.get(), SwapBehavior::kSwap_default)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|