skia2/tests/graphite
Greg Daniel 55a69d1de0 [graphite] Store ResourceProvider on Recorder instead of Gpu.
By being on Recorder, more calls can directly access the ResourceProvider
without needing the Context or Gpu. A different ResourceProvider is
created for each Recorder. Each ResourceProvider stores a ref to the
GlobalCache so that it can access shared resources. Eventually each
ResourceProvider will also have its own ResourceCache for all non shared
Resources.

A big win of this change is that Context can be removed from Recorder.

Bug: skia:12754
Change-Id: Ib6ac71c617de4d6b6b2ac4956580e65d4d7e6f7a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502637
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2022-02-02 19:34:39 +00:00
..
BackendTextureTest.cpp [graphite] Remove ref counting from Recorder. 2022-01-13 16:27:29 +00:00
ComboTest.cpp [graphite] Add ImageShader and BlendShader SkPaintParamKey support (take 2) 2022-01-21 17:06:01 +00:00
CommandBufferTest.cpp [graphite] Store ResourceProvider on Recorder instead of Gpu. 2022-02-02 19:34:39 +00:00
IntersectionTreeTest.cpp [graphite] Add an IntersectionTree class 2021-10-19 19:45:01 +00:00
MaskTest.cpp [graphite] Remove use of GraphiteTypesPriv and move to *Types in src. 2021-11-15 20:57:23 +00:00
MtlBackendTextureTest.mm [graphite] Add Context create/deleteBackendTexture calls. 2021-11-30 21:36:23 +00:00
RecorderTest.cpp [graphite] Remove ref counting from Recorder. 2022-01-13 16:27:29 +00:00
RectTest.cpp [graphite] Update Shape to use skgpu::Rect and float2 2021-10-19 23:25:48 +00:00
ShapeTest.cpp [graphite] Remove the skpu::geom namespace 2021-10-12 17:55:07 +00:00
TransformTest.cpp [graphite] Add Transform that wraps matrix, inverse, type and scale factors 2021-10-16 00:06:32 +00:00
UniformCacheTest.cpp [graphite] Pass SkUniforms around as an SkSpan 2022-02-02 15:31:13 +00:00
UniformTest.cpp [graphite] Store ResourceProvider on Recorder instead of Gpu. 2022-02-02 19:34:39 +00:00