23f8d6c57f
The system we inherited from the original Qt 5.14 introduction of QRhi is a text stream based solution where resource creation and frame timings are sent in a comma-separated format to a QIODevice. This, while useful to get insights about the number of resources at a given time, is not actively helpful. The frameworks built on top (Qt Quick, Qt Quick 3D) are expected to provide solutions for logging timings in a different way (e.g. via the QML Profiler). Similarly, tracking active resources and generating statistics from that is better handled on a higher level. The unique bits, such as the Vulkan memory allocator statistics and the GPU frame timestamps, are converted into APIs in QRhi. This way a user of QRhi can query it at any time and do whatever it sees fit with the data. When it comes to the GPU timestamps, that has a somewhat limited value due to the heavy asynchronousness, hence the callback based API. Nonetheless, this is still useful since it is the only means of reporting some frame timing data (an approx. elapsed milliseconds for a frame) from the GPU side. Change-Id: I67cd58b81aaa7e343c11731f9aa5b4804c2a1823 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
26 lines
783 B
CMake
26 lines
783 B
CMake
# Generated from rhi.pro.
|
|
|
|
add_subdirectory(hellominimalcrossgfxtriangle)
|
|
add_subdirectory(compressedtexture_bc1)
|
|
add_subdirectory(compressedtexture_bc1_subupload)
|
|
add_subdirectory(texuploads)
|
|
add_subdirectory(msaatexture)
|
|
add_subdirectory(msaarenderbuffer)
|
|
add_subdirectory(cubemap)
|
|
add_subdirectory(cubemap_scissor)
|
|
add_subdirectory(cubemap_render)
|
|
add_subdirectory(multiwindow)
|
|
add_subdirectory(multiwindow_threaded)
|
|
add_subdirectory(triquadcube)
|
|
add_subdirectory(offscreen)
|
|
add_subdirectory(floattexture)
|
|
add_subdirectory(float16texture_with_compute)
|
|
add_subdirectory(mrt)
|
|
add_subdirectory(shadowmap)
|
|
add_subdirectory(computebuffer)
|
|
add_subdirectory(computeimage)
|
|
add_subdirectory(instancing)
|
|
add_subdirectory(noninstanced)
|
|
add_subdirectory(tex3d)
|
|
add_subdirectory(texturearray)
|