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

Side by Side Diff: gpu/command_buffer/common/gles2_cmd_utils.cc

Issue 1844113003: Set number values of getting TRANSFORM_FEEDBACK_BUFFER_MODE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 here so other GLES2 related files can have a common set of 5 // This file is here so other GLES2 related files can have a common set of
6 // includes where appropriate. 6 // includes where appropriate.
7 7
8 #include <sstream> 8 #include <sstream>
9 #include <GLES2/gl2.h> 9 #include <GLES2/gl2.h>
10 #include <GLES2/gl2ext.h> 10 #include <GLES2/gl2ext.h>
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 case GL_COPY_READ_BUFFER_BINDING: 209 case GL_COPY_READ_BUFFER_BINDING:
210 return 1; 210 return 1;
211 case GL_COPY_WRITE_BUFFER_BINDING: 211 case GL_COPY_WRITE_BUFFER_BINDING:
212 return 1; 212 return 1;
213 case GL_PIXEL_PACK_BUFFER_BINDING: 213 case GL_PIXEL_PACK_BUFFER_BINDING:
214 return 1; 214 return 1;
215 case GL_PIXEL_UNPACK_BUFFER_BINDING: 215 case GL_PIXEL_UNPACK_BUFFER_BINDING:
216 return 1; 216 return 1;
217 case GL_TRANSFORM_FEEDBACK_BUFFER_BINDING: 217 case GL_TRANSFORM_FEEDBACK_BUFFER_BINDING:
218 return 1; 218 return 1;
219 case GL_UNIFORM_BUFFER_BINDING: 219 case GL_TRANSFORM_FEEDBACK_BUFFER_MODE:
220 return 1; 220 return 1;
221 case GL_TRANSFORM_FEEDBACK_BUFFER_SIZE: 221 case GL_TRANSFORM_FEEDBACK_BUFFER_SIZE:
222 return 1; 222 return 1;
223 case GL_TRANSFORM_FEEDBACK_BUFFER_START: 223 case GL_TRANSFORM_FEEDBACK_BUFFER_START:
224 return 1; 224 return 1;
225 case GL_UNIFORM_BUFFER_BINDING:
226 return 1;
225 case GL_UNIFORM_BUFFER_SIZE: 227 case GL_UNIFORM_BUFFER_SIZE:
226 return 1; 228 return 1;
227 case GL_UNIFORM_BUFFER_START: 229 case GL_UNIFORM_BUFFER_START:
228 return 1; 230 return 1;
229 231
230 // -- glGetBooleanv, glGetFloatv, glGetIntergerv with 232 // -- glGetBooleanv, glGetFloatv, glGetIntergerv with
231 // GL_CHROMIUM_framebuffer_multisample 233 // GL_CHROMIUM_framebuffer_multisample
232 case GL_MAX_SAMPLES_EXT: 234 case GL_MAX_SAMPLES_EXT:
233 return 1; 235 return 1;
234 case GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT: 236 case GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT:
(...skipping 1307 matching lines...) Expand 10 before | Expand all | Expand 10 after
1542 } 1544 }
1543 1545
1544 return true; 1546 return true;
1545 } 1547 }
1546 1548
1547 #include "gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h" 1549 #include "gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h"
1548 1550
1549 } // namespace gles2 1551 } // namespace gles2
1550 } // namespace gpu 1552 } // namespace gpu
1551 1553
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698