diff options
| author | 2024-03-18 10:40:23 -0400 | |
|---|---|---|
| committer | 2024-03-20 12:40:19 -0400 | |
| commit | 02c160c83ce5ee7d3c736536d5b481742fba83f0 (patch) | |
| tree | 8da4c73a945086f5762ab40ff3e17fcdb06672f1 /libs/gui/LayerState.cpp | |
| parent | ca05028642a0190e2343a8b9597e90f396ae04c5 (diff) | |
Split Ganesh-specific parts of SkiaVkRenderEngine into subclass
Similarly to Ia65306cc825b71fe0b89c7f8545ce1c71a81d86b, this will allow
for a Graphite-specific variant of SkiaVkRenderEngine.
waitFence and flushAndSubmit are kept on the *RenderEngine classes (as
opposed to the recently added SkiaGpuContext abstraction) because they
are specific to the intersection of both <Skia backend> x <GPU API>,
with 3 variants. Their logic is also RE-specific, and not suitable for
a Skia abstraction.
Misc. cleanup:
- Remove SkiaVkRenderEngine's flush() and mBackendContext declarations
as they were undefined and unnecessary.
- Mark some local variables as const.
- Pass named constant to GrDirectContext::wait in
GaneshVkRenderEngine::waitFence
Test: manual validation & existing tests (refactor)
Bug: b/293371537
Change-Id: I695a0554b20ca14cf475aeff1b92c4445c1af55b
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions