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

Unified Diff: src/gpu/GrSWMaskHelper.h

Issue 326223002: Add an LATC compressor to the A8 masks, and hide it behind an ifdef. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove some paranoia Created 6 years, 6 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 | « gyp/gpu.gyp ('k') | 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 697d6f3a490c584437fe3eb43270cadcc8b8ba10..894f49c9cd7aec1404b5d8f7070e94a6d87f5320 100644
--- a/src/gpu/GrSWMaskHelper.h
+++ b/src/gpu/GrSWMaskHelper.h
@@ -65,6 +65,8 @@ public:
// Move the mask generation results from the internal bitmap to the gpu.
void toTexture(GrTexture* texture);
+ GrTexture* toLATCTexture(GrContext* ctx);
+
// Reset the internal bitmap
void clear(uint8_t alpha) {
fBM.eraseColor(SkColorSetARGB(alpha, alpha, alpha, alpha));
« no previous file with comments | « gyp/gpu.gyp ('k') | src/gpu/GrSWMaskHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698