summaryrefslogtreecommitdiffstats
path: root/cc/test/render_pass_test_utils.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-26 23:04:50 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-26 23:04:50 +0000
commitb562a2f2c59d1f9fc85bb501b81f3396b2f9ed4a (patch)
treee6d40603ec997e4b9ee21c6f6970540d7c771a82 /cc/test/render_pass_test_utils.h
parent09ca0cc9b1c724aedc71447b6d09ada52f25d311 (diff)
downloadchromium_src-b562a2f2c59d1f9fc85bb501b81f3396b2f9ed4a.zip
chromium_src-b562a2f2c59d1f9fc85bb501b81f3396b2f9ed4a.tar.gz
chromium_src-b562a2f2c59d1f9fc85bb501b81f3396b2f9ed4a.tar.bz2
Revert 190786 "Optimize SkColorFilters when drawing RenderPassQuads"
> Optimize SkColorFilters when drawing RenderPassQuads > > Pull the color transformation matrix from the SkImageFilter if possible > and apply with a shader. Handles all permutations of shaders. > > BUG=168719 > > > Review URL: https://chromiumcodereview.appspot.com/12803003 TBR=clholgat@chromium.org Review URL: https://codereview.chromium.org/13101002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190791 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/render_pass_test_utils.h')
-rw-r--r--cc/test/render_pass_test_utils.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/cc/test/render_pass_test_utils.h b/cc/test/render_pass_test_utils.h
index fdc6366..83e5d90 100644
--- a/cc/test/render_pass_test_utils.h
+++ b/cc/test/render_pass_test_utils.h
@@ -7,7 +7,6 @@
#include "cc/base/scoped_ptr_vector.h"
#include "cc/quads/render_pass.h"
-#include "cc/resources/resource_provider.h"
#include "third_party/skia/include/core/SkColor.h"
namespace gfx {
@@ -42,13 +41,6 @@ SolidColorDrawQuad* AddClippedQuad(TestRenderPass* pass,
void AddRenderPassQuad(TestRenderPass* to_pass,
TestRenderPass* contributing_pass);
-// Adds a render pass quad with the given mask resource, filter, and transform.
-void AddRenderPassQuad(TestRenderPass* toPass,
- TestRenderPass* contributingPass,
- ResourceProvider::ResourceId mask_resource_id,
- skia::RefPtr<SkImageFilter> filter,
- gfx::Transform transform);
-
} // namespace cc
#endif // CC_TEST_RENDER_PASS_TEST_UTILS_H_