Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Unified Diff: ppapi/shared_impl/ppb_opengles2_shared.cc

Issue 189373003: Get rid of the formatting code in build_gles2_cmd_buffer.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/lib/gl/gles2/gles2.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_opengles2_shared.cc
diff --git a/ppapi/shared_impl/ppb_opengles2_shared.cc b/ppapi/shared_impl/ppb_opengles2_shared.cc
index aa335df3a734cb3f8011a4f1f1e097a9d7d49240..d212ad53dc2dfae6bd04602919d0265e9bcfcba6 100644
--- a/ppapi/shared_impl/ppb_opengles2_shared.cc
+++ b/ppapi/shared_impl/ppb_opengles2_shared.cc
@@ -1650,32 +1650,32 @@ const PPB_OpenGLES2* PPB_OpenGLES2_Shared::GetInterface() {
return &ppb_opengles2;
}
const PPB_OpenGLES2InstancedArrays*
-PPB_OpenGLES2_Shared::GetInstancedArraysInterface() { // NOLINT
+PPB_OpenGLES2_Shared::GetInstancedArraysInterface() {
static const struct PPB_OpenGLES2InstancedArrays ppb_opengles2 = {
&DrawArraysInstancedANGLE, &DrawElementsInstancedANGLE,
&VertexAttribDivisorANGLE};
return &ppb_opengles2;
}
const PPB_OpenGLES2FramebufferBlit*
-PPB_OpenGLES2_Shared::GetFramebufferBlitInterface() { // NOLINT
+PPB_OpenGLES2_Shared::GetFramebufferBlitInterface() {
static const struct PPB_OpenGLES2FramebufferBlit ppb_opengles2 = {
&BlitFramebufferEXT};
return &ppb_opengles2;
}
const PPB_OpenGLES2FramebufferMultisample*
-PPB_OpenGLES2_Shared::GetFramebufferMultisampleInterface() { // NOLINT
+PPB_OpenGLES2_Shared::GetFramebufferMultisampleInterface() {
static const struct PPB_OpenGLES2FramebufferMultisample ppb_opengles2 = {
&RenderbufferStorageMultisampleEXT};
return &ppb_opengles2;
}
const PPB_OpenGLES2ChromiumEnableFeature*
-PPB_OpenGLES2_Shared::GetChromiumEnableFeatureInterface() { // NOLINT
+PPB_OpenGLES2_Shared::GetChromiumEnableFeatureInterface() {
static const struct PPB_OpenGLES2ChromiumEnableFeature ppb_opengles2 = {
&EnableFeatureCHROMIUM};
return &ppb_opengles2;
}
const PPB_OpenGLES2ChromiumMapSub*
-PPB_OpenGLES2_Shared::GetChromiumMapSubInterface() { // NOLINT
+PPB_OpenGLES2_Shared::GetChromiumMapSubInterface() {
static const struct PPB_OpenGLES2ChromiumMapSub ppb_opengles2 = {
&MapBufferSubDataCHROMIUM, &UnmapBufferSubDataCHROMIUM,
&MapTexSubImage2DCHROMIUM, &UnmapTexSubImage2DCHROMIUM};
@@ -1688,7 +1688,7 @@ const PPB_OpenGLES2Query* PPB_OpenGLES2_Shared::GetQueryInterface() {
return &ppb_opengles2;
}
const PPB_OpenGLES2DrawBuffers_Dev*
-PPB_OpenGLES2_Shared::GetDrawBuffersInterface() { // NOLINT
+PPB_OpenGLES2_Shared::GetDrawBuffersInterface() {
static const struct PPB_OpenGLES2DrawBuffers_Dev ppb_opengles2 = {
&DrawBuffersEXT};
return &ppb_opengles2;
« no previous file with comments | « ppapi/lib/gl/gles2/gles2.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698