diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-30 20:03:16 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-30 20:03:16 +0000 |
commit | c9424b8e6dc204fc304c021480a04a468899aa34 (patch) | |
tree | 505a975deda8b4dad33fb26072c95361d95c5fde /src/gpu/gl/GrGpuGL.h | |
parent | 537e26ae3ce715d34c75cb815c781a1e535b7d92 (diff) |
Don't check if shaders compile or program links in release Chromium
R=robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/52843003
git-svn-id: http://skia.googlecode.com/svn/trunk@12032 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/gl/GrGpuGL.h')
-rw-r--r-- | src/gpu/gl/GrGpuGL.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h index 2a0587be11..677e48cb0f 100644 --- a/src/gpu/gl/GrGpuGL.h +++ b/src/gpu/gl/GrGpuGL.h @@ -31,6 +31,8 @@ public: GrGpuGL(const GrGLContext& ctx, GrContext* context); virtual ~GrGpuGL(); + const GrGLContext& glContext() const { return fGLContext; } + const GrGLInterface* glInterface() const { return fGLContext.interface(); } const GrGLContextInfo& ctxInfo() const { return fGLContext.info(); } GrGLBinding glBinding() const { return fGLContext.info().binding(); } @@ -177,8 +179,6 @@ private: bool hasExtension(const char* ext) const { return fGLContext.info().hasExtension(ext); } - const GrGLContext& glContext() const { return fGLContext; } - static bool BlendCoeffReferencesConstant(GrBlendCoeff coeff); class ProgramCache : public ::SkNoncopyable { |