Index: src/gpu/gl/GrGLAssembleInterface.cpp |
diff --git a/src/gpu/gl/GrGLAssembleInterface.cpp b/src/gpu/gl/GrGLAssembleInterface.cpp |
index 539d1ae0bc8e0b7c94c77f9efb4c5e7ec51e51ce..2233005b6a01e63d7d83801ee1fc6f35b54441e2 100644 |
--- a/src/gpu/gl/GrGLAssembleInterface.cpp |
+++ b/src/gpu/gl/GrGLAssembleInterface.cpp |
@@ -511,6 +511,10 @@ const GrGLInterface* GrGLAssembleGLInterface(void* ctx, GrGLGetProc get) { |
GET_PROC(ObjectLabel); |
} |
+ if (extensions.has("GL_EXT_window_rectangles")) { |
+ GET_PROC_SUFFIX(WindowRectangles, EXT); |
+ } |
+ |
if (extensions.has("EGL_KHR_image") || extensions.has("EGL_KHR_image_base")) { |
GET_EGL_PROC_SUFFIX(CreateImage, KHR); |
GET_EGL_PROC_SUFFIX(DestroyImage, KHR); |
@@ -897,6 +901,10 @@ const GrGLInterface* GrGLAssembleGLESInterface(void* ctx, GrGLGetProc get) { |
GET_PROC_SUFFIX(BindUniformLocation, CHROMIUM); |
} |
+ if (extensions.has("GL_EXT_window_rectangles")) { |
+ GET_PROC_SUFFIX(WindowRectangles, EXT); |
+ } |
+ |
if (extensions.has("EGL_KHR_image") || extensions.has("EGL_KHR_image_base")) { |
GET_EGL_PROC_SUFFIX(CreateImage, KHR); |
GET_EGL_PROC_SUFFIX(DestroyImage, KHR); |