Adjust how present semaphore is handled
Avoids stashing a semaphore in a field use unique_fd to ensure an unused present fence isn't leaked Test: sample app ran in a loop for 3 hours, FD usage remained constant Fixes: 295332012 Change-Id: Iee38e86587805ef3596e5f7efea3ca3b5c7758b3
Showing
- libs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp 5 additions, 4 deletionslibs/hwui/pipeline/skia/SkiaOpenGLPipeline.cpp
- libs/hwui/pipeline/skia/SkiaOpenGLPipeline.h 3 additions, 2 deletionslibs/hwui/pipeline/skia/SkiaOpenGLPipeline.h
- libs/hwui/pipeline/skia/SkiaVulkanPipeline.cpp 9 additions, 8 deletionslibs/hwui/pipeline/skia/SkiaVulkanPipeline.cpp
- libs/hwui/pipeline/skia/SkiaVulkanPipeline.h 3 additions, 2 deletionslibs/hwui/pipeline/skia/SkiaVulkanPipeline.h
- libs/hwui/renderthread/CanvasContext.cpp 2 additions, 2 deletionslibs/hwui/renderthread/CanvasContext.cpp
- libs/hwui/renderthread/IRenderPipeline.h 4 additions, 2 deletionslibs/hwui/renderthread/IRenderPipeline.h
- libs/hwui/renderthread/VulkanManager.cpp 28 additions, 52 deletionslibs/hwui/renderthread/VulkanManager.cpp
- libs/hwui/renderthread/VulkanManager.h 11 additions, 6 deletionslibs/hwui/renderthread/VulkanManager.h
Loading
Please register or sign in to comment