Index: mojo/tools/roll/cc_strip_video.patch |
diff --git a/mojo/tools/roll/cc_strip_video.patch b/mojo/tools/roll/cc_strip_video.patch |
index 827171b1de649765ca7689511b20c8353394030a..2d3fb514f8e65621c52d73627f073bde55b370e1 100644 |
--- a/mojo/tools/roll/cc_strip_video.patch |
+++ b/mojo/tools/roll/cc_strip_video.patch |
@@ -1,5 +1,5 @@ |
diff --git a/cc/BUILD.gn b/cc/BUILD.gn |
-index 6fe0694..803b0f9 100644 |
+index 41f99e2..d6fd028 100644 |
--- a/cc/BUILD.gn |
+++ b/cc/BUILD.gn |
@@ -222,13 +222,6 @@ component("cc") { |
@@ -31,9 +31,9 @@ index 6fe0694..803b0f9 100644 |
"test/fake_ui_resource_layer_tree_host_impl.h", |
- "test/fake_video_frame_provider.cc", |
- "test/fake_video_frame_provider.h", |
+ "test/failure_output_surface.cc", |
+ "test/failure_output_surface.h", |
"test/geometry_test_utils.cc", |
- "test/geometry_test_utils.h", |
- "test/impl_side_painting_settings.h", |
@@ -783,7 +772,6 @@ if (!is_win || link_chrome_on_windows) { |
"layers/tiled_layer_unittest.cc", |
"layers/ui_resource_layer_impl_unittest.cc", |
@@ -42,10 +42,10 @@ index 6fe0694..803b0f9 100644 |
"output/begin_frame_args_unittest.cc", |
"output/delegating_renderer_unittest.cc", |
"output/filter_operations_unittest.cc", |
-@@ -816,7 +804,6 @@ if (!is_win || link_chrome_on_windows) { |
+@@ -815,7 +803,6 @@ if (!is_win || link_chrome_on_windows) { |
+ "resources/texture_uploader_unittest.cc", |
"resources/tile_manager_unittest.cc", |
"resources/tile_priority_unittest.cc", |
- "resources/tile_task_worker_pool_unittest.cc", |
- "resources/video_resource_updater_unittest.cc", |
"scheduler/begin_frame_source_unittest.cc", |
"scheduler/delay_based_time_source_unittest.cc", |
@@ -250,7 +250,7 @@ index 4bbd92f..0000000 |
- |
-} // namespace cc |
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc |
-index 6142d96..5c560dc 100644 |
+index a394a1a..2612f10 100644 |
--- a/cc/output/gl_renderer.cc |
+++ b/cc/output/gl_renderer.cc |
@@ -13,7 +13,6 @@ |
@@ -262,7 +262,7 @@ index 6142d96..5c560dc 100644 |
#include "cc/output/compositor_frame_metadata.h" |
#include "cc/output/context_provider.h" |
diff --git a/cc/output/renderer_pixeltest.cc b/cc/output/renderer_pixeltest.cc |
-index 743e1cf..9e9175e 100644 |
+index 36765ce..d7d1211 100644 |
--- a/cc/output/renderer_pixeltest.cc |
+++ b/cc/output/renderer_pixeltest.cc |
@@ -12,7 +12,6 @@ |
@@ -273,7 +273,7 @@ index 743e1cf..9e9175e 100644 |
#include "third_party/skia/include/core/SkColorPriv.h" |
#include "third_party/skia/include/core/SkImageFilter.h" |
#include "third_party/skia/include/core/SkMatrix.h" |
-@@ -388,453 +387,6 @@ TEST_F(GLRendererPixelTest, NonPremultipliedTextureWithBackground) { |
+@@ -386,453 +385,6 @@ TEST_F(GLRendererPixelTest, NonPremultipliedTextureWithBackground) { |
FuzzyPixelOffByOneComparator(true))); |
} |
@@ -457,7 +457,7 @@ index 743e1cf..9e9175e 100644 |
- const bool with_alpha = (video_frame->format() == media::VideoFrame::YV12A); |
- const YUVVideoDrawQuad::ColorSpace color_space = |
- (video_frame->format() == media::VideoFrame::YV12J |
-- ? YUVVideoDrawQuad::JPEG |
+- ? YUVVideoDrawQuad::REC_601_JPEG |
- : YUVVideoDrawQuad::REC_601); |
- const gfx::Rect rect(shared_state->content_bounds); |
- const gfx::Rect opaque_rect(0, 0, 0, 0); |
@@ -728,7 +728,7 @@ index 743e1cf..9e9175e 100644 |
gfx::Rect viewport_rect(this->device_viewport_size_); |
diff --git a/cc/quads/yuv_video_draw_quad.h b/cc/quads/yuv_video_draw_quad.h |
-index 358929e..15bce98 100644 |
+index 99ed7e2..d57d56f 100644 |
--- a/cc/quads/yuv_video_draw_quad.h |
+++ b/cc/quads/yuv_video_draw_quad.h |
@@ -8,7 +8,6 @@ |
@@ -740,7 +740,7 @@ index 358929e..15bce98 100644 |
namespace cc { |
diff --git a/cc/resources/drawing_display_item.cc b/cc/resources/drawing_display_item.cc |
-index 648f9de..6dffad9 100644 |
+index 0fe86f4..1ef149f 100644 |
--- a/cc/resources/drawing_display_item.cc |
+++ b/cc/resources/drawing_display_item.cc |
@@ -6,6 +6,7 @@ |
@@ -752,7 +752,7 @@ index 648f9de..6dffad9 100644 |
#include "base/trace_event/trace_event_argument.h" |
#include "cc/debug/picture_debug_util.h" |
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc |
-index 70fa92b..38b2d66 100644 |
+index aa46125..07fb048 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -27,7 +27,6 @@ |
@@ -795,7 +795,7 @@ index 70fa92b..38b2d66 100644 |
} |
LayerTreeSettings DefaultSettings() { |
-@@ -5463,18 +5458,6 @@ TEST_F(LayerTreeHostImplTest, LayersFreeTextures) { |
+@@ -5489,18 +5484,6 @@ TEST_F(LayerTreeHostImplTest, LayersFreeTextures) { |
root_layer->SetBounds(gfx::Size(10, 10)); |
root_layer->SetHasRenderSurface(true); |
@@ -814,7 +814,7 @@ index 70fa92b..38b2d66 100644 |
scoped_ptr<IOSurfaceLayerImpl> io_surface_layer = |
IOSurfaceLayerImpl::Create(host_impl_->active_tree(), 5); |
io_surface_layer->SetBounds(gfx::Size(10, 10)); |
-@@ -6555,16 +6538,6 @@ TEST_F(LayerTreeHostImplTest, |
+@@ -6580,16 +6563,6 @@ TEST_F(LayerTreeHostImplTest, |
scoped_ptr<SolidColorLayerImpl> root_layer = |
SolidColorLayerImpl::Create(host_impl_->active_tree(), 1); |
@@ -832,7 +832,7 @@ index 70fa92b..38b2d66 100644 |
EXPECT_EQ(DRAW_SUCCESS, host_impl_->PrepareToDraw(&frame)); |
host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); |
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc |
-index 48be5b8..f9b690d 100644 |
+index bb315e7..bb6dc17 100644 |
--- a/cc/trees/layer_tree_host_unittest.cc |
+++ b/cc/trees/layer_tree_host_unittest.cc |
@@ -18,7 +18,6 @@ |
@@ -851,7 +851,7 @@ index 48be5b8..f9b690d 100644 |
#include "cc/test/geometry_test_utils.h" |
#include "cc/test/impl_side_painting_settings.h" |
#include "cc/test/layer_tree_test.h" |
-@@ -4167,28 +4165,6 @@ class LayerInvalidateCausesDraw : public LayerTreeHostTest { |
+@@ -4202,28 +4200,6 @@ class LayerInvalidateCausesDraw : public LayerTreeHostTest { |
int num_draws_; |
}; |
@@ -881,7 +881,7 @@ index 48be5b8..f9b690d 100644 |
// to the compositor thread, even though no resources are updated in |
// response to that invalidation. |
diff --git a/cc/trees/layer_tree_host_unittest_context.cc b/cc/trees/layer_tree_host_unittest_context.cc |
-index c99180d..cc536f4 100644 |
+index 596adc0..fb0c9c8 100644 |
--- a/cc/trees/layer_tree_host_unittest_context.cc |
+++ b/cc/trees/layer_tree_host_unittest_context.cc |
@@ -15,8 +15,6 @@ |
@@ -919,7 +919,7 @@ index c99180d..cc536f4 100644 |
} |
void LoseContext() { |
-@@ -1055,41 +1048,6 @@ class LayerTreeHostContextTestDontUseLostResources |
+@@ -1057,41 +1050,6 @@ class LayerTreeHostContextTestDontUseLostResources |
layer_with_mask->SetMaskLayer(mask.get()); |
root->AddChild(layer_with_mask); |
@@ -961,7 +961,7 @@ index c99180d..cc536f4 100644 |
if (!delegating_renderer()) { |
// TODO(danakj): IOSurface layer can not be transported. crbug.com/239335 |
scoped_refptr<IOSurfaceLayer> io_surface = IOSurfaceLayer::Create(); |
-@@ -1119,14 +1077,6 @@ class LayerTreeHostContextTestDontUseLostResources |
+@@ -1121,14 +1079,6 @@ class LayerTreeHostContextTestDontUseLostResources |
void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) override { |
LayerTreeHostContextTest::CommitCompleteOnThread(host_impl); |
@@ -976,7 +976,7 @@ index c99180d..cc536f4 100644 |
} |
DrawResult PrepareToDrawOnThread(LayerTreeHostImpl* host_impl, |
-@@ -1175,14 +1125,6 @@ class LayerTreeHostContextTestDontUseLostResources |
+@@ -1177,14 +1127,6 @@ class LayerTreeHostContextTestDontUseLostResources |
scoped_refptr<DelegatedFrameResourceCollection> |
delegated_resource_collection_; |
scoped_refptr<DelegatedFrameProvider> delegated_frame_provider_; |