diff options
author | Ethan Nicholas <ethannicholas@google.com> | 2017-02-02 10:43:58 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-02 18:34:02 +0000 |
commit | cae3a4c8ab7082df009a1e340f10292350e0c763 (patch) | |
tree | 93b73dca6a37d1241a0ecc8819fdc3cf23f64cb0 /src/gpu/GrProgramDesc.h | |
parent | ebfbba9bbdacd754c8ad7429ee066f53f17bc66b (diff) |
Revert "Replaced all calls to fragmentPosition() with sk_FragCoord"
This reverts commit de4d301881e7fd084f1f0b359ec6f9b2bf8bd4c5.
Reason for revert: several Chrome rendering bugs on Mac
BUG=skia:
Change-Id: I492082b0b7e7c902ede4b598c5809f604d210ce1
Reviewed-on: https://skia-review.googlesource.com/7887
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/gpu/GrProgramDesc.h')
-rw-r--r-- | src/gpu/GrProgramDesc.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gpu/GrProgramDesc.h b/src/gpu/GrProgramDesc.h index a20cdfc56b..2a26f2d1c0 100644 --- a/src/gpu/GrProgramDesc.h +++ b/src/gpu/GrProgramDesc.h @@ -12,7 +12,6 @@ #include "GrTypesPriv.h" #include "SkOpts.h" #include "SkTArray.h" -#include "glsl/GrGLSLFragmentShaderBuilder.h" class GrShaderCaps; class GrPipeline; @@ -81,11 +80,6 @@ public: return !(*this == other); } - void setSurfaceOriginKey(int key) { - KeyHeader* header = this->atOffset<KeyHeader, kHeaderOffset>(); - header->fSurfaceOriginKey = key; - } - static bool Less(const GrProgramDesc& a, const GrProgramDesc& b) { SkASSERT(SkIsAlign4(a.keyLength())); int l = a.keyLength() >> 2; |