Implement GPU Control

Reporter: RobertBColton  |  Status: open  |  Last Modified: December 21, 2020, 12:44:01 AM

This outlines the GPU functions from GMS2 which are basically a combination of all the legacy render states grouped under the same C namespace with adding mipmapping controls. Since later I think we will rearrange the legacy d3d functions to call to the gpu functions, I did not implement any of the getters yet. The setters for right now simply call the existing d3d functions. They added some render state constants like I had done to ENIGMA originally. I decided to drop ours in place of theirs for compatibility (luckily they align to same values anyway).
codecov[bot]  
>Codecov Report

Merging #2176 (cedaa71) into master (e273f89) will decrease coverage by 0.21%.
The diff coverage is 1.49%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2176      +/-   ##
==========================================
- Coverage   32.89%   32.67%   -0.22%     
==========================================
  Files         197      198       +1     
  Lines       19062    19189     +127     
==========================================
  Hits         6270     6270              
- Misses      12792    12919     +127     
Impacted Files Coverage Δ
...GMAsystem/SHELL/Graphics_Systems/General/GSgpu.cpp 0.00% <0.00%> (ø)
...GMAsystem/SHELL/Graphics_Systems/General/GSd3d.cpp 10.97% <20.00%> (ø)
...system/SHELL/Graphics_Systems/General/GSscreen.cpp 61.70% <50.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e273f89...cedaa71. Read the comment docs.

Please sign in to post comments, or you can view this issue on GitHub.