diff options
author | 2014-08-04 11:19:11 -0700 | |
---|---|---|
committer | 2014-08-04 11:19:11 -0700 | |
commit | 5672da0fa54f31c9727568e9dd5fe82c6e1585bc (patch) | |
tree | 896528f32f296ed7c21191c470bba5b6a0cae968 /src/gpu/gl/GrGLPath.h | |
parent | bce540ca8fb23c1a99f4216cc5ecae46c722dafa (diff) |
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.
R=bsalomon@google.com, kkinnunen@nvidia.com, markkilgard@gmail.com
Author: cdalton@nvidia.com
Review URL: https://codereview.chromium.org/437473002
Diffstat (limited to 'src/gpu/gl/GrGLPath.h')
-rw-r--r-- | src/gpu/gl/GrGLPath.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLPath.h b/src/gpu/gl/GrGLPath.h index 4831b7250f..935a2e24ad 100644 --- a/src/gpu/gl/GrGLPath.h +++ b/src/gpu/gl/GrGLPath.h @@ -13,7 +13,6 @@ #include "gl/GrGLFunctions.h" class GrGpuGL; -struct GrGLInterface; /** * Currently this represents a path built using GL_NV_path_rendering. If we @@ -23,7 +22,7 @@ struct GrGLInterface; class GrGLPath : public GrPath { public: - static void InitPathObject(const GrGLInterface*, + static void InitPathObject(GrGpuGL*, GrGLuint pathID, const SkPath&, const SkStrokeRec&); |