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

Unified Diff: src/gpu/GrSWMaskHelper.h

Issue 398603004: Generalize mask helper a bit for compression (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Clarity in organization Created 6 years, 5 months 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
« no previous file with comments | « no previous file | src/gpu/GrSWMaskHelper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrSWMaskHelper.h
diff --git a/src/gpu/GrSWMaskHelper.h b/src/gpu/GrSWMaskHelper.h
index 0ffaa649822726021cadd44d2dc148eead9070ec..340b1a3829708dc834bff4193f820837475284c0 100644
--- a/src/gpu/GrSWMaskHelper.h
+++ b/src/gpu/GrSWMaskHelper.h
@@ -106,6 +106,10 @@ private:
void sendTextureData(GrTexture *texture, const GrTextureDesc& desc,
const void *data, int rowbytes);
+ // Compresses the bitmap stored in fBM and sends the compressed data
+ // to the GPU to be stored in 'texture' using sendTextureData.
+ void compressTextureData(GrTexture *texture, const GrTextureDesc& desc);
+
typedef SkNoncopyable INHERITED;
};
« no previous file with comments | « no previous file | src/gpu/GrSWMaskHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698