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); 92 static EGLConfig loadA8Config(EGLDisplay display, SwapBehavior swapBehavior); 109 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
|
D | EglManager.cpp | 128 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 …]
|
D | VulkanManager.h | 215 enum class SwapBehavior { enum 219 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
|
D | CanvasContext.h | 124 void setSwapBehavior(SwapBehavior swapBehavior); 276 SwapBehavior mSwapBehavior = SwapBehavior::kSwap_default;
|
D | IRenderPipeline.h | 70 virtual bool setSurface(ANativeWindow* window, SwapBehavior swapBehavior) = 0;
|
D | RenderProxy.h | 71 void setSwapBehavior(SwapBehavior swapBehavior);
|
D | VulkanManager.cpp | 362 mSwapBehavior = SwapBehavior::BufferAge; in initialize() 467 int bufferAge = (mSwapBehavior == SwapBehavior::Discard) ? 0 : surface->getCurrentBuffersAge(); in dequeueNextBuffer()
|
D | RenderProxy.cpp | 69 void RenderProxy::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
|
D | CanvasContext.cpp | 238 void CanvasContext::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaOpenGLPipeline.h | 51 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior) override; 73 renderthread::SwapBehavior mSwapBehavior = renderthread::SwapBehavior::kSwap_discardBuffer;
|
D | SkiaVulkanPipeline.cpp | 61 setSurface(mNativeWindow.get(), SwapBehavior::kSwap_default); in makeCurrent() 140 bool SkiaVulkanPipeline::setSurface(ANativeWindow* surface, SwapBehavior /*swapBehavior*/) { in setSurface() argument
|
D | SkiaOpenGLPipeline.cpp | 172 bool SkiaOpenGLPipeline::setSurface(ANativeWindow* surface, SwapBehavior swapBehavior) { in setSurface() 191 const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); in setSurface()
|
D | SkiaVulkanPipeline.h | 48 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior) override;
|
/frameworks/base/libs/hwui/ |
D | SwapBehavior.h | 24 enum class SwapBehavior { enum
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_HardwareRenderer.cpp | 200 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/ |
D | SkiaPipelineTests.cpp | 403 EXPECT_TRUE(pipeline->setSurface(surface.get(), SwapBehavior::kSwap_default)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|