From c31af44336f5eb4a50e83e76e51962d46c3ed458 Mon Sep 17 00:00:00 2001 From: reed Date: Mon, 8 Jun 2015 10:47:12 -0700 Subject: change SkDraw and all Blitters to use pixmap instead of bitmap BUG=skia: Review URL: https://codereview.chromium.org/1148793007 --- src/utils/SkTextureCompressor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils/SkTextureCompressor.h') diff --git a/src/utils/SkTextureCompressor.h b/src/utils/SkTextureCompressor.h index e35bc957ac..e31a5ab48d 100644 --- a/src/utils/SkTextureCompressor.h +++ b/src/utils/SkTextureCompressor.h @@ -55,10 +55,10 @@ namespace SkTextureCompressor { int GetCompressedDataSize(Format fmt, int width, int height); // Returns an SkData holding a blob of compressed data that corresponds - // to the bitmap. If the bitmap colorType cannot be compressed using the + // to the pixmap. If the pixmap colorType cannot be compressed using the // associated format, then we return NULL. The caller is responsible for // calling unref() on the returned data. - SkData* CompressBitmapToFormat(const SkBitmap& bitmap, Format format); + SkData* CompressBitmapToFormat(const SkPixmap&, Format format); // Compresses the given src data into dst. The src data is assumed to be // large enough to hold width*height pixels. The dst data is expected to -- cgit v1.2.3