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

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

Issue 2945673002: Allow creating GLImage-backed textures with glTexStorage2D. (Closed)
Patch Set: rebase Created 3 years, 4 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
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 }; 310 };
311 SyncParameterValidator sync_parameter; 311 SyncParameterValidator sync_parameter;
312 312
313 class Texture3DTargetValidator { 313 class Texture3DTargetValidator {
314 public: 314 public:
315 bool IsValid(const GLenum value) const; 315 bool IsValid(const GLenum value) const;
316 }; 316 };
317 Texture3DTargetValidator texture_3_d_target; 317 Texture3DTargetValidator texture_3_d_target;
318 318
319 ValueValidator<GLenum> texture_bind_target; 319 ValueValidator<GLenum> texture_bind_target;
320 class TextureBufferUsageValidator {
321 public:
322 bool IsValid(const GLenum value) const;
323 };
324 TextureBufferUsageValidator texture_buffer_usage;
325
320 class TextureCompareFuncValidator { 326 class TextureCompareFuncValidator {
321 public: 327 public:
322 bool IsValid(const GLenum value) const; 328 bool IsValid(const GLenum value) const;
323 }; 329 };
324 TextureCompareFuncValidator texture_compare_func; 330 TextureCompareFuncValidator texture_compare_func;
325 331
326 ValueValidator<GLenum> texture_compare_mode; 332 ValueValidator<GLenum> texture_compare_mode;
327 ValueValidator<GLenum> texture_depth_renderable_internal_format; 333 ValueValidator<GLenum> texture_depth_renderable_internal_format;
328 ValueValidator<GLenum> texture_format; 334 ValueValidator<GLenum> texture_format;
329 ValueValidator<GLenum> texture_internal_format; 335 ValueValidator<GLenum> texture_internal_format;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 public: 399 public:
394 bool IsValid(const GLenum value) const; 400 bool IsValid(const GLenum value) const;
395 }; 401 };
396 VertexAttribITypeValidator vertex_attrib_i_type; 402 VertexAttribITypeValidator vertex_attrib_i_type;
397 403
398 ValueValidator<GLenum> vertex_attrib_type; 404 ValueValidator<GLenum> vertex_attrib_type;
399 ValueValidator<GLenum> vertex_attribute; 405 ValueValidator<GLenum> vertex_attribute;
400 ValueValidator<GLenum> vertex_pointer; 406 ValueValidator<GLenum> vertex_pointer;
401 407
402 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ 408 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698