From 7f4c685723ac9316650e8f337c08fa0bc4ffe77b Mon Sep 17 00:00:00 2001 From: flackr Date: Fri, 5 Feb 2016 08:30:01 -0800 Subject: Revert of Add support for 9- and 10-bit h264 videos. (patchset #27 of https://codereview.chromium.org/1599533002/ ) Reason for revert: Commit was failing content_browsertests on Mac 10.10: failures: Http/MediaTest.VideoBearHighBitDepthMp4/0 File/MediaTest.VideoBearHighBitDepthMp4/0 First failure: https://build.chromium.org/p/chromium.mac/builders/Mac10.10%20Tests/builds/5222 Original issue's description: > Add support for 9- and 10-bit h264 videos. > > Videos are uploaded to GPU using half-floats if supported, otherwise > they are downshifted to regular 8-bit textures before uploading. No > dithering is done, except for whatever GL_DITHER might do. (Which > is probably nothing.) > > BUG=445071 > CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel > > Committed: https://crrev.com/074c4287f2625860b2a9eb437b97f1f1788f8f4b > Cr-Commit-Position: refs/heads/master@{#373691} TBR=fbarchard@chromium.org,erg@chromium.org,reed@chromium.org,piman@chromium.org,danakj@chromium.org,asvitkine@chromium.org,dalecurtis@chromium.org,nasko@chromium.org,fsamuel@chromium.org BUG=445071 NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1674703002 Cr-Commit-Position: refs/heads/master@{#373824} --- cc/test/render_pass_test_utils.cc | 3 +-- cc/test/test_web_graphics_context_3d.h | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'cc/test') diff --git a/cc/test/render_pass_test_utils.cc b/cc/test/render_pass_test_utils.cc index b746ea6..186bfca 100644 --- a/cc/test/render_pass_test_utils.cc +++ b/cc/test/render_pass_test_utils.cc @@ -297,8 +297,7 @@ void AddOneOfEveryQuadType(RenderPass* to_pass, gfx::RectF(.0f, .0f, 100.0f, 100.0f), gfx::RectF(.0f, .0f, 50.0f, 50.0f), gfx::Size(100, 100), gfx::Size(50, 50), plane_resources[0], plane_resources[1], - plane_resources[2], plane_resources[3], color_space, 0.0, - 1.0); + plane_resources[2], plane_resources[3], color_space); } } // namespace cc diff --git a/cc/test/test_web_graphics_context_3d.h b/cc/test/test_web_graphics_context_3d.h index f497ac4..03ddf3f 100644 --- a/cc/test/test_web_graphics_context_3d.h +++ b/cc/test/test_web_graphics_context_3d.h @@ -347,9 +347,6 @@ class TestWebGraphicsContext3D { void set_support_texture_rectangle(bool support) { test_capabilities_.gpu.texture_rectangle = support; } - void set_support_texture_half_float_linear(bool support) { - test_capabilities_.gpu.texture_half_float_linear = support; - } // When this context is lost, all contexts in its share group are also lost. void add_share_group_context(TestWebGraphicsContext3D* context3d) { -- cgit v1.1