aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/src/GrGpu.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-02-22 20:34:01 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-02-22 20:34:01 +0000
commitffca400ef6f96a280c3e2c09210f950af64a1f24 (patch)
tree2292badadfe451a456616652c8df3291d8a80158 /gpu/src/GrGpu.cpp
parentbdee9fc778d4387d805d717f2cd7fc7074991fdb (diff)
Make a separate path renderer object. Move enum types to GrTypes.h
Review URL http://codereview.appspot.com/4167067/ git-svn-id: http://skia.googlecode.com/svn/trunk@829 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/src/GrGpu.cpp')
-rw-r--r--gpu/src/GrGpu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpu/src/GrGpu.cpp b/gpu/src/GrGpu.cpp
index 9e9c1859c7..019c99ff6d 100644
--- a/gpu/src/GrGpu.cpp
+++ b/gpu/src/GrGpu.cpp
@@ -167,7 +167,7 @@ void GrGpu::clipWillBeSet(const GrClip& newClip) {
}
}
-bool GrGpu::setupClipAndFlushState(PrimitiveType type) {
+bool GrGpu::setupClipAndFlushState(GrPrimitiveType type) {
const GrIRect* r = NULL;
// we check this early because we need a valid
@@ -254,7 +254,7 @@ bool GrGpu::setupClipAndFlushState(PrimitiveType type) {
///////////////////////////////////////////////////////////////////////////////
-void GrGpu::drawIndexed(PrimitiveType type,
+void GrGpu::drawIndexed(GrPrimitiveType type,
int startVertex,
int startIndex,
int vertexCount,
@@ -282,7 +282,7 @@ void GrGpu::drawIndexed(PrimitiveType type,
vertexCount, indexCount);
}
-void GrGpu::drawNonIndexed(PrimitiveType type,
+void GrGpu::drawNonIndexed(GrPrimitiveType type,
int startVertex,
int vertexCount) {
GrAssert(kReserved_GeometrySrcType != fGeometrySrc.fVertexSrc ||