aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-01 14:10:57 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-01 14:10:57 +0000
commit348e35eff94f3959a625376d231c9869499d8358 (patch)
tree9b12bbf132d48cf3ac8e128d59336209dc0ef63a /src/gpu/gl
parent631cdcb4a6b926b6447f328b81911a4499fb3698 (diff)
Replace A8 with RGBA8 when renderable A8 isn't supported
Diffstat (limited to 'src/gpu/gl')
-rw-r--r--src/gpu/gl/GrGLShaderBuilder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLShaderBuilder.h b/src/gpu/gl/GrGLShaderBuilder.h
index d50fbce9c8..ce1e6d1290 100644
--- a/src/gpu/gl/GrGLShaderBuilder.h
+++ b/src/gpu/gl/GrGLShaderBuilder.h
@@ -187,6 +187,8 @@ public:
// TODO: Make this do all the compiling, linking, etc.
void finished(GrGLuint programID);
+ const GrGLContextInfo& ctxInfo() const { return fCtxInfo; }
+
private:
typedef GrTAllocator<GrGLShaderVar> VarArray;