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

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

Issue 2456213002: WebVR: implement SetSurfaceHandleCHROMIUM extension for gvr_device.
Patch Set: bajones #16, #19: Use struct for state, fix BUILD deps Created 4 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
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 1697 matching lines...) Expand 10 before | Expand all | Expand 10 after
1708 const GLfloat* transform) { 1708 const GLfloat* transform) {
1709 gles2::GetGLContext()->UniformMatrix4fvStreamTextureMatrixCHROMIUM( 1709 gles2::GetGLContext()->UniformMatrix4fvStreamTextureMatrixCHROMIUM(
1710 location, transpose, transform); 1710 location, transpose, transform);
1711 } 1711 }
1712 void GL_APIENTRY GLES2SwapBuffersWithDamageCHROMIUM(GLint x, 1712 void GL_APIENTRY GLES2SwapBuffersWithDamageCHROMIUM(GLint x,
1713 GLint y, 1713 GLint y,
1714 GLint width, 1714 GLint width,
1715 GLint height) { 1715 GLint height) {
1716 gles2::GetGLContext()->SwapBuffersWithDamageCHROMIUM(x, y, width, height); 1716 gles2::GetGLContext()->SwapBuffersWithDamageCHROMIUM(x, y, width, height);
1717 } 1717 }
1718 void GL_APIENTRY GLES2SetSurfaceHandleCHROMIUM(GLint surfaceHandle) {
1719 gles2::GetGLContext()->SetSurfaceHandleCHROMIUM(surfaceHandle);
1720 }
1718 1721
1719 namespace gles2 { 1722 namespace gles2 {
1720 1723
1721 extern const NameToFunc g_gles2_function_table[] = { 1724 extern const NameToFunc g_gles2_function_table[] = {
1722 { 1725 {
1723 "glActiveTexture", 1726 "glActiveTexture",
1724 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), 1727 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture),
1725 }, 1728 },
1726 { 1729 {
1727 "glAttachShader", 1730 "glAttachShader",
(...skipping 1284 matching lines...) Expand 10 before | Expand all | Expand 10 after
3012 { 3015 {
3013 "glUniformMatrix4fvStreamTextureMatrixCHROMIUM", 3016 "glUniformMatrix4fvStreamTextureMatrixCHROMIUM",
3014 reinterpret_cast<GLES2FunctionPointer>( 3017 reinterpret_cast<GLES2FunctionPointer>(
3015 glUniformMatrix4fvStreamTextureMatrixCHROMIUM), 3018 glUniformMatrix4fvStreamTextureMatrixCHROMIUM),
3016 }, 3019 },
3017 { 3020 {
3018 "glSwapBuffersWithDamageCHROMIUM", 3021 "glSwapBuffersWithDamageCHROMIUM",
3019 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM), 3022 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM),
3020 }, 3023 },
3021 { 3024 {
3025 "glSetSurfaceHandleCHROMIUM",
3026 reinterpret_cast<GLES2FunctionPointer>(glSetSurfaceHandleCHROMIUM),
3027 },
3028 {
3022 NULL, NULL, 3029 NULL, NULL,
3023 }, 3030 },
3024 }; 3031 };
3025 3032
3026 } // namespace gles2 3033 } // namespace gles2
3027 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 3034 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698