Chromium Code Reviews| Index: src/gpu/gl/GrGpuGL.h |
| diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h |
| index e50ff9b2ea002f149cc0ee6eedd7854c6e289bf2..9fa0c81faaed60cc6136a8a896d188da0f5dcb18 100644 |
| --- a/src/gpu/gl/GrGpuGL.h |
| +++ b/src/gpu/gl/GrGpuGL.h |
| @@ -274,9 +274,14 @@ private: |
| const void* data, |
| size_t rowBytes); |
| - // helper for onCreateCompressedTexture |
| + // helper for onCreateCompressedTexture. If width and height are |
| + // set to -1, then this function will use desc.fWidth and desc.fHeight |
|
robertphillips
2014/06/11 18:20:57
align comment ?
krajcevski
2014/06/11 18:58:41
Err.. I'm not sure why this is showing up like thi
|
| + // for the size of the data. |
| bool uploadCompressedTexData(const GrGLTexture::Desc& desc, |
| - const void* data); |
| + const void* data, |
| + bool isNewTexture = true, |
| + int left = 0, int top = 0, |
| + int width = -1, int height = -1); |
| bool createRenderTargetObjects(int width, int height, |
| GrGLuint texID, |