Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp118 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
120 mSwapBehavior = SwapBehavior::Preserved; in initialize()
178 EGLint swapBehavior = (mSwapBehavior == SwapBehavior::Preserved) in loadConfigs()
196 if (mSwapBehavior == SwapBehavior::Preserved) { in loadConfigs()
199 mSwapBehavior = SwapBehavior::Discard; in loadConfigs()
311 if (mSwapBehavior != SwapBehavior::Preserved) { in createSurface()
372 case SwapBehavior::Discard: in queryBufferAge()
374 case SwapBehavior::Preserved: in queryBufferAge()
376 case SwapBehavior::BufferAge: in queryBufferAge()
399 if (EglExtensions.setDamage && mSwapBehavior == SwapBehavior::BufferAge) { in damageFrame()
[all …]
DEglManager.h85 enum class SwapBehavior { enum
90 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
DVulkanManager.h174 enum class SwapBehavior { enum
178 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
DIRenderPipeline.h36 enum class SwapBehavior { enum
70 virtual bool setSurface(Surface* window, SwapBehavior swapBehavior, ColorMode colorMode) = 0;
DCanvasContext.h118 void setSwapBehavior(SwapBehavior swapBehavior);
227 SwapBehavior mSwapBehavior = SwapBehavior::kSwap_default;
DOpenGLPipeline.h47 bool setSurface(Surface* window, SwapBehavior swapBehavior, ColorMode colorMode) override;
DRenderProxy.h76 ANDROID_API void setSwapBehavior(SwapBehavior swapBehavior);
DOpenGLPipeline.cpp149 bool OpenGLPipeline::setSurface(Surface* surface, SwapBehavior swapBehavior, ColorMode colorMode) { in setSurface()
162 const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); in setSurface()
DVulkanManager.cpp114 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
687 if (mSwapBehavior == SwapBehavior::Discard in getAge()
DRenderProxy.cpp103 CREATE_BRIDGE2(setSwapBehavior, CanvasContext* context, SwapBehavior swapBehavior) { in CREATE_BRIDGE2()
108 void RenderProxy::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
DCanvasContext.cpp202 void CanvasContext::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.h46 bool setSurface(Surface* window, renderthread::SwapBehavior swapBehavior,
DSkiaVulkanPipeline.h44 bool setSurface(Surface* window, renderthread::SwapBehavior swapBehavior,
DSkiaOpenGLPipeline.cpp159 bool SkiaOpenGLPipeline::setSurface(Surface* surface, SwapBehavior swapBehavior, in setSurface()
173 const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); in setSurface()
DSkiaVulkanPipeline.cpp135 bool SkiaVulkanPipeline::setSurface(Surface* surface, SwapBehavior swapBehavior, in setSurface()
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp571 proxy->setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in create()
Dandroid_view_ThreadedRenderer.cpp893 proxy.setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()