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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp

Issue 2817503002: Blink Rename follow-up: EXTsRGB should become _ext_srgb (not _ex_ts_rgb). (Closed)
Patch Set: Changed the spelling to ..._ext_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
index f6091bd592c5d17320fd11b378c4081d591c0900..382052fb74b3c844f14d0e0e58a1503f71f1991e 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
@@ -1059,7 +1059,7 @@ WebGLRenderingContextBase::WebGLRenderingContextBase(
is_oes_texture_float_formats_types_added_(false),
is_oes_texture_half_float_formats_types_added_(false),
is_web_gl_depth_texture_formats_types_added_(false),
- is_ex_ts_rgb_formats_types_added_(false),
+ is_ext_srgb_formats_types_added_(false),
version_(version) {
ASSERT(context_provider);
@@ -1253,7 +1253,7 @@ void WebGLRenderingContextBase::InitializeNewContext() {
is_oes_texture_float_formats_types_added_ = false;
is_oes_texture_half_float_formats_types_added_ = false;
is_web_gl_depth_texture_formats_types_added_ = false;
- is_ex_ts_rgb_formats_types_added_ = false;
+ is_ext_srgb_formats_types_added_ = false;
supported_internal_formats_.clear();
ADD_VALUES_TO_SET(supported_internal_formats_, kSupportedFormatsES2);
@@ -6639,7 +6639,7 @@ void WebGLRenderingContextBase::AddExtensionSupportedFormatsTypes() {
is_web_gl_depth_texture_formats_types_added_ = true;
}
- if (!is_ex_ts_rgb_formats_types_added_ && ExtensionEnabled(kEXTsRGBName)) {
+ if (!is_ext_srgb_formats_types_added_ && ExtensionEnabled(kEXTsRGBName)) {
ADD_VALUES_TO_SET(supported_internal_formats_,
kSupportedInternalFormatsEXTsRGB);
ADD_VALUES_TO_SET(supported_tex_image_source_internal_formats_,
@@ -6647,7 +6647,7 @@ void WebGLRenderingContextBase::AddExtensionSupportedFormatsTypes() {
ADD_VALUES_TO_SET(supported_formats_, kSupportedFormatsEXTsRGB);
ADD_VALUES_TO_SET(supported_tex_image_source_formats_,
kSupportedFormatsEXTsRGB);
- is_ex_ts_rgb_formats_types_added_ = true;
+ is_ext_srgb_formats_types_added_ = true;
}
}
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698