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

Unified Diff: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp

Issue 2543473004: cc: Move filters from RenderPassDrawQuad to RenderPass (Closed)
Patch Set: Created 4 years 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
Index: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
index 5d993e2df3bfe6a9c35ea5339248a6d41565cba9..0561fc57b4407402f2d6f9f966dbb27bd2434e49 100644
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
@@ -190,7 +190,8 @@ void OffscreenCanvasFrameDispatcherImpl::dispatchFrame(
const gfx::Rect bounds(m_width, m_height);
const cc::RenderPassId renderPassId(1, 1);
std::unique_ptr<cc::RenderPass> pass = cc::RenderPass::Create();
- pass->SetAll(renderPassId, bounds, bounds, gfx::Transform(), false);
+ pass->SetAll(renderPassId, bounds, bounds, gfx::Transform(),
+ cc::FilterOperations(), cc::FilterOperations(), false);
cc::SharedQuadState* sqs = pass->CreateAndAppendSharedQuadState();
sqs->SetAll(gfx::Transform(), bounds.size(), bounds, bounds, false, 1.f,
« services/ui/demo/bitmap_uploader.cc ('K') | « services/ui/ws/window_tree_client_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698