| Index: src/gpu/gl/GrGLGpu.h
|
| diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h
|
| index 0b2198a8342ae69d66fb865140e1df56e94c383f..cda6e172cbbe96a867beedfbf4f0545c5016648b 100644
|
| --- a/src/gpu/gl/GrGLGpu.h
|
| +++ b/src/gpu/gl/GrGLGpu.h
|
| @@ -62,6 +62,8 @@ public:
|
|
|
| void bindTexelBuffer(int unitIdx, intptr_t offsetInBytes, GrPixelConfig, GrGLBuffer*);
|
|
|
| + void generateMipmaps(const GrTextureParams& params, bool allowSRGBInputs, GrGLTexture* texture);
|
| +
|
| bool onGetReadPixelsInfo(GrSurface* srcSurface, int readWidth, int readHeight, size_t rowBytes,
|
| GrPixelConfig readConfig, DrawPreference*,
|
| ReadPixelTempDrawInfo*) override;
|
| @@ -237,6 +239,7 @@ private:
|
| GrSurface* src,
|
| const SkIRect& srcRect,
|
| const SkIPoint& dstPoint);
|
| + bool generateMipmap(GrGLTexture* texture, bool gammaCorrect);
|
|
|
| void stampPLSSetupRect(const SkRect& bounds);
|
|
|
| @@ -319,6 +322,8 @@ private:
|
|
|
| void flushMinSampleShading(float minSampleShading);
|
|
|
| + void setFramebufferSRGB(bool enable);
|
| +
|
| // helper for onCreateTexture and writeTexturePixels
|
| enum UploadType {
|
| kNewTexture_UploadType, // we are creating a new texture
|
|
|