Searched refs:SwapBehavior (Results 1 – 18 of 18) sorted by relevance
/frameworks/base/libs/hwui/renderthread/ |
D | EglManager.cpp | 120 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 …]
|
D | EglManager.h | 85 enum class SwapBehavior { enum 90 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
|
D | VulkanManager.h | 180 enum class SwapBehavior { enum 184 SwapBehavior mSwapBehavior = SwapBehavior::Discard;
|
D | CanvasContext.h | 119 void setSwapBehavior(SwapBehavior swapBehavior); 226 SwapBehavior mSwapBehavior = SwapBehavior::kSwap_default;
|
D | IRenderPipeline.h | 62 virtual bool setSurface(Surface* window, SwapBehavior swapBehavior, ColorMode colorMode) = 0;
|
D | OpenGLPipeline.h | 46 bool setSurface(Surface* window, SwapBehavior swapBehavior, ColorMode colorMode) override;
|
D | RenderProxy.h | 68 ANDROID_API void setSwapBehavior(SwapBehavior swapBehavior);
|
D | OpenGLPipeline.cpp | 146 bool OpenGLPipeline::setSurface(Surface* surface, SwapBehavior swapBehavior, ColorMode colorMode) { in setSurface() 158 const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); in setSurface()
|
D | VulkanManager.cpp | 120 mSwapBehavior = SwapBehavior::BufferAge; in initialize() 692 if (mSwapBehavior == SwapBehavior::Discard || in getAge()
|
D | RenderProxy.cpp | 62 void RenderProxy::setSwapBehavior(SwapBehavior swapBehavior) { in setSwapBehavior()
|
D | CanvasContext.cpp | 205 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 | SkiaVulkanPipeline.h | 43 bool setSurface(Surface* window, renderthread::SwapBehavior swapBehavior,
|
D | SkiaOpenGLPipeline.h | 45 bool setSurface(Surface* window, renderthread::SwapBehavior swapBehavior,
|
D | SkiaVulkanPipeline.cpp | 131 bool SkiaVulkanPipeline::setSurface(Surface* surface, SwapBehavior swapBehavior, in setSurface()
|
D | SkiaOpenGLPipeline.cpp | 204 bool SkiaOpenGLPipeline::setSurface(Surface* surface, SwapBehavior swapBehavior, in setSurface() 217 const bool preserveBuffer = (swapBehavior != SwapBehavior::kSwap_discardBuffer); in setSurface()
|
/frameworks/base/core/jni/ |
D | android_view_Surface.cpp | 559 proxy->setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in create()
|
D | android_view_ThreadedRenderer.cpp | 1000 proxy.setSwapBehavior(SwapBehavior::kSwap_discardBuffer); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
|