aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrProgramDesc.h
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2015-11-30 10:15:58 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-30 10:15:58 -0800
commit56cf6dcb6572f1d355af041c1ebf157b2b3d0165 (patch)
treeb4bff299b4a41c8fc3cb02651cb8a252de50d3d5 /src/gpu/GrProgramDesc.h
parentb1514801cc519b36d5d064c6d70dfdd788474f5d (diff)
Create a static instances of SrcOver XferProcessor
Diffstat (limited to 'src/gpu/GrProgramDesc.h')
-rw-r--r--src/gpu/GrProgramDesc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/GrProgramDesc.h b/src/gpu/GrProgramDesc.h
index 15106305fa..13dd14935d 100644
--- a/src/gpu/GrProgramDesc.h
+++ b/src/gpu/GrProgramDesc.h
@@ -76,8 +76,9 @@ public:
uint8_t fSnapVerticesToPixelCenters;
int8_t fColorEffectCnt;
int8_t fCoverageEffectCnt;
+ uint8_t fIgnoresCoverage;
};
- GR_STATIC_ASSERT(sizeof(KeyHeader) == 4);
+ GR_STATIC_ASSERT(sizeof(KeyHeader) == 5);
int numColorEffects() const {
return this->header().fColorEffectCnt;