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

Unified Diff: cc/output/renderer_pixeltest.cc

Issue 2763223003: Reland of cc: Don't use StreamVideoDrawQuad on any platform but Android. (Closed)
Patch Set: Fix tests. Created 3 years, 6 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 | « cc/layers/video_layer_impl_unittest.cc ('k') | cc/resources/video_resource_updater.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/renderer_pixeltest.cc
diff --git a/cc/output/renderer_pixeltest.cc b/cc/output/renderer_pixeltest.cc
index 7ee5098541a63eb27cdd9227b384fbe8fe4fe296..eacd0112bfb7391b1b2f92aa3179b8f83da59cf0 100644
--- a/cc/output/renderer_pixeltest.cc
+++ b/cc/output/renderer_pixeltest.cc
@@ -916,12 +916,13 @@ class IntersectingQuadGLPixelTest
public:
void SetUp() override {
IntersectingQuadPixelTest<TypeParam>::SetUp();
- video_resource_updater_.reset(
- new VideoResourceUpdater(this->output_surface_->context_provider(),
- this->resource_provider_.get()));
- video_resource_updater2_.reset(
- new VideoResourceUpdater(this->output_surface_->context_provider(),
- this->resource_provider_.get()));
+ bool use_stream_video_draw_quad = false;
+ video_resource_updater_.reset(new VideoResourceUpdater(
+ this->output_surface_->context_provider(),
+ this->resource_provider_.get(), use_stream_video_draw_quad));
+ video_resource_updater2_.reset(new VideoResourceUpdater(
+ this->output_surface_->context_provider(),
+ this->resource_provider_.get(), use_stream_video_draw_quad));
}
protected:
@@ -1242,8 +1243,10 @@ class VideoGLRendererPixelTest : public GLRendererPixelTest {
void SetUp() override {
GLRendererPixelTest::SetUp();
+ bool use_stream_video_draw_quad = false;
video_resource_updater_.reset(new VideoResourceUpdater(
- output_surface_->context_provider(), resource_provider_.get()));
+ output_surface_->context_provider(), resource_provider_.get(),
+ use_stream_video_draw_quad));
}
std::unique_ptr<VideoResourceUpdater> video_resource_updater_;
« no previous file with comments | « cc/layers/video_layer_impl_unittest.cc ('k') | cc/resources/video_resource_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698