Jean-Philip Desjardins
|
10ee031d27
|
Fixed some crashes and edge cases.
|
2021-09-28 10:57:05 -04:00 |
|
Jean-Philip Desjardins
|
4c4e0341e0
|
Remove some macOS specific changes.
Does not seem necessary anymore and makes everything more stable.
|
2021-03-31 13:12:24 -04:00 |
|
Jean-Philip Desjardins
|
dd9c4c9be2
|
Handle some edge cases with swap chain handling.
Should fix crashing that could occur when quitting the emulator.
|
2021-03-31 10:24:34 -04:00 |
|
Jean-Philip Desjardins
|
47af30f7bb
|
Tweak presenting mode.
We don't care about VSync that much now that we have the frame limiter. FIFO seems to have its toll on frame rate.
|
2021-03-30 16:01:36 -04:00 |
|
Jean-Philip Desjardins
|
77791ab8d1
|
Make memory types explicit.
|
2021-03-30 16:01:36 -04:00 |
|
Jean-Philip Desjardins
|
29d72a5bfa
|
Use a different minImageCount on macOS.
Caps frame rate to 60.
|
2020-12-20 11:43:18 -05:00 |
|
Jean-Philip Desjardins
|
e642fb63c6
|
Remove annoying asserts.
|
2020-03-11 19:27:49 -04:00 |
|
Jean-Philip Desjardins
|
01a0bf5634
|
Code style fixes.
|
2020-01-31 09:34:48 -05:00 |
|
Jean-Philip Desjardins
|
93a05d1e76
|
Implement presentation params.
|
2020-01-25 20:59:52 -05:00 |
|
Jean-Philip Desjardins
|
910a6e30bc
|
Recreate swapchain if presentation size changed.
|
2020-01-25 18:31:19 -05:00 |
|
Jean-Philip Desjardins
|
d56975a7bb
|
Create & destroy semaphore at same time as swap chain.
|
2020-01-25 18:31:19 -05:00 |
|
Jean-Philip Desjardins
|
e74cd4a4a6
|
Add missing PSMCT16 cases.
|
2020-01-25 18:31:17 -05:00 |
|
Jean-Philip Desjardins
|
a36e659805
|
Fix command buffer leak.
|
2020-01-25 18:31:16 -05:00 |
|
Jean-Philip Desjardins
|
06dde28036
|
Allow more than one frame to be in-flight.
|
2020-01-25 18:31:16 -05:00 |
|
Jean-Philip Desjardins
|
a49a8a57ab
|
Save Present descriptor sets.
|
2020-01-25 18:31:15 -05:00 |
|
Jean-Philip Desjardins
|
1099ea840f
|
Fix warnings.
|
2020-01-25 18:31:12 -05:00 |
|
Jean-Philip Desjardins
|
ae4b7bf6c8
|
Use buffer for GS memory.
Atomic operations are not supported on images on Metal.
|
2020-01-25 18:31:10 -05:00 |
|
Jean-Philip Desjardins
|
f9fa7579c1
|
Handle PSMCT24 in present.
|
2020-01-25 18:31:10 -05:00 |
|
Jean-Philip Desjardins
|
bbcfca31f2
|
Allow presenting PSMCT16S framebuffers.
|
2020-01-25 18:31:10 -05:00 |
|
Jean-Philip Desjardins
|
665f594081
|
Code style fixes.
|
2020-01-25 18:31:09 -05:00 |
|
Jean-Philip Desjardins
|
1c1b515f7b
|
Handle out of date swapchain.
|
2020-01-25 18:31:08 -05:00 |
|
Jean-Philip Desjardins
|
bafea34d40
|
Use push constants for present parameters.
|
2020-01-25 18:31:08 -05:00 |
|
Jean-Philip Desjardins
|
309593d300
|
Use swizzle tables for memory accesses.
|
2020-01-25 18:31:08 -05:00 |
|
Jean-Philip Desjardins
|
59564e27a1
|
Add GetPixelAddress helper.
|
2020-01-25 18:31:05 -05:00 |
|
Jean-Philip Desjardins
|
7cb4730d2f
|
Add memory read/write utils.
|
2020-01-25 18:31:05 -05:00 |
|
Jean-Philip Desjardins
|
0957f6669d
|
Add memory utils.
|
2020-01-25 18:31:05 -05:00 |
|
Jean-Philip Desjardins
|
a6315d1a16
|
Flip Y output render.
|
2020-01-25 18:31:04 -05:00 |
|
Jean-Philip Desjardins
|
966f03a03e
|
Update memory management code.
|
2020-01-25 18:31:04 -05:00 |
|
Jean-Philip Desjardins
|
ae419e8f84
|
Present now shows display framebuffer area.
|
2020-01-25 18:31:04 -05:00 |
|
Jean-Philip Desjardins
|
1f4d3f9cda
|
Free vertex buffer properly.
|
2020-01-25 18:31:04 -05:00 |
|
Jean-Philip Desjardins
|
7ebcedb971
|
Use buffer helper.
|
2020-01-25 18:31:03 -05:00 |
|
Jean-Philip Desjardins
|
e073fdab56
|
More color channels.
|
2020-01-25 18:31:03 -05:00 |
|
Jean-Philip Desjardins
|
cc9b421b36
|
Move reseting.
|
2020-01-25 18:31:02 -05:00 |
|
Jean-Philip Desjardins
|
c97106b5bc
|
Draw triangles with input colors.
|
2020-01-25 18:31:02 -05:00 |
|
Jean-Philip Desjardins
|
cdbe06f6e5
|
Remove test code.
|
2020-01-25 18:31:02 -05:00 |
|
Jean-Philip Desjardins
|
21f65f6aab
|
Some shades of red.
|
2020-01-25 18:31:02 -05:00 |
|
Jean-Philip Desjardins
|
5b9048aeb6
|
Different shade of red.
|
2020-01-25 18:31:01 -05:00 |
|
Jean-Philip Desjardins
|
49d5a6da48
|
Test storage image reading.
|
2020-01-25 18:31:01 -05:00 |
|
Jean-Philip Desjardins
|
8e68e3899e
|
Create descriptor set layout for draw pipeline.
|
2020-01-25 18:31:01 -05:00 |
|
Jean-Philip Desjardins
|
12ee4f1510
|
Moved all presentation related code in a class.
|
2020-01-25 18:31:01 -05:00 |
|
Jean-Philip Desjardins
|
3869c193cd
|
First triangle draw!
|
2020-01-25 18:31:01 -05:00 |
|
Jean-Philip Desjardins
|
a653fd3f20
|
Basic shaders and graphics pipeline.
|
2020-01-25 18:31:00 -05:00 |
|