From e7d8da4b20babbe17abc8f95dd2dea56ee8f9af5 Mon Sep 17 00:00:00 2001 From: Greg Daniel Date: Mon, 4 Dec 2017 11:23:19 -0500 Subject: 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 Reviewed-by: Brian Salomon Reviewed-by: Robert Phillips --- src/gpu/gl/GrGLUtil.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gpu/gl/GrGLUtil.h') 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 -- cgit v1.2.3