diff options
author | 2012-08-23 18:09:54 +0000 | |
---|---|---|
committer | 2012-08-23 18:09:54 +0000 | |
commit | fbfcd5602128ec010c82cb733c9cdc0a3254f9f3 (patch) | |
tree | d8b4815d15946c32ee9d254e932411e93be942bb /include/gpu/gl | |
parent | 2abed834789bb64c7da740df4c47efc142b7311a (diff) |
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/)
This CL is part I of IV (I broke down the 1280 files into 4 CLs).
Review URL: https://codereview.appspot.com/6485054
git-svn-id: http://skia.googlecode.com/svn/trunk@5262 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu/gl')
-rw-r--r-- | include/gpu/gl/GrGLConfig.h | 2 | ||||
-rw-r--r-- | include/gpu/gl/GrGLFunctions.h | 4 | ||||
-rw-r--r-- | include/gpu/gl/GrGLInterface.h | 8 | ||||
-rw-r--r-- | include/gpu/gl/SkGLContext.h | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/include/gpu/gl/GrGLConfig.h b/include/gpu/gl/GrGLConfig.h index dd38283e25..20d9031264 100644 --- a/include/gpu/gl/GrGLConfig.h +++ b/include/gpu/gl/GrGLConfig.h @@ -49,7 +49,7 @@ * GR_GL_NO_CONSTANT_ATTRIBUTES: if this evaluates to true then the GL backend * will use uniforms instead of attributes in all cases when there is not * per-vertex data. This is important when the underlying GL implementation - * doesn't actually support immediate style attribute values (e.g. when + * doesn't actually support immediate style attribute values (e.g. when * the GL stream is converted to DX as in ANGLE on Chrome). Defaults to 0. * * GR_GL_USE_BUFFER_DATA_NULL_HINT: When specifing new data for a vertex/index diff --git a/include/gpu/gl/GrGLFunctions.h b/include/gpu/gl/GrGLFunctions.h index 626d904726..b0b3b16313 100644 --- a/include/gpu/gl/GrGLFunctions.h +++ b/include/gpu/gl/GrGLFunctions.h @@ -103,7 +103,7 @@ extern "C" { typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetQueryObjecti64vProc)(GrGLuint id, GrGLenum pname, GrGLint64 *params); typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetQueryObjectivProc)(GrGLuint id, GrGLenum pname, GrGLint *params); typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetQueryObjectui64vProc)(GrGLuint id, GrGLenum pname, GrGLuint64 *params); - typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetQueryObjectuivProc)(GrGLuint id, GrGLenum pname, GrGLuint *params); + typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetQueryObjectuivProc)(GrGLuint id, GrGLenum pname, GrGLuint *params); typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetRenderbufferParameterivProc)(GrGLenum target, GrGLenum pname, GrGLint* params); typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetShaderInfoLogProc)(GrGLuint shader, GrGLsizei bufsize, GrGLsizei* length, char* infolog); typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLGetShaderivProc)(GrGLuint shader, GrGLenum pname, GrGLint* params); @@ -160,7 +160,7 @@ extern "C" { typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLViewportProc)(GrGLint x, GrGLint y, GrGLsizei width, GrGLsizei height); // Experimental: Functions for GL_NV_path_rendering. These will be - // alphabetized with the above functions once this is fully supported + // alphabetized with the above functions once this is fully supported // (and functions we are unlikely to use will possibly be omitted). typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLMatrixModeProc)(GrGLenum); typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLLoadIdentityProc)(); diff --git a/include/gpu/gl/GrGLInterface.h b/include/gpu/gl/GrGLInterface.h index c627b90fd6..e1ca40e391 100644 --- a/include/gpu/gl/GrGLInterface.h +++ b/include/gpu/gl/GrGLInterface.h @@ -45,7 +45,7 @@ enum GrGLBinding { * whether the same GrGLInterface is returned or whether a new one is created * at each call. Some platforms may not be able to use a single GrGLInterface * because extension function ptrs vary across contexts. Note that GrGLInterface - * is ref-counted. So if the same object is returned by multiple calls to + * is ref-counted. So if the same object is returned by multiple calls to * GrGLDefaultInterface, each should bump the ref count. * * By defining GR_GL_PER_GL_CALL_IFACE_CALLBACK to 1 the client can specify a @@ -60,7 +60,7 @@ const GrGLInterface* GrGLDefaultInterface(); /** * Creates a GrGLInterface for a "native" GL context (e.g. WGL on windows, * GLX on linux, AGL on Mac). On platforms that have context-specific function - * pointers for GL extensions (e.g. windows) the returned interface is only + * pointers for GL extensions (e.g. windows) the returned interface is only * valid for the context that was current at creation. */ const GrGLInterface* GrGLCreateNativeInterface(); @@ -86,7 +86,7 @@ const GrGLInterface* GrGLCreateANGLEInterface(); const GrGLInterface* GrGLCreateNullInterface(); /** - * Creates a debugging GrGLInterface that doesn't draw anything. Used for + * Creates a debugging GrGLInterface that doesn't draw anything. Used for * finding memory leaks and invalid memory accesses. */ const GrGLInterface* GrGLCreateDebugInterface(); @@ -255,7 +255,7 @@ public: GLPtr<GrGLViewportProc> fViewport; // Experimental: Functions for GL_NV_path_rendering. These will be - // alphabetized with the above functions once this is fully supported + // alphabetized with the above functions once this is fully supported // (and functions we are unlikely to use will possibly be omitted). GLPtr<GrGLMatrixModeProc> fMatrixMode; GLPtr<GrGLLoadIdentityProc> fLoadIdentity; diff --git a/include/gpu/gl/SkGLContext.h b/include/gpu/gl/SkGLContext.h index b8b6b6e85d..3f99eaeb6a 100644 --- a/include/gpu/gl/SkGLContext.h +++ b/include/gpu/gl/SkGLContext.h @@ -38,8 +38,8 @@ public: protected: /** - * Subclass implements this to make a GL context. The returned GrGLInterface - * should be populated with functions compatible with the context. The + * Subclass implements this to make a GL context. The returned GrGLInterface + * should be populated with functions compatible with the context. The * format and size of backbuffers does not matter since an FBO will be * created. */ |