yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0
This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
yuzu-android/src/video_core/buffer_cache
ReinUsesLisp 9d8ca6cc4a buffer_base: Add support for cached CPU writes
Some games usually write memory pages currently used by the GPU, causing
rendering issues (e.g. flashing geometry and shadows on Link's
Awakening). To workaround this issue, Guest CPU writes are delayed until
the command buffer finishes processing, but the pages are updated
immediately.

The overall behavior is:
- CPU writes are cached until they are flushed, they update the page
  state, but don't change the modification state. Cached writes stop
  pages from being flushed, in case games have meaningful data in it.
- Command processing writes (e.g. push constants) update the page state
  and are marked to the command processor as dirty. They don't remove
  the state of cached writes.
2021-02-13 02:15:29 -03:00
..
buffer_base.h buffer_base: Add support for cached CPU writes 2021-02-13 02:15:29 -03:00
buffer_block.h buffer_block: Mark interface as nodiscard where applicable 2020-12-07 01:53:40 -05:00
buffer_cache.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
map_interval.cpp map_interval: Add interval allocator and drop hack 2020-05-21 16:44:00 -03:00
map_interval.h map_interval: Change field order to address uninitialized field warning 2020-12-06 18:37:23 -05:00