diff options
author | Jere Tuliniemi <jere.tuliniemi@qt.io> | 2019-04-01 15:08:11 +0300 |
---|---|---|
committer | Jere Tuliniemi <jere.tuliniemi@qt.io> | 2019-04-16 09:16:37 +0000 |
commit | c6edb9c7d15843e8ab965d365099ace29e2d2049 (patch) | |
tree | 0a24f87676d342c69254e9baeedadaaf4a70e5e5 /src/Runtime/Qt3DSRuntimeStatic/Qt3DSRuntimeStatic.pro | |
parent | 156910d1df8d3f11b72664cf0bf6b7fe800b53cf (diff) |
Add distance field rendering to OpenGL runtime
The old text rendering remains in the background and is used to render
clipped text, since that feature is not yet implemented for distance
field fonts. Building the runtime with Qt version older than 5.12.2 also
causes a fallback to the old text rendering.
Depth pass rendering also needs to be redone in the future to avoid
another full render pass.
Task-number: QT3DS-3210
Change-Id: Ib7666c437d23ae25e1872682f010df3721476a14
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Runtime/Qt3DSRuntimeStatic/Qt3DSRuntimeStatic.pro')
-rw-r--r-- | src/Runtime/Qt3DSRuntimeStatic/Qt3DSRuntimeStatic.pro | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/Runtime/Qt3DSRuntimeStatic/Qt3DSRuntimeStatic.pro b/src/Runtime/Qt3DSRuntimeStatic/Qt3DSRuntimeStatic.pro index 7020f79e..83579651 100644 --- a/src/Runtime/Qt3DSRuntimeStatic/Qt3DSRuntimeStatic.pro +++ b/src/Runtime/Qt3DSRuntimeStatic/Qt3DSRuntimeStatic.pro @@ -15,6 +15,7 @@ linux { DEFINES += QT3DS_BUILDING_LIBRARY QT += qml +QT += quick-private # Foundation SOURCES += \ @@ -162,7 +163,11 @@ SOURCES += \ ../Source/uipparser/Qt3DSUIPParserImpl.cpp \ ../Source/uipparser/Qt3DSUIPParserObjectRefHelper.cpp \ ../Source/runtimerender/Qt3DSRenderContextCore.cpp \ - ../Source/runtimerender/resourcemanager/Qt3DSRenderLoadedTextureKTX.cpp + ../Source/runtimerender/resourcemanager/Qt3DSRenderLoadedTextureKTX.cpp \ + ../Source/runtimerender/Qt3DSDistanceFieldRenderer.cpp \ + ../Source/runtimerender/Qt3DSFontDatabase.cpp \ + ../Source/runtimerender/Qt3DSDistanceFieldGlyphCacheManager.cpp \ + ../Source/runtimerender/Qt3DSDistanceFieldGlyphCache.cpp HEADERS += \ ../Source/foundation/ConvertUTF.h \ @@ -448,7 +453,11 @@ HEADERS += \ ../Source/engine/Qt3DSWindowSystem.h \ ../Source/runtimerender/Qt3DSRenderContextCore.h \ ../Source/runtimerender/Qt3DSRenderLightConstantProperties.h \ - ../Source/runtimerender/resourcemanager/Qt3DSRenderLoadedTextureKTX.h + ../Source/runtimerender/resourcemanager/Qt3DSRenderLoadedTextureKTX.h \ + ../Source/runtimerender/Include/Qt3DSDistanceFieldRenderer.h \ + ../Source/runtimerender/Include/Qt3DSFontDatabase_p.h \ + ../Source/runtimerender/Include/Qt3DSDistanceFieldGlyphCacheManager_p.h \ + ../Source/runtimerender/Include/Qt3DSDistanceFieldGlyphCache_p.h win32 { SOURCES += \ |