Index: src/gpu/GrPipeline.h |
diff --git a/src/gpu/GrPipeline.h b/src/gpu/GrPipeline.h |
index db7cb5bc624bc8f49082709dea1d9961fca4fa61..bdcc7d991bbd86f522f8dbff36b3e9422846d97f 100644 |
--- a/src/gpu/GrPipeline.h |
+++ b/src/gpu/GrPipeline.h |
@@ -145,6 +145,9 @@ public: |
bool isHWAntialiasState() const { return SkToBool(fFlags & kHWAA_Flag); } |
bool snapVerticesToPixelCenters() const { return SkToBool(fFlags & kSnapVertices_Flag); } |
+ bool getDisableOutputConversionToSRGB() const { |
+ return SkToBool(fFlags & kDisableOutputConversionToSRGB_Flag); |
+ } |
GrXferBarrierType xferBarrierType(const GrCaps& caps) const { |
return this->getXferProcessor().xferBarrierType(fRenderTarget.get(), caps); |
@@ -184,8 +187,9 @@ private: |
const GrCaps&); |
enum Flags { |
- kHWAA_Flag = 0x1, |
- kSnapVertices_Flag = 0x2, |
+ kHWAA_Flag = 0x1, |
+ kSnapVertices_Flag = 0x2, |
+ kDisableOutputConversionToSRGB_Flag = 0x4, |
}; |
typedef GrPendingIOResource<GrRenderTarget, kWrite_GrIOType> RenderTarget; |