Henrik Rydgård
|
1ae7c0132c
|
Start unifying setting of the GPU feature flags, now that thin3d has feature detection.
|
2022-09-20 10:07:01 +02:00 |
|
Unknown W. Brackets
|
c581a83896
|
GPU: Centralize SetDisplayFramebuffer().
|
2022-08-23 19:29:06 -07:00 |
|
Henrik Rydgård
|
82a6c42e17
|
DepalettizeCommon -> TextureShaderCommon. Simplifications.
|
2022-08-22 12:21:20 +02:00 |
|
Henrik Rydgård
|
ded8ba8806
|
More cleanup, fixes.
|
2022-08-06 18:27:04 +02:00 |
|
Henrik Rydgård
|
b5597d1013
|
Remove Vulkan2D
|
2022-08-06 18:27:03 +02:00 |
|
Henrik Rydgård
|
87b128ecaf
|
Compiles on Vulkan, but doesn't yet work.
|
2022-08-06 18:27:03 +02:00 |
|
Unknown W. Brackets
|
8a5f07b860
|
Vulkan: Don't cache vulkan_ with draw context.
Since we can get the VulkanContext cheaply from the draw context, it's
easier to make sure things stay up to date.
|
2021-11-14 15:25:28 -08:00 |
|
Henrik Rydgård
|
025bcb1673
|
Introduce Path, start using it all over the place.
Still lots left to convert!
Convert GetSysDirectory to return Path.
More buildfixing
Remove unnecessary Path( constructors
|
2021-05-13 10:39:16 +02:00 |
|
Henrik Rydgård
|
5190f85c8e
|
Unify/centralize SetFramebufferSamplingParams. Some include cleanup.
|
2020-09-14 00:04:39 +02:00 |
|
Unknown W. Brackets
|
cebcfb1bbd
|
GPU: Use old frame when presenting a skip.
If we flip using a skipped frame, we may show an even older frame causing
weird flickering.
|
2020-03-01 13:55:28 -08:00 |
|
Unknown W. Brackets
|
3c1e8abcfe
|
GPU: Centralize vsync interval logic.
We already do unthrottle checking here.
|
2020-02-29 22:27:00 -08:00 |
|
Henrik Rydgård
|
653afeb7ab
|
Vulkan: Implement basic integrated GPU profiling.
Currently simply measures the total GPU time of the frame. Will later be
extended to get the execution time of individual render passes.
|
2019-08-21 00:03:00 +02:00 |
|
Unknown W. Brackets
|
40ca49d0e3
|
GPU: Cancel shader preload on shutdown/lost.
Otherwise, we could've ended up with shaders loading after or during the
lost event, and dense hash map corruption.
|
2018-10-30 20:32:12 -07:00 |
|
Unknown W. Brackets
|
7ae4a9e977
|
Vulkan: Load shaders/pipelines on thread.
In case it's slow when not reading raw cache data.
|
2018-03-17 07:42:07 -07:00 |
|
Henrik Rydgård
|
614cabb115
|
Implement pipeline/shader cache for Vulkan, to avoid shader compile stutters on second and subsequent runs.
The raw pipeline cache got pretty large. Instead, store IDs like GL.
There's still a disabled option to store the pipeline cache objects.
|
2018-03-16 21:03:03 +01:00 |
|
Henrik Rydgård
|
7a8310ae5e
|
Tiny unification of code. Save the GL shader cache a bit less often.
|
2018-03-13 13:35:58 +01:00 |
|
Henrik Rydgård
|
64ec46e705
|
Unify FramebufferDirty()/FramebufferReallyDirty() for the hw backends
|
2018-02-26 11:58:17 +01:00 |
|
Henrik Rydgård
|
78467d6092
|
Unify FastRunLoop for the hardware backends.
|
2018-02-26 11:52:16 +01:00 |
|
Henrik Rydgård
|
6a2f45c2e1
|
Unify UpdateCmdInfo
|
2018-02-26 11:48:56 +01:00 |
|
Henrik Rydgård
|
8cef1f0f8d
|
GPU: Unify command table (cmdInfo_)
|
2018-02-26 11:44:02 +01:00 |
|
Henrik Rydgård
|
a8a34fef9c
|
Virtualize CheckGPUFeatures
|
2018-02-26 11:35:37 +01:00 |
|
Henrik Rydgård
|
967018b7f8
|
Unify Execute_LoadClut
|
2018-02-26 11:32:02 +01:00 |
|
Henrik Rydgård
|
c7f8f4c5ca
|
Unify Execute_Prim
|
2018-02-26 11:22:27 +01:00 |
|
Unknown W. Brackets
|
4b8d8c875d
|
Qt: Remove old texture debug API.
No one's testing it and it's not the best way. We have a better
implemented API and should use it instead.
|
2018-02-19 09:09:35 -08:00 |
|
Henrik Rydgård
|
c60c8ed68a
|
Debug visualization for the Vulkan memory allocator. Shows some interesting behaviour.
|
2018-01-29 19:38:10 +01:00 |
|
Henrik Rydgård
|
d4df0181db
|
More duplicate code removal
|
2017-11-14 09:20:36 +01:00 |
|
Henrik Rydgård
|
2261029536
|
Delete unused duplicate functions
|
2017-11-13 15:57:59 +01:00 |
|
Henrik Rydgård
|
04e313ecba
|
Unify Execute_Bezier and Execute_Spline
|
2017-11-13 10:45:27 +01:00 |
|
Henrik Rydgård
|
378e01625c
|
Fix a few more device-loss bugs.
|
2017-11-10 15:10:36 +01:00 |
|
Henrik Rydgård
|
8c69be9bfa
|
Get rid of GPUCommon's "Internal" functions.
|
2017-11-05 23:21:52 +01:00 |
|
Henrik Rydgård
|
6a8f72a327
|
Use the global curFrame counter. No need for a vector for pushing cmdbufs.
|
2017-11-01 08:47:50 +01:00 |
|
Henrik Rydgård
|
65e23bb9f3
|
Some reorganization. Start implementing framebuffer depal for Vulkan.
|
2017-10-31 12:34:31 +01:00 |
|
Henrik Rydgård
|
b886efe8f5
|
Another minor cleanup (DescribeCodePtr)
|
2017-10-20 11:06:12 +02:00 |
|
Henrik Rydgård
|
4a30aedc53
|
Unify and move around code to cleanup some debug accessors
|
2017-10-18 13:10:05 +02:00 |
|
Henrik Rydgård
|
d53c88456a
|
Unify GetFramebufferList() (trivial)
|
2017-10-18 12:49:15 +02:00 |
|
Henrik Rydgård
|
2f85e6516e
|
Minor optimizations (use the new hashmap in a few more places)
|
2017-08-20 19:18:46 +02:00 |
|
Unknown W. Brackets
|
4a56e6ff83
|
GE Debugger: Fix recording in softgpu.
|
2017-06-04 10:38:58 -07:00 |
|
Unknown W. Brackets
|
dca75437c3
|
GPU: Refactor common frame dumping code.
|
2017-06-03 15:29:07 -07:00 |
|
Henrik Rydgård
|
665a2c04cb
|
Implement software skinning for the Vulkan backend. Fixes #9753
|
2017-06-02 11:47:14 +02:00 |
|
Henrik Rydgård
|
2b93338255
|
Vulkan backend: Fix various issues, can almost run in buffered now (except the final blit)
|
2017-05-30 09:36:17 +02:00 |
|
Henrik Rydgard
|
0d1d6f98e4
|
Pass in the DrawContext to all backends
|
2017-01-30 20:26:47 +01:00 |
|
Henrik Rydgard
|
182d87cc15
|
Minor cleanup in GPU dispatch tables
|
2017-01-28 12:11:56 +01:00 |
|
Henrik Rydgard
|
ab6bc4cb16
|
Restores a lost optimization from uv prescale - avoiding flushing. Should fix #9219.
Also #ifdef away some invalid-address checks in hot paths in the GPU.
|
2017-01-28 11:39:34 +01:00 |
|
Henrik Rydgard
|
d85888dc2b
|
Table-driven dirty-flags for Vulkan and D3D9. Minor Vulkan optimization.
|
2017-01-24 18:12:20 +01:00 |
|
Henrik Rydgard
|
1fe32d380b
|
Update lots of dirty-flag table entries
|
2017-01-24 18:12:20 +01:00 |
|
Henrik Rydgard
|
068f2d3c71
|
Remove Execute_Generic in both D3D9 and Vulkan backends
|
2017-01-24 18:12:20 +01:00 |
|
Henrik Rydgard
|
f111767315
|
Workaround the lack of support for software skinning in Vulkan
|
2017-01-23 22:06:30 +01:00 |
|
Henrik Rydgard
|
daf02f1de6
|
Centralize the matrix load functions, no need to duplicate them for each backend.
|
2017-01-23 21:11:39 +01:00 |
|
Henrik Rydgard
|
3c221a7ebd
|
Extract the dirty flag from the shader managers so code that dirties uniform flags can be shared.
|
2017-01-23 21:11:39 +01:00 |
|
Henrik Rydgard
|
bd4436c6eb
|
Centralize EstimatePerVertexCost and Execute_BlockTransferStart
|
2017-01-23 17:22:17 +01:00 |
|