summaryrefslogtreecommitdiffstats
path: root/cc/test/pixel_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/pixel_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/pixel_test_utils.h')
-rw-r--r--cc/test/pixel_test_utils.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/cc/test/pixel_test_utils.h b/cc/test/pixel_test_utils.h
index 2ee2ecd..29dad87 100644
--- a/cc/test/pixel_test_utils.h
+++ b/cc/test/pixel_test_utils.h
@@ -13,8 +13,7 @@ namespace cc {
// Encodes a bitmap into a PNG and write to disk. Returns true on success. The
// parent directory does not have to exist.
-bool WritePNGFile(const SkBitmap& bitmap, const base::FilePath& file_path,
- bool discard_transparency);
+bool WritePNGFile(const SkBitmap& bitmap, const base::FilePath& file_path);
// Reads and decodes a PNG image to a bitmap. Returns true on success. The PNG
// should have been encoded using |gfx::PNGCodec::Encode|.
@@ -22,8 +21,7 @@ bool ReadPNGFile(const base::FilePath& file_path, SkBitmap* bitmap);
// Compares with a PNG file on disk, and returns true if it is the same as
// the given image. |ref_img_path| is absolute.
-bool IsSameAsPNGFile(const SkBitmap& gen_bmp, base::FilePath ref_img_path,
- bool discard_transparency);
+bool IsSameAsPNGFile(const SkBitmap& gen_bmp, base::FilePath ref_img_path);
} // namespace cc