Commit 8f8a65f9 authored by Sasha McIntosh's avatar Sasha McIntosh Committed by Commit Bot

gpu/mac: Disable ycbcr 422 feature flag.

Prework to removing uyvy output format references in
gpu_memory_buffer_video_frame_pool. UYVY is no longer used, in favor of yuv420.

Bug: 988538
Change-Id: Ice37e5f2f3975cd9c784d4a5470906e23a13345a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1713668Reviewed-by: default avatarEric Karl <ericrk@chromium.org>
Reviewed-by: default avatarDaniele Castagna <dcastagna@chromium.org>
Commit-Queue: Sasha McIntosh <sashamcintosh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#683402}
parent c5021845
......@@ -1113,12 +1113,6 @@ void FeatureInfo::InitializeFeatures() {
gfx::BufferFormat::YUV_420_BIPLANAR);
}
if (gfx::HasExtension(extensions, "GL_APPLE_ycbcr_422")) {
AddExtensionString("GL_CHROMIUM_ycbcr_422_image");
feature_flags_.chromium_image_ycbcr_422 = true;
feature_flags_.gpu_memory_buffer_formats.Add(gfx::BufferFormat::UYVY_422);
}
#if defined(OS_MACOSX)
// Mac can create GLImages out of XR30 IOSurfaces only after High Sierra.
feature_flags_.chromium_image_xr30 = base::mac::IsAtLeastOS10_13();
......
......@@ -1715,11 +1715,6 @@ TEST_P(FeatureInfoTest, InitializeEXT_texture_norm16) {
info_->validators()->texture_internal_format_storage.IsValid(GL_R16_EXT));
}
TEST_P(FeatureInfoTest, InitializeCHROMIUM_ycbcr_422_imageTrue) {
SetupInitExpectations("GL_APPLE_ycbcr_422");
EXPECT_TRUE(info_->feature_flags().chromium_image_ycbcr_422);
}
TEST_P(FeatureInfoTest, InitializeCHROMIUM_unpremultiply_and_dither_copy) {
SetupInitExpectations("");
switch (GetParam()) {
......
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