Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp120 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
122 mSwapBehavior = SwapBehavior::Preserved; in initialize()
182 (mSwapBehavior == SwapBehavior::Preserved) ? EGL_SWAP_BEHAVIOR_PRESERVED_BIT : 0; in loadConfigs()
206 if (mSwapBehavior == SwapBehavior::Preserved) { in loadConfigs()
209 mSwapBehavior = SwapBehavior::Discard; in loadConfigs()
331 if (mSwapBehavior != SwapBehavior::Preserved) { in createSurface()
393 case SwapBehavior::Discard: in queryBufferAge()
395 case SwapBehavior::Preserved: in queryBufferAge()
397 case SwapBehavior::BufferAge: in queryBufferAge()
419 if (EglExtensions.setDamage && mSwapBehavior == SwapBehavior::BufferAge) { in damageFrame()
[all …]
DEglManager.h85 enum class SwapBehavior { enum
90 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
DVulkanManager.h180 enum class SwapBehavior { enum
184 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
DCanvasContext.h119 void setSwapBehavior(SwapBehavior swapBehavior);
226 SwapBehavior mSwapBehavior = SwapBehavior::kSwap_default;
DIRenderPipeline.h62 virtual bool setSurface(Surface* window, SwapBehavior swapBehavior, ColorMode colorMode) = 0;
DOpenGLPipeline.h46 bool setSurface(Surface* window, SwapBehavior swapBehavior, ColorMode colorMode) override;
DRenderProxy.h68 ANDROID_API void setSwapBehavior(SwapBehavior swapBehavior);
DOpenGLPipeline.cpp146 bool OpenGLPipeline::setSurface(Surface* surface, SwapBehavior swapBehavior, ColorMode colorMode) { in setSurface()
158 const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); in setSurface()
DVulkanManager.cpp120 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
692 if (mSwapBehavior == SwapBehavior::Discard || in getAge()
DRenderProxy.cpp62 void RenderProxy::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
DCanvasContext.cpp205 void CanvasContext::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
/frameworks/base/libs/hwui/
DSwapBehavior.h24 enum class SwapBehavior { enum
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaVulkanPipeline.h43 bool setSurface(Surface* window, renderthread::SwapBehavior swapBehavior,
DSkiaOpenGLPipeline.h45 bool setSurface(Surface* window, renderthread::SwapBehavior swapBehavior,
DSkiaVulkanPipeline.cpp131 bool SkiaVulkanPipeline::setSurface(Surface* surface, SwapBehavior swapBehavior, in setSurface()
DSkiaOpenGLPipeline.cpp204 bool SkiaOpenGLPipeline::setSurface(Surface* surface, SwapBehavior swapBehavior, in setSurface()
217 const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); in setSurface()
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp559 proxy->setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in create()
Dandroid_view_ThreadedRenderer.cpp1000 proxy.setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()