Bug 80670 - [chromium] Expose the shared graphics context on WebView so callers can allocate resources on the main thread for the compositor to use
Summary: [chromium] Expose the shared graphics context on WebView so callers can alloc...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: James Robinson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-08 19:08 PST by James Robinson
Modified: 2012-03-09 13:33 PST (History)
7 users (show)

See Also:


Attachments
Patch (3.89 KB, patch)
2012-03-08 19:10 PST, James Robinson
senorblanco: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Robinson 2012-03-08 19:08:44 PST
[chromium] Expose the shared graphics context on WebView so callers can allocate resources on the main thread for the compositor to use
Comment 1 James Robinson 2012-03-08 19:10:15 PST
Created attachment 130951 [details]
Patch
Comment 2 WebKit Review Bot 2012-03-08 19:12:47 PST
Please wait for approval from fishd@chromium.org before submitting because this patch contains changes to the Chromium public API.
Comment 3 James Robinson 2012-03-08 19:13:50 PST
Longer term I think that it's possible that this is the only context exposed on WebView, but for now I'm exposing both contexts so that the chromium and WebKit sides can land without #ifdefs to guard and so that we can figure out how to handle H/W accel video separately.

Chromium side: https://chromiumcodereview.appspot.com/9657021
Comment 4 Antoine Labour 2012-03-08 22:36:16 PST
Comment on attachment 130951 [details]
Patch

lgtm
Comment 5 Stephen White 2012-03-09 10:33:10 PST
Comment on attachment 130951 [details]
Patch

OK.  r=me
Comment 6 James Robinson 2012-03-09 13:33:02 PST
Committed r110325: <http://trac.webkit.org/changeset/110325>