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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h

Issue 1319453010: Fix GetFramebufferAttachmentParameteriv command handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gpu_unittests and gl_tests Created 5 years, 3 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 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
11 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H _ 11 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H _
12 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H _ 12 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H _
13 13
14 static const GLenum valid_attachment_table[] = { 14 static const GLenum valid_attachment_table[] = {
15 GL_COLOR_ATTACHMENT0, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT, 15 GL_COLOR_ATTACHMENT0, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT,
16 }; 16 };
17 17
18 static const GLenum valid_attachment_table_es3[] = { 18 static const GLenum valid_attachment_table_es3[] = {
19 GL_DEPTH_STENCIL_ATTACHMENT, 19 GL_DEPTH_STENCIL_ATTACHMENT, GL_COLOR_EXT, GL_DEPTH_EXT, GL_STENCIL_EXT,
20 }; 20 };
21 21
22 static const GLenum valid_backbuffer_attachment_table[] = { 22 static const GLenum valid_backbuffer_attachment_table[] = {
23 GL_COLOR_EXT, GL_DEPTH_EXT, GL_STENCIL_EXT, 23 GL_COLOR_EXT, GL_DEPTH_EXT, GL_STENCIL_EXT,
24 }; 24 };
25 25
26 static const GLenum valid_blit_filter_table[] = { 26 static const GLenum valid_blit_filter_table[] = {
27 GL_NEAREST, GL_LINEAR, 27 GL_NEAREST, GL_LINEAR,
28 }; 28 };
29 29
(...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after
1178 arraysize(valid_texture_internal_format_storage_table_es3)); 1178 arraysize(valid_texture_internal_format_storage_table_es3));
1179 texture_parameter.AddValues(valid_texture_parameter_table_es3, 1179 texture_parameter.AddValues(valid_texture_parameter_table_es3,
1180 arraysize(valid_texture_parameter_table_es3)); 1180 arraysize(valid_texture_parameter_table_es3));
1181 vertex_attrib_type.AddValues(valid_vertex_attrib_type_table_es3, 1181 vertex_attrib_type.AddValues(valid_vertex_attrib_type_table_es3,
1182 arraysize(valid_vertex_attrib_type_table_es3)); 1182 arraysize(valid_vertex_attrib_type_table_es3));
1183 vertex_attribute.AddValues(valid_vertex_attribute_table_es3, 1183 vertex_attribute.AddValues(valid_vertex_attribute_table_es3,
1184 arraysize(valid_vertex_attribute_table_es3)); 1184 arraysize(valid_vertex_attribute_table_es3));
1185 } 1185 }
1186 1186
1187 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_ 1187 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698