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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 2821363003: WebGL: tex(Sub)Image(2D|3D) texImageSource support for RGB10_A2 textures. (Closed)
Patch Set: Created 3 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
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 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" 5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
6 6
7 #include <limits.h> 7 #include <limits.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <stdio.h> 10 #include <stdio.h>
(...skipping 16515 matching lines...) Expand 10 before | Expand all | Expand 10 after
16526 case GL_R8UI: 16526 case GL_R8UI:
16527 case GL_RG8: 16527 case GL_RG8:
16528 case GL_RG8UI: 16528 case GL_RG8UI:
16529 case GL_SRGB8: 16529 case GL_SRGB8:
16530 case GL_RGB565: 16530 case GL_RGB565:
16531 case GL_RGB8UI: 16531 case GL_RGB8UI:
16532 case GL_SRGB8_ALPHA8: 16532 case GL_SRGB8_ALPHA8:
16533 case GL_RGB5_A1: 16533 case GL_RGB5_A1:
16534 case GL_RGBA4: 16534 case GL_RGBA4:
16535 case GL_RGBA8UI: 16535 case GL_RGBA8UI:
16536 case GL_RGB10_A2:
16536 valid_dest_format = feature_info_->IsWebGL2OrES3Context(); 16537 valid_dest_format = feature_info_->IsWebGL2OrES3Context();
16537 break; 16538 break;
16538 case GL_RGB9_E5: 16539 case GL_RGB9_E5:
16539 case GL_R16F: 16540 case GL_R16F:
16540 case GL_R32F: 16541 case GL_R32F:
16541 case GL_RG16F: 16542 case GL_RG16F:
16542 case GL_RG32F: 16543 case GL_RG32F:
16543 case GL_RGB16F: 16544 case GL_RGB16F:
16544 case GL_RGBA16F: 16545 case GL_RGBA16F:
16545 case GL_R11F_G11F_B10F: 16546 case GL_R11F_G11F_B10F:
(...skipping 3029 matching lines...) Expand 10 before | Expand all | Expand 10 after
19575 } 19576 }
19576 19577
19577 // Include the auto-generated part of this file. We split this because it means 19578 // Include the auto-generated part of this file. We split this because it means
19578 // we can easily edit the non-auto generated parts right here in this file 19579 // we can easily edit the non-auto generated parts right here in this file
19579 // instead of having to edit some template or the code generator. 19580 // instead of having to edit some template or the code generator.
19580 #include "base/macros.h" 19581 #include "base/macros.h"
19581 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" 19582 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h"
19582 19583
19583 } // namespace gles2 19584 } // namespace gles2
19584 } // namespace gpu 19585 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698