- 05 Dec, 2018 2 commits
-
-
Laszlo Agocs authored
-
Laszlo Agocs authored
color only
-
- 04 Dec, 2018 1 commit
-
-
Laszlo Agocs authored
Let's pretend it's 2008 and forget about multisample textures for a moment. Therefore, add support for color renderbuffers. These are only useful when sample count is > 1 i.e. multisampling is requested. In combination with the yet-to-be-added resolve operation this would allow doing msaa offscreen rendering on GLES 3.0 (or GLES 2.0 with extensions) systems as well (those do not have multisample textures) Backends other than gl just use a texture under the hood. With OpenGL we use a renderbuffer, however, not a texture. This may seem like a horrible waste of time but will eventually be helpful to get a port of Qt Quick that is feature-wise identical to today's OpenGL path, without changing the OpenGL version requirements. Introduces isFeatureSupported, so examples like msaatexture can conveniently qFatal (hehe) when the GL backend reports multisample textures are not supported. While we are at it, make some examples nicer by not having to repeat releasing resources one by one. The example (msaarenderbuffer) is not finished yet since adding support for resolve (vkCmdResolveImage, glBlitFrameBuffer, etc.) is a future task.
-
- 03 Dec, 2018 4 commits
-
-
Laszlo Agocs authored
...including some buffer upload improvements...
-
Laszlo Agocs authored
...and fix up the whole res update system for d3d and gl. (make it go through the (fake) command buffer like everything else)
-
Laszlo Agocs authored
-
Laszlo Agocs authored
hints -> flags for rt, add sampleCount for tex
-
- 01 Dec, 2018 1 commit
-
-
Laszlo Agocs authored
...for non-compressed textures.
-
- 30 Nov, 2018 6 commits
-
-
Laszlo Agocs authored
-
Laszlo Agocs authored
Color only, one subres at a time, transitions between transfer and shader-read every time. For the common cases this is good enough, to be explored later if it could be made smarter.
-
Laszlo Agocs authored
...in order to make the api nicer. Does not affect the internals.
-
Laszlo Agocs authored
With an example.
-
Laszlo Agocs authored
-
Laszlo Agocs authored
-
- 27 Nov, 2018 2 commits
-
-
Laszlo Agocs authored
-
Laszlo Agocs authored
-
- 26 Nov, 2018 2 commits
-
-
Laszlo Agocs authored
-
Laszlo Agocs authored
-
- 25 Nov, 2018 1 commit
-
-
Laszlo Agocs authored
-
- 23 Nov, 2018 2 commits
-
-
Laszlo Agocs authored
not yet implemented
-
Laszlo Agocs authored
only implemented for Vulkan for now
-
- 22 Nov, 2018 3 commits
-
-
Laszlo Agocs authored
-
Laszlo Agocs authored
...and related plumbing here and there.
-
Laszlo Agocs authored
-
- 14 Nov, 2018 2 commits
-
-
Laszlo Agocs authored
-
Laszlo Agocs authored
-
- 11 Nov, 2018 1 commit
-
-
Laszlo Agocs authored
-
- 09 Nov, 2018 1 commit
-
-
Laszlo Agocs authored
...instead of ChangeInfrequently. This way the common case (not changing the image data afterwards) is the default.
-
- 08 Nov, 2018 2 commits
-
-
Laszlo Agocs authored
Only downside is that values other than 1 are not supported with Vulkan 1.0.
-
Laszlo Agocs authored
-
- 01 Nov, 2018 1 commit
-
-
Laszlo Agocs authored
-
- 30 Oct, 2018 1 commit
-
-
Laszlo Agocs authored
-
- 29 Oct, 2018 4 commits
-
-
Laszlo Agocs authored
While we are at it, rename QRhiRenderPass to QRhiRenderPassDescriptor because renderpass on its own is a somwhat misleading naming.
-
Laszlo Agocs authored
-
Laszlo Agocs authored
-
Laszlo Agocs authored
...and add the - for now - unused buildCompatibleRenderPass functions.
-
- 28 Oct, 2018 1 commit
-
-
Laszlo Agocs authored
It is for internal use only.
-
- 27 Oct, 2018 1 commit
-
-
Laszlo Agocs authored
-
- 26 Oct, 2018 1 commit
-
-
Laszlo Agocs authored
-