summaryrefslogtreecommitdiffstats
path: root/src/core/chromium_gpu_helper.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-02-01 12:19:37 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-03-15 16:52:24 +0000
commit6b35497375c07c49cca7317a4452acc6adc7a1cd (patch)
tree5531da6c89bb3da6495e8c83a0b86bff638f3baa /src/core/chromium_gpu_helper.h
parent91e13af7e1056a7bad83eb34ebf63fdd45e24bea (diff)
Basic adaptations for 65-based
Change-Id: I121b14d6a44e80f5eea4b159c58f7010d472926e Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/core/chromium_gpu_helper.h')
-rw-r--r--src/core/chromium_gpu_helper.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/core/chromium_gpu_helper.h b/src/core/chromium_gpu_helper.h
index 9954dc1d0..848a43c7e 100644
--- a/src/core/chromium_gpu_helper.h
+++ b/src/core/chromium_gpu_helper.h
@@ -50,11 +50,9 @@ class MessageLoop;
namespace gpu {
struct Mailbox;
class SyncPointManager;
-namespace gles2 {
class MailboxManager;
class TextureBase;
}
-}
// These functions wrap code that needs to include headers that are
// incompatible with Qt GL headers.
@@ -63,10 +61,10 @@ class TextureBase;
base::MessageLoop *gpu_message_loop();
gpu::SyncPointManager *sync_point_manager();
-gpu::gles2::MailboxManager *mailbox_manager();
+gpu::MailboxManager *mailbox_manager();
-gpu::gles2::TextureBase* ConsumeTexture(gpu::gles2::MailboxManager *mailboxManager, unsigned target, const gpu::Mailbox& mailbox);
-unsigned int service_id(gpu::gles2::TextureBase *tex);
+gpu::TextureBase* ConsumeTexture(gpu::MailboxManager *mailboxManager, unsigned target, const gpu::Mailbox& mailbox);
+unsigned int service_id(gpu::TextureBase *tex);
#ifdef Q_OS_QNX
typedef void* EGLDisplay;
@@ -79,7 +77,7 @@ struct EGLStreamData {
EGLStreamData(): egl_display(NULL), egl_str_handle(NULL) {}
};
-EGLStreamData eglstream_connect_consumer(gpu::gles2::Texture *tex);
+EGLStreamData eglstream_connect_consumer(gpu::Texture *tex);
#endif
#endif // CHROMIUM_GPU_HELPER_H