skia2/include/gpu
Brian Osman 3cbb13a93b Reland "Add SkCapabilities object"
This is a reland of commit 69fecd6c2d

Original change's description:
> Add SkCapabilities object
>
> This describes the capabilities of a particular Skia rendering context
> (GPU context, or the CPU backend). At the moment, it only contains the
> supported SkSL version (with a new enum added to specify the current
> value as "100" and a new ES3 value as "300".
>
> SkCapabilities can not be retrieved from an SkCanvas - the client must
> have a concrete way of knowing what their destination device that will
> do the actual rendering is (GrCaps or SkSurface).
>
> This CL doesn't make use of the SkCapabilities yet, that's coming in
> follow-up CLs that alter the SkSL compiler and SkRuntimeEffect API.
>
> Bug: skia:11209
> Change-Id: I4e9fd21ff7ffd79f1926c5c2eb34e10b3af4bc9b
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/537876
> Reviewed-by: Michael Ludwig <michaelludwig@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Brian Osman <brianosman@google.com>
> Reviewed-by: John Stiles <johnstiles@google.com>

Bug: skia:11209
Change-Id: If76343a8a536ade25f6b3d80e0885c7bc47d2adf
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/540919
Reviewed-by: John Stiles <johnstiles@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2022-05-17 13:15:06 +00:00
..
d3d [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
dawn [bazel] Move Dawn BUILD.bazel to third_party/bazel 2022-05-16 14:06:59 +00:00
gl [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
graphite [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
mock [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
mtl [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
vk [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
BUILD.bazel [bazel] Move Dawn BUILD.bazel to third_party/bazel 2022-05-16 14:06:59 +00:00
GpuTypes.h [graphite] Add a result param to graphite callbacks. 2022-03-31 19:26:28 +00:00
GrBackendDrawableInfo.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrBackendSemaphore.h Move Ganesh specific headers into include/private/gpu/ganesh 2022-04-12 17:30:07 +00:00
GrBackendSurface.h Move Ganesh specific headers into include/private/gpu/ganesh 2022-04-12 17:30:07 +00:00
GrBackendSurfaceMutableState.h Move Ganesh specific headers into include/private/gpu/ganesh 2022-04-12 17:30:07 +00:00
GrConfig.h Fix checks of GR_TEST_UTILS. 2020-09-25 15:58:53 +00:00
GrContextOptions.h Handle allocation failure in the flush-time preFlush callback 2022-05-05 20:30:59 +00:00
GrContextThreadSafeProxy.h Add maxSurfaceSampleCountForColorType to GrContextThreadSafeProxy 2022-03-01 15:13:40 +00:00
GrDirectContext.h Move more GPU text classes to sktext::gpu namespace. 2022-05-05 16:10:24 +00:00
GrDriverBugWorkarounds.h Fix CanvasKit warnings compiling on Mac with emsdk 2.0.0 2020-09-18 20:35:12 +00:00
GrDriverBugWorkaroundsAutogen.h Fixup GrDriverBugWorkaroundsAutogen.h 2022-05-03 20:20:26 +00:00
GrRecordingContext.h Reland "Add SkCapabilities object" 2022-05-17 13:15:06 +00:00
GrSurfaceInfo.h Move Ganesh specific headers into include/private/gpu/ganesh 2022-04-12 17:30:07 +00:00
GrTypes.h Move GR_MAKE_BITFIELD_OPS and GrAlignTo to non-GPU files 2021-11-01 17:26:59 +00:00
GrYUVABackendTextures.h Remove SkYUVASizeInfo, make SkYUVAIndex a private part of SkYUVAInfo 2021-01-12 15:06:26 +00:00
ShaderErrorHandler.h [graphite] Move GrProcessorKeyBuilder to generic skgpu::KeyBuilder class. 2021-12-20 20:41:17 +00:00