Generic Screen Copy

Reporter: RobertBColton  |  Status: closed  |  Last Modified: May 15, 2019, 01:21:23 AM

This is a recreation of #1343 which got stale from Josh rewriting history.

  • Deletes a bunch of unused includes and garbage
  • Defines a standard int* draw_getpixels(int x, int y, int w, int h); function to efficiently read entire blocks of the screen at a single time
  • Moves the following functions to general sources:
    • background_create_from_screen
    • sprite_create_from_screen
    • sprite_add_from_screen
    • screen_save
    • screen_save_part
  • <
codecov[bot]  
>Codecov Report

❗️ No coverage uploaded for pull request base (master@81d745b). Click here to learn what that means.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1443   +/-   ##
=========================================
  Coverage          ?   17.24%           
=========================================
  Files             ?      162           
  Lines             ?    17040           
  Branches          ?        0           
=========================================
  Hits              ?     2939           
  Misses            ?    14101           
  Partials          ?        0
Impacted Files Coverage Δ
...system/SHELL/Graphics_Systems/OpenGL1/GLscreen.cpp 93.33% <ø> (ø)
...MAsystem/SHELL/Graphics_Systems/General/GSstdraw.h 0% <ø> (ø)
...system/SHELL/Graphics_Systems/General/GSsprite.cpp 0% <0%> (ø)
...em/SHELL/Graphics_Systems/General/GSbackground.cpp 0% <0%> (ø)
...system/SHELL/Graphics_Systems/OpenGL1/GLstdraw.cpp 0.97% <0%> (ø)

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 81d745b...8081b10. Read the comment docs.

RobertBColton  

Closing as stale, I'm going to redo it after #1722 is merged.
Please sign in to post comments, or you can view this issue on GitHub.