Bug 179953 - [WinCairo] DumpRenderTree displays error message in the beginning
Summary: [WinCairo] DumpRenderTree displays error message in the beginning
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-22 11:08 PST by Basuke Suzuki
Modified: 2017-12-11 09:42 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Basuke Suzuki 2017-11-22 11:08:30 PST
> Cannot create EGL surfaceless context: missing EGL_KHR_surfaceless_{context,opengl} extension.

I couldn't find out which commit starts causing this error, but at least I saw this one in the commit 472a67c6c2fc549c499744a225fcd5fb68528765.
Comment 1 Basuke Suzuki 2017-11-22 11:12:22 PST
You can see this error not launching entire layout tests, but by directly launch command simply typing like this: 

> .\WebKitBuild\Release\bin64\DumpRenderTree.exe - "LayoutTests\\accessibility\\input-image-alt.html'--timeout'300"
Comment 2 Fujii Hironori 2017-11-23 18:59:18 PST
(In reply to Basuke Suzuki from comment #0)
> > Cannot create EGL surfaceless context: missing EGL_KHR_surfaceless_{context,opengl} extension.
> 
> I couldn't find out which commit starts causing this error, but at least I
> saw this one in the commit 472a67c6c2fc549c499744a225fcd5fb68528765.

Bug 178937 has added this message.
Comment 3 Basuke Suzuki 2017-11-27 12:19:33 PST
Thanks!
Comment 4 Tomoki Imai 2017-11-28 00:45:27 PST
The error message is harmless.

When webkit creates sharing OpenGL context,
1. it tries to create surfaceless context, 
2. if surfaceless context is not supported then create pixel buffer and its context.

In WinCairo, surfaceless context is not supported by ANGLE, so it outputs error message.
But it creates pixel buffer and the context, then uses it as sharing OpenGL Context.  

You can see the actual code in GLContextEGL::createSharingContext (/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp).