- 10 Aug, 2023 13 commits
-
-
Zebediah Figura authored
For discard maps on deferred contexts, we currently blit from the upload buffer to the resource. This is necessary because command lists can be reused and submitted multiple times—we cannot simply have the buffer take ownership, as for discard maps on immediate contexts. However, it is very common for applications to use command lists only once before throwing them away—in essence taking advantage of the feature only for the multithreading advantages it allows. Therefore we take advantage of this pattern by trying to rename the buffer anyway. In order to do this we introduce a refcount for BO pointers. When writing to a buffer BO, we first check whether the buffer "owns" the BO—i.e. whether it has a refcount of 1—and if not, we create a new BO for the buffer and copy the contents of the old BO to the new BO. That is, we perform mostly-transparent copy-on-write. This improves performance, and reduces CPU usage, in Assassin's Creed: Unity.
-
Zebediah Figura authored
Mostly just because wined3d_context_vk_apply_draw_state() is large and it's nice to split it up a bit.
-
Zebediah Figura authored
This makes it easier to invalidate in the case where multiple resources share the same BO, which in turn is necessary to implement copy-on-write semantics for BOs. This is also necessary if we ever want to evict resources which have views, although it's not clear if this will ever be necessary. If nothing else, though, it removes that implicit dependency.
-
Zebediah Figura authored
-
Zebediah Figura authored
-
Nikolay Sivov authored
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
-
Jeff Smith authored
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
-
Jeff Smith authored
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
-
Jeff Smith authored
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
-
Jeff Smith authored
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
-
Jeff Smith authored
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
-
Zebediah Figura authored
Fixes: c065b4fe
-
Evan Tang authored
-
- 08 Aug, 2023 27 commits
-
-
Vitaly Lipatov authored
-
Vitaly Lipatov authored
-
Zhiyi Zhang authored
-
Zhiyi Zhang authored
-
Mohamad Al-Jaf authored
Needed for MS Office 365.
-
Mohamad Al-Jaf authored
-
Mohamad Al-Jaf authored
-
Mohamad Al-Jaf authored
-
Mohamad Al-Jaf authored
-
Bernhard Kölbl authored
Signed-off-by: Bernhard Kölbl <bkoelbl@codeweavers.com>
-
Bernhard Kölbl authored
Signed-off-by: Bernhard Kölbl <bkoelbl@codeweavers.com>
-
Bernhard Kölbl authored
Do this by waiting for the first available frame with a separate ready event and removing flaky ref checks. Signed-off-by: Bernhard Kölbl <bkoelbl@codeweavers.com>
-
Ilia Docin authored
Sane backends must attach a unit of either pixels or millimeters to scan area options.
-
Jeff Smith authored
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
-
Jeff Smith authored
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
-
Jeff Smith authored
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
-
Jeff Smith authored
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
-
Jeff Smith authored
The result of abs(INT_MIN) is INT_MIN, which breaks the ulps comparison.
-
Sven Baars authored
-
Sven Baars authored
-
Sven Baars authored
-
Davide Beatrici authored
-
Davide Beatrici authored
-
Davide Beatrici authored
-
Davide Beatrici authored
-
Gabriel Ivăncescu authored
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
-
Gabriel Ivăncescu authored
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
-