Bug 44335

Summary: [Qt] WebKit does not compile with --3d-canvas
Product: WebKit Reporter: Jarkko Sakkinen <jarkko.j.sakkinen>
Component: WebGLAssignee: QtWebKit Unassigned <webkit-qt-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: jamesr, jamesr, kling, noam
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Proposed patch none

Description Jarkko Sakkinen 2010-08-20 07:27:37 PDT
Because of changes to some headers that are above Qt graphics backend GraphicsLayerQt.h/cpp refuse to compile. They are unable to find GraphicsContext3D.
Comment 1 Jarkko Sakkinen 2010-08-20 08:04:29 PDT
What's this PlatformGLObject thing in GraphicsContext3DQt.cpp? I did find -name *.h|xargs grep -i platformglo and also same for *.cpp. Only file that contains the usage of PlatformGLObject is GraphicsContext3DQt.cpp.
Comment 2 Jarkko Sakkinen 2010-08-20 08:08:13 PDT
git blame told me that it is the commit bd0e060f. Hi James! Can you please elaborate what's all about so I can fix these compilation issues in correct way :)
Comment 3 James Robinson 2010-08-20 09:25:37 PDT
It (GC3DQt.cpp) didn't compile before that commit either.  I think PlatformGLObject should be Platform3DObject, but there are other compilation issues in GraphicsContextQt.cpp that I didn't understand - like variables referenced that are clearly never defined.
Comment 4 Andreas Kling 2010-08-20 15:41:40 PDT
Created attachment 65002 [details]
Proposed patch
Comment 5 Ariya Hidayat 2010-08-20 16:17:59 PDT
Comment on attachment 65002 [details]
Proposed patch

LGTM. re=me
Comment 6 Andreas Kling 2010-08-20 16:23:32 PDT
Comment on attachment 65002 [details]
Proposed patch

Clearing flags on attachment: 65002

Committed r65761: <http://trac.webkit.org/changeset/65761>
Comment 7 Andreas Kling 2010-08-20 16:23:43 PDT
All reviewed patches have been landed.  Closing bug.