Bug 41029 - Pass a pointer to the containing Page when creating GraphicsContext3D
Summary: Pass a pointer to the containing Page when creating GraphicsContext3D
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-22 19:23 PDT by Vangelis Kokkevis
Modified: 2010-06-22 20:54 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vangelis Kokkevis 2010-06-22 19:23:29 PDT
This is necessary in Chromium for hooking up the WebGL backbuffer with the layer compositor that renders the page. GraphicsContext3D::create() already gets a pointer to the HostWindow that's only used in Qt for similar purposes. Unfortunately that pointer doesn't really help in Chromium where views aren't identified by their platform window.
Comment 1 Sam Weinig 2010-06-22 20:54:53 PDT
It would be a layering violation for the GraphicsContext3D to get a pointer to the Page.