Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp113 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
115 mSwapBehavior = SwapBehavior::Preserved; in initialize()
163 EGLint swapBehavior = (mSwapBehavior == SwapBehavior::Preserved) in loadConfig()
181 if (mSwapBehavior == SwapBehavior::Preserved) { in loadConfig()
184 mSwapBehavior = SwapBehavior::Discard; in loadConfig()
229 if (mSwapBehavior != SwapBehavior::Preserved) { in createSurface()
290 case SwapBehavior::Discard: in queryBufferAge()
292 case SwapBehavior::Preserved: in queryBufferAge()
294 case SwapBehavior::BufferAge: in queryBufferAge()
317 if (EglExtensions.setDamage && mSwapBehavior == SwapBehavior::BufferAge) { in damageFrame()
[all …]
DEglManager.h84 enum class SwapBehavior { enum
89 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
DVulkanManager.h174 enum class SwapBehavior { enum
178 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
DIRenderPipeline.h36 enum class SwapBehavior { enum
64 virtual bool setSurface(Surface* window, SwapBehavior swapBehavior) = 0;
DCanvasContext.h119 void setSwapBehavior(SwapBehavior swapBehavior);
225 SwapBehavior mSwapBehavior = SwapBehavior::kSwap_default;
DOpenGLPipeline.h47 bool setSurface(Surface* window, SwapBehavior swapBehavior) override;
DOpenGLPipeline.cpp149 bool OpenGLPipeline::setSurface(Surface* surface, SwapBehavior swapBehavior) { in setSurface()
161 const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); in setSurface()
DRenderProxy.h76 ANDROID_API void setSwapBehavior(SwapBehavior swapBehavior);
DVulkanManager.cpp112 mSwapBehavior = SwapBehavior::BufferAge; in initialize()
695 if (mSwapBehavior == SwapBehavior::Discard in getAge()
DRenderProxy.cpp102 CREATE_BRIDGE2(setSwapBehavior, CanvasContext* context, SwapBehavior swapBehavior) { in CREATE_BRIDGE2()
107 void RenderProxy::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
DCanvasContext.cpp201 void CanvasContext::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaOpenGLPipeline.cpp158 bool SkiaOpenGLPipeline::setSurface(Surface* surface, SwapBehavior swapBehavior) { in setSurface()
170 const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); in setSurface()
DSkiaVulkanPipeline.h44 bool setSurface(Surface* window, renderthread::SwapBehavior swapBehavior) override;
DSkiaOpenGLPipeline.h43 bool setSurface(Surface* window, renderthread::SwapBehavior swapBehavior) override;
DSkiaVulkanPipeline.cpp134 bool SkiaVulkanPipeline::setSurface(Surface* surface, SwapBehavior swapBehavior) { in setSurface()
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp551 proxy->setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in create()
Dandroid_view_ThreadedRenderer.cpp899 proxy.setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()