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

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

Completed in 615 milliseconds