Chromium Code Reviews| Index: src/gpu/GrSWMaskHelper.h |
| diff --git a/src/gpu/GrSWMaskHelper.h b/src/gpu/GrSWMaskHelper.h |
| index f8cce8b27717f3d0af5163ff67b23873f5742c84..22e32ed146e96f5ffc6c0f7f1a5dcd51352be886 100644 |
| --- a/src/gpu/GrSWMaskHelper.h |
| +++ b/src/gpu/GrSWMaskHelper.h |
| @@ -68,13 +68,16 @@ public: |
| // Move the mask generation results from the internal bitmap to the gpu. |
| void toTexture(GrTexture* texture); |
|
robertphillips
2014/09/26 14:00:30
Spell out SignedDistanceField in comment ?
jvanverth1
2014/10/03 17:28:23
Done.
|
| + // Convert mask generation results to an SDF |
|
robertphillips
2014/09/26 14:00:30
Do we have something less opaque then a void* ?
jvanverth1
2014/10/03 17:28:23
Done.
|
| + void toSDF(void* sdf); |
| + |
| // Reset the internal bitmap |
| void clear(uint8_t alpha) { |
| fBM.eraseColor(SkColorSetARGB(alpha, alpha, alpha, alpha)); |
| } |
| // Canonical usage utility that draws a single path and uploads it |
| - // to the GPU. The result is returned in "result". |
| + // to the GPU. The result is returned. |
| static GrTexture* DrawPathMaskToTexture(GrContext* context, |
| const SkPath& path, |
| const SkStrokeRec& stroke, |