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

Unified Diff: gpu/command_buffer/build_gles2_cmd_buffer.py

Issue 8849003: Rename the shared_impl resource files to give them more regular names. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | « no previous file | ppapi/ppapi_shared.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/build_gles2_cmd_buffer.py
===================================================================
--- gpu/command_buffer/build_gles2_cmd_buffer.py (revision 113419)
+++ gpu/command_buffer/build_gles2_cmd_buffer.py (working copy)
@@ -5805,10 +5805,10 @@
file.Write(_LICENSE)
file.Write(_DO_NOT_EDIT_WARNING)
- file.Write("#include \"ppapi/shared_impl/opengles2_impl.h\"\n\n")
+ file.Write("#include \"ppapi/shared_impl/ppb_opengles2_shared.h\"\n\n")
file.Write("#include \"base/logging.h\"\n")
file.Write("#include \"gpu/command_buffer/client/gles2_implementation.h\"\n")
- file.Write("#include \"ppapi/shared_impl/graphics_3d_impl.h\"\n")
+ file.Write("#include \"ppapi/shared_impl/ppb_graphics_3d_shared.h\"\n")
file.Write("#include \"ppapi/thunk/enter.h\"\n\n")
file.Write("namespace ppapi {\n\n")
@@ -5819,7 +5819,7 @@
file.Write(" thunk::EnterResource<thunk::PPB_Graphics3D_API>"
" enter_g3d(context, false);\n")
file.Write(" DCHECK(enter_g3d.succeeded());\n")
- file.Write(" return static_cast<Graphics3DImpl*>"
+ file.Write(" return static_cast<PPB_Graphics3D_Shared*>"
"(enter_g3d.object())->gles2_impl();\n")
file.Write("}\n\n")
@@ -5851,7 +5851,7 @@
file.Write("} // namespace\n")
file.Write("""
-const PPB_OpenGLES2* OpenGLES2Impl::GetInterface() {
+const PPB_OpenGLES2* PPB_OpenGLES2_Shared::GetInterface() {
return &ppb_opengles2;
}
@@ -5989,7 +5989,8 @@
elif options.alternate_mode == "chrome_ppapi":
# To trigger this action, do "make ppapi_gles_implementation"
- gen.WritePepperGLES2Implementation("ppapi/shared_impl/opengles2_impl.cc")
+ gen.WritePepperGLES2Implementation(
+ "ppapi/shared_impl/ppb_opengles2_shared.cc")
elif options.alternate_mode == "nacl_ppapi":
gen.WritePepperGLES2NaClProxy(
« no previous file with comments | « no previous file | ppapi/ppapi_shared.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698