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

Side by Side Diff: gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc

Issue 680903002: Add skia bindings for VertexAttrib[1f,2fv,3fv]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « no previous file | ui/gl/gl_bindings_skia_in_process.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h" 5 #include "gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h"
6 6
7 #ifndef GL_GLEXT_PROTOTYPES 7 #ifndef GL_GLEXT_PROTOTYPES
8 #define GL_GLEXT_PROTOTYPES 8 #define GL_GLEXT_PROTOTYPES
9 #endif 9 #endif
10 #include "gpu/GLES2/gl2extchromium.h" 10 #include "gpu/GLES2/gl2extchromium.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 functions->fUniform4f = glUniform4f; 108 functions->fUniform4f = glUniform4f;
109 functions->fUniform4i = glUniform4i; 109 functions->fUniform4i = glUniform4i;
110 functions->fUniform4fv = glUniform4fv; 110 functions->fUniform4fv = glUniform4fv;
111 functions->fUniform4iv = glUniform4iv; 111 functions->fUniform4iv = glUniform4iv;
112 functions->fUniformMatrix2fv = glUniformMatrix2fv; 112 functions->fUniformMatrix2fv = glUniformMatrix2fv;
113 functions->fUniformMatrix3fv = glUniformMatrix3fv; 113 functions->fUniformMatrix3fv = glUniformMatrix3fv;
114 functions->fUniformMatrix4fv = glUniformMatrix4fv; 114 functions->fUniformMatrix4fv = glUniformMatrix4fv;
115 functions->fUnmapBufferSubData = glUnmapBufferSubDataCHROMIUM; 115 functions->fUnmapBufferSubData = glUnmapBufferSubDataCHROMIUM;
116 functions->fUnmapTexSubImage2D = glUnmapTexSubImage2DCHROMIUM; 116 functions->fUnmapTexSubImage2D = glUnmapTexSubImage2DCHROMIUM;
117 functions->fUseProgram = glUseProgram; 117 functions->fUseProgram = glUseProgram;
118 functions->fVertexAttrib1f = glVertexAttrib1f;
119 functions->fVertexAttrib2fv = glVertexAttrib2fv;
120 functions->fVertexAttrib3fv = glVertexAttrib3fv;
118 functions->fVertexAttrib4fv = glVertexAttrib4fv; 121 functions->fVertexAttrib4fv = glVertexAttrib4fv;
119 functions->fVertexAttribPointer = glVertexAttribPointer; 122 functions->fVertexAttribPointer = glVertexAttribPointer;
120 functions->fViewport = glViewport; 123 functions->fViewport = glViewport;
121 functions->fBindFramebuffer = glBindFramebuffer; 124 functions->fBindFramebuffer = glBindFramebuffer;
122 functions->fBindRenderbuffer = glBindRenderbuffer; 125 functions->fBindRenderbuffer = glBindRenderbuffer;
123 functions->fCheckFramebufferStatus = glCheckFramebufferStatus; 126 functions->fCheckFramebufferStatus = glCheckFramebufferStatus;
124 functions->fDeleteFramebuffers = glDeleteFramebuffers; 127 functions->fDeleteFramebuffers = glDeleteFramebuffers;
125 functions->fDeleteRenderbuffers = glDeleteRenderbuffers; 128 functions->fDeleteRenderbuffers = glDeleteRenderbuffers;
126 functions->fFramebufferRenderbuffer = glFramebufferRenderbuffer; 129 functions->fFramebufferRenderbuffer = glFramebufferRenderbuffer;
127 functions->fFramebufferTexture2D = glFramebufferTexture2D; 130 functions->fFramebufferTexture2D = glFramebufferTexture2D;
(...skipping 12 matching lines...) Expand all
140 functions->fBindUniformLocation = glBindUniformLocationCHROMIUM; 143 functions->fBindUniformLocation = glBindUniformLocationCHROMIUM;
141 functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM; 144 functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM;
142 functions->fGenerateMipmap = glGenerateMipmap; 145 functions->fGenerateMipmap = glGenerateMipmap;
143 functions->fMatrixLoadf = glMatrixLoadfCHROMIUM; 146 functions->fMatrixLoadf = glMatrixLoadfCHROMIUM;
144 functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM; 147 functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM;
145 148
146 return interface; 149 return interface;
147 } 150 }
148 151
149 } // namespace skia 152 } // namespace skia
OLDNEW
« no previous file with comments | « no previous file | ui/gl/gl_bindings_skia_in_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698