Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DEglManager.h84 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;
DEglManager.cpp124 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 …]
DVulkanManager.h175 enum class SwapBehavior { enum
179 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
DCanvasContext.h111 void setSwapBehavior(SwapBehavior swapBehavior);
233 SwapBehavior mSwapBehavior = SwapBehavior::kSwap_default;
DIRenderPipeline.h69 virtual bool setSurface(ANativeWindow* window, SwapBehavior swapBehavior, ColorMode colorMode,
DRenderProxy.h68 ANDROID_API void setSwapBehavior(SwapBehavior swapBehavior);
DVulkanManager.cpp376 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
475 int bufferAge = (mSwapBehavior == SwapBehavior::Discard) ? 0 : surface->getCurrentBuffersAge(); in dequeueNextBuffer()
DRenderProxy.cpp65 void RenderProxy::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
DCanvasContext.cpp179 void CanvasContext::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
/frameworks/base/libs/hwui/
DSwapBehavior.h24 enum class SwapBehavior { enum
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.cpp172 bool SkiaOpenGLPipeline::setSurface(ANativeWindow* surface, SwapBehavior swapBehavior, in setSurface()
191 const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); in setSurface()
DSkiaOpenGLPipeline.h46 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior,
DSkiaVulkanPipeline.h45 bool setSurface(ANativeWindow* surface, renderthread::SwapBehavior swapBehavior,
DSkiaVulkanPipeline.cpp118 bool SkiaVulkanPipeline::setSurface(ANativeWindow* surface, SwapBehavior swapBehavior, in setSurface()
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp471 proxy->setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in create()
Dandroid_view_ThreadedRenderer.cpp954 proxy.setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
/frameworks/base/libs/hwui/tests/unit/
DSkiaPipelineTests.cpp440 … EXPECT_TRUE(pipeline->setSurface(surface.get(), SwapBehavior::kSwap_default, ColorMode::SRGB, 0)); in RENDERTHREAD_SKIA_PIPELINE_TEST()