skia2/include
Brian Salomon 280fa3d303 Remove use of texture swizzle in GL backend.
This has always been a potential source of a bug. If the same texture is
used twice in a shader with different swizzles we would overwrite the
swizzle for the first use by that of the second use since there is
only one fixed function swizzle per texture. It's not part of the
sampler state.

We set the swizzle when it is a feature, but always to RGBA.

Also, highly speculative that this may improve ANGLE D3D11 ES3
performance compared to ES2.

Bug: skia:10644
Change-Id: I8877afc3043c5ddaafd26ea9f9bd372303328c71
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/313682
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
2020-08-28 15:22:29 +00:00
..
android androidFramework_replaceClip proposal 2020-06-25 21:54:11 +00:00
c use pathbuilder 2020-08-17 22:05:00 +00:00
codec New helpers for SkYUVAInfo when used with pixmaps. 2020-08-27 15:39:56 +00:00
config rm SkPreConfig.h and SkPostConfig.h 2020-02-06 19:16:43 +00:00
core Remember to track convexity/direction for IsA shapes (e.g. oval, rrect) 2020-08-28 12:51:57 +00:00
docs Add appendNodeIdArray to avoid code duplication. 2020-06-23 14:25:33 +00:00
effects Make SkRuntimeShaderBuilder safe for reuse 2020-08-27 16:09:37 +00:00
encode Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
gpu Add GrInternalSurfaceFlag for vulkan input attachment. 2020-08-27 20:05:29 +00:00
pathops rm SkPreConfig.h and SkPostConfig.h 2020-02-06 19:16:43 +00:00
ports Revert "Remove ARC from Metal backend" 2020-08-24 17:16:54 +00:00
private Remove use of texture swizzle in GL backend. 2020-08-28 15:22:29 +00:00
svg [svgcanvas] Add flag to suppress newlines and tabs in XML 2019-08-21 20:17:37 +00:00
third_party Roll skcms from c21106442079 to f73242142ce5 (1 revision) 2020-07-16 21:50:37 +00:00
utils SkCustomTypefaceBuilder to set SkFontStyle 2020-08-19 00:09:55 +00:00