Changeset 139276 in webkit


Ignore:
Timestamp:
Jan 9, 2013 7:42:58 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL] [WebGL] Remove GLX dependencies from X11WindowResources..
https://bugs.webkit.org/show_bug.cgi?id=106319

Patch by Kondapally Kalyan <kalyan.kondapally@intel.com> on 2013-01-09
Reviewed by Kenneth Rohde Christiansen.

This patch removes GLX specific calls from X11WindowResources.
This class is shared by both GLX and EGL implementations.

  • platform/graphics/surfaces/glx/GLXSurface.cpp:

(WebCore::GLXTransportSurface::setGeometry):

  • platform/graphics/surfaces/glx/X11WindowResources.cpp:

(WebCore::X11OffScreenWindow::reSizeWindow):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r139275 r139276  
     12013-01-09  Kondapally Kalyan  <kalyan.kondapally@intel.com>
     2
     3        [EFL] [WebGL] Remove GLX dependencies from X11WindowResources..
     4        https://bugs.webkit.org/show_bug.cgi?id=106319
     5
     6        Reviewed by Kenneth Rohde Christiansen.
     7
     8        This patch removes GLX specific calls from X11WindowResources.
     9        This class is shared by both GLX and EGL implementations.
     10
     11        * platform/graphics/surfaces/glx/GLXSurface.cpp:
     12        (WebCore::GLXTransportSurface::setGeometry):
     13        * platform/graphics/surfaces/glx/X11WindowResources.cpp:
     14        (WebCore::X11OffScreenWindow::reSizeWindow):
     15
    1162013-01-09  Huang Dongsung  <luxtella@company100.net>
    217
  • trunk/Source/WebCore/platform/graphics/surfaces/glx/GLXSurface.cpp

    r138567 r139276  
    7676    GLPlatformSurface::setGeometry(newRect);
    7777    m_nativeResource->reSizeWindow(newRect, m_drawable);
     78    // Force resize of GL surface after window resize.
     79    glXSwapBuffers(sharedDisplay(), m_drawable);
    7880}
    7981
  • trunk/Source/WebCore/platform/graphics/surfaces/glx/X11WindowResources.cpp

    r139033 r139276  
    5151{
    5252    XResizeWindow(m_sharedResources->x11Display(), windowId, newRect.width(), newRect.height());
    53 
    54     // Force resize of GL sureface after window resize.
    55     glXSwapBuffers(m_sharedResources->x11Display(), windowId);
     53    XFlush(m_sharedResources->x11Display());
    5654}
    5755
Note: See TracChangeset for help on using the changeset viewer.