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

Unified Diff: src/gpu/GrSWMaskHelper.h

Issue 330593004: Use scratch with LATC data if possible (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Code review changes 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 | « 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 894f49c9cd7aec1404b5d8f7070e94a6d87f5320..0ffaa649822726021cadd44d2dc148eead9070ec 100644
--- a/src/gpu/GrSWMaskHelper.h
+++ b/src/gpu/GrSWMaskHelper.h
@@ -65,8 +65,6 @@ 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));
@@ -103,6 +101,11 @@ private:
SkDraw fDraw;
SkRasterClip fRasterClip;
+ // Actually sends the texture data to the GPU. This is called from
+ // toTexture with the data filled in depending on the texture config.
+ void sendTextureData(GrTexture *texture, const GrTextureDesc& desc,
+ const void *data, int rowbytes);
+
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