| Index: include/gpu/GrTextContext.h |
| =================================================================== |
| --- include/gpu/GrTextContext.h (revision 6206) |
| +++ include/gpu/GrTextContext.h (working copy) |
| @@ -14,6 +14,7 @@ |
| #include "GrContext.h" |
| #include "GrGlyph.h" |
| #include "GrPaint.h" |
| +#include "GrTypes.h" |
| struct GrGpuTextVertex; |
| class GrContext; |
| @@ -23,7 +24,10 @@ |
| class GrTextContext { |
| public: |
| - GrTextContext(GrContext*, const GrPaint&); |
| + GrTextContext(GrContext*, |
| + const GrPaint& paint, |
| + GrScalar gamma, |
| + GrScalar contrast); |
| ~GrTextContext(); |
| void drawPackedGlyph(GrGlyph::PackedID, GrFixed left, GrFixed top, |
| @@ -58,6 +62,8 @@ |
| GrIRect fClipRect; |
| GrContext::AutoMatrix fAutoMatrix; |
| + GrScalar fGamma; |
| bsalomon 2012/10/30 20:52:50 style nit: can we align these (or unalign the othe |
| + GrScalar fContrast; |
| }; |
| #endif |