[Webkit-unassigned] [Bug 63946] New: Offscreen rendering does not render WebGL canvas

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 5 10:58:59 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=63946

           Summary: Offscreen rendering does not render WebGL canvas
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rectalogic at rectalogic.com


Created an attachment (id=99727)
 --> (https://bugs.webkit.org/attachment.cgi?id=99727&action=review)
sample application to reproduce the issue

I have a QGraphicsWebView with a QGLWidget viewport. Loading a page with a WebGL canvas and rendering to a QGLFramebufferObject via a QPainter renders the page to the FBO but not the canvas. The canvas alone gets rendered to the QGLWidget viewport instead of the FBO.

Sample application is attached. This first paints to a QPainter wrapping a QGLFramebufferObject, this only paints the non-canvas content, saved as paintFBO-FBO.png. It then saves the QGLWidget as paintFBO-QGLWidget.png - and this contains the canvas content only. It then paints to a QPainter wrapping the QGLWidget viewport, this paints the entire page properly, saved as paintQGLWidget.png. 

This is using TextureMapperGL and GraphicsContext3DInternal::paintToTextureMapper() does get called - but the wrong drawing surface must be bound at this point (i.e. the QGLWidget instead of the FBO).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list