| Summary: | [WinCairo] Compile error due to undefined symbols after r183868 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||||
| Component: | Platform | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | achristensen, peavo | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Carlos Garcia Campos
2015-05-06 09:56:10 PDT
Created attachment 252489 [details]
Speculative build fix
I don't know if there's a concept of display (or something similar) in windows, so for now I've added a dummy implementation of PlatformDisplay for windows. Hopefully, this will fix the build and I assume EGL display was created with EGL_DEFAULT_DISPLAY for platform previously.
Why is WinCairo even looking for an eglDisplay? I think this patch is the wrong way to go, but I'm not sure. WinCairo and AppleWin should use egl for WebGL, but nothing else. I believe PlatformDisplay.cpp also should be added to the project files WebKit\Source\WebCore\WebCore.vcxproj\WebCore.vcxproj, and WebKit\Source\WebCore\WebCore.vcxproj\WebCore.vcxproj.filters. (In reply to comment #2) > Why is WinCairo even looking for an eglDisplay? I think this patch is the > wrong way to go, but I'm not sure. WinCairo and AppleWin should use egl for > WebGL, but nothing else. I think WinCairo also uses it for accelerated compositing, if I'm not mistaken. Comment on attachment 252489 [details]
Speculative build fix
peavo, does this fix compiling, and is this a way we want to go? You know more about WinCairo's accelerated compositing than I do.
r- because PlatformDisplay.* and the new header should also be added to WebCore.vcxproj and WebCore.vcxproj.filters. Unfortunately, we haven't completely transitioned to CMake yet :(
Yes, I believe it is a good patch. It fixes the build (need to add the files to the project), and does not break accelerated compositing. Created attachment 252526 [details]
Added new files to Windows project files.
I attached a patch which includes the new files in the project, in case Carlos wants to add it to his patch. I'm planning to commit both of these patches at the same time, say it's by Carlos and peavo, and say it's reviewed by me. Thanks! (In reply to comment #9) > I'm planning to commit both of these patches at the same time, say it's by > Carlos and peavo, and say it's reviewed by me. Perfect, thank you! |