diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2013-10-24 18:26:59 +0200 |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2013-11-06 17:31:13 +0100 |
commit | 9427c1a0222ebd67efef1a2c7990a0fa5c9aac84 (patch) | |
tree | 8963bbb40950722b04fc94b1eb3550dc345baf90 /chromium/content/public | |
parent | 56f2c0752454e38177322547b3750a6ff15dab97 (diff) | |
download | qtwebengine-chromium-9427c1a0222ebd67efef1a2c7990a0fa5c9aac84.tar.gz |
Add seams to setup GL contexts sharing with QtQuick.
This will allow us to know right before the first GL context is
instantiated by Chromium so that we can install those contexts to
be shared with QtQuick GL contexts as well.
Change-Id: Ia2de987edb5a87097c2b29bedd8a1f908141d8ee
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Diffstat (limited to 'chromium/content/public')
-rw-r--r-- | chromium/content/public/browser/content_browser_client.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/content/public/browser/content_browser_client.h b/chromium/content/public/browser/content_browser_client.h index 1f5e8362f52..21687691706 100644 --- a/chromium/content/public/browser/content_browser_client.h +++ b/chromium/content/public/browser/content_browser_client.h @@ -48,6 +48,7 @@ class CryptoModuleBlockingPasswordDelegate; } namespace gfx { +class GLShareGroup; class ImageSkia; } @@ -563,6 +564,10 @@ class CONTENT_EXPORT ContentBrowserClient { // Return NULL to use the default one for the platform to be created. virtual LocationProvider* OverrideSystemLocationProvider(); + // Allow an embedder to provide a share group reimplementation to connect renderer + // GL contexts with the root compositor. + virtual gfx::GLShareGroup* GetInProcessGpuShareGroup() { return 0; } + #if defined(OS_POSIX) && !defined(OS_MACOSX) // Populates |mappings| with all files that need to be mapped before launching // a child process. |