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

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

Issue 12210129: gpu: Add the ability to wait on upload completion. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix logging. Created 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // DO NOT EDIT! 7 // DO NOT EDIT!
8 8
9 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 9 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
10 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 10 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
(...skipping 2017 matching lines...) Expand 10 before | Expand all | Expand 10 after
2028 uint32 pixels_shm_id, uint32 pixels_shm_offset) { 2028 uint32 pixels_shm_id, uint32 pixels_shm_offset) {
2029 gles2::cmds::AsyncTexImage2DCHROMIUM* c = 2029 gles2::cmds::AsyncTexImage2DCHROMIUM* c =
2030 GetCmdSpace<gles2::cmds::AsyncTexImage2DCHROMIUM>(); 2030 GetCmdSpace<gles2::cmds::AsyncTexImage2DCHROMIUM>();
2031 if (c) { 2031 if (c) {
2032 c->Init( 2032 c->Init(
2033 target, level, internalformat, width, height, border, format, type, 2033 target, level, internalformat, width, height, border, format, type,
2034 pixels_shm_id, pixels_shm_offset); 2034 pixels_shm_id, pixels_shm_offset);
2035 } 2035 }
2036 } 2036 }
2037 2037
2038 void WaitAsyncTexImage2DCHROMIUM(GLenum target) {
2039 gles2::cmds::WaitAsyncTexImage2DCHROMIUM* c =
2040 GetCmdSpace<gles2::cmds::WaitAsyncTexImage2DCHROMIUM>();
2041 if (c) {
2042 c->Init(target);
2043 }
2044 }
2045
2038 void DiscardFramebufferEXT( 2046 void DiscardFramebufferEXT(
2039 GLenum target, GLsizei count, uint32 attachments_shm_id, 2047 GLenum target, GLsizei count, uint32 attachments_shm_id,
2040 uint32 attachments_shm_offset) { 2048 uint32 attachments_shm_offset) {
2041 gles2::cmds::DiscardFramebufferEXT* c = 2049 gles2::cmds::DiscardFramebufferEXT* c =
2042 GetCmdSpace<gles2::cmds::DiscardFramebufferEXT>(); 2050 GetCmdSpace<gles2::cmds::DiscardFramebufferEXT>();
2043 if (c) { 2051 if (c) {
2044 c->Init(target, count, attachments_shm_id, attachments_shm_offset); 2052 c->Init(target, count, attachments_shm_id, attachments_shm_offset);
2045 } 2053 }
2046 } 2054 }
2047 2055
(...skipping 19 matching lines...) Expand all
2067 void WaitSyncPointCHROMIUM(GLuint sync_point) { 2075 void WaitSyncPointCHROMIUM(GLuint sync_point) {
2068 gles2::cmds::WaitSyncPointCHROMIUM* c = 2076 gles2::cmds::WaitSyncPointCHROMIUM* c =
2069 GetCmdSpace<gles2::cmds::WaitSyncPointCHROMIUM>(); 2077 GetCmdSpace<gles2::cmds::WaitSyncPointCHROMIUM>();
2070 if (c) { 2078 if (c) {
2071 c->Init(sync_point); 2079 c->Init(sync_point);
2072 } 2080 }
2073 } 2081 }
2074 2082
2075 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_ 2083 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_CMD_HELPER_AUTOGEN_H_
2076 2084
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib_autogen.h ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698