renderer: small refactor for using base_format directly.
renderer: add get color base format.
renderer: add get bits per pixel for color format.
Co-authored-by: pent0 <fewdspuckrito@gmail.com>
Not for deferred, only for immediate for now. This is a stepping place for separate command list
- Separate command list may not be used or intentionally malliciously abadoned, leading to memory leak if we gonna allocate using new operator from C++
- This one changes some stuffs so:
* Allow change pointer of data when command execute process is launched, result in command only have extra c++ side data when it's certain to be executed, no more memory leak scary
* Depend on VDM buffer of the guest provided to build up command list, using the mspace algorithm. Because graphics is a real-time application, with command being allocated at very fast rate, I use mspace for fast speed, not using the mempool
* cmake: Add NOMINMAX globally to avoid Windows compilation issues with std::min/std::max
* main/net: add missing include files
* rtc: Remove convert_filetime/convert_timespec functions as they have been replaced with _wstat/stat
* external: Update better-enums to tag "0.11.3"
* external: Update CLI11 to tag "v1.9.1"
* external: Update elfio to tag "Release_3.8"
* external: Update glad to tag "0.1.34"
* external: Update googletest to tag "release-1.10.0"
* external: Update imgui to tag "v1.80"
* external: Update imgui_club
* external: Update miniz to tag "2.1.0"
* external: Update pugixml to tag "v1.11.4"
* external: Update spdlog to tag "v1.8.2"
* external: Update stb
* external: Update yaml-cpp to tag "yaml-cpp-0.6.3"
* external: Switch to vitasdk/vita-toolchain
* external: Refactor xxHash integration