diff options
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); |