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

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

Issue 2456213002: WebVR: implement SetSurfaceHandleCHROMIUM extension for gvr_device.
Patch Set: Rebase, set dependency. Created 3 years, 11 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 1704 matching lines...) Expand 10 before | Expand all | Expand 10 after
1715 GLint display_y) { 1715 GLint display_y) {
1716 gles2::GetGLContext()->OverlayPromotionHintCHROMIUM(texture, promotion_hint, 1716 gles2::GetGLContext()->OverlayPromotionHintCHROMIUM(texture, promotion_hint,
1717 display_x, display_y); 1717 display_x, display_y);
1718 } 1718 }
1719 void GL_APIENTRY GLES2SwapBuffersWithDamageCHROMIUM(GLint x, 1719 void GL_APIENTRY GLES2SwapBuffersWithDamageCHROMIUM(GLint x,
1720 GLint y, 1720 GLint y,
1721 GLint width, 1721 GLint width,
1722 GLint height) { 1722 GLint height) {
1723 gles2::GetGLContext()->SwapBuffersWithDamageCHROMIUM(x, y, width, height); 1723 gles2::GetGLContext()->SwapBuffersWithDamageCHROMIUM(x, y, width, height);
1724 } 1724 }
1725 void GL_APIENTRY GLES2SetSurfaceHandleCHROMIUM(GLint surfaceHandle) {
1726 gles2::GetGLContext()->SetSurfaceHandleCHROMIUM(surfaceHandle);
1727 }
1725 1728
1726 namespace gles2 { 1729 namespace gles2 {
1727 1730
1728 extern const NameToFunc g_gles2_function_table[] = { 1731 extern const NameToFunc g_gles2_function_table[] = {
1729 { 1732 {
1730 "glActiveTexture", 1733 "glActiveTexture",
1731 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture), 1734 reinterpret_cast<GLES2FunctionPointer>(glActiveTexture),
1732 }, 1735 },
1733 { 1736 {
1734 "glAttachShader", 1737 "glAttachShader",
(...skipping 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after
3023 }, 3026 },
3024 { 3027 {
3025 "glOverlayPromotionHintCHROMIUM", 3028 "glOverlayPromotionHintCHROMIUM",
3026 reinterpret_cast<GLES2FunctionPointer>(glOverlayPromotionHintCHROMIUM), 3029 reinterpret_cast<GLES2FunctionPointer>(glOverlayPromotionHintCHROMIUM),
3027 }, 3030 },
3028 { 3031 {
3029 "glSwapBuffersWithDamageCHROMIUM", 3032 "glSwapBuffersWithDamageCHROMIUM",
3030 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM), 3033 reinterpret_cast<GLES2FunctionPointer>(glSwapBuffersWithDamageCHROMIUM),
3031 }, 3034 },
3032 { 3035 {
3036 "glSetSurfaceHandleCHROMIUM",
3037 reinterpret_cast<GLES2FunctionPointer>(glSetSurfaceHandleCHROMIUM),
3038 },
3039 {
3033 NULL, NULL, 3040 NULL, NULL,
3034 }, 3041 },
3035 }; 3042 };
3036 3043
3037 } // namespace gles2 3044 } // namespace gles2
3038 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 3045 #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