[Webkit-unassigned] [Bug 46991] New: Flickering with div compositing using CAOpenGLLayer in non-out-of-process plugin

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 1 09:55:59 PDT 2010


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

           Summary: Flickering with div compositing using CAOpenGLLayer in
                    non-out-of-process plugin
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Major
          Priority: P1
         Component: Plug-ins
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dwebb at google.com


Created an attachment (id=69476)
 --> (https://bugs.webkit.org/attachment.cgi?id=69476)
Simple plugin that exhibits the flickering behavior

Hello,

The combination of the following is causing flickering problems for my plugin:
1. Using CAOpenGLLayer for rendering.
2. DIVs in front of my plugin, which are properly composited (yay!) with CoreAnimation layers in the latest version of Safari/WebKit.
3. Non-out-of-process plugins, which implies 32-bit Safari.

When a DIV appear or disappears in front of the plugin, the plugin renders a white image for a moment.  The result is a very annoying flicker whenever a DIV comes or goes.  My plugin is the Google Earth plugin, which relies heavily on being able to display a DIV in front of the Earth image (for the info balloon at maps.google.com, when you click on a placemark).

I've attached a very simple Xcode project that exhibits the behavior.  The CAOpenGLLayer subclass simply creates a texture and renders it to the context.  When you push the Hide/Show button on the enclosed web page, it hides/shows the DIV, and you will see the flash of white when this happens.

I've only tested it on 10.6; not sure what happens on 10.5.  Be sure to test it in out-of-process mode, which means 32-bit Safari/WebKit (Get Info and click the "Open in 32-bit mode" checkbox).  I tried it in the latest WebKit build, and the problem is still there.

Any help is appreciated.  I suspect I'm the only NPAPI plugin developer to run into this problem.

-- 
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