| Index: include/gpu/GrDrawContext.h
|
| diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h
|
| index 1643cc9678156ad3f0ce1674b6847a5231c08efa..06954dc1bbf4fd14e1f423d575464950c1090c60 100644
|
| --- a/include/gpu/GrDrawContext.h
|
| +++ b/include/gpu/GrDrawContext.h
|
| @@ -276,6 +276,7 @@ public:
|
| int width() const { return fRenderTarget->width(); }
|
| int height() const { return fRenderTarget->height(); }
|
| int numColorSamples() const { return fRenderTarget->numColorSamples(); }
|
| + bool allowSRGBInputs() const { return fSurfaceProps.allowSRGBInputs(); }
|
|
|
| GrRenderTarget* accessRenderTarget() { return fRenderTarget; }
|
|
|
|
|