aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLPath.h
diff options
context:
space:
mode:
authorGravatar cdalton <cdalton@nvidia.com>2014-08-04 11:19:11 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-04 11:19:11 -0700
commit5672da0fa54f31c9727568e9dd5fe82c6e1585bc (patch)
tree896528f32f296ed7c21191c470bba5b6a0cae968 /src/gpu/gl/GrGLPath.h
parentbce540ca8fb23c1a99f4216cc5ecae46c722dafa (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.h3
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&);