diff options
Diffstat (limited to 'Source/WebCore/PlatformQt.cmake')
-rw-r--r-- | Source/WebCore/PlatformQt.cmake | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/Source/WebCore/PlatformQt.cmake b/Source/WebCore/PlatformQt.cmake index 3b9e36bef..26883021a 100644 --- a/Source/WebCore/PlatformQt.cmake +++ b/Source/WebCore/PlatformQt.cmake @@ -65,7 +65,8 @@ list(APPEND WebCore_SOURCES platform/graphics/ImageSource.cpp platform/graphics/WOFFFileFormat.cpp - platform/graphics/gpu/qt/DrawingBufferQt.cpp + platform/graphics/texmap/BitmapTextureImageBuffer.cpp + platform/graphics/texmap/TextureMapperImageBuffer.cpp platform/graphics/qt/ColorQt.cpp platform/graphics/qt/FloatPointQt.cpp @@ -80,12 +81,14 @@ list(APPEND WebCore_SOURCES platform/graphics/qt/GradientQt.cpp platform/graphics/qt/GraphicsContextQt.cpp platform/graphics/qt/IconQt.cpp + platform/graphics/qt/ImageBufferDataQt.cpp platform/graphics/qt/ImageBufferQt.cpp platform/graphics/qt/ImageDecoderQt.cpp platform/graphics/qt/ImageQt.cpp platform/graphics/qt/IntPointQt.cpp platform/graphics/qt/IntRectQt.cpp platform/graphics/qt/IntSizeQt.cpp + platform/graphics/qt/QFramebufferPaintDevice.cpp platform/graphics/qt/PathQt.cpp platform/graphics/qt/PatternQt.cpp platform/graphics/qt/StillImageQt.cpp @@ -149,6 +152,14 @@ list(APPEND WebCore_SOURCES platform/text/qt/TextBreakIteratorInternalICUQt.cpp ) +if (COMPILER_IS_GCC_OR_CLANG) + set_source_files_properties( + platform/graphics/qt/ImageBufferDataQt.cpp + PROPERTIES + COMPILE_FLAGS -frtti + ) +endif () + if (ENABLE_DEVICE_ORIENTATION) list(APPEND WebCore_SOURCES platform/qt/DeviceMotionClientQt.cpp @@ -251,8 +262,6 @@ endif () if (ENABLE_OPENGL) list(APPEND WebCore_SOURCES - platform/graphics/OpenGLShims.cpp - platform/graphics/opengl/Extensions3DOpenGLCommon.cpp platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp platform/graphics/opengl/TemporaryOpenGLSetting.cpp @@ -263,23 +272,16 @@ if (ENABLE_OPENGL) platform/graphics/opengl/Extensions3DOpenGLES.cpp platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp ) - elseif (${Qt5Gui_OPENGL_IMPLEMENTATION} STREQUAL GL) + list(APPEND WebCore_LIBRARIES + ${Qt5Gui_EGL_LIBRARIES} + ${Qt5Gui_OPENGL_LIBRARIES} + ) + else () list(APPEND WebCore_SOURCES platform/graphics/opengl/Extensions3DOpenGL.cpp platform/graphics/opengl/GraphicsContext3DOpenGL.cpp ) - else () - message(FATAL_ERROR "Unsupported Qt OpenGL implementation ${Qt5Gui_OPENGL_IMPLEMENTATION}") endif () - - list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES - ${Qt5Gui_EGL_INCLUDE_DIRS} - ${Qt5Gui_OPENGL_INCLUDE_DIRS} - ) - list(APPEND WebCore_LIBRARIES - ${Qt5Gui_EGL_LIBRARIES} - ${Qt5Gui_OPENGL_LIBRARIES} - ) endif () if (USE_GLIB) |