Wrap NV_path_rendering API with GrGLPathRendering
authorcdalton <cdalton@nvidia.com>
Mon, 11 Aug 2014 21:05:05 +0000 (14:05 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 11 Aug 2014 21:05:05 +0000 (14:05 -0700)
commitc7103a104fdc7150b4e3c0d3efc42735ad359616
tree3e11441cfff0533cf05b542b9718036eb52ef757
parent5acfea789d39106dbc706c6ee85cd8f027fce3ed
Wrap NV_path_rendering API with GrGLPathRendering

Adds a GrGLPathRendering class that wraps the NV_path_rendering
extension and manages its various API versions. It also provides
backup implementations when certain NVpr methods from later API
versions are not present on the current system.

BUG=skia:
R=bungeman@google.com, bsalomon@google.com, kkinnunen@nvidia.com

Author: cdalton@nvidia.com

Review URL: https://codereview.chromium.org/444223002
14 files changed:
gyp/gpu.gypi
include/gpu/gl/GrGLFunctions.h
include/gpu/gl/GrGLInterface.h
src/gpu/gl/GrGLAssembleInterface.cpp
src/gpu/gl/GrGLInterface.cpp
src/gpu/gl/GrGLPath.cpp
src/gpu/gl/GrGLPath.h
src/gpu/gl/GrGLPathRange.cpp
src/gpu/gl/GrGLPathRange.h
src/gpu/gl/GrGLPathRendering.cpp [new file with mode: 0644]
src/gpu/gl/GrGLPathRendering.h [new file with mode: 0644]
src/gpu/gl/GrGpuGL.cpp
src/gpu/gl/GrGpuGL.h
src/gpu/gl/GrGpuGL_program.cpp