| Index: sky/engine/platform/graphics/GraphicsContext.h
|
| diff --git a/sky/engine/platform/graphics/GraphicsContext.h b/sky/engine/platform/graphics/GraphicsContext.h
|
| index 782fa23e84d2488cbb9450ec9662462673de5d07..09a9f1ffca1b1804e1602e7601810130fb6a5dae 100644
|
| --- a/sky/engine/platform/graphics/GraphicsContext.h
|
| +++ b/sky/engine/platform/graphics/GraphicsContext.h
|
| @@ -165,11 +165,10 @@ public:
|
| // FIXME: the setter is only used once, at construction time; convert to a constructor param,
|
| // and possibly consolidate with other flags (paintDisabled, isPrinting, ...)
|
| void setShouldSmoothFonts(bool smoothFonts) { m_shouldSmoothFonts = smoothFonts; }
|
| - bool shouldSmoothFonts() const { return m_shouldSmoothFonts; }
|
|
|
| // Turn off LCD text for the paint if not supported on this context.
|
| void adjustTextRenderMode(SkPaint*);
|
| - bool couldUseLCDRenderedText();
|
| + bool couldUseLCDRenderedText() const { return m_isCertainlyOpaque && m_shouldSmoothFonts; }
|
|
|
| void setTextDrawingMode(TextDrawingModeFlags mode) { mutableState()->setTextDrawingMode(mode); }
|
| TextDrawingModeFlags textDrawingMode() const { return immutableState()->textDrawingMode(); }
|
| @@ -198,7 +197,6 @@ public:
|
| // the canvas may have transparency (as is the case when rendering
|
| // to a canvas object).
|
| void setCertainlyOpaque(bool isOpaque) { m_isCertainlyOpaque = isOpaque; }
|
| - bool isCertainlyOpaque() const { return m_isCertainlyOpaque; }
|
|
|
| bool isAccelerated() const { return m_accelerated; }
|
| void setAccelerated(bool accelerated) { m_accelerated = accelerated; }
|
|
|