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

Side by Side Diff: cc/test/render_pass_test_utils.h

Issue 2502373003: stop using SkXfermode -- use SkBlendMode instead (Closed)
Patch Set: rebase Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « cc/surfaces/surfaces_pixeltest.cc ('k') | cc/test/render_pass_test_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TEST_RENDER_PASS_TEST_UTILS_H_ 5 #ifndef CC_TEST_RENDER_PASS_TEST_UTILS_H_
6 #define CC_TEST_RENDER_PASS_TEST_UTILS_H_ 6 #define CC_TEST_RENDER_PASS_TEST_UTILS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "cc/output/filter_operations.h" 10 #include "cc/output/filter_operations.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 // Adds a render pass quad to an existing render pass. 48 // Adds a render pass quad to an existing render pass.
49 void AddRenderPassQuad(RenderPass* to_pass, RenderPass* contributing_pass); 49 void AddRenderPassQuad(RenderPass* to_pass, RenderPass* contributing_pass);
50 50
51 // Adds a render pass quad with the given mask resource, filter, and transform. 51 // Adds a render pass quad with the given mask resource, filter, and transform.
52 void AddRenderPassQuad(RenderPass* to_pass, 52 void AddRenderPassQuad(RenderPass* to_pass,
53 RenderPass* contributing_pass, 53 RenderPass* contributing_pass,
54 ResourceId mask_resource_id, 54 ResourceId mask_resource_id,
55 const FilterOperations& filters, 55 const FilterOperations& filters,
56 gfx::Transform transform, 56 gfx::Transform transform,
57 SkXfermode::Mode blend_mode); 57 SkBlendMode blend_mode);
58 58
59 void AddOneOfEveryQuadType(RenderPass* to_pass, 59 void AddOneOfEveryQuadType(RenderPass* to_pass,
60 ResourceProvider* resource_provider, 60 ResourceProvider* resource_provider,
61 RenderPassId child_pass, 61 RenderPassId child_pass,
62 gpu::SyncToken* sync_token_for_mailbox_texture); 62 gpu::SyncToken* sync_token_for_mailbox_texture);
63 63
64 } // namespace cc 64 } // namespace cc
65 65
66 #endif // CC_TEST_RENDER_PASS_TEST_UTILS_H_ 66 #endif // CC_TEST_RENDER_PASS_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « cc/surfaces/surfaces_pixeltest.cc ('k') | cc/test/render_pass_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698