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

Side by Side Diff: gpu/command_buffer/client/gles2_c_lib_autogen.h

Issue 895933004: Add UniformBlocks related commands to command buffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@uniform
Patch Set: Working Created 5 years, 10 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 void GLES2GetActiveUniform(GLuint program, 331 void GLES2GetActiveUniform(GLuint program,
332 GLuint index, 332 GLuint index,
333 GLsizei bufsize, 333 GLsizei bufsize,
334 GLsizei* length, 334 GLsizei* length,
335 GLint* size, 335 GLint* size,
336 GLenum* type, 336 GLenum* type,
337 char* name) { 337 char* name) {
338 gles2::GetGLContext()->GetActiveUniform(program, index, bufsize, length, size, 338 gles2::GetGLContext()->GetActiveUniform(program, index, bufsize, length, size,
339 type, name); 339 type, name);
340 } 340 }
341 void GLES2GetActiveUniformBlockName(GLuint program,
342 GLuint index,
343 GLsizei bufsize,
344 GLsizei* length,
345 char* name) {
346 gles2::GetGLContext()->GetActiveUniformBlockName(program, index, bufsize,
347 length, name);
348 }
341 void GLES2GetAttachedShaders(GLuint program, 349 void GLES2GetAttachedShaders(GLuint program,
342 GLsizei maxcount, 350 GLsizei maxcount,
343 GLsizei* count, 351 GLsizei* count,
344 GLuint* shaders) { 352 GLuint* shaders) {
345 gles2::GetGLContext()->GetAttachedShaders(program, maxcount, count, shaders); 353 gles2::GetGLContext()->GetAttachedShaders(program, maxcount, count, shaders);
346 } 354 }
347 GLint GLES2GetAttribLocation(GLuint program, const char* name) { 355 GLint GLES2GetAttribLocation(GLuint program, const char* name) {
348 return gles2::GetGLContext()->GetAttribLocation(program, name); 356 return gles2::GetGLContext()->GetAttribLocation(program, name);
349 } 357 }
350 void GLES2GetBooleanv(GLenum pname, GLboolean* params) { 358 void GLES2GetBooleanv(GLenum pname, GLboolean* params) {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 } 432 }
425 const GLubyte* GLES2GetString(GLenum name) { 433 const GLubyte* GLES2GetString(GLenum name) {
426 return gles2::GetGLContext()->GetString(name); 434 return gles2::GetGLContext()->GetString(name);
427 } 435 }
428 void GLES2GetTexParameterfv(GLenum target, GLenum pname, GLfloat* params) { 436 void GLES2GetTexParameterfv(GLenum target, GLenum pname, GLfloat* params) {
429 gles2::GetGLContext()->GetTexParameterfv(target, pname, params); 437 gles2::GetGLContext()->GetTexParameterfv(target, pname, params);
430 } 438 }
431 void GLES2GetTexParameteriv(GLenum target, GLenum pname, GLint* params) { 439 void GLES2GetTexParameteriv(GLenum target, GLenum pname, GLint* params) {
432 gles2::GetGLContext()->GetTexParameteriv(target, pname, params); 440 gles2::GetGLContext()->GetTexParameteriv(target, pname, params);
433 } 441 }
442 GLuint GLES2GetUniformBlockIndex(GLuint program, const char* name) {
443 return gles2::GetGLContext()->GetUniformBlockIndex(program, name);
444 }
434 void GLES2GetUniformfv(GLuint program, GLint location, GLfloat* params) { 445 void GLES2GetUniformfv(GLuint program, GLint location, GLfloat* params) {
435 gles2::GetGLContext()->GetUniformfv(program, location, params); 446 gles2::GetGLContext()->GetUniformfv(program, location, params);
436 } 447 }
437 void GLES2GetUniformiv(GLuint program, GLint location, GLint* params) { 448 void GLES2GetUniformiv(GLuint program, GLint location, GLint* params) {
438 gles2::GetGLContext()->GetUniformiv(program, location, params); 449 gles2::GetGLContext()->GetUniformiv(program, location, params);
439 } 450 }
440 GLint GLES2GetUniformLocation(GLuint program, const char* name) { 451 GLint GLES2GetUniformLocation(GLuint program, const char* name) {
441 return gles2::GetGLContext()->GetUniformLocation(program, name); 452 return gles2::GetGLContext()->GetUniformLocation(program, name);
442 } 453 }
443 void GLES2GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) { 454 void GLES2GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) {
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
1031 } 1042 }
1032 void GLES2RateLimitOffscreenContextCHROMIUM() { 1043 void GLES2RateLimitOffscreenContextCHROMIUM() {
1033 gles2::GetGLContext()->RateLimitOffscreenContextCHROMIUM(); 1044 gles2::GetGLContext()->RateLimitOffscreenContextCHROMIUM();
1034 } 1045 }
1035 void GLES2GetProgramInfoCHROMIUM(GLuint program, 1046 void GLES2GetProgramInfoCHROMIUM(GLuint program,
1036 GLsizei bufsize, 1047 GLsizei bufsize,
1037 GLsizei* size, 1048 GLsizei* size,
1038 void* info) { 1049 void* info) {
1039 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info); 1050 gles2::GetGLContext()->GetProgramInfoCHROMIUM(program, bufsize, size, info);
1040 } 1051 }
1052 void GLES2GetUniformBlocksCHROMIUM(GLuint program,
1053 GLsizei bufsize,
1054 GLsizei* size,
1055 void* info) {
1056 gles2::GetGLContext()->GetUniformBlocksCHROMIUM(program, bufsize, size, info);
1057 }
1041 GLuint GLES2CreateStreamTextureCHROMIUM(GLuint texture) { 1058 GLuint GLES2CreateStreamTextureCHROMIUM(GLuint texture) {
1042 return gles2::GetGLContext()->CreateStreamTextureCHROMIUM(texture); 1059 return gles2::GetGLContext()->CreateStreamTextureCHROMIUM(texture);
1043 } 1060 }
1044 GLuint GLES2CreateImageCHROMIUM(ClientBuffer buffer, 1061 GLuint GLES2CreateImageCHROMIUM(ClientBuffer buffer,
1045 GLsizei width, 1062 GLsizei width,
1046 GLsizei height, 1063 GLsizei height,
1047 GLenum internalformat) { 1064 GLenum internalformat) {
1048 return gles2::GetGLContext()->CreateImageCHROMIUM(buffer, width, height, 1065 return gles2::GetGLContext()->CreateImageCHROMIUM(buffer, width, height,
1049 internalformat); 1066 internalformat);
1050 } 1067 }
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
1532 }, 1549 },
1533 { 1550 {
1534 "glGetActiveAttrib", 1551 "glGetActiveAttrib",
1535 reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib), 1552 reinterpret_cast<GLES2FunctionPointer>(glGetActiveAttrib),
1536 }, 1553 },
1537 { 1554 {
1538 "glGetActiveUniform", 1555 "glGetActiveUniform",
1539 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform), 1556 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniform),
1540 }, 1557 },
1541 { 1558 {
1559 "glGetActiveUniformBlockName",
1560 reinterpret_cast<GLES2FunctionPointer>(glGetActiveUniformBlockName),
1561 },
1562 {
1542 "glGetAttachedShaders", 1563 "glGetAttachedShaders",
1543 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders), 1564 reinterpret_cast<GLES2FunctionPointer>(glGetAttachedShaders),
1544 }, 1565 },
1545 { 1566 {
1546 "glGetAttribLocation", 1567 "glGetAttribLocation",
1547 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation), 1568 reinterpret_cast<GLES2FunctionPointer>(glGetAttribLocation),
1548 }, 1569 },
1549 { 1570 {
1550 "glGetBooleanv", 1571 "glGetBooleanv",
1551 reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv), 1572 reinterpret_cast<GLES2FunctionPointer>(glGetBooleanv),
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
1621 }, 1642 },
1622 { 1643 {
1623 "glGetTexParameterfv", 1644 "glGetTexParameterfv",
1624 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv), 1645 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameterfv),
1625 }, 1646 },
1626 { 1647 {
1627 "glGetTexParameteriv", 1648 "glGetTexParameteriv",
1628 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv), 1649 reinterpret_cast<GLES2FunctionPointer>(glGetTexParameteriv),
1629 }, 1650 },
1630 { 1651 {
1652 "glGetUniformBlockIndex",
1653 reinterpret_cast<GLES2FunctionPointer>(glGetUniformBlockIndex),
1654 },
1655 {
1631 "glGetUniformfv", 1656 "glGetUniformfv",
1632 reinterpret_cast<GLES2FunctionPointer>(glGetUniformfv), 1657 reinterpret_cast<GLES2FunctionPointer>(glGetUniformfv),
1633 }, 1658 },
1634 { 1659 {
1635 "glGetUniformiv", 1660 "glGetUniformiv",
1636 reinterpret_cast<GLES2FunctionPointer>(glGetUniformiv), 1661 reinterpret_cast<GLES2FunctionPointer>(glGetUniformiv),
1637 }, 1662 },
1638 { 1663 {
1639 "glGetUniformLocation", 1664 "glGetUniformLocation",
1640 reinterpret_cast<GLES2FunctionPointer>(glGetUniformLocation), 1665 reinterpret_cast<GLES2FunctionPointer>(glGetUniformLocation),
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
2185 { 2210 {
2186 "glRateLimitOffscreenContextCHROMIUM", 2211 "glRateLimitOffscreenContextCHROMIUM",
2187 reinterpret_cast<GLES2FunctionPointer>( 2212 reinterpret_cast<GLES2FunctionPointer>(
2188 glRateLimitOffscreenContextCHROMIUM), 2213 glRateLimitOffscreenContextCHROMIUM),
2189 }, 2214 },
2190 { 2215 {
2191 "glGetProgramInfoCHROMIUM", 2216 "glGetProgramInfoCHROMIUM",
2192 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM), 2217 reinterpret_cast<GLES2FunctionPointer>(glGetProgramInfoCHROMIUM),
2193 }, 2218 },
2194 { 2219 {
2220 "glGetUniformBlocksCHROMIUM",
2221 reinterpret_cast<GLES2FunctionPointer>(glGetUniformBlocksCHROMIUM),
2222 },
2223 {
2195 "glCreateStreamTextureCHROMIUM", 2224 "glCreateStreamTextureCHROMIUM",
2196 reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM), 2225 reinterpret_cast<GLES2FunctionPointer>(glCreateStreamTextureCHROMIUM),
2197 }, 2226 },
2198 { 2227 {
2199 "glCreateImageCHROMIUM", 2228 "glCreateImageCHROMIUM",
2200 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM), 2229 reinterpret_cast<GLES2FunctionPointer>(glCreateImageCHROMIUM),
2201 }, 2230 },
2202 { 2231 {
2203 "glDestroyImageCHROMIUM", 2232 "glDestroyImageCHROMIUM",
2204 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM), 2233 reinterpret_cast<GLES2FunctionPointer>(glDestroyImageCHROMIUM),
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
2365 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), 2394 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR),
2366 }, 2395 },
2367 { 2396 {
2368 NULL, 2397 NULL,
2369 NULL, 2398 NULL,
2370 }, 2399 },
2371 }; 2400 };
2372 2401
2373 } // namespace gles2 2402 } // namespace gles2
2374 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 2403 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/client/gles2_cmd_helper_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698