Commit db535beb authored by lukasza's avatar lukasza Committed by Commit bot

Blink Rename follow-up: EXTsRGB should become _ext_srgb (not _ex_ts_rgb).

The clang tool had a bug in how it processes variables named
fooBARsBaz into foo_ba_rs_baz rather than foo_bars_baz.  Examples
include URLs -> ur_ls and XHRs -> xh_rs.

No intended behavior change.

BUG=675877
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2817503002
Cr-Commit-Position: refs/heads/master@{#464318}
parent ba36ef76
......@@ -1060,7 +1060,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);
......@@ -1254,7 +1254,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);
......@@ -6666,7 +6666,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_,
......@@ -6674,7 +6674,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;
}
}
......
......@@ -937,7 +937,7 @@ class MODULES_EXPORT WebGLRenderingContextBase : public CanvasRenderingContext,
bool is_oes_texture_float_formats_types_added_;
bool is_oes_texture_half_float_formats_types_added_;
bool is_web_gl_depth_texture_formats_types_added_;
bool is_ex_ts_rgb_formats_types_added_;
bool is_ext_srgb_formats_types_added_;
std::set<GLenum> supported_internal_formats_;
std::set<GLenum> supported_tex_image_source_internal_formats_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment