| Differences between
and this patch
- ChangeLog +15 lines
Lines 1-3 ChangeLog_sec1
1
2012-12-31  Kondapally Kalyan  <kalyan.kondapally@intel.com>
2
3
        [EFL][WebGL] Add compile time support for GLES2.
4
        https://bugs.webkit.org/show_bug.cgi?id=105816
5
6
        Reviewed by Kenneth Rohde Christiansen.
7
8
        This patch adds build support for GLES2.
9
        GLES2 support can be enabled during compile time by passing -DENABLE_GLES2=ON as
10
        cmake config parameter. GLES2 options is not enabled by default. This patch doesn't
11
        address all the build issues related to GLES2 but only adds the needed support in
12
        OptionsEfl.cmake.
13
14
        * Source/cmake/OptionsEfl.cmake:
15
1
2012-12-31  Carlos Garcia Campos  <cgarcia@igalia.com>
16
2012-12-31  Carlos Garcia Campos  <cgarcia@igalia.com>
2
17
3
        [GTK] Move ImageDiff to the Tools directory root
18
        [GTK] Move ImageDiff to the Tools directory root
- Source/WebCore/ChangeLog +15 lines
Lines 1-3 Source/WebCore/ChangeLog_sec1
1
2012-12-31  Kondapally Kalyan  <kalyan.kondapally@intel.com>
2
3
        [EFL][WebGL] Add compile time support for GLES2.
4
        https://bugs.webkit.org/show_bug.cgi?id=105816
5
6
        Reviewed by Kenneth Rohde Christiansen.
7
8
        This patch adds build support for GLES2.
9
        GLES2 support can be enabled during compile time by passing -DENABLE_GLES2=ON as
10
        cmake config parameter. GLES2 options is not enabled by default. This patch doesn't
11
        address all the build issues related to GLES2 but only adds the needed support in
12
        PlatformEfl.cmake.
13
14
        * PlatformEfl.cmake:
15
1
2012-12-31  Andy Chen  <andchen@rim.com>
16
2012-12-31  Andy Chen  <andchen@rim.com>
2
17
3
        [BlackBerry] The HTML5 video fullscreen time indicator on the right cuts clipped when the video is longer than 1 hour
18
        [BlackBerry] The HTML5 video fullscreen time indicator on the right cuts clipped when the video is longer than 1 hour
- Source/WebCore/PlatformEfl.cmake -3 / +13 lines
Lines 274-288 if (WTF_USE_3D_GRAPHICS) Source/WebCore/PlatformEfl.cmake_sec1
274
    endif ()
274
    endif ()
275
275
276
    list(APPEND WebCore_SOURCES
276
    list(APPEND WebCore_SOURCES
277
        platform/graphics/OpenGLShims.cpp
278
        platform/graphics/cairo/DrawingBufferCairo.cpp
277
        platform/graphics/cairo/DrawingBufferCairo.cpp
279
        platform/graphics/efl/GraphicsContext3DEfl.cpp
278
        platform/graphics/efl/GraphicsContext3DEfl.cpp
280
        platform/graphics/efl/GraphicsContext3DPrivate.cpp
279
        platform/graphics/efl/GraphicsContext3DPrivate.cpp
281
        platform/graphics/opengl/Extensions3DOpenGL.cpp
282
        platform/graphics/opengl/Extensions3DOpenGLCommon.cpp
280
        platform/graphics/opengl/Extensions3DOpenGLCommon.cpp
283
        platform/graphics/opengl/GLPlatformContext.cpp
281
        platform/graphics/opengl/GLPlatformContext.cpp
284
        platform/graphics/opengl/GLPlatformSurface.cpp
282
        platform/graphics/opengl/GLPlatformSurface.cpp
285
        platform/graphics/opengl/GraphicsContext3DOpenGL.cpp
286
        platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp
283
        platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp
287
        platform/graphics/surfaces/GraphicsSurface.cpp
284
        platform/graphics/surfaces/GraphicsSurface.cpp
288
        platform/graphics/surfaces/glx/GraphicsSurfaceGLX.cpp
285
        platform/graphics/surfaces/glx/GraphicsSurfaceGLX.cpp
Lines 306-311 if (WTF_USE_3D_GRAPHICS) Source/WebCore/PlatformEfl.cmake_sec2
306
        )
303
        )
307
    endif ()
304
    endif ()
308
305
306
    if (WTF_USE_OPENGL_ES_2)
307
        list(APPEND WebCore_SOURCES
308
            platform/graphics/opengl/Extensions3DOpenGLES.cpp
309
            platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp
310
        )
311
    else ()
312
        list(APPEND WebCore_SOURCES
313
            platform/graphics/opengl/Extensions3DOpenGL.cpp
314
            platform/graphics/opengl/GraphicsContext3DOpenGL.cpp
315
            platform/graphics/OpenGLShims.cpp
316
        )
317
    endif ()
318
309
    list(APPEND WebCore_LIBRARIES
319
    list(APPEND WebCore_LIBRARIES
310
        ${X11_X11_LIB}
320
        ${X11_X11_LIB}
311
        ${X11_Xcomposite_LIB}
321
        ${X11_Xcomposite_LIB}
- Source/cmake/OptionsEfl.cmake +10 lines
Lines 187-192 if (ENABLE_WEBGL OR WTF_USE_TILED_BACKING_STORE) Source/cmake/OptionsEfl.cmake_sec1
187
    if (EGL_FOUND)
187
    if (EGL_FOUND)
188
        set(WTF_USE_EGL 1)
188
        set(WTF_USE_EGL 1)
189
        add_definitions(-DWTF_USE_EGL=1)
189
        add_definitions(-DWTF_USE_EGL=1)
190
        option(ENABLE_GLES2 ON)
191
192
        if (ENABLE_GLES2)
193
            find_package(GLES REQUIRED)
194
        endif ()
195
196
        if (OPENGLES2_FOUND)
197
            set(WTF_USE_OPENGL_ES_2 1)
198
            add_definitions(-DWTF_USE_OPENGL_ES_2=1)
199
        endif ()
190
     elseif (OPENGLX_FOUND)
200
     elseif (OPENGLX_FOUND)
191
         set(WTF_USE_GLX 1)
201
         set(WTF_USE_GLX 1)
192
         add_definitions(-DWTF_USE_GLX=1)
202
         add_definitions(-DWTF_USE_GLX=1)

Return to Bug 105816