diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-06-27 09:28:46 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-06-27 09:28:46 +0200 |
commit | 6668b07fcd51f86be243b9e08e667224e30c0cf8 (patch) | |
tree | 64f466e09b68a77ae1156c0d35cd5b95e18a34ca /Source/Platform/chromium/public/WebLayerTreeView.h | |
parent | e7923d9de38974f0c6fb7646c898a6ea618261e8 (diff) | |
download | qtwebkit-6668b07fcd51f86be243b9e08e667224e30c0cf8.tar.gz |
Imported WebKit commit 26cd9bd8ab0471ffe987c9b60368f63dc0f1f31b (http://svn.webkit.org/repository/webkit/trunk@121325)
New snapshot with more Windows build fixes
Diffstat (limited to 'Source/Platform/chromium/public/WebLayerTreeView.h')
-rw-r--r-- | Source/Platform/chromium/public/WebLayerTreeView.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Platform/chromium/public/WebLayerTreeView.h b/Source/Platform/chromium/public/WebLayerTreeView.h index d5d99a285..f52511043 100644 --- a/Source/Platform/chromium/public/WebLayerTreeView.h +++ b/Source/Platform/chromium/public/WebLayerTreeView.h @@ -44,6 +44,7 @@ class WebLayerTreeViewClient; class WebLayerTreeViewImpl; struct WebPoint; struct WebRect; +struct WebRenderingStats; class WebLayerTreeView : public WebNonCopyable { public: @@ -166,13 +167,12 @@ public: // This can have a significant performance impact and should be used with care. WEBKIT_EXPORT void finishAllRendering(); - // Returns the context being used for rendering this view. In threaded compositing mode, it is - // not safe to use this context for anything on the main thread, other than passing the pointer to - // the compositor thread. - WEBKIT_EXPORT WebGraphicsContext3D* context(); - // Debugging / dangerous --------------------------------------------- + // Fills in a WebRenderingStats struct containing information about the state of the compositor. + // This call is relatively expensive in threaded mode as it blocks on the compositor thread. + WEBKIT_EXPORT void renderingStats(WebRenderingStats&) const; + // Simulates a lost context. For testing only. WEBKIT_EXPORT void loseCompositorContext(int numTimes); |