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

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

Issue 1619453002: Revert of Check if internal_format is valid for GenerateMipmap(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 }; 339 };
340 TextureMagFilterModeValidator texture_mag_filter_mode; 340 TextureMagFilterModeValidator texture_mag_filter_mode;
341 341
342 class TextureMinFilterModeValidator { 342 class TextureMinFilterModeValidator {
343 public: 343 public:
344 bool IsValid(const GLenum value) const; 344 bool IsValid(const GLenum value) const;
345 }; 345 };
346 TextureMinFilterModeValidator texture_min_filter_mode; 346 TextureMinFilterModeValidator texture_min_filter_mode;
347 347
348 ValueValidator<GLenum> texture_parameter; 348 ValueValidator<GLenum> texture_parameter;
349 ValueValidator<GLenum> texture_sized_color_renderable_internal_format;
350 ValueValidator<GLenum> texture_sized_texture_filterable_internal_format;
351 ValueValidator<GLenum> texture_target; 349 ValueValidator<GLenum> texture_target;
352 ValueValidator<GLenum> texture_unsized_internal_format;
353 class TextureUsageValidator { 350 class TextureUsageValidator {
354 public: 351 public:
355 bool IsValid(const GLenum value) const; 352 bool IsValid(const GLenum value) const;
356 }; 353 };
357 TextureUsageValidator texture_usage; 354 TextureUsageValidator texture_usage;
358 355
359 class TextureWrapModeValidator { 356 class TextureWrapModeValidator {
360 public: 357 public:
361 bool IsValid(const GLenum value) const; 358 bool IsValid(const GLenum value) const;
362 }; 359 };
(...skipping 23 matching lines...) Expand all
386 public: 383 public:
387 bool IsValid(const GLenum value) const; 384 bool IsValid(const GLenum value) const;
388 }; 385 };
389 VertexAttribITypeValidator vertex_attrib_i_type; 386 VertexAttribITypeValidator vertex_attrib_i_type;
390 387
391 ValueValidator<GLenum> vertex_attrib_type; 388 ValueValidator<GLenum> vertex_attrib_type;
392 ValueValidator<GLenum> vertex_attribute; 389 ValueValidator<GLenum> vertex_attribute;
393 ValueValidator<GLenum> vertex_pointer; 390 ValueValidator<GLenum> vertex_pointer;
394 391
395 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ 392 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698