Summary: | Qt plugins : Don't sync in paint for opaque mode | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Girish Ramakrishnan <girish> | ||||
Component: | WebKit Qt | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, hausmann | ||||
Priority: | P2 | Keywords: | Qt | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | OS X 10.5 | ||||||
Bug Depends on: | 20081 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Girish Ramakrishnan
2009-10-08 05:47:12 PDT
Created attachment 40866 [details]
Move XSync after XCreatePixmap
Comment on attachment 40866 [details]
Move XSync after XCreatePixmap
r=me
One thing that would be good to double-check: We should only re-create the drawable if we are actually changing the _size_ of the plugin/widget. If we only change the position (i.e. we are scrolling) we should not re-create the pixmap and also avoid the expensive syncX() call. Comment on attachment 40866 [details] Move XSync after XCreatePixmap Clearing flags on attachment: 40866 Committed r49296: <http://trac.webkit.org/changeset/49296> All reviewed patches have been landed. Closing bug. Simon, good catch! That check got lost in the QPixmap -> X Pixmap patch. I will create a patch for this one. |