diff options
author | 2017-12-04 11:23:19 -0500 | |
---|---|---|
committer | 2017-12-04 16:43:39 +0000 | |
commit | e7d8da4b20babbe17abc8f95dd2dea56ee8f9af5 (patch) | |
tree | 100e00396f82be2352ff064763f657be9806f8f6 /src/gpu/gl/GrGLUtil.h | |
parent | 8da3655c6e077c2977a0d3b92aef1de6701277ba (diff) |
Add support for internal gl format in GrGLTextureInfo
This gives clients the ability to wrap GL textures with just the GL Format.
This enables us to distinquish between wrapping in Alpha8 texture that is
implented with Alpha or Red format
Bug: skia:
Change-Id: Iacbea60a149c436c270b7ff9ce5d019947678793
Reviewed-on: https://skia-review.googlesource.com/72600
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/gl/GrGLUtil.h')
-rw-r--r-- | src/gpu/gl/GrGLUtil.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLUtil.h b/src/gpu/gl/GrGLUtil.h index 9ba2db6dc0..369ad4c43c 100644 --- a/src/gpu/gl/GrGLUtil.h +++ b/src/gpu/gl/GrGLUtil.h @@ -247,5 +247,6 @@ void GrGLClearErr(const GrGLInterface* gl); GrGLenum GrToGLStencilFunc(GrStencilTest test); +GrPixelConfig GrGLSizedFormatToPixelConfig(GrGLenum sizedFormat); #endif |