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

Unified Diff: gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h

Issue 10441087: Plum through ANGLE_depth_texture (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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/service/gles2_cmd_validation_implementation_autogen.h
diff --git a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
index 18e5136073112b485ee13fa50af62a2eeeb54b4a..bc19e4f05131df4f0daf9714abda4fc0a7bb6e82 100644
--- a/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
+++ b/gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h
@@ -290,6 +290,13 @@ static GLenum valid_read_pixel_format_table[] = {
GL_RGBA,
};
+static GLenum valid_read_pixel_type_table[] = {
+ GL_UNSIGNED_BYTE,
+ GL_UNSIGNED_SHORT_5_6_5,
+ GL_UNSIGNED_SHORT_4_4_4_4,
+ GL_UNSIGNED_SHORT_5_5_5_1,
+};
+
static GLenum valid_render_buffer_format_table[] = {
GL_RGBA4,
GL_RGB565,
@@ -555,6 +562,8 @@ Validators::Validators()
read_pixel_format(
valid_read_pixel_format_table, arraysize(
valid_read_pixel_format_table)),
+ read_pixel_type(
+ valid_read_pixel_type_table, arraysize(valid_read_pixel_type_table)),
render_buffer_format(
valid_render_buffer_format_table, arraysize(
valid_render_buffer_format_table)),
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_validation_autogen.h ('k') | gpu/command_buffer/service/texture_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698