RESOLVED FIXED 85140
[Qt] Enable CSS shaders in Qt (software mode)
https://bugs.webkit.org/show_bug.cgi?id=85140
Summary [Qt] Enable CSS shaders in Qt (software mode)
Noam Rosenthal
Reported 2012-04-28 11:05:06 PDT
[Qt] Enable CSS shaders in Qt (software mode)
Attachments
Patch (6.46 KB, patch)
2012-04-28 18:50 PDT, Noam Rosenthal
no flags
Patch (6.57 KB, patch)
2012-05-02 07:32 PDT, Noam Rosenthal
no flags
Patch (7.28 KB, patch)
2012-07-19 10:45 PDT, Noam Rosenthal
no flags
Noam Rosenthal
Comment 1 2012-04-28 18:50:59 PDT
Noam Rosenthal
Comment 2 2012-05-02 07:32:51 PDT
Simon Hausmann
Comment 3 2012-05-02 10:52:00 PDT
Comment on attachment 139814 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=139814&action=review > Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp:113 > + if (!m_surface) { > + QGLWidget* widget = new QGLWidget; > + widget->setGeometry(0, 0, 0, 0); > + m_surface = widget->windowHandle(); > + m_platformContext = widget->context()->contextHandle(); > + } That doesn't look like the right API to use with Qt 5 in WebCore. In fact this shouldn't even compile. I distinctly removed QtOpenGL and QtWidgets from the WebCore build a while ago. Maybe it somehow came back. QtOpenGL is linking against QtWidgets, which I don't want to re-introduce as dependency here. The right API to use would be either low-level QPA or a QWindow with OpenGLSurface as surface type.
Noam Rosenthal
Comment 4 2012-05-02 10:53:26 PDT
> The right API to use would be either low-level QPA or a QWindow with OpenGLSurface as surface type. Good point. I'll figure something out :)
Noam Rosenthal
Comment 5 2012-05-02 10:56:46 PDT
> That doesn't look like the right API to use with Qt 5 in WebCore. In fact this shouldn't even compile. I distinctly removed QtOpenGL and QtWidgets from the WebCore build a while ago. Maybe it somehow came back. QtOpenGL is linking against QtWidgets, which I don't want to re-introduce as dependency here. btw this code is copied from PageClientQt, code that runs with Qt5+WebKit1...
Noam Rosenthal
Comment 6 2012-07-19 10:45:58 PDT
WebKit Review Bot
Comment 7 2012-07-19 14:54:31 PDT
Comment on attachment 153303 [details] Patch Clearing flags on attachment: 153303 Committed r123150: <http://trac.webkit.org/changeset/123150>
WebKit Review Bot
Comment 8 2012-07-19 14:54:37 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.