Documentation of the footprint #defines
authorSylvain Becker <sylvain.becker@gmail.com>
Wed, 22 Jan 2020 15:23:44 +0100
changeset 13437fe0c632448f0
parent 13436 2f35731b8d70
child 13438 f4bfe36ed496
Documentation of the footprint #defines
src/SDL_internal.h
     1.1 --- a/src/SDL_internal.h	Tue Jan 21 17:40:16 2020 -0500
     1.2 +++ b/src/SDL_internal.h	Wed Jan 22 15:23:44 2020 +0100
     1.3 @@ -52,15 +52,47 @@
     1.4  #include "SDL_config.h"
     1.5  
     1.6  /* A few #defines to reduce SDL2 footprint.
     1.7 -   Only applied when library is statically linked */
     1.8 +   Only effective when library is statically linked.
     1.9 +   You have to manually edit this file. */
    1.10 +
    1.11 +/* Optimized functions from 'SDL_blit_0.c'
    1.12 +   - blit with source BitsPerPixel < 8, palette */
    1.13  #define SDL_HAVE_BLIT_0                 1
    1.14 +
    1.15 +/* Optimized functions from 'SDL_blit_1.c'
    1.16 +   - blit with source BytesPerPixel == 1, palette */
    1.17  #define SDL_HAVE_BLIT_1                 1
    1.18 +
    1.19 +/* Optimized functions from 'SDL_blit_A.c'
    1.20 +   - blit with 'SDL_BLENDMODE_BLEND' blending mode */
    1.21  #define SDL_HAVE_BLIT_A                 1
    1.22 +
    1.23 +/* Optimized functions from 'SDL_blit_N.c'
    1.24 +   - blit with COLORKEY mode, or nothing */
    1.25  #define SDL_HAVE_BLIT_N                 1
    1.26 +
    1.27 +/* Optimized functions from 'SDL_blit_N.c'
    1.28 +   - RGB565 conversion with Lookup tables */
    1.29  #define SDL_HAVE_BLIT_N_RGB565          1
    1.30 +
    1.31 +/* Optimized functions from 'SDL_blit_AUTO.c'
    1.32 +   - blit with modulate color, modulate alpha, any blending mode
    1.33 +   - scaling or not */
    1.34  #define SDL_HAVE_BLIT_AUTO              1
    1.35 +
    1.36 +/* Run-Length-Encoding
    1.37 +   - SDL_SetColorKey() called with SDL_RLEACCEL flag */
    1.38  #define SDL_HAVE_RLE                    1
    1.39 +
    1.40 +/* Software SDL_Renderer
    1.41 +   - creation of software renderer
    1.42 +   - *not* general blitting functions
    1.43 +   - {blend,draw}{fillrect,line,point} internal functions */
    1.44  #define SDL_VIDEO_RENDER_SW             1
    1.45 +
    1.46 +/* YUV formats
    1.47 +   - handling of YUV surfaces
    1.48 +   - blitting and conversion functions */
    1.49  #define SDL_HAVE_YUV                    1
    1.50  
    1.51  #endif /* SDL_internal_h_ */