Index: src/gpu/gl/GrGLCaps.h |
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h |
index 5f1ca3e340cad5bbf90bdc3e24995c8084fe4574..0ec6c85b47ee8b846d5c6b9c85cf0c99965f7d9f 100644 |
--- a/src/gpu/gl/GrGLCaps.h |
+++ b/src/gpu/gl/GrGLCaps.h |
@@ -232,6 +232,9 @@ public: |
bool bindUniformLocationSupport() const { return fBindUniformLocationSupport; } |
+ /// Are textures with GL_TEXTURE_EXTERNAL_OES type supported. |
+ bool externalTextureSupport() const { return fExternalTextureSupport; } |
+ |
/** |
* Is there support for enabling/disabling sRGB writes for sRGB-capable color attachments? |
* If false this does not mean sRGB is not supported but rather that if it is supported |
@@ -360,6 +363,7 @@ private: |
bool fRGBA8888PixelsOpsAreSlow : 1; |
bool fPartialFBOReadIsSlow : 1; |
bool fBindUniformLocationSupport : 1; |
+ bool fExternalTextureSupport : 1; |
struct ReadPixelsSupportedFormat { |
GrGLenum fFormat; |