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

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.h

Issue 2814853002: Blink Rename follow-up: S3TCsRGB should become _s3tc_srgb (not _s3t_cs_rgb). (Closed)
Patch Set: Changed the spelling to ...s3tc_srgb_... 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef WebGL2RenderingContext_h 5 #ifndef WebGL2RenderingContext_h
6 #define WebGL2RenderingContext_h 6 #define WebGL2RenderingContext_h
7 7
8 #include "core/html/canvas/CanvasRenderingContextFactory.h" 8 #include "core/html/canvas/CanvasRenderingContextFactory.h"
9 #include "modules/webgl/WebGL2RenderingContextBase.h" 9 #include "modules/webgl/WebGL2RenderingContextBase.h"
10 #include <memory> 10 #include <memory>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 Member<EXTColorBufferFloat> ext_color_buffer_float_; 69 Member<EXTColorBufferFloat> ext_color_buffer_float_;
70 Member<EXTDisjointTimerQueryWebGL2> ext_disjoint_timer_query_web_gl2_; 70 Member<EXTDisjointTimerQueryWebGL2> ext_disjoint_timer_query_web_gl2_;
71 Member<EXTTextureFilterAnisotropic> ext_texture_filter_anisotropic_; 71 Member<EXTTextureFilterAnisotropic> ext_texture_filter_anisotropic_;
72 Member<OESTextureFloatLinear> oes_texture_float_linear_; 72 Member<OESTextureFloatLinear> oes_texture_float_linear_;
73 Member<WebGLCompressedTextureASTC> webgl_compressed_texture_astc_; 73 Member<WebGLCompressedTextureASTC> webgl_compressed_texture_astc_;
74 Member<WebGLCompressedTextureATC> webgl_compressed_texture_atc_; 74 Member<WebGLCompressedTextureATC> webgl_compressed_texture_atc_;
75 Member<WebGLCompressedTextureETC> webgl_compressed_texture_etc_; 75 Member<WebGLCompressedTextureETC> webgl_compressed_texture_etc_;
76 Member<WebGLCompressedTextureETC1> webgl_compressed_texture_etc1_; 76 Member<WebGLCompressedTextureETC1> webgl_compressed_texture_etc1_;
77 Member<WebGLCompressedTexturePVRTC> webgl_compressed_texture_pvrtc_; 77 Member<WebGLCompressedTexturePVRTC> webgl_compressed_texture_pvrtc_;
78 Member<WebGLCompressedTextureS3TC> webgl_compressed_texture_s3tc_; 78 Member<WebGLCompressedTextureS3TC> webgl_compressed_texture_s3tc_;
79 Member<WebGLCompressedTextureS3TCsRGB> webgl_compressed_texture_s3t_cs_rgb_; 79 Member<WebGLCompressedTextureS3TCsRGB> webgl_compressed_texture_s3tc_srgb_;
80 Member<WebGLDebugRendererInfo> webgl_debug_renderer_info_; 80 Member<WebGLDebugRendererInfo> webgl_debug_renderer_info_;
81 Member<WebGLDebugShaders> webgl_debug_shaders_; 81 Member<WebGLDebugShaders> webgl_debug_shaders_;
82 Member<WebGLGetBufferSubDataAsync> webgl_get_buffer_sub_data_async_; 82 Member<WebGLGetBufferSubDataAsync> webgl_get_buffer_sub_data_async_;
83 Member<WebGLLoseContext> webgl_lose_context_; 83 Member<WebGLLoseContext> webgl_lose_context_;
84 }; 84 };
85 85
86 DEFINE_TYPE_CASTS(WebGL2RenderingContext, 86 DEFINE_TYPE_CASTS(WebGL2RenderingContext,
87 CanvasRenderingContext, 87 CanvasRenderingContext,
88 context, 88 context,
89 context->Is3d() && 89 context->Is3d() &&
90 WebGLRenderingContextBase::GetWebGLVersion(context) == 2, 90 WebGLRenderingContextBase::GetWebGLVersion(context) == 2,
91 context.Is3d() && 91 context.Is3d() &&
92 WebGLRenderingContextBase::GetWebGLVersion(&context) == 92 WebGLRenderingContextBase::GetWebGLVersion(&context) ==
93 2); 93 2);
94 94
95 } // namespace blink 95 } // namespace blink
96 96
97 #endif 97 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698