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

Side by Side Diff: ppapi/shared_impl/opengles2_impl.cc

Issue 7782020: Revert 99855 - Move PPAPI graphics3d and opengles interfaces out of Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/shared_impl/opengles2_impl.h ('k') | ppapi/tests/all_c_includes.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is auto-generated from 5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py 6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // DO NOT EDIT! 7 // DO NOT EDIT!
8 8
9 #include "ppapi/shared_impl/opengles2_impl.h" 9 #include "ppapi/shared_impl/opengles2_impl.h"
10 10
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 context_id)->VertexAttribPointer( 743 context_id)->VertexAttribPointer(
744 indx, size, type, normalized, stride, ptr); 744 indx, size, type, normalized, stride, ptr);
745 } 745 }
746 746
747 void Viewport( 747 void Viewport(
748 PP_Resource context_id, GLint x, GLint y, GLsizei width, GLsizei height) { 748 PP_Resource context_id, GLint x, GLint y, GLsizei width, GLsizei height) {
749 GetGLES(context_id)->Viewport(x, y, width, height); 749 GetGLES(context_id)->Viewport(x, y, width, height);
750 } 750 }
751 751
752 752
753 const struct PPB_OpenGLES2 ppb_opengles2 = { 753 const struct PPB_OpenGLES2_Dev ppb_opengles2 = {
754 &ActiveTexture, 754 &ActiveTexture,
755 &AttachShader, 755 &AttachShader,
756 &BindAttribLocation, 756 &BindAttribLocation,
757 &BindBuffer, 757 &BindBuffer,
758 &BindFramebuffer, 758 &BindFramebuffer,
759 &BindRenderbuffer, 759 &BindRenderbuffer,
760 &BindTexture, 760 &BindTexture,
761 &BlendColor, 761 &BlendColor,
762 &BlendEquation, 762 &BlendEquation,
763 &BlendEquationSeparate, 763 &BlendEquationSeparate,
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 &VertexAttrib3f, 890 &VertexAttrib3f,
891 &VertexAttrib3fv, 891 &VertexAttrib3fv,
892 &VertexAttrib4f, 892 &VertexAttrib4f,
893 &VertexAttrib4fv, 893 &VertexAttrib4fv,
894 &VertexAttribPointer, 894 &VertexAttribPointer,
895 &Viewport 895 &Viewport
896 }; 896 };
897 897
898 } // namespace 898 } // namespace
899 899
900 const PPB_OpenGLES2* OpenGLES2Impl::GetInterface() { 900 const PPB_OpenGLES2_Dev* OpenGLES2Impl::GetInterface() {
901 return &ppb_opengles2; 901 return &ppb_opengles2;
902 } 902 }
903 903
904 } // namespace ppapi 904 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/shared_impl/opengles2_impl.h ('k') | ppapi/tests/all_c_includes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698