Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(813)

Unified Diff: include/gpu/GrTextContext.h

Issue 6818058: Gpu to apply mask gamma. Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 13 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b