|
Lines 1-3
a/Source/WebCore/ChangeLog_sec1
|
|
|
1 |
2015-05-06 Carlos Garcia Campos <cgarcia@igalia.com> |
| 2 |
|
| 3 |
[EGL] Move EGLDisplay handling to PlatformDisplay and remove PlatformDisplay definition from GLDefs.h |
| 4 |
https://bugs.webkit.org/show_bug.cgi?id=144685 |
| 5 |
|
| 6 |
Reviewed by Martin Robinson. |
| 7 |
|
| 8 |
The EGL display is also initialized in multiple places, and could |
| 9 |
be unified in PlatformDisplay. Remove the PlatformDisplay |
| 10 |
definition from platform/graphics/opengl/GLDefs.h to avoid conflicts. |
| 11 |
|
| 12 |
* platform/graphics/PlatformDisplay.cpp: |
| 13 |
(WebCore::PlatformDisplay::PlatformDisplay): Initialize m_eglDisplay. |
| 14 |
(WebCore::PlatformDisplay::~PlatformDisplay): Call terminateEGLDisplay(). |
| 15 |
(WebCore::PlatformDisplay::eglDisplay): Lazy intialize the EGL |
| 16 |
display and return it. |
| 17 |
(WebCore::PlatformDisplay::initializeEGLDisplay): |
| 18 |
(WebCore::PlatformDisplay::terminateEGLDisplay): |
| 19 |
* platform/graphics/PlatformDisplay.h: |
| 20 |
* platform/graphics/egl/GLContextEGL.cpp: |
| 21 |
(WebCore::sharedEGLDisplay): Use PlatformDisplay::eglDisplay(). |
| 22 |
* platform/graphics/opengl/GLDefs.h: Remove unneeded definitions. |
| 23 |
* platform/graphics/opengl/GLPlatformSurface.cpp: |
| 24 |
(WebCore::GLPlatformSurface::GLPlatformSurface): Remove |
| 25 |
m_sharedDisplay member, PlatformDisplay::sharedDisplay() can be used instead. |
| 26 |
(WebCore::GLPlatformSurface::sharedDisplay): Deleted. |
| 27 |
* platform/graphics/opengl/GLPlatformSurface.h: |
| 28 |
* platform/graphics/surfaces/egl/EGLConfigSelector.h: Use |
| 29 |
EGLDisplay instead of PlatformDisplay. |
| 30 |
* platform/graphics/surfaces/egl/EGLContext.cpp: |
| 31 |
(WebCore::EGLOffScreenContext::initialize): Use PlatformDisplay::eglDisplay(). |
| 32 |
* platform/graphics/surfaces/egl/EGLHelper.cpp: Remove the |
| 33 |
EGLDisplayConnection clas and use PlatformDisplay instead. |
| 34 |
(WebCore::EGLHelper::eglDisplay): |
| 35 |
(WebCore::EGLHelper::currentDisplay): |
| 36 |
(WebCore::EGLDisplayConnection::EGLDisplayConnection): Deleted. |
| 37 |
(WebCore::EGLDisplayConnection::~EGLDisplayConnection): Deleted. |
| 38 |
(WebCore::EGLDisplayConnection::display): Deleted. |
| 39 |
(WebCore::EGLDisplayConnection::terminate): Deleted. |
| 40 |
* platform/graphics/surfaces/egl/EGLHelper.h: |
| 41 |
* platform/graphics/surfaces/egl/EGLSurface.cpp: |
| 42 |
(WebCore::EGLTransportSurface::EGLTransportSurface): Use EGLHelper::eglDisplay(). |
| 43 |
(WebCore::EGLTransportSurface::destroy): Ditto. |
| 44 |
(WebCore::EGLOffScreenSurface::EGLOffScreenSurface): Ditto. |
| 45 |
(WebCore::EGLOffScreenSurface::destroy): Ditto. |
| 46 |
* platform/graphics/surfaces/egl/EGLXSurface.cpp: |
| 47 |
(WebCore::EGLWindowTransportSurface::EGLWindowTransportSurface): |
| 48 |
Use PlatformDisplay::eglDisplay(). |
| 49 |
(WebCore::EGLWindowTransportSurface::swapBuffers): Ditto. |
| 50 |
(WebCore::EGLPixmapSurface::EGLPixmapSurface): Ditto. |
| 51 |
* platform/graphics/surfaces/glx/GLXContext.cpp: |
| 52 |
(WebCore::GLXOffScreenContext::initialize): Use X11Helper::nativeDisplay(). |
| 53 |
* platform/graphics/surfaces/glx/GLXSurface.cpp: |
| 54 |
(WebCore::GLXTransportSurface::GLXTransportSurface): Do not use m_sharedDisplay. |
| 55 |
(WebCore::GLXOffScreenSurface::initialize): Ditto. |
| 56 |
* platform/graphics/wayland/PlatformDisplayWayland.cpp: |
| 57 |
(WebCore::PlatformDisplayWayland::PlatformDisplayWayland): Call |
| 58 |
PlatformDisplay::initializeEGLDisplay() to insialize the EGL display. |
| 59 |
* platform/graphics/wayland/PlatformDisplayWayland.h: |
| 60 |
* platform/graphics/x11/PlatformDisplayX11.cpp: |
| 61 |
(WebCore::PlatformDisplayX11::initializeEGLDisplay): Override |
| 62 |
PlatformDisplay::initializeEGLDisplay() to initialize the |
| 63 |
m_eglDisplay member. |
| 64 |
* platform/graphics/x11/PlatformDisplayX11.h: |
| 65 |
|
| 1 |
2015-05-05 Carlos Garcia Campos <cgarcia@igalia.com> |
66 |
2015-05-05 Carlos Garcia Campos <cgarcia@igalia.com> |
| 2 |
|
67 |
|
| 3 |
[SOUP] Network Cache: Implement ShareableResource for Soup and enable it for GTK platform |
68 |
[SOUP] Network Cache: Implement ShareableResource for Soup and enable it for GTK platform |