aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrCaps.h
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2015-11-03 08:15:28 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-03 08:15:29 -0800
commit4036674952f341dab0695c3b054fefa5bb8cdec1 (patch)
tree73629dadb61dff6ce5c730ce71e883b919a73027 /include/gpu/GrCaps.h
parent501b7344f116ccc821d437d324aa7883d7ce97bf (diff)
Create swizzle table inside of glsl caps
Diffstat (limited to 'include/gpu/GrCaps.h')
-rw-r--r--include/gpu/GrCaps.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
index 6893dc7b5e..9287556f00 100644
--- a/include/gpu/GrCaps.h
+++ b/include/gpu/GrCaps.h
@@ -100,6 +100,7 @@ protected:
PrecisionInfo fFloatPrecisions[kGrShaderTypeCount][kGrSLPrecisionCount];
private:
+ virtual void onApplyOptionsOverrides(const GrContextOptions&) {};
typedef SkRefCnt INHERITED;
};
@@ -274,6 +275,8 @@ protected:
bool fConfigTextureSupport[kGrPixelConfigCnt];
private:
+ virtual void onApplyOptionsOverrides(const GrContextOptions&) {};
+
bool fSupressPrints : 1;
bool fDrawPathMasksToCompressedTextureSupport : 1;