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

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

Issue 787803004: Update from https://crrev.com/307664 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase. Created 6 years 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 992 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 GLenum subscription) { 1003 GLenum subscription) {
1004 gles2::GetGLContext()->UniformValuebufferCHROMIUM(location, target, 1004 gles2::GetGLContext()->UniformValuebufferCHROMIUM(location, target,
1005 subscription); 1005 subscription);
1006 } 1006 }
1007 void GLES2BindTexImage2DCHROMIUM(GLenum target, GLint imageId) { 1007 void GLES2BindTexImage2DCHROMIUM(GLenum target, GLint imageId) {
1008 gles2::GetGLContext()->BindTexImage2DCHROMIUM(target, imageId); 1008 gles2::GetGLContext()->BindTexImage2DCHROMIUM(target, imageId);
1009 } 1009 }
1010 void GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) { 1010 void GLES2ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) {
1011 gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId); 1011 gles2::GetGLContext()->ReleaseTexImage2DCHROMIUM(target, imageId);
1012 } 1012 }
1013 void GLES2TraceBeginCHROMIUM(const char* name) { 1013 void GLES2TraceBeginCHROMIUM(const char* category_name,
1014 gles2::GetGLContext()->TraceBeginCHROMIUM(name); 1014 const char* trace_name) {
1015 gles2::GetGLContext()->TraceBeginCHROMIUM(category_name, trace_name);
1015 } 1016 }
1016 void GLES2TraceEndCHROMIUM() { 1017 void GLES2TraceEndCHROMIUM() {
1017 gles2::GetGLContext()->TraceEndCHROMIUM(); 1018 gles2::GetGLContext()->TraceEndCHROMIUM();
1018 } 1019 }
1019 void GLES2AsyncTexSubImage2DCHROMIUM(GLenum target, 1020 void GLES2AsyncTexSubImage2DCHROMIUM(GLenum target,
1020 GLint level, 1021 GLint level,
1021 GLint xoffset, 1022 GLint xoffset,
1022 GLint yoffset, 1023 GLint yoffset,
1023 GLsizei width, 1024 GLsizei width,
1024 GLsizei height, 1025 GLsizei height,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
1075 GLint bounds_width, 1076 GLint bounds_width,
1076 GLint bounds_height, 1077 GLint bounds_height,
1077 GLfloat uv_x, 1078 GLfloat uv_x,
1078 GLfloat uv_y, 1079 GLfloat uv_y,
1079 GLfloat uv_width, 1080 GLfloat uv_width,
1080 GLfloat uv_height) { 1081 GLfloat uv_height) {
1081 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM( 1082 gles2::GetGLContext()->ScheduleOverlayPlaneCHROMIUM(
1082 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y, 1083 plane_z_order, plane_transform, overlay_texture_id, bounds_x, bounds_y,
1083 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height); 1084 bounds_width, bounds_height, uv_x, uv_y, uv_width, uv_height);
1084 } 1085 }
1086 void GLES2SwapInterval(GLint interval) {
1087 gles2::GetGLContext()->SwapInterval(interval);
1088 }
1085 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) { 1089 void GLES2MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) {
1086 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m); 1090 gles2::GetGLContext()->MatrixLoadfCHROMIUM(matrixMode, m);
1087 } 1091 }
1088 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) { 1092 void GLES2MatrixLoadIdentityCHROMIUM(GLenum matrixMode) {
1089 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode); 1093 gles2::GetGLContext()->MatrixLoadIdentityCHROMIUM(matrixMode);
1090 } 1094 }
1091 void GLES2BlendBarrierKHR() { 1095 void GLES2BlendBarrierKHR() {
1092 gles2::GetGLContext()->BlendBarrierKHR(); 1096 gles2::GetGLContext()->BlendBarrierKHR();
1093 } 1097 }
1094 1098
(...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after
2063 }, 2067 },
2064 { 2068 {
2065 "glDiscardBackbufferCHROMIUM", 2069 "glDiscardBackbufferCHROMIUM",
2066 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), 2070 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM),
2067 }, 2071 },
2068 { 2072 {
2069 "glScheduleOverlayPlaneCHROMIUM", 2073 "glScheduleOverlayPlaneCHROMIUM",
2070 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM), 2074 reinterpret_cast<GLES2FunctionPointer>(glScheduleOverlayPlaneCHROMIUM),
2071 }, 2075 },
2072 { 2076 {
2077 "glSwapInterval",
2078 reinterpret_cast<GLES2FunctionPointer>(glSwapInterval),
2079 },
2080 {
2073 "glMatrixLoadfCHROMIUM", 2081 "glMatrixLoadfCHROMIUM",
2074 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM), 2082 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadfCHROMIUM),
2075 }, 2083 },
2076 { 2084 {
2077 "glMatrixLoadIdentityCHROMIUM", 2085 "glMatrixLoadIdentityCHROMIUM",
2078 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM), 2086 reinterpret_cast<GLES2FunctionPointer>(glMatrixLoadIdentityCHROMIUM),
2079 }, 2087 },
2080 { 2088 {
2081 "glBlendBarrierKHR", 2089 "glBlendBarrierKHR",
2082 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR), 2090 reinterpret_cast<GLES2FunctionPointer>(glBlendBarrierKHR),
2083 }, 2091 },
2084 { 2092 {
2085 NULL, 2093 NULL,
2086 NULL, 2094 NULL,
2087 }, 2095 },
2088 }; 2096 };
2089 2097
2090 } // namespace gles2 2098 } // namespace gles2
2091 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 2099 #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