Generic Screen Copy

Reporter: RobertBColton  |  Status: open  |  Last Modified: February 17, 2019, 05:04:34 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

Merging #1443 into master will decrease coverage by 0.35%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1443      +/-   ##
==========================================
- Coverage    17.6%   17.24%   -0.36%     
==========================================
  Files         166      162       -4     
  Lines       17134    17040      -94     
==========================================
- Hits         3016     2939      -77     
+ Misses      14118    14101      -17
Impacted Files Coverage Δ
...system/SHELL/Graphics_Systems/OpenGL1/GLscreen.cpp 93.33% <ø> (+34.76%) ⬆️
...MAsystem/SHELL/Graphics_Systems/General/GSstdraw.h 0% <ø> (ø) ⬆️
...system/SHELL/Graphics_Systems/General/GSsprite.cpp 0% <0%> (-6.16%) ⬇️
...em/SHELL/Graphics_Systems/General/GSbackground.cpp 0% <0%> (ø) ⬆️
...system/SHELL/Graphics_Systems/OpenGL1/GLstdraw.cpp 0.97% <0%> (+0.05%) ⬆️
ENIGMAsystem/SHELL/Universal_System/random.cpp 18.91% <0%> (-64.87%) ⬇️
.../SHELL/Universal_System/Extensions/GTest/GTest.cpp 42.1% <0%> (-31.58%) ⬇️
...MAsystem/SHELL/Platforms/General/POSIX/Utility.cpp 68.67% <0%> (-8.36%) ⬇️
...em/SHELL/Graphics_Systems/General/GSprimitives.cpp 60.19% <0%> (-4.86%) ⬇️
... and 28 more

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 112dc54...68bbca0. Read the comment docs.

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