diff options
author | Michal Klocek <michal.klocek@qt.io> | 2018-02-14 20:11:49 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-04-07 12:52:29 +0000 |
commit | da5b421cba5ae998eb318c6339881621314240d2 (patch) | |
tree | a3496910fdb306bdc04599d33e0c55f888e8f960 | |
parent | d7f3899aa3f29ff26932e2258c349317d42f2d78 (diff) | |
download | qtwebengine-da5b421cba5ae998eb318c6339881621314240d2.tar.gz |
Rename GLOzoneQt to GLOzoneEGLQt
Change-Id: I0f88772a0e869de3c7bfd065227b6151558c7408
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | src/core/core_chromium.pri | 4 | ||||
-rw-r--r-- | src/core/ozone/gl_ozone_egl_qt.cpp (renamed from src/core/ozone/gl_ozone_qt.cpp) | 6 | ||||
-rw-r--r-- | src/core/ozone/gl_ozone_egl_qt.h (renamed from src/core/ozone/gl_ozone_qt.h) | 8 | ||||
-rw-r--r-- | src/core/ozone/surface_factory_qt.cpp | 4 |
4 files changed, 11 insertions, 11 deletions
diff --git a/src/core/core_chromium.pri b/src/core/core_chromium.pri index adc0e1fe0..3d23f44b7 100644 --- a/src/core/core_chromium.pri +++ b/src/core/core_chromium.pri @@ -80,7 +80,7 @@ SOURCES = \ net/url_request_custom_job_proxy.cpp \ net/url_request_qrc_job_qt.cpp \ net/webui_controller_factory_qt.cpp \ - ozone/gl_ozone_qt.cpp \ + ozone/gl_ozone_egl_qt.cpp \ ozone/gl_surface_egl_qt.cpp \ ozone/gl_surface_glx_qt.cpp \ ozone/gl_surface_wgl_qt.cpp \ @@ -167,7 +167,7 @@ HEADERS = \ net/url_request_custom_job_proxy.h \ net/url_request_qrc_job_qt.h \ net/webui_controller_factory_qt.h \ - ozone/gl_ozone_qt.h \ + ozone/gl_ozone_egl_qt.h \ ozone/gl_surface_egl_qt.h \ ozone/gl_surface_glx_qt.h \ ozone/gl_surface_wgl_qt.h \ diff --git a/src/core/ozone/gl_ozone_qt.cpp b/src/core/ozone/gl_ozone_egl_qt.cpp index 81d5ccfa9..a9b3da5e2 100644 --- a/src/core/ozone/gl_ozone_qt.cpp +++ b/src/core/ozone/gl_ozone_egl_qt.cpp @@ -42,7 +42,7 @@ #include "base/files/file_path.h" #include "base/native_library.h" #include "gl_context_qt.h" -#include "ozone/gl_ozone_qt.h" +#include "ozone/gl_ozone_egl_qt.h" #include "ui/gl/gl_context_egl.h" #include "ui/gl/gl_implementation.h" #include "ui/gl/gl_surface.h" @@ -70,7 +70,7 @@ base::NativeLibrary LoadLibrary(const base::FilePath& filename) { return library; } -bool GLOzoneQt::LoadGLES2Bindings(gl::GLImplementation /*implementation*/) +bool GLOzoneEGLQt::LoadGLES2Bindings(gl::GLImplementation /*implementation*/) { base::NativeLibrary eglgles2Library = dlopen(NULL, RTLD_LAZY); if (!eglgles2Library) { @@ -103,7 +103,7 @@ bool GLOzoneQt::LoadGLES2Bindings(gl::GLImplementation /*implementation*/) return true; } -intptr_t GLOzoneQt::GetNativeDisplay() +intptr_t GLOzoneEGLQt::GetNativeDisplay() { static void *display = GLContextHelper::getNativeDisplay(); diff --git a/src/core/ozone/gl_ozone_qt.h b/src/core/ozone/gl_ozone_egl_qt.h index 8af879748..fc609c51c 100644 --- a/src/core/ozone/gl_ozone_qt.h +++ b/src/core/ozone/gl_ozone_egl_qt.h @@ -37,8 +37,8 @@ ** ****************************************************************************/ -#ifndef GL_OZONE_QT -#define GL_OZONE_QT +#ifndef GL_OZONE_EGL_QT +#define GL_OZONE_EGL_QT #if defined(USE_OZONE) @@ -46,7 +46,7 @@ namespace QtWebEngineCore { -class GLOzoneQt : public ui::GLOzoneEGL { +class GLOzoneEGLQt : public ui::GLOzoneEGL { public: scoped_refptr<gl::GLSurface> CreateViewGLSurface(gfx::AcceleratedWidget /*window*/) override { @@ -70,4 +70,4 @@ protected: #endif // defined(USE_OZONE) -#endif // GL_OZONE_QT +#endif // GL_OZONE_EGL_QT diff --git a/src/core/ozone/surface_factory_qt.cpp b/src/core/ozone/surface_factory_qt.cpp index b1db44f65..f21e14c30 100644 --- a/src/core/ozone/surface_factory_qt.cpp +++ b/src/core/ozone/surface_factory_qt.cpp @@ -39,7 +39,7 @@ #if defined(USE_OZONE) -#include "ozone/gl_ozone_qt.h" +#include "ozone/gl_ozone_egl_qt.h" #include "ozone/surface_factory_qt.h" #include "ui/gl/gl_surface.h" namespace QtWebEngineCore { @@ -53,7 +53,7 @@ std::vector<gl::GLImplementation> SurfaceFactoryQt::GetAllowedGLImplementations( ui::GLOzone* SurfaceFactoryQt::GetGLOzone(gl::GLImplementation implementation) { - return new GLOzoneQt(); + return new GLOzoneEGLQt(); } } // namespace QtWebEngineCore |