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

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

Issue 116863003: gpu: Reuse transfer buffers more aggresively (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Unset texture and texture_ref after deleting Created 6 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
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 width, 874 width,
875 height, 875 height,
876 border, 876 border,
877 format, 877 format,
878 type, 878 type,
879 pixels); 879 pixels);
880 } 880 }
881 void GLES2WaitAsyncTexImage2DCHROMIUM(GLenum target) { 881 void GLES2WaitAsyncTexImage2DCHROMIUM(GLenum target) {
882 gles2::GetGLContext()->WaitAsyncTexImage2DCHROMIUM(target); 882 gles2::GetGLContext()->WaitAsyncTexImage2DCHROMIUM(target);
883 } 883 }
884 void GLES2WaitAllAsyncTexImage2DCHROMIUM() {
885 gles2::GetGLContext()->WaitAllAsyncTexImage2DCHROMIUM();
886 }
884 void GLES2DiscardFramebufferEXT(GLenum target, 887 void GLES2DiscardFramebufferEXT(GLenum target,
885 GLsizei count, 888 GLsizei count,
886 const GLenum* attachments) { 889 const GLenum* attachments) {
887 gles2::GetGLContext()->DiscardFramebufferEXT(target, count, attachments); 890 gles2::GetGLContext()->DiscardFramebufferEXT(target, count, attachments);
888 } 891 }
889 void GLES2LoseContextCHROMIUM(GLenum current, GLenum other) { 892 void GLES2LoseContextCHROMIUM(GLenum current, GLenum other) {
890 gles2::GetGLContext()->LoseContextCHROMIUM(current, other); 893 gles2::GetGLContext()->LoseContextCHROMIUM(current, other);
891 } 894 }
892 GLuint GLES2InsertSyncPointCHROMIUM() { 895 GLuint GLES2InsertSyncPointCHROMIUM() {
893 return gles2::GetGLContext()->InsertSyncPointCHROMIUM(); 896 return gles2::GetGLContext()->InsertSyncPointCHROMIUM();
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
1252 {"glTraceBeginCHROMIUM", 1255 {"glTraceBeginCHROMIUM",
1253 reinterpret_cast<GLES2FunctionPointer>(glTraceBeginCHROMIUM), }, 1256 reinterpret_cast<GLES2FunctionPointer>(glTraceBeginCHROMIUM), },
1254 {"glTraceEndCHROMIUM", 1257 {"glTraceEndCHROMIUM",
1255 reinterpret_cast<GLES2FunctionPointer>(glTraceEndCHROMIUM), }, 1258 reinterpret_cast<GLES2FunctionPointer>(glTraceEndCHROMIUM), },
1256 {"glAsyncTexSubImage2DCHROMIUM", 1259 {"glAsyncTexSubImage2DCHROMIUM",
1257 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexSubImage2DCHROMIUM), }, 1260 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexSubImage2DCHROMIUM), },
1258 {"glAsyncTexImage2DCHROMIUM", 1261 {"glAsyncTexImage2DCHROMIUM",
1259 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexImage2DCHROMIUM), }, 1262 reinterpret_cast<GLES2FunctionPointer>(glAsyncTexImage2DCHROMIUM), },
1260 {"glWaitAsyncTexImage2DCHROMIUM", 1263 {"glWaitAsyncTexImage2DCHROMIUM",
1261 reinterpret_cast<GLES2FunctionPointer>(glWaitAsyncTexImage2DCHROMIUM), }, 1264 reinterpret_cast<GLES2FunctionPointer>(glWaitAsyncTexImage2DCHROMIUM), },
1265 {"glWaitAllAsyncTexImage2DCHROMIUM",
1266 reinterpret_cast<GLES2FunctionPointer>(
1267 glWaitAllAsyncTexImage2DCHROMIUM), },
1262 {"glDiscardFramebufferEXT", 1268 {"glDiscardFramebufferEXT",
1263 reinterpret_cast<GLES2FunctionPointer>(glDiscardFramebufferEXT), }, 1269 reinterpret_cast<GLES2FunctionPointer>(glDiscardFramebufferEXT), },
1264 {"glLoseContextCHROMIUM", 1270 {"glLoseContextCHROMIUM",
1265 reinterpret_cast<GLES2FunctionPointer>(glLoseContextCHROMIUM), }, 1271 reinterpret_cast<GLES2FunctionPointer>(glLoseContextCHROMIUM), },
1266 {"glInsertSyncPointCHROMIUM", 1272 {"glInsertSyncPointCHROMIUM",
1267 reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM), }, 1273 reinterpret_cast<GLES2FunctionPointer>(glInsertSyncPointCHROMIUM), },
1268 {"glWaitSyncPointCHROMIUM", 1274 {"glWaitSyncPointCHROMIUM",
1269 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM), }, 1275 reinterpret_cast<GLES2FunctionPointer>(glWaitSyncPointCHROMIUM), },
1270 {"glDrawBuffersEXT", 1276 {"glDrawBuffersEXT",
1271 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT), }, 1277 reinterpret_cast<GLES2FunctionPointer>(glDrawBuffersEXT), },
1272 {"glDiscardBackbufferCHROMIUM", 1278 {"glDiscardBackbufferCHROMIUM",
1273 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), }, 1279 reinterpret_cast<GLES2FunctionPointer>(glDiscardBackbufferCHROMIUM), },
1274 {NULL, NULL, }, }; 1280 {NULL, NULL, }, };
1275 1281
1276 } // namespace gles2 1282 } // namespace gles2
1277 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_ 1283 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_C_LIB_AUTOGEN_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/fenced_allocator_test.cc ('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