Searched refs:SwapBehavior (Results 1 – 17 of 17) 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); 106 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
|
D | EglManager.cpp | 124 mSwapBehavior = SwapBehavior::BufferAge; in initialize() 126 mSwapBehavior = SwapBehavior::Preserved; in initialize() 150 EGLConfig EglManager::load8BitsConfig(EGLDisplay display, EglManager::SwapBehavior swapBehavior) { in load8BitsConfig() 152 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in load8BitsConfig() 180 EGLConfig EglManager::loadFP16Config(EGLDisplay display, SwapBehavior swapBehavior) { in loadFP16Config() 182 (swapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in loadFP16Config() 243 if (mSwapBehavior == SwapBehavior::Preserved) { in loadConfigs() 246 mSwapBehavior = SwapBehavior::Discard; in loadConfigs() 351 if (mSwapBehavior != SwapBehavior::Preserved) { in createSurface() 413 case SwapBehavior::Discard: in queryBufferAge() [all …]
|
D | VulkanManager.h | 175 enum class SwapBehavior { enum 179 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
|
D | CanvasContext.h | 111 void setSwapBehavior(SwapBehavior swapBehavior); 233 SwapBehavior mSwapBehavior = SwapBehavior::kSwap_default;
|
D | IRenderPipeline.h | 69 virtual bool setSurface(ANativeWindow* window, SwapBehavior swapBehavior, ColorMode colorMode,
|
D | RenderProxy.h | 68 ANDROID_API void setSwapBehavior(SwapBehavior swapBehavior);
|
D | VulkanManager.cpp | 376 mSwapBehavior = SwapBehavior::BufferAge; in initialize() 475 int bufferAge = (mSwapBehavior == SwapBehavior::Discard) ? 0 : surface->getCurrentBuffersAge(); in dequeueNextBuffer()
|
D | RenderProxy.cpp | 65 void RenderProxy::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
|
D | CanvasContext.cpp | 179 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 | 172 bool SkiaOpenGLPipeline::setSurface(ANativeWindow* surface, SwapBehavior swapBehavior, in setSurface() 191 const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); in setSurface()
|
D | SkiaOpenGLPipeline.h | 46 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior,
|
D | SkiaVulkanPipeline.h | 45 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior,
|
D | SkiaVulkanPipeline.cpp | 118 bool SkiaVulkanPipeline::setSurface(ANativeWindow* surface, SwapBehavior swapBehavior, in setSurface()
|
/frameworks/base/core/jni/ |
D | android_view_Surface.cpp | 471 proxy->setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in create()
|
D | android_view_ThreadedRenderer.cpp | 954 proxy.setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaPipelineTests.cpp | 440 … EXPECT_TRUE(pipeline->setSurface(surface.get(), SwapBehavior::kSwap_default, ColorMode::SRGB, 0)); in RENDERTHREAD_SKIA_PIPELINE_TEST()
|