summaryrefslogtreecommitdiffstats
path: root/src/core/io
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Fix multiple C++ documentation issuesTopi Reinio2015-04-142-0/+10
| | | | | | | | | | | | | | | | | | | - Remove multiple \namespace commands for namespace Qt3D. QDoc in 5.5 is now able to collate namespace members from multiple modules. - Mark 'Q...Private' classes and functions taking private arguments as \internal - Use correct \qtvariable for Qt 3D Core and Render - Add src/plugins directory to Qt 3D Core documentation build to correctly generate Assimp-related documentation. - Ensure documentation for C++ properties is visible by using the \property command instead of documenting the setter/getter functions. - Add export and logging macros to qdoc ignore directives - Remove unnecessary use of \fn command - Language and styling fixes Change-Id: I2481fa30ad2f6869b85c038c20ff1730b8522d46 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Nano-optimization to QUrlHelper::urlToLocalFileOrQrc(..)Konstantin Ritt2015-03-161-2/+3
| | | | | Change-Id: I8ae10d2eb13de9755fe0fb2683a2dfdd51cee674 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Make mesh source url resolving compatible with QuickLaszlo Agocs2015-02-133-2/+125
| | | | | | | | The ideal way would be to call the function from QQmlFile but that would need a dependency on the qml module. So just copy the function in. Change-Id: If34d8a2356bbe87b2a011c1c25a79a3f24ebb1ab Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Copyright header change.Mika Salmela2015-02-096-114/+84
| | | | | | | | As for preparation for Qt5.5 release the copyright header is updated to correspond the current license requirements. Change-Id: I36632918b66f455539453b42c369689fb11298ec Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* QAbstractMeshData merged with QMeshData and moved to RendererPaul Lemire2014-10-224-354/+1
| | | | | | | That implied moving QAbstractMesh to Renderer as well. Change-Id: I9013bf0458b849f7805d214a70580a80e86d8c84 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add an example to exercise tessellation shader supportSean Harmer2014-09-213-1/+17
| | | | | | | | | | | | | | Also extended Renderer and friends to support setting the number of vertices per patch with glPathParameteri(GL_PATCH_VERTICES, n). To support this QMeshData now also stores the vertices per patch. This demonstrates how to tessellate using quad tessellation mode. Follow-up commits will add objects to show triangle and isoline modes. Change-Id: I68afb31815db430d0b4d8d9cc525efcfb9a216fc Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Mark backend render classes as private and fix compilationSean Harmer2014-08-171-1/+2
| | | | | Change-Id: I1afb8408e03d4b5405e8ee82d1a3b6b4364d3f5d Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Automatic Binding for AttributesPaul Lemire2014-07-091-0/+6
| | | | | | | | | | | QAbstractMeshData has a set of static methods returning default names for vertex position, color, normal, textcoord and tangent so that mesh loaders can use those when building their MeshData. As with uniforms, a ParameterMapper can be used to map additional/custom named attributes. Change-Id: I8ad116a1cccabc981c2ce196e920fbe88834be06 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Abstract IO classes for MeshData, Attribute and BufferPaul Lemire2014-07-0510-0/+846
Change-Id: I78951aa516a0001342d6abd326c9ec1e42de6d8f Reviewed-by: Sean Harmer <sean.harmer@kdab.com>