diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2016-08-04 18:07:02 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-12-13 16:43:04 +0100 |
commit | 8bdaf36f9d64b119bd8a065c165f4aa0d9c70804 (patch) | |
tree | e8ecf6b932ed504640840af49c625bb135d7bc28 /chromium/content/public | |
parent | 366ddf7a40343f244f7453f01526e193fb3e6d0d (diff) | |
download | qtwebengine-chromium-8bdaf36f9d64b119bd8a065c165f4aa0d9c70804.tar.gz |
Add accessors and seams for the Qt delegated renderer integration.
This is needed to fetch the MessageLoop, the MailboxManager and the
SyncPointManager of the GPU in-process host.
And fetch the right shared context for the in GPU thread.
Change-Id: I7f38e32b2df11da5b046f16643841d34260c11fb
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/content/public')
-rw-r--r-- | chromium/content/public/browser/content_browser_client.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chromium/content/public/browser/content_browser_client.h b/chromium/content/public/browser/content_browser_client.h index 9b6c2b8b249..d7710ef2d44 100644 --- a/chromium/content/public/browser/content_browser_client.h +++ b/chromium/content/public/browser/content_browser_client.h @@ -119,6 +119,10 @@ namespace gfx { class ImageSkia; } // namespace gfx +namespace gl { +class GLShareGroup; +} + namespace media { class AudioLogFactory; class AudioManager; @@ -1140,6 +1144,10 @@ class CONTENT_EXPORT ContentBrowserClient { std::vector<std::unique_ptr<storage::FileSystemBackend>>* additional_backends) {} + // Allow an embedder to provide a share group reimplementation to connect renderer + // GL contexts with the root compositor. + virtual gl::GLShareGroup* GetInProcessGpuShareGroup() { return nullptr; } + // Creates a new DevToolsManagerDelegate. It's valid to return nullptr. virtual std::unique_ptr<content::DevToolsManagerDelegate> CreateDevToolsManagerDelegate(); |