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

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

Issue 9694025: Add support for GL_COMMANDS_ISSUED_CHROMIUM fence like query. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add cast for std::min Created 8 years, 9 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file is included by gles2_implementation.h to declare the 9 // This file is included by gles2_implementation.h to declare the
10 // GL api functions. 10 // GL api functions.
(...skipping 1392 matching lines...) Expand 10 before | Expand all | Expand 10 after
1403 return; 1403 return;
1404 } 1404 }
1405 if (height < 0) { 1405 if (height < 0) {
1406 SetGLError(GL_INVALID_VALUE, "glTexStorage2DEXT: height < 0"); 1406 SetGLError(GL_INVALID_VALUE, "glTexStorage2DEXT: height < 0");
1407 return; 1407 return;
1408 } 1408 }
1409 helper_->TexStorage2DEXT(target, levels, internalFormat, width, height); 1409 helper_->TexStorage2DEXT(target, levels, internalFormat, width, height);
1410 } 1410 }
1411 1411
1412 void GenQueriesEXT(GLsizei n, GLuint* queries) { 1412 void GenQueriesEXT(GLsizei n, GLuint* queries) {
1413 GPU_CLIENT_LOG("[" << this << "] glGenQueriesEXT(" << n << ", " 1413 GPU_CLIENT_LOG("[" << this << "] glGenQueriesEXT(" << n << ", " << static_cast <const void*>(queries) << ")"); // NOLINT
1414 << static_cast<const void*>(queries) << ")"); // NOLINT
1415 if (n < 0) { 1414 if (n < 0) {
1416 SetGLError(GL_INVALID_VALUE, "glGenQueriesEXT: n < 0"); 1415 SetGLError(GL_INVALID_VALUE, "glGenQueriesEXT: n < 0");
1417 return; 1416 return;
1418 } 1417 }
1419 GPU_CLIENT_SINGLE_THREAD_CHECK(); 1418 GPU_CLIENT_SINGLE_THREAD_CHECK();
1420 id_handlers_[id_namespaces::kQueries]-> 1419 id_handlers_[id_namespaces::kQueries]->
1421 MakeIds(0, n, queries); 1420 MakeIds(0, n, queries);
1422 helper_->GenQueriesEXTImmediate(n, queries); 1421 helper_->GenQueriesEXTImmediate(n, queries);
1423 GPU_CLIENT_LOG_CODE_BLOCK({ 1422 GPU_CLIENT_LOG_CODE_BLOCK({
1424 for (GLsizei i = 0; i < n; ++i) { 1423 for (GLsizei i = 0; i < n; ++i) {
1425 GPU_CLIENT_LOG(" " << i << ": " << queries[i]); 1424 GPU_CLIENT_LOG(" " << i << ": " << queries[i]);
1426 } 1425 }
1427 }); 1426 });
1428 } 1427 }
1429 1428
1430 void DeleteQueriesEXT(GLsizei n, const GLuint* queries) { 1429 void DeleteQueriesEXT(GLsizei n, const GLuint* queries) {
1431 GPU_CLIENT_SINGLE_THREAD_CHECK(); 1430 GPU_CLIENT_SINGLE_THREAD_CHECK();
1432 GPU_CLIENT_LOG("[" << this << "] glDeleteQueriesEXT(" << n << ", " 1431 GPU_CLIENT_LOG("[" << this << "] glDeleteQueriesEXT(" << n << ", " << static_c ast<const void*>(queries) << ")"); // NOLINT
1433 << static_cast<const void*>(queries) << ")"); // NOLINT
1434 GPU_CLIENT_LOG_CODE_BLOCK({ 1432 GPU_CLIENT_LOG_CODE_BLOCK({
1435 for (GLsizei i = 0; i < n; ++i) { 1433 for (GLsizei i = 0; i < n; ++i) {
1436 GPU_CLIENT_LOG(" " << i << ": " << queries[i]); 1434 GPU_CLIENT_LOG(" " << i << ": " << queries[i]);
1437 } 1435 }
1438 }); 1436 });
1439 GPU_CLIENT_DCHECK_CODE_BLOCK({ 1437 GPU_CLIENT_DCHECK_CODE_BLOCK({
1440 for (GLsizei i = 0; i < n; ++i) { 1438 for (GLsizei i = 0; i < n; ++i) {
1441 GPU_DCHECK(queries[i] != 0); 1439 GPU_DCHECK(queries[i] != 0);
1442 } 1440 }
1443 }); 1441 });
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1552 GLenum mode, GLint first, GLsizei count, GLsizei primcount); 1550 GLenum mode, GLint first, GLsizei count, GLsizei primcount);
1553 1551
1554 void DrawElementsInstancedANGLE( 1552 void DrawElementsInstancedANGLE(
1555 GLenum mode, GLsizei count, GLenum type, const void* indices, 1553 GLenum mode, GLsizei count, GLenum type, const void* indices,
1556 GLsizei primcount); 1554 GLsizei primcount);
1557 1555
1558 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor); 1556 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor);
1559 1557
1560 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_ 1558 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_
1561 1559
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698