Bug 116539 - [BlackBerry] Make screen updates dependent on the existence of a drawing buffer
Summary: [BlackBerry] Make screen updates dependent on the existence of a drawing buffer
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit BlackBerry (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jakob Petsovits
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-21 08:24 PDT by Jakob Petsovits
Modified: 2013-05-26 23:55 PDT (History)
6 users (show)

See Also:


Attachments
Patch (3.65 KB, patch)
2013-05-21 08:35 PDT, Jakob Petsovits
no flags Details | Formatted Diff | Diff
Patch (3.84 KB, patch)
2013-05-21 08:53 PDT, Jakob Petsovits
no flags Details | Formatted Diff | Diff
Patch (3.72 KB, patch)
2013-05-24 15:55 PDT, Jakob Petsovits
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jakob Petsovits 2013-05-21 08:24:08 PDT
We currently use a suspend counter to ensure that if a target buffer is missing initially, blitting to screen / target buffer will not happen.

The patch below reduces complexity by relying on the current state, rather than the suspend counter, which in turn makes it possible to simplify the code in setCompositor().
Comment 1 Jakob Petsovits 2013-05-21 08:35:07 PDT
Created attachment 202432 [details]
Patch
Comment 2 Jakob Petsovits 2013-05-21 08:53:13 PDT
Created attachment 202436 [details]
Patch

Whoops, forgot to include the description part of the commit message.
Comment 3 Jakob Petsovits 2013-05-24 15:55:10 PDT
Created attachment 202860 [details]
Patch

Not sure why the patch didn't like to be applied. It cherry-picked fine from my git branch onto (git-)SVN trunk, ChangeLog aside. Trying again - this time coming straight from the svn/master branch, hopefully the bots like me better this time.
Comment 4 Arvid Nilsson 2013-05-26 21:09:03 PDT
LGTM, passed internal review :)
Comment 5 WebKit Commit Bot 2013-05-26 23:55:01 PDT
Comment on attachment 202860 [details]
Patch

Clearing flags on attachment: 202860

Committed r150735: <http://trac.webkit.org/changeset/150735>
Comment 6 WebKit Commit Bot 2013-05-26 23:55:03 PDT
All reviewed patches have been landed.  Closing bug.