This CL removes all dependencies on GL headers across all of Ganesh. New
GrGLint, etc. types are introduced, and new GR_GL_XXXX constants for use at all
GL call-sites.
Review: http://codereview.appspot.com/4272061/
git-svn-id: http://skia.googlecode.com/svn/trunk@959 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/include/GrGLIndexBuffer.h b/gpu/include/GrGLIndexBuffer.h
index 5755c07..0ecbe6d 100644
--- a/gpu/include/GrGLIndexBuffer.h
+++ b/gpu/include/GrGLIndexBuffer.h
@@ -1,5 +1,5 @@
/*
- Copyright 2010 Google Inc.
+ Copyright 2011 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -25,14 +25,14 @@
class GrGLIndexBuffer : public GrIndexBuffer {
protected:
- GrGLIndexBuffer(GLuint id,
+ GrGLIndexBuffer(GrGLuint id,
GrGpuGL* gl,
size_t sizeInBytes,
bool dynamic);
public:
virtual ~GrGLIndexBuffer();
- GLuint bufferID() const;
+ GrGLuint bufferID() const;
// overrides of GrIndexBuffer
virtual void abandon();
@@ -48,7 +48,7 @@
void bind() const;
GrGpuGL* fGL;
- GLuint fBufferID;
+ GrGLuint fBufferID;
void* fLockPtr;
friend class GrGpuGL;