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

Unified Diff: gpu/command_buffer/common/gles2_cmd_format_autogen.h

Issue 2781863002: Revert of Update the passthrough command decoder to use the new CHROMIUM_copy_texture. (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/common/gles2_cmd_format_autogen.h
diff --git a/gpu/command_buffer/common/gles2_cmd_format_autogen.h b/gpu/command_buffer/common/gles2_cmd_format_autogen.h
index 2f1e47f72ddd22f8ba1dd50d689d196954b5e8f4..f0ab255e2abc1b7c54250a08187dde7cdf6b3fbf 100644
--- a/gpu/command_buffer/common/gles2_cmd_format_autogen.h
+++ b/gpu/command_buffer/common/gles2_cmd_format_autogen.h
@@ -12444,10 +12444,10 @@
void SetHeader() { header.SetCmd<ValueType>(); }
- void Init(GLuint _source_id,
+ void Init(GLenum _source_id,
GLint _source_level,
GLenum _dest_target,
- GLuint _dest_id,
+ GLenum _dest_id,
GLint _dest_level,
GLint _internalformat,
GLenum _dest_type,
@@ -12468,10 +12468,10 @@
}
void* Set(void* cmd,
- GLuint _source_id,
+ GLenum _source_id,
GLint _source_level,
GLenum _dest_target,
- GLuint _dest_id,
+ GLenum _dest_id,
GLint _dest_level,
GLint _internalformat,
GLenum _dest_type,
@@ -12537,10 +12537,10 @@
void SetHeader() { header.SetCmd<ValueType>(); }
- void Init(GLuint _source_id,
+ void Init(GLenum _source_id,
GLint _source_level,
GLenum _dest_target,
- GLuint _dest_id,
+ GLenum _dest_id,
GLint _dest_level,
GLint _xoffset,
GLint _yoffset,
@@ -12569,10 +12569,10 @@
}
void* Set(void* cmd,
- GLuint _source_id,
+ GLenum _source_id,
GLint _source_level,
GLenum _dest_target,
- GLuint _dest_id,
+ GLenum _dest_id,
GLint _dest_level,
GLint _xoffset,
GLint _yoffset,
@@ -12654,13 +12654,13 @@
void SetHeader() { header.SetCmd<ValueType>(); }
- void Init(GLuint _source_id, GLuint _dest_id) {
+ void Init(GLenum _source_id, GLenum _dest_id) {
SetHeader();
source_id = _source_id;
dest_id = _dest_id;
}
- void* Set(void* cmd, GLuint _source_id, GLuint _dest_id) {
+ void* Set(void* cmd, GLenum _source_id, GLenum _dest_id) {
static_cast<ValueType*>(cmd)->Init(_source_id, _dest_id);
return NextCmdAddress<ValueType>(cmd);
}
« no previous file with comments | « gpu/command_buffer/cmd_buffer_functions.txt ('k') | gpu/command_buffer/common/gles2_cmd_format_test_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698