skia2/tests/graphite
Kevin Lubick b902658a1a [bazel] Fix Bazel build by guarding addToKey
PS1 is the automatic regenerated changes.
PS2-3 adds an #ifdef guard to the addToKey method on shaders.
The SkShaderCodeDictionary class helps generate SkSL and is
only necessary when we are building with SkSL (gpu builds and
cpu builds with SkVM).

Suggested Review order:
 - Use Gerrit to diff PS 1 and the last PS
 - src/core/BUILD.bazel adds some sources to the "only
   necessary if sksl is enabled" bucket
 - All the .cpp and .h files to see the #ifdef is added
   correctly.

Change-Id: I4d4ce61a4957ef1e0840204acff08ce7e616f9cb
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/512157
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2022-02-24 18:10:40 +00:00
..
BackendTextureTest.cpp [graphite] Remove ref counting from Recorder. 2022-01-13 16:27:29 +00:00
BUILD.bazel [bazel] Fix Bazel build by guarding addToKey 2022-02-24 18:10:40 +00:00
CommandBufferTest.cpp [graphite] Move backend specification into the SkPaintParamsBuilder 2022-02-23 20:18:09 +00:00
IntersectionTreeTest.cpp [graphite] Add an IntersectionTree class 2021-10-19 19:45:01 +00:00
KeyTest.cpp [graphite] Move backend specification into the SkPaintParamsBuilder 2022-02-23 20:18:09 +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] Add a means of accumulating multiple code snippets 2022-02-08 16:46:50 +00:00
UniformTest.cpp [graphite] Move backend specification into the SkPaintParamsBuilder 2022-02-23 20:18:09 +00:00