qt5base-lts/tests/manual/rhi
Laszlo Agocs 854ddb0301 rhi: Enhance line width and point size support
...but this will vary between backends, or in some cases
even between implementations of the same API.

Point size is settable only via the vertex shader (gl_PointSize).
It is silently ignored with D3D and HLSL.

Line widths other than 1 are supported only on OpenGL and Vulkan.
(but this is in fact deprecated with GL and optional with Vulkan)

Add QRhi::Feature values for both.

The line width is now settable on QRhiGraphicsPipeline. It is not a
dynamic state since the static, per-pipeline width is good enough for
most cases. (and the feature is not supported on half of the backends
anyways so it will get limited use in practice).

Change-Id: I6d3a32269527c452b794b2cb8b0f03101eab40b2
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2019-07-01 17:34:29 +02:00
..
compressedtexture_bc1 rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
compressedtexture_bc1_subupload rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
computebuffer rhi: Enhance line width and point size support 2019-07-01 17:34:29 +02:00
computeimage rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
cubemap rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
floattexture rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
hellominimalcrossgfxtriangle rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
mrt rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
msaarenderbuffer rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
msaatexture rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
multiwindow rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
multiwindow_threaded rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
offscreen rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
qrhiprof Introduce the Qt graphics abstraction as private QtGui helpers 2019-06-13 10:13:45 +02:00
shadowmap rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
shared Introduce the Qt graphics abstraction as private QtGui helpers 2019-06-13 10:13:45 +02:00
texuploads rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00
triquadcube rhi: Enhance line width and point size support 2019-07-01 17:34:29 +02:00
rhi.pro rhi: Add compute api and implement for Vulkan and Metal 2019-06-17 10:32:57 +02:00