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

Side by Side Diff: webkit/plugins/ppapi/ppb_opengles_impl.cc

Issue 7253052: Execute all GL commands up to the put offset reported by a flush. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | « webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "webkit/plugins/ppapi/ppb_opengles_impl.h" 9 #include "webkit/plugins/ppapi/ppb_opengles_impl.h"
10 10
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 GetGLES( 741 GetGLES(
742 context_id)->VertexAttribPointer( 742 context_id)->VertexAttribPointer(
743 indx, size, type, normalized, stride, ptr); 743 indx, size, type, normalized, stride, ptr);
744 } 744 }
745 745
746 void Viewport( 746 void Viewport(
747 PP_Resource context_id, GLint x, GLint y, GLsizei width, GLsizei height) { 747 PP_Resource context_id, GLint x, GLint y, GLsizei width, GLsizei height) {
748 GetGLES(context_id)->Viewport(x, y, width, height); 748 GetGLES(context_id)->Viewport(x, y, width, height);
749 } 749 }
750 750
751 void SetLatchCHROMIUM(PP_Resource context_id, GLuint latch_id) {
752 GetGLES(context_id)->SetLatchCHROMIUM(latch_id);
753 }
754
755 void WaitLatchCHROMIUM(PP_Resource context_id, GLuint latch_id) {
756 GetGLES(context_id)->WaitLatchCHROMIUM(latch_id);
757 }
758
759 751
760 const struct PPB_OpenGLES2_Dev ppb_opengles2 = { 752 const struct PPB_OpenGLES2_Dev ppb_opengles2 = {
761 &ActiveTexture, 753 &ActiveTexture,
762 &AttachShader, 754 &AttachShader,
763 &BindAttribLocation, 755 &BindAttribLocation,
764 &BindBuffer, 756 &BindBuffer,
765 &BindFramebuffer, 757 &BindFramebuffer,
766 &BindRenderbuffer, 758 &BindRenderbuffer,
767 &BindTexture, 759 &BindTexture,
768 &BlendColor, 760 &BlendColor,
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 896
905 } // namespace 897 } // namespace
906 898
907 const PPB_OpenGLES2_Dev* PPB_OpenGLES_Impl::GetInterface() { 899 const PPB_OpenGLES2_Dev* PPB_OpenGLES_Impl::GetInterface() {
908 return &ppb_opengles2; 900 return &ppb_opengles2;
909 } 901 }
910 902
911 } // namespace ppapi 903 } // namespace ppapi
912 } // namespace webkit 904 } // namespace webkit
913 905
OLDNEW
« no previous file with comments | « webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698