[GTK][WPE] about:gpu should also show the client EGL extensions
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Oct 2019 07:22:08 +0000 (07:22 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Oct 2019 07:22:08 +0000 (07:22 +0000)
https://bugs.webkit.org/show_bug.cgi?id=202690

Reviewed by Carlos Alberto Lopez Perez.

We are showing the extensions supported by the display.

* UIProcess/API/glib/WebKitProtocolHandler.cpp:
(WebKit::WebKitProtocolHandler::handleGPU):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250898 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp

index d724a16..4715380 100644 (file)
@@ -1,5 +1,17 @@
 2019-10-09  Carlos Garcia Campos  <cgarcia@igalia.com>
 
+        [GTK][WPE] about:gpu should also show the client EGL extensions
+        https://bugs.webkit.org/show_bug.cgi?id=202690
+
+        Reviewed by Carlos Alberto Lopez Perez.
+
+        We are showing the extensions supported by the display.
+
+        * UIProcess/API/glib/WebKitProtocolHandler.cpp:
+        (WebKit::WebKitProtocolHandler::handleGPU):
+
+2019-10-09  Carlos Garcia Campos  <cgarcia@igalia.com>
+
         CustomProtocols: convert log messages in WebURLSchemeTaskProxy to RELEASE_LOG
         https://bugs.webkit.org/show_bug.cgi?id=202686
 
index cae2a78..57e8a55 100644 (file)
@@ -452,8 +452,9 @@ void WebKitProtocolHandler::handleGPU(WebKitURISchemeRequest* request)
         g_string_append_printf(html,
             " <tbody><tr>"
             "  <td><div class=\"titlename\">EGL_EXTENSIONS</div></td>"
-            "  <td>%s</td>"
+            "  <td>%s %s</td>"
             " </tbody></tr>",
+            eglQueryString(nullptr, EGL_EXTENSIONS),
             eglQueryString(eglDisplay, EGL_EXTENSIONS));
     }
 #endif