Skip to content
  • achristensen@apple.com's avatar
    Work towards WebGL on AppleWin port. · 85318397
    achristensen@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=119562
    
    Reviewed by Brent Fulgham.
    
    * WebCore.vcxproj/WebCore.vcxproj:
    Build GLContext.cpp and GraphicsContext3DPrivate.cpp on AppleWin port.
    * WebCore.vcxproj/WebCore.vcxproj.filters:
    Moved GLContext and GraphicsContext3DPrivate from Cairo filter to graphics.
    * platform/graphics/GraphicsContext3D.h:
    Added m_webGLLayer for AppleWin port.
    * platform/graphics/GraphicsContext3DPrivate.cpp:
    Protected inclusion of PlatformContextCairo.h in USE(CAIRO) macro for non-cairo ports.
    * platform/graphics/win/GraphicsContext3DWin.cpp:
    Removed stub GraphicsContext3DPrivate implementation in favor of GraphicsContext3DPrivate.cpp.
    (WebCore::GraphicsContext3D::GraphicsContext3D):
    Added GraphicsContext3DPrivate and PlatformCALayer initialization.
    (WebCore::GraphicsContext3D::makeContextCurrent):
    (WebCore::GraphicsContext3D::platformGraphicsContext3D):
    Added implementation based on Cairo ports' to be refactored soon.
    (WebCore::GraphicsContext3D::platformLayer):
    Return PlatformCALayer's PlatformLayer instead of 0.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    85318397