OLD | NEW |
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 // ui/gl/generate_bindings.py | 6 // ui/gl/generate_bindings.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 3429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3440 << "(" << GLEnums::GetStringEnum(target) << ", " | 3440 << "(" << GLEnums::GetStringEnum(target) << ", " |
3441 << GLEnums::GetStringEnum(pname) << ", " | 3441 << GLEnums::GetStringEnum(pname) << ", " |
3442 << static_cast<const void*>(params) << ")"); | 3442 << static_cast<const void*>(params) << ")"); |
3443 g_driver_gl.debug_fn.glGetTexParameterivFn(target, pname, params); | 3443 g_driver_gl.debug_fn.glGetTexParameterivFn(target, pname, params); |
3444 } | 3444 } |
3445 | 3445 |
3446 static void GL_BINDING_CALL Debug_glGetTransformFeedbackVarying(GLuint program, | 3446 static void GL_BINDING_CALL Debug_glGetTransformFeedbackVarying(GLuint program, |
3447 GLuint index, | 3447 GLuint index, |
3448 GLsizei bufSize, | 3448 GLsizei bufSize, |
3449 GLsizei* length, | 3449 GLsizei* length, |
| 3450 GLsizei* size, |
3450 GLenum* type, | 3451 GLenum* type, |
3451 char* name) { | 3452 char* name) { |
3452 GL_SERVICE_LOG("glGetTransformFeedbackVarying" | 3453 GL_SERVICE_LOG("glGetTransformFeedbackVarying" |
3453 << "(" << program << ", " << index << ", " << bufSize << ", " | 3454 << "(" << program << ", " << index << ", " << bufSize << ", " |
3454 << static_cast<const void*>(length) << ", " | 3455 << static_cast<const void*>(length) << ", " |
| 3456 << static_cast<const void*>(size) << ", " |
3455 << static_cast<const void*>(type) << ", " | 3457 << static_cast<const void*>(type) << ", " |
3456 << static_cast<const void*>(name) << ")"); | 3458 << static_cast<const void*>(name) << ")"); |
3457 g_driver_gl.debug_fn.glGetTransformFeedbackVaryingFn(program, index, bufSize, | 3459 g_driver_gl.debug_fn.glGetTransformFeedbackVaryingFn( |
3458 length, type, name); | 3460 program, index, bufSize, length, size, type, name); |
3459 } | 3461 } |
3460 | 3462 |
3461 static void GL_BINDING_CALL | 3463 static void GL_BINDING_CALL |
3462 Debug_glGetTranslatedShaderSourceANGLE(GLuint shader, | 3464 Debug_glGetTranslatedShaderSourceANGLE(GLuint shader, |
3463 GLsizei bufsize, | 3465 GLsizei bufsize, |
3464 GLsizei* length, | 3466 GLsizei* length, |
3465 char* source) { | 3467 char* source) { |
3466 GL_SERVICE_LOG("glGetTranslatedShaderSourceANGLE" | 3468 GL_SERVICE_LOG("glGetTranslatedShaderSourceANGLE" |
3467 << "(" << shader << ", " << bufsize << ", " | 3469 << "(" << shader << ", " << bufsize << ", " |
3468 << static_cast<const void*>(length) << ", " | 3470 << static_cast<const void*>(length) << ", " |
(...skipping 3300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6769 void GLApiBase::glGetTexParameterivFn(GLenum target, | 6771 void GLApiBase::glGetTexParameterivFn(GLenum target, |
6770 GLenum pname, | 6772 GLenum pname, |
6771 GLint* params) { | 6773 GLint* params) { |
6772 driver_->fn.glGetTexParameterivFn(target, pname, params); | 6774 driver_->fn.glGetTexParameterivFn(target, pname, params); |
6773 } | 6775 } |
6774 | 6776 |
6775 void GLApiBase::glGetTransformFeedbackVaryingFn(GLuint program, | 6777 void GLApiBase::glGetTransformFeedbackVaryingFn(GLuint program, |
6776 GLuint index, | 6778 GLuint index, |
6777 GLsizei bufSize, | 6779 GLsizei bufSize, |
6778 GLsizei* length, | 6780 GLsizei* length, |
| 6781 GLsizei* size, |
6779 GLenum* type, | 6782 GLenum* type, |
6780 char* name) { | 6783 char* name) { |
6781 driver_->fn.glGetTransformFeedbackVaryingFn(program, index, bufSize, length, | 6784 driver_->fn.glGetTransformFeedbackVaryingFn(program, index, bufSize, length, |
6782 type, name); | 6785 size, type, name); |
6783 } | 6786 } |
6784 | 6787 |
6785 void GLApiBase::glGetTranslatedShaderSourceANGLEFn(GLuint shader, | 6788 void GLApiBase::glGetTranslatedShaderSourceANGLEFn(GLuint shader, |
6786 GLsizei bufsize, | 6789 GLsizei bufsize, |
6787 GLsizei* length, | 6790 GLsizei* length, |
6788 char* source) { | 6791 char* source) { |
6789 driver_->fn.glGetTranslatedShaderSourceANGLEFn(shader, bufsize, length, | 6792 driver_->fn.glGetTranslatedShaderSourceANGLEFn(shader, bufsize, length, |
6790 source); | 6793 source); |
6791 } | 6794 } |
6792 | 6795 |
(...skipping 1799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8592 GLenum pname, | 8595 GLenum pname, |
8593 GLint* params) { | 8596 GLint* params) { |
8594 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGetTexParameteriv") | 8597 TRACE_EVENT_BINARY_EFFICIENT0("gpu", "TraceGLAPI::glGetTexParameteriv") |
8595 gl_api_->glGetTexParameterivFn(target, pname, params); | 8598 gl_api_->glGetTexParameterivFn(target, pname, params); |
8596 } | 8599 } |
8597 | 8600 |
8598 void TraceGLApi::glGetTransformFeedbackVaryingFn(GLuint program, | 8601 void TraceGLApi::glGetTransformFeedbackVaryingFn(GLuint program, |
8599 GLuint index, | 8602 GLuint index, |
8600 GLsizei bufSize, | 8603 GLsizei bufSize, |
8601 GLsizei* length, | 8604 GLsizei* length, |
| 8605 GLsizei* size, |
8602 GLenum* type, | 8606 GLenum* type, |
8603 char* name) { | 8607 char* name) { |
8604 TRACE_EVENT_BINARY_EFFICIENT0("gpu", | 8608 TRACE_EVENT_BINARY_EFFICIENT0("gpu", |
8605 "TraceGLAPI::glGetTransformFeedbackVarying") | 8609 "TraceGLAPI::glGetTransformFeedbackVarying") |
8606 gl_api_->glGetTransformFeedbackVaryingFn(program, index, bufSize, length, | 8610 gl_api_->glGetTransformFeedbackVaryingFn(program, index, bufSize, length, |
8607 type, name); | 8611 size, type, name); |
8608 } | 8612 } |
8609 | 8613 |
8610 void TraceGLApi::glGetTranslatedShaderSourceANGLEFn(GLuint shader, | 8614 void TraceGLApi::glGetTranslatedShaderSourceANGLEFn(GLuint shader, |
8611 GLsizei bufsize, | 8615 GLsizei bufsize, |
8612 GLsizei* length, | 8616 GLsizei* length, |
8613 char* source) { | 8617 char* source) { |
8614 TRACE_EVENT_BINARY_EFFICIENT0("gpu", | 8618 TRACE_EVENT_BINARY_EFFICIENT0("gpu", |
8615 "TraceGLAPI::glGetTranslatedShaderSourceANGLE") | 8619 "TraceGLAPI::glGetTranslatedShaderSourceANGLE") |
8616 gl_api_->glGetTranslatedShaderSourceANGLEFn(shader, bufsize, length, source); | 8620 gl_api_->glGetTranslatedShaderSourceANGLEFn(shader, bufsize, length, source); |
8617 } | 8621 } |
(...skipping 2098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10716 NOTREACHED() | 10720 NOTREACHED() |
10717 << "Trying to call glGetTexParameteriv() without current GL context"; | 10721 << "Trying to call glGetTexParameteriv() without current GL context"; |
10718 LOG(ERROR) | 10722 LOG(ERROR) |
10719 << "Trying to call glGetTexParameteriv() without current GL context"; | 10723 << "Trying to call glGetTexParameteriv() without current GL context"; |
10720 } | 10724 } |
10721 | 10725 |
10722 void NoContextGLApi::glGetTransformFeedbackVaryingFn(GLuint program, | 10726 void NoContextGLApi::glGetTransformFeedbackVaryingFn(GLuint program, |
10723 GLuint index, | 10727 GLuint index, |
10724 GLsizei bufSize, | 10728 GLsizei bufSize, |
10725 GLsizei* length, | 10729 GLsizei* length, |
| 10730 GLsizei* size, |
10726 GLenum* type, | 10731 GLenum* type, |
10727 char* name) { | 10732 char* name) { |
10728 NOTREACHED() << "Trying to call glGetTransformFeedbackVarying() without " | 10733 NOTREACHED() << "Trying to call glGetTransformFeedbackVarying() without " |
10729 "current GL context"; | 10734 "current GL context"; |
10730 LOG(ERROR) << "Trying to call glGetTransformFeedbackVarying() without " | 10735 LOG(ERROR) << "Trying to call glGetTransformFeedbackVarying() without " |
10731 "current GL context"; | 10736 "current GL context"; |
10732 } | 10737 } |
10733 | 10738 |
10734 void NoContextGLApi::glGetTranslatedShaderSourceANGLEFn(GLuint shader, | 10739 void NoContextGLApi::glGetTranslatedShaderSourceANGLEFn(GLuint shader, |
10735 GLsizei bufsize, | 10740 GLsizei bufsize, |
(...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11769 | 11774 |
11770 GLenum NoContextGLApi::glWaitSyncFn(GLsync sync, | 11775 GLenum NoContextGLApi::glWaitSyncFn(GLsync sync, |
11771 GLbitfield flags, | 11776 GLbitfield flags, |
11772 GLuint64 timeout) { | 11777 GLuint64 timeout) { |
11773 NOTREACHED() << "Trying to call glWaitSync() without current GL context"; | 11778 NOTREACHED() << "Trying to call glWaitSync() without current GL context"; |
11774 LOG(ERROR) << "Trying to call glWaitSync() without current GL context"; | 11779 LOG(ERROR) << "Trying to call glWaitSync() without current GL context"; |
11775 return static_cast<GLenum>(0); | 11780 return static_cast<GLenum>(0); |
11776 } | 11781 } |
11777 | 11782 |
11778 } // namespace gfx | 11783 } // namespace gfx |
OLD | NEW |