aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/gl/GrGLInterface.h
diff options
context:
space:
mode:
authorGravatar kkinnunen <kkinnunen@nvidia.com>2015-07-02 03:01:43 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-02 03:01:43 -0700
commiteeef46d181f9f8db388ecea81df699fc1b3c9280 (patch)
tree3326e5f7aebcc7b35ac5b62dfca133e7b0683e1b /include/gpu/gl/GrGLInterface.h
parent4380f06a124c28a47dc99956d48c2d4c5bcb78e0 (diff)
Implement support for CHROMIUM_path_rendering pseudo extension
Implement support for path rendering in Chromium through CHROMIUM_path_rendering pseudo extension. The extension defines a new pseudo-gl function, BindFragmentInputLocation. This behaves similarly to the BindUniformLocation pseudo-gl function. The idea is to assign fragment input location to a fragment input before linking the program. BUG=chromium:344330 Review URL: https://codereview.chromium.org/1192663002
Diffstat (limited to 'include/gpu/gl/GrGLInterface.h')
-rw-r--r--include/gpu/gl/GrGLInterface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gpu/gl/GrGLInterface.h b/include/gpu/gl/GrGLInterface.h
index 9a71758028..9d60259740 100644
--- a/include/gpu/gl/GrGLInterface.h
+++ b/include/gpu/gl/GrGLInterface.h
@@ -350,6 +350,8 @@ public:
GLPtr<GrGLStencilThenCoverStrokePathInstancedProc> fStencilThenCoverStrokePathInstanced;
// NV_path_rendering v1.3
GLPtr<GrGLProgramPathFragmentInputGenProc> fProgramPathFragmentInputGen;
+ // CHROMIUM_path_rendering
+ GLPtr<GrGLBindFragmentInputLocationProc> fBindFragmentInputLocation;
/* NV_framebuffer_mixed_samples */
GLPtr<GrGLCoverageModulationProc> fCoverageModulation;