[Webkit-unassigned] [Bug 36883] [Qt] Parallel rendering in WebKit
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 2 06:51:07 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=36883
Zoltan Herczeg <zherczeg at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #52157|0 |1
is obsolete| |
--- Comment #1 from Zoltan Herczeg <zherczeg at webkit.org> 2010-04-02 06:51:06 PST ---
Created an attachment (id=52413)
--> (https://bugs.webkit.org/attachment.cgi?id=52413)
Second patch
Now we can render to non-transparent (like www.google.hu) pages using the
thread. The miracle is done using the QPicture thing, which can record the
QPainter commands and replay them on the thread. Hopefully the recording is a
cheap operation (except for some difficult resources like Images).
Fortunately, QPicture does not restore the painting state, so:
begin()
translate(x, y)
fillRect(0, 0, w, h)
end()
can be split to two QPictures:
begin()
translate(x, y)
end()
begin()
fillRect(0, 0, w, h)
end()
Or the second step can be executed "manually" (not using QPicture).
Therefore we could employ special handling for exceptions (like images), and
use QPictures for all other cases.
Any thoughts would be appreciated!
--
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