summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Nolan Scobie <nscobie@google.com> 2024-03-26 10:59:59 -0400
committer Nolan Scobie <nscobie@google.com> 2024-03-27 19:04:09 +0000
commit576e77f943462388f2ed64a702c94504d4fe9b9b (patch)
tree898f130101af1d126ed9ae6f247b9eb51f7edd4b /libs/ultrahdr/jpegencoderhelper.cpp
parent4b292195dfdd5506ad810eb5073c77b29cea3cd5 (diff)
Add support for enabling GraphiteVkRenderEngine in SurfaceFlinger
Predicated on just the graphite_renderengine flag (overridable with the debug.renderengine.graphite sysprops), which inherently implies GraphicsApi::VK. As currently implemented, setting the old debug.renderengine.backend sysprop (e.g. "skiavkthreaded") will fully override this logic, preventing Graphite from being enabled. This approach is simpler, but also maintains backwards compatibility, and distances the new approach from that restrictive terminology. Note that the approach for actually instantiating a RenderEngine instance extends the existing RenderEngine::create(args) model, forcing the caller to know exactly which concrete subclass they wish to instantiate. This could be reworked in the future. Test: local validation (sysprops + logs) Bug: b/293371537 Change-Id: Iff0a8894725fc45e679074ddc2e4af56cca318c6
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions