feature/imgui-sdl
Last change
on this file since 27e580e was 27e580e, checked in by Dmitry Portnoy <dportnoy@…>, 2 years ago |
Stop using SDL_ttf
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | Go back to the original sdl+vulkan example and check if I have made any differences to my copies of the sdl implementation and vulkan implementation classes.
|
---|
2 |
|
---|
3 | Confirm the following:
|
---|
4 |
|
---|
5 | I believe minImageCount is basically hard-coded to 2 right now. There is code to set it based on the present mode, but that only runs if the image count is set to 0 initially, so will only run when that is done and some asserts checking that the min image count is >= 2 are removed.
|
---|
6 |
|
---|
7 | There is also a check that caps the swapchain min image count between the min and max image count returned by the surface capabilities. Verify that I can instead run this check on g_minImageCount directly (this is true if g_minImageCount isn't used for anything else).
|
---|
8 |
|
---|
9 | CONCLUSION
|
---|
10 | ===========
|
---|
11 |
|
---|
12 | Everything above has been confirmed
|
---|
13 |
|
---|
14 | Since the VkSurface is only ever created once, I think the min and max images for it shouldn't change, so I should be able to check those values once at the start of the program and not worry about them again.
|
---|
15 |
|
---|
16 | This means that I could also probably keep using the structure I had that stored the surface capabilities, surface format, and present mode.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.