Last active
September 9, 2024 06:49
-
-
Save icculus/565ba73ad134ede12905b26792963693 to your computer and use it in GitHub Desktop.
Output of wikiheaders.pl --report-coverage-gaps with red herrings like SDL_oldnames.h, SDL_test*, and SDL_opengl*, etc, trimmed out.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(SDL_gpu.h is in-progress elsewhere, but is not yet complete; I've removed it from this file for now.) | |
SDL_stdinc.h:78: # define SDL_SIZE_MAX SIZE_MAX | |
SDL_stdinc.h:80: # define SDL_SIZE_MAX ((size_t) -1) | |
SDL_stdinc.h:89: #define SDL_HAS_BUILTIN(x) __has_builtin(x) | |
SDL_stdinc.h:91: #define SDL_HAS_BUILTIN(x) 0 | |
SDL_stdinc.h:322: #define SDL_PRIs64 "I64d" | |
SDL_stdinc.h:324: #define SDL_PRIs64 PRIs64 | |
SDL_stdinc.h:326: #define SDL_PRIs64 "ld" | |
SDL_stdinc.h:328: #define SDL_PRIs64 "lld" | |
SDL_stdinc.h:333: #define SDL_PRIu64 "I64u" | |
SDL_stdinc.h:335: #define SDL_PRIu64 PRIu64 | |
SDL_stdinc.h:337: #define SDL_PRIu64 "lu" | |
SDL_stdinc.h:339: #define SDL_PRIu64 "llu" | |
SDL_stdinc.h:344: #define SDL_PRIx64 "I64x" | |
SDL_stdinc.h:346: #define SDL_PRIx64 PRIx64 | |
SDL_stdinc.h:348: #define SDL_PRIx64 "lx" | |
SDL_stdinc.h:350: #define SDL_PRIx64 "llx" | |
SDL_stdinc.h:355: #define SDL_PRIX64 "I64X" | |
SDL_stdinc.h:357: #define SDL_PRIX64 PRIX64 | |
SDL_stdinc.h:359: #define SDL_PRIX64 "lX" | |
SDL_stdinc.h:361: #define SDL_PRIX64 "llX" | |
SDL_stdinc.h:366: #define SDL_PRIs32 PRId32 | |
SDL_stdinc.h:368: #define SDL_PRIs32 "d" | |
SDL_stdinc.h:373: #define SDL_PRIu32 PRIu32 | |
SDL_stdinc.h:375: #define SDL_PRIu32 "u" | |
SDL_stdinc.h:380: #define SDL_PRIx32 PRIx32 | |
SDL_stdinc.h:382: #define SDL_PRIx32 "x" | |
SDL_stdinc.h:387: #define SDL_PRIX32 PRIX32 | |
SDL_stdinc.h:389: #define SDL_PRIX32 "X" | |
SDL_stdinc.h:395: #define SDL_IN_BYTECAP(x) | |
SDL_stdinc.h:396: #define SDL_INOUT_Z_CAP(x) | |
SDL_stdinc.h:397: #define SDL_OUT_Z_CAP(x) | |
SDL_stdinc.h:398: #define SDL_OUT_CAP(x) | |
SDL_stdinc.h:399: #define SDL_OUT_BYTECAP(x) | |
SDL_stdinc.h:400: #define SDL_OUT_Z_BYTECAP(x) | |
SDL_stdinc.h:401: #define SDL_PRINTF_FORMAT_STRING | |
SDL_stdinc.h:402: #define SDL_SCANF_FORMAT_STRING | |
SDL_stdinc.h:403: #define SDL_PRINTF_VARARG_FUNC( fmtargnumber ) | |
SDL_stdinc.h:404: #define SDL_PRINTF_VARARG_FUNCV( fmtargnumber ) | |
SDL_stdinc.h:405: #define SDL_SCANF_VARARG_FUNC( fmtargnumber ) | |
SDL_stdinc.h:406: #define SDL_SCANF_VARARG_FUNCV( fmtargnumber ) | |
SDL_stdinc.h:407: #define SDL_WPRINTF_VARARG_FUNC( fmtargnumber ) | |
SDL_stdinc.h:408: #define SDL_WSCANF_VARARG_FUNC( fmtargnumber ) | |
SDL_stdinc.h:413: #define SDL_IN_BYTECAP(x) _In_bytecount_(x) | |
SDL_stdinc.h:414: #define SDL_INOUT_Z_CAP(x) _Inout_z_cap_(x) | |
SDL_stdinc.h:415: #define SDL_OUT_Z_CAP(x) _Out_z_cap_(x) | |
SDL_stdinc.h:416: #define SDL_OUT_CAP(x) _Out_cap_(x) | |
SDL_stdinc.h:417: #define SDL_OUT_BYTECAP(x) _Out_bytecap_(x) | |
SDL_stdinc.h:418: #define SDL_OUT_Z_BYTECAP(x) _Out_z_bytecap_(x) | |
SDL_stdinc.h:420: #define SDL_PRINTF_FORMAT_STRING _Printf_format_string_ | |
SDL_stdinc.h:421: #define SDL_SCANF_FORMAT_STRING _Scanf_format_string_impl_ | |
SDL_stdinc.h:423: #define SDL_IN_BYTECAP(x) | |
SDL_stdinc.h:424: #define SDL_INOUT_Z_CAP(x) | |
SDL_stdinc.h:425: #define SDL_OUT_Z_CAP(x) | |
SDL_stdinc.h:426: #define SDL_OUT_CAP(x) | |
SDL_stdinc.h:427: #define SDL_OUT_BYTECAP(x) | |
SDL_stdinc.h:428: #define SDL_OUT_Z_BYTECAP(x) | |
SDL_stdinc.h:429: #define SDL_PRINTF_FORMAT_STRING | |
SDL_stdinc.h:430: #define SDL_SCANF_FORMAT_STRING | |
SDL_stdinc.h:433: #define SDL_PRINTF_VARARG_FUNC( fmtargnumber ) __attribute__ (( format( __printf__, fmtargnumber, fmtargnumber+1 ))) | |
SDL_stdinc.h:434: #define SDL_PRINTF_VARARG_FUNCV( fmtargnumber ) __attribute__(( format( __printf__, fmtargnumber, 0 ))) | |
SDL_stdinc.h:435: #define SDL_SCANF_VARARG_FUNC( fmtargnumber ) __attribute__ (( format( __scanf__, fmtargnumber, fmtargnumber+1 ))) | |
SDL_stdinc.h:436: #define SDL_SCANF_VARARG_FUNCV( fmtargnumber ) __attribute__(( format( __scanf__, fmtargnumber, 0 ))) | |
SDL_stdinc.h:437: #define SDL_WPRINTF_VARARG_FUNC( fmtargnumber ) /* __attribute__ (( format( __wprintf__, fmtargnumber, fmtargnumber+1 ))) */ | |
SDL_stdinc.h:438: #define SDL_WSCANF_VARARG_FUNC( fmtargnumber ) /* __attribute__ (( format( __wscanf__, fmtargnumber, fmtargnumber+1 ))) */ | |
SDL_stdinc.h:440: #define SDL_PRINTF_VARARG_FUNC( fmtargnumber ) | |
SDL_stdinc.h:441: #define SDL_PRINTF_VARARG_FUNCV( fmtargnumber ) | |
SDL_stdinc.h:442: #define SDL_SCANF_VARARG_FUNC( fmtargnumber ) | |
SDL_stdinc.h:443: #define SDL_SCANF_VARARG_FUNCV( fmtargnumber ) | |
SDL_stdinc.h:444: #define SDL_WPRINTF_VARARG_FUNC( fmtargnumber ) | |
SDL_stdinc.h:445: #define SDL_WSCANF_VARARG_FUNC( fmtargnumber ) | |
SDL_stdinc.h:453: #define SDL_COMPILE_TIME_ASSERT(name, x) static_assert(x, #x) | |
SDL_stdinc.h:456: #define SDL_COMPILE_TIME_ASSERT(name, x) static_assert(x, #x) | |
SDL_stdinc.h:458: #define SDL_COMPILE_TIME_ASSERT(name, x) _Static_assert(x, #x) | |
SDL_stdinc.h:463: /* universal, but may trigger -Wunused-local-typedefs */ | |
SDL_stdinc.h:464: #define SDL_COMPILE_TIME_ASSERT(name, x) \ | |
SDL_stdinc.h:465: typedef int SDL_compile_time_assert_ ## name[(x) * 2 - 1] | |
SDL_stdinc.h:560: #define SDL_stack_alloc(type, count) (type*)alloca(sizeof(type)*(count)) | |
SDL_stdinc.h:561: #define SDL_stack_free(data) | |
SDL_stdinc.h:563: #define SDL_stack_alloc(type, count) (type*)SDL_malloc(sizeof(type)*(count)) | |
SDL_stdinc.h:564: #define SDL_stack_free(data) SDL_free(data) | |
SDL_stdinc.h:572: typedef void *(SDLCALL *SDL_malloc_func)(size_t size); | |
SDL_stdinc.h:573: typedef void *(SDLCALL *SDL_calloc_func)(size_t nmemb, size_t size); | |
SDL_stdinc.h:574: typedef void *(SDLCALL *SDL_realloc_func)(void *mem, size_t size); | |
SDL_stdinc.h:575: typedef void (SDLCALL *SDL_free_func)(void *mem); | |
SDL_stdinc.h:707: typedef int (SDLCALL *SDL_CompareCallback)(const void *a, const void *b); | |
SDL_stdinc.h:711: typedef int (SDLCALL *SDL_CompareCallback_r)(void *userdata, const void *a, const void *b); | |
SDL_stdinc.h:717: /* NOTE: these double-evaluate their arguments, so you should never have side effects in the parameters */ | |
SDL_stdinc.h:718: #define SDL_min(x, y) (((x) < (y)) ? (x) : (y)) | |
SDL_stdinc.h:719: #define SDL_max(x, y) (((x) > (y)) ? (x) : (y)) | |
SDL_stdinc.h:720: #define SDL_clamp(x, a, b) (((x) < (a)) ? (a) : (((x) > (b)) ? (b) : (x))) | |
SDL_stdinc.h:963: /* Take advantage of compiler optimizations for memcpy */ | |
SDL_stdinc.h:966: #undef SDL_memcpy | |
SDL_stdinc.h:968: #define SDL_memcpy memcpy | |
SDL_stdinc.h:971: #define SDL_copyp(dst, src) \ | |
SDL_stdinc.h:972: { SDL_COMPILE_TIME_ASSERT(SDL_copyp, sizeof (*(dst)) == sizeof (*(src))); } \ | |
SDL_stdinc.h:973: SDL_memcpy((dst), (src), sizeof(*(src))) | |
SDL_stdinc.h:977: /* Take advantage of compiler optimizations for memmove */ | |
SDL_stdinc.h:980: #undef SDL_memmove | |
SDL_stdinc.h:982: #define SDL_memmove memmove | |
SDL_stdinc.h:988: /* Take advantage of compiler optimizations for memset */ | |
SDL_stdinc.h:991: #undef SDL_memset | |
SDL_stdinc.h:993: #define SDL_memset memset | |
SDL_stdinc.h:996: #define SDL_zero(x) SDL_memset(&(x), 0, sizeof((x))) | |
SDL_stdinc.h:997: #define SDL_zerop(x) SDL_memset((x), 0, sizeof(*(x))) | |
SDL_stdinc.h:998: #define SDL_zeroa(x) SDL_memset((x), 0, sizeof((x))) | |
SDL_stdinc.h:1630: #define SDL_PI_D 3.141592653589793238462643383279502884 /**< pi (double) */ | |
SDL_stdinc.h:1633: #define SDL_PI_F 3.141592653589793238462643383279502884F /**< pi (float) */ | |
SDL_stdinc.h:2949: /* The SDL implementation of iconv() returns these error codes */ | |
SDL_stdinc.h:2950: #define SDL_ICONV_ERROR (size_t)-1 | |
SDL_stdinc.h:2951: #define SDL_ICONV_E2BIG (size_t)-2 | |
SDL_stdinc.h:2952: #define SDL_ICONV_EILSEQ (size_t)-3 | |
SDL_stdinc.h:2953: #define SDL_ICONV_EINVAL (size_t)-4 | |
SDL_stdinc.h:2955: typedef struct SDL_iconv_data_t *SDL_iconv_t; | |
SDL_stdinc.h:3058: /* Some helper macros for common cases... */ | |
SDL_stdinc.h:3059: #define SDL_iconv_utf8_locale(S) SDL_iconv_string("", "UTF-8", S, SDL_strlen(S)+1) | |
SDL_stdinc.h:3060: #define SDL_iconv_utf8_ucs2(S) (Uint16 *)SDL_iconv_string("UCS-2", "UTF-8", S, SDL_strlen(S)+1) | |
SDL_stdinc.h:3061: #define SDL_iconv_utf8_ucs4(S) (Uint32 *)SDL_iconv_string("UCS-4", "UTF-8", S, SDL_strlen(S)+1) | |
SDL_stdinc.h:3062: #define SDL_iconv_wchar_utf8(S) SDL_iconv_string("UTF-8", "WCHAR_T", (char *)S, (SDL_wcslen(S)+1)*sizeof(wchar_t)) | |
SDL_stdinc.h:3064: /* force builds using Clang's static analysis tools to use literal C runtime | |
SDL_stdinc.h:3065: here, since there are possibly tests that are ineffective otherwise. */ | |
SDL_stdinc.h:3068: /* The analyzer knows about strlcpy even when the system doesn't provide it */ | |
SDL_stdinc.h:3070: size_t strlcpy(char *dst, const char *src, size_t size); | |
SDL_stdinc.h:3073: /* The analyzer knows about strlcat even when the system doesn't provide it */ | |
SDL_stdinc.h:3075: size_t strlcat(char *dst, const char *src, size_t size); | |
SDL_stdinc.h:3079: size_t wcslcpy(wchar_t *dst, const wchar_t *src, size_t size); | |
SDL_stdinc.h:3083: size_t wcslcat(wchar_t *dst, const wchar_t *src, size_t size); | |
SDL_init.h:87: typedef SDL_AppResult (SDLCALL *SDL_AppInit_func)(void **appstate, int argc, char *argv[]); | |
SDL_init.h:88: typedef SDL_AppResult (SDLCALL *SDL_AppIterate_func)(void *appstate); | |
SDL_init.h:89: typedef SDL_AppResult (SDLCALL *SDL_AppEvent_func)(void *appstate, SDL_Event *event); | |
SDL_init.h:90: typedef void (SDLCALL *SDL_AppQuit_func)(void *appstate); | |
SDL_filesystem.h:236: typedef enum SDL_PathType | |
SDL_filesystem.h:237: { | |
SDL_filesystem.h:238: SDL_PATHTYPE_NONE, /**< path does not exist */ | |
SDL_filesystem.h:239: SDL_PATHTYPE_FILE, /**< a normal file */ | |
SDL_filesystem.h:240: SDL_PATHTYPE_DIRECTORY, /**< a directory */ | |
SDL_filesystem.h:241: SDL_PATHTYPE_OTHER /**< something completely different like a device node (not a symlink, those are always followed) */ | |
SDL_filesystem.h:242: } SDL_PathType; | |
SDL_filesystem.h:244: typedef struct SDL_PathInfo | |
SDL_filesystem.h:245: { | |
SDL_filesystem.h:246: SDL_PathType type; /* the path type */ | |
SDL_filesystem.h:247: Uint64 size; /* the file size in bytes */ | |
SDL_filesystem.h:248: SDL_Time create_time; /* the time when the path was created */ | |
SDL_filesystem.h:249: SDL_Time modify_time; /* the last time the path was modified */ | |
SDL_filesystem.h:250: SDL_Time access_time; /* the last time the path was read */ | |
SDL_filesystem.h:251: } SDL_PathInfo; | |
SDL_filesystem.h:274: /* Callback for directory enumeration. Return 1 to keep enumerating, | |
SDL_filesystem.h:275: 0 to stop enumerating (no error), -1 to stop enumerating and | |
SDL_filesystem.h:276: report an error. `dirname` is the directory being enumerated, | |
SDL_filesystem.h:277: `fname` is the enumerated entry. */ | |
SDL_filesystem.h:278: typedef int (SDLCALL *SDL_EnumerateDirectoryCallback)(void *userdata, const char *dirname, const char *fname); | |
SDL_filesystem.h:378: /* Ends C function definitions when using C++ */ | |
SDL_filesystem.h:380: } | |
SDL_error.h:133: #define SDL_Unsupported() SDL_SetError("That operation is not supported") | |
SDL_error.h:134: #define SDL_InvalidParamError(param) SDL_SetError("Parameter '%s' is invalid", (param)) | |
SDL_video.h:95: typedef struct SDL_DisplayModeData SDL_DisplayModeData; | |
SDL_video.h:167: #define SDL_WINDOWPOS_UNDEFINED_DISPLAY(X) (SDL_WINDOWPOS_UNDEFINED_MASK|(X)) | |
SDL_video.h:168: #define SDL_WINDOWPOS_UNDEFINED SDL_WINDOWPOS_UNDEFINED_DISPLAY(0) | |
SDL_video.h:169: #define SDL_WINDOWPOS_ISUNDEFINED(X) \ | |
SDL_video.h:170: (((X)&0xFFFF0000) == SDL_WINDOWPOS_UNDEFINED_MASK) | |
SDL_video.h:178: #define SDL_WINDOWPOS_CENTERED_DISPLAY(X) (SDL_WINDOWPOS_CENTERED_MASK|(X)) | |
SDL_video.h:179: #define SDL_WINDOWPOS_CENTERED SDL_WINDOWPOS_CENTERED_DISPLAY(0) | |
SDL_video.h:180: #define SDL_WINDOWPOS_ISCENTERED(X) \ | |
SDL_video.h:181: (((X)&0xFFFF0000) == SDL_WINDOWPOS_CENTERED_MASK) | |
SDL_video.h:210: typedef void *SDL_EGLConfig; | |
SDL_video.h:211: typedef void *SDL_EGLSurface; | |
SDL_video.h:212: typedef intptr_t SDL_EGLAttrib; | |
SDL_video.h:213: typedef int SDL_EGLint; | |
SDL_video.h:221: typedef SDL_EGLint *(SDLCALL *SDL_EGLIntArrayCallback)(void); | |
SDL_timer.h:41: #define SDL_MS_PER_SECOND 1000 | |
SDL_timer.h:42: #define SDL_US_PER_SECOND 1000000 | |
SDL_timer.h:43: #define SDL_NS_PER_SECOND 1000000000LL | |
SDL_timer.h:44: #define SDL_NS_PER_MS 1000000 | |
SDL_timer.h:45: #define SDL_NS_PER_US 1000 | |
SDL_timer.h:46: #define SDL_SECONDS_TO_NS(S) (((Uint64)(S)) * SDL_NS_PER_SECOND) | |
SDL_timer.h:47: #define SDL_NS_TO_SECONDS(NS) ((NS) / SDL_NS_PER_SECOND) | |
SDL_timer.h:48: #define SDL_MS_TO_NS(MS) (((Uint64)(MS)) * SDL_NS_PER_MS) | |
SDL_timer.h:49: #define SDL_NS_TO_MS(NS) ((NS) / SDL_NS_PER_MS) | |
SDL_timer.h:50: #define SDL_US_TO_NS(US) (((Uint64)(US)) * SDL_NS_PER_US) | |
SDL_timer.h:51: #define SDL_NS_TO_US(NS) ((NS) / SDL_NS_PER_US) | |
SDL_pixels.h:144: #define SDL_DEFINE_PIXELFOURCC(A, B, C, D) SDL_FOURCC(A, B, C, D) | |
SDL_pixels.h:146: #define SDL_DEFINE_PIXELFORMAT(type, order, layout, bits, bytes) \ | |
SDL_pixels.h:147: ((1 << 28) | ((type) << 24) | ((order) << 20) | ((layout) << 16) | \ | |
SDL_pixels.h:148: ((bits) << 8) | ((bytes) << 0)) | |
SDL_pixels.h:150: #define SDL_PIXELFLAG(X) (((X) >> 28) & 0x0F) | |
SDL_pixels.h:151: #define SDL_PIXELTYPE(X) (((X) >> 24) & 0x0F) | |
SDL_pixels.h:152: #define SDL_PIXELORDER(X) (((X) >> 20) & 0x0F) | |
SDL_pixels.h:153: #define SDL_PIXELLAYOUT(X) (((X) >> 16) & 0x0F) | |
SDL_pixels.h:154: #define SDL_BITSPERPIXEL(X) \ | |
SDL_pixels.h:155: (SDL_ISPIXELFORMAT_FOURCC(X) ? 0 : (((X) >> 8) & 0xFF)) | |
SDL_pixels.h:156: #define SDL_BYTESPERPIXEL(X) \ | |
SDL_pixels.h:157: (SDL_ISPIXELFORMAT_FOURCC(X) ? \ | |
SDL_pixels.h:158: ((((X) == SDL_PIXELFORMAT_YUY2) || \ | |
SDL_pixels.h:159: ((X) == SDL_PIXELFORMAT_UYVY) || \ | |
SDL_pixels.h:160: ((X) == SDL_PIXELFORMAT_YVYU) || \ | |
SDL_pixels.h:161: ((X) == SDL_PIXELFORMAT_P010)) ? 2 : 1) : (((X) >> 0) & 0xFF)) | |
SDL_pixels.h:163: #define SDL_ISPIXELFORMAT_INDEXED(format) \ | |
SDL_pixels.h:164: (!SDL_ISPIXELFORMAT_FOURCC(format) && \ | |
SDL_pixels.h:165: ((SDL_PIXELTYPE(format) == SDL_PIXELTYPE_INDEX1) || \ | |
SDL_pixels.h:166: (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_INDEX2) || \ | |
SDL_pixels.h:167: (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_INDEX4) || \ | |
SDL_pixels.h:168: (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_INDEX8))) | |
SDL_pixels.h:170: #define SDL_ISPIXELFORMAT_PACKED(format) \ | |
SDL_pixels.h:171: (!SDL_ISPIXELFORMAT_FOURCC(format) && \ | |
SDL_pixels.h:172: ((SDL_PIXELTYPE(format) == SDL_PIXELTYPE_PACKED8) || \ | |
SDL_pixels.h:173: (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_PACKED16) || \ | |
SDL_pixels.h:174: (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_PACKED32))) | |
SDL_pixels.h:176: #define SDL_ISPIXELFORMAT_ARRAY(format) \ | |
SDL_pixels.h:177: (!SDL_ISPIXELFORMAT_FOURCC(format) && \ | |
SDL_pixels.h:178: ((SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYU8) || \ | |
SDL_pixels.h:179: (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYU16) || \ | |
SDL_pixels.h:180: (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYU32) || \ | |
SDL_pixels.h:181: (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYF16) || \ | |
SDL_pixels.h:182: (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYF32))) | |
SDL_pixels.h:184: #define SDL_ISPIXELFORMAT_ALPHA(format) \ | |
SDL_pixels.h:185: ((SDL_ISPIXELFORMAT_PACKED(format) && \ | |
SDL_pixels.h:186: ((SDL_PIXELORDER(format) == SDL_PACKEDORDER_ARGB) || \ | |
SDL_pixels.h:187: (SDL_PIXELORDER(format) == SDL_PACKEDORDER_RGBA) || \ | |
SDL_pixels.h:188: (SDL_PIXELORDER(format) == SDL_PACKEDORDER_ABGR) || \ | |
SDL_pixels.h:189: (SDL_PIXELORDER(format) == SDL_PACKEDORDER_BGRA)))) | |
SDL_pixels.h:191: #define SDL_ISPIXELFORMAT_10BIT(format) \ | |
SDL_pixels.h:192: (!SDL_ISPIXELFORMAT_FOURCC(format) && \ | |
SDL_pixels.h:193: ((SDL_PIXELTYPE(format) == SDL_PIXELTYPE_PACKED32) && \ | |
SDL_pixels.h:194: (SDL_PIXELLAYOUT(format) == SDL_PACKEDLAYOUT_2101010))) | |
SDL_pixels.h:196: #define SDL_ISPIXELFORMAT_FLOAT(format) \ | |
SDL_pixels.h:197: (!SDL_ISPIXELFORMAT_FOURCC(format) && \ | |
SDL_pixels.h:198: ((SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYF16) || \ | |
SDL_pixels.h:199: (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYF32))) | |
SDL_pixels.h:201: /* The flag is set to 1 because 0x1? is not in the printable ASCII range */ | |
SDL_pixels.h:202: #define SDL_ISPIXELFORMAT_FOURCC(format) \ | |
SDL_pixels.h:203: ((format) && (SDL_PIXELFLAG(format) != 1)) | |
SDL_pixels.h:205: /* Note: If you modify this enum, update SDL_GetPixelFormatName() */ | |
SDL_pixels.h:376: /* Aliases for RGBA byte arrays of color data, for the current platform */ | |
SDL_pixels.h:378: #define SDL_PIXELFORMAT_RGBA32 SDL_PIXELFORMAT_RGBA8888 | |
SDL_pixels.h:379: #define SDL_PIXELFORMAT_ARGB32 SDL_PIXELFORMAT_ARGB8888 | |
SDL_pixels.h:380: #define SDL_PIXELFORMAT_BGRA32 SDL_PIXELFORMAT_BGRA8888 | |
SDL_pixels.h:381: #define SDL_PIXELFORMAT_ABGR32 SDL_PIXELFORMAT_ABGR8888 | |
SDL_pixels.h:382: #define SDL_PIXELFORMAT_RGBX32 SDL_PIXELFORMAT_RGBX8888 | |
SDL_pixels.h:383: #define SDL_PIXELFORMAT_XRGB32 SDL_PIXELFORMAT_XRGB8888 | |
SDL_pixels.h:384: #define SDL_PIXELFORMAT_BGRX32 SDL_PIXELFORMAT_BGRX8888 | |
SDL_pixels.h:385: #define SDL_PIXELFORMAT_XBGR32 SDL_PIXELFORMAT_XBGR8888 | |
SDL_pixels.h:387: #define SDL_PIXELFORMAT_RGBA32 SDL_PIXELFORMAT_ABGR8888 | |
SDL_pixels.h:388: #define SDL_PIXELFORMAT_ARGB32 SDL_PIXELFORMAT_BGRA8888 | |
SDL_pixels.h:389: #define SDL_PIXELFORMAT_BGRA32 SDL_PIXELFORMAT_ARGB8888 | |
SDL_pixels.h:390: #define SDL_PIXELFORMAT_ABGR32 SDL_PIXELFORMAT_RGBA8888 | |
SDL_pixels.h:391: #define SDL_PIXELFORMAT_RGBX32 SDL_PIXELFORMAT_XBGR8888 | |
SDL_pixels.h:392: #define SDL_PIXELFORMAT_XRGB32 SDL_PIXELFORMAT_BGRX8888 | |
SDL_pixels.h:393: #define SDL_PIXELFORMAT_BGRX32 SDL_PIXELFORMAT_XRGB8888 | |
SDL_pixels.h:394: #define SDL_PIXELFORMAT_XBGR32 SDL_PIXELFORMAT_RGBX8888 | |
SDL_pixels.h:420: /** | |
SDL_pixels.h:420: * Pixels are a representation of a color in a particular color space. | |
SDL_pixels.h:420: * | |
SDL_pixels.h:420: * The first characteristic of a color space is the color type. SDL understands two different color types, RGB and YCbCr, or in SDL also referred to as YUV. | |
SDL_pixels.h:420: * | |
SDL_pixels.h:420: * RGB colors consist of red, green, and blue channels of color that are added together to represent the colors we see on the screen. | |
SDL_pixels.h:420: * https://en.wikipedia.org/wiki/RGB_color_model | |
SDL_pixels.h:420: * | |
SDL_pixels.h:420: * YCbCr colors represent colors as a Y luma brightness component and red and blue chroma color offsets. This color representation takes advantage of the fact that the human eye is more sensitive to brightness than the color in an image. The Cb and Cr components are often compressed and have lower resolution than the luma component. | |
SDL_pixels.h:420: * https://en.wikipedia.org/wiki/YCbCr | |
SDL_pixels.h:420: * | |
SDL_pixels.h:420: * When the color information in YCbCr is compressed, the Y pixels are left at full resolution and each Cr and Cb pixel represents an average of the color information in a block of Y pixels. The chroma location determines where in that block of pixels the color information is coming from. | |
SDL_pixels.h:420: * | |
SDL_pixels.h:420: * The color range defines how much of the pixel to use when converting a pixel into a color on the display. When the full color range is used, the entire numeric range of the pixel bits is significant. When narrow color range is used, for historical reasons, the pixel uses only a portion of the numeric range to represent colors. | |
SDL_pixels.h:420: * | |
SDL_pixels.h:420: * The color primaries and white point are a definition of the colors in the color space relative to the standard XYZ color space. | |
SDL_pixels.h:420: * https://en.wikipedia.org/wiki/CIE_1931_color_space | |
SDL_pixels.h:420: * | |
SDL_pixels.h:420: * The transfer characteristic, or opto-electrical transfer function (OETF), is the way a color is converted from mathematically linear space into a non-linear output signals. | |
SDL_pixels.h:420: * https://en.wikipedia.org/wiki/Rec._709#Transfer_characteristics | |
SDL_pixels.h:420: * | |
SDL_pixels.h:420: * The matrix coefficients are used to convert between YCbCr and RGB colors. | |
SDL_pixels.h:420: */ | |
SDL_pixels.h:540: /* Colorspace definition */ | |
SDL_pixels.h:541: #define SDL_DEFINE_COLORSPACE(type, range, primaries, transfer, matrix, chroma) \ | |
SDL_pixels.h:542: (((Uint32)(type) << 28) | ((Uint32)(range) << 24) | ((Uint32)(chroma) << 20) | \ | |
SDL_pixels.h:543: ((Uint32)(primaries) << 10) | ((Uint32)(transfer) << 5) | ((Uint32)(matrix) << 0)) | |
SDL_pixels.h:545: #define SDL_COLORSPACETYPE(X) (SDL_ColorType)(((X) >> 28) & 0x0F) | |
SDL_pixels.h:546: #define SDL_COLORSPACERANGE(X) (SDL_ColorRange)(((X) >> 24) & 0x0F) | |
SDL_pixels.h:547: #define SDL_COLORSPACECHROMA(X) (SDL_ChromaLocation)(((X) >> 20) & 0x0F) | |
SDL_pixels.h:548: #define SDL_COLORSPACEPRIMARIES(X) (SDL_ColorPrimaries)(((X) >> 10) & 0x1F) | |
SDL_pixels.h:549: #define SDL_COLORSPACETRANSFER(X) (SDL_TransferCharacteristics)(((X) >> 5) & 0x1F) | |
SDL_pixels.h:550: #define SDL_COLORSPACEMATRIX(X) (SDL_MatrixCoefficients)((X) & 0x1F) | |
SDL_pixels.h:552: #define SDL_ISCOLORSPACE_MATRIX_BT601(X) (SDL_COLORSPACEMATRIX(X) == SDL_MATRIX_COEFFICIENTS_BT601 || SDL_COLORSPACEMATRIX(X) == SDL_MATRIX_COEFFICIENTS_BT470BG) | |
SDL_pixels.h:553: #define SDL_ISCOLORSPACE_MATRIX_BT709(X) (SDL_COLORSPACEMATRIX(X) == SDL_MATRIX_COEFFICIENTS_BT709) | |
SDL_pixels.h:554: #define SDL_ISCOLORSPACE_MATRIX_BT2020_NCL(X) (SDL_COLORSPACEMATRIX(X) == SDL_MATRIX_COEFFICIENTS_BT2020_NCL) | |
SDL_pixels.h:555: #define SDL_ISCOLORSPACE_LIMITED_RANGE(X) (SDL_COLORSPACERANGE(X) != SDL_COLOR_RANGE_FULL) | |
SDL_pixels.h:556: #define SDL_ISCOLORSPACE_FULL_RANGE(X) (SDL_COLORSPACERANGE(X) == SDL_COLOR_RANGE_FULL) | |
SDL_pixels.h:663: /* The default colorspace for RGB surfaces if no colorspace is specified */ | |
SDL_pixels.h:664: #define SDL_COLORSPACE_RGB_DEFAULT SDL_COLORSPACE_SRGB | |
SDL_pixels.h:666: /* The default colorspace for YUV surfaces if no colorspace is specified */ | |
SDL_pixels.h:667: #define SDL_COLORSPACE_YUV_DEFAULT SDL_COLORSPACE_JPEG | |
SDL_pixels.h:1002: /* Ends C function definitions when using C++ */ | |
SDL_pixels.h:1004: } | |
SDL_assert.h:93: #define SDL_ASSERT_LEVEL SDL_DEFAULT_ASSERT_LEVEL | |
SDL_assert.h:95: (defined(__GNUC__) && !defined(__OPTIMIZE__)) | |
SDL_assert.h:96: #define SDL_ASSERT_LEVEL 2 | |
SDL_assert.h:98: #define SDL_ASSERT_LEVEL 1 | |
SDL_assert.h:126: /* Don't include intrin.h here because it contains C++ code */ | |
SDL_assert.h:127: extern void __cdecl __debugbreak(void); | |
SDL_assert.h:128: #define SDL_TriggerBreakpoint() __debugbreak() | |
SDL_assert.h:131: #define SDL_TriggerBreakpoint() assert(0) | |
SDL_assert.h:133: #define SDL_TriggerBreakpoint() __builtin_debugtrap() | |
SDL_assert.h:135: #define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "int $3\n\t" ) | |
SDL_assert.h:137: #define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "ebreak\n\t" ) | |
SDL_assert.h:139: #define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "brk #22\n\t" ) | |
SDL_assert.h:141: #define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "bkpt #22\n\t" ) | |
SDL_assert.h:143: #define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "brk #0xF000\n\t" ) | |
SDL_assert.h:145: #define SDL_TriggerBreakpoint() { _asm { int 0x03 } } | |
SDL_assert.h:148: #define SDL_TriggerBreakpoint() raise(SIGTRAP) | |
SDL_assert.h:150: /* How do we trigger breakpoints on this platform? */ | |
SDL_assert.h:151: #define SDL_TriggerBreakpoint() | |
SDL_assert.h:155: # define SDL_FUNCTION __func__ | |
SDL_assert.h:157: # define SDL_FUNCTION __FUNCTION__ | |
SDL_assert.h:159: # define SDL_FUNCTION "???" | |
SDL_assert.h:161: #define SDL_FILE __FILE__ | |
SDL_assert.h:162: #define SDL_LINE __LINE__ | |
SDL_assert.h:182: #define SDL_NULL_WHILE_LOOP_CONDITION (0,0) | |
SDL_assert.h:184: #define SDL_NULL_WHILE_LOOP_CONDITION (0) | |
SDL_assert.h:187: #define SDL_disabled_assert(condition) \ | |
SDL_assert.h:188: do { (void) sizeof ((condition)); } while (SDL_NULL_WHILE_LOOP_CONDITION) | |
SDL_assert.h:249: /* Define the trigger breakpoint call used in asserts */ | |
SDL_assert.h:252: /* Define this as empty in case assert() is defined as SDL_assert */ | |
SDL_assert.h:253: #define SDL_AssertBreakpoint() | |
SDL_assert.h:255: #define SDL_AssertBreakpoint() SDL_TriggerBreakpoint() | |
SDL_assert.h:259: /* the do {} while(0) avoids dangling else problems: | |
SDL_assert.h:260: if (x) SDL_assert(y); else blah(); | |
SDL_assert.h:261: ... without the do/while, the "else" could attach to this macro's "if". | |
SDL_assert.h:262: We try to handle just the minimum we need here in a macro...the loop, | |
SDL_assert.h:263: the static vars, and break points. The heavy lifting is handled in | |
SDL_assert.h:264: SDL_ReportAssertion(), in SDL_assert.c. | |
SDL_assert.h:265: */ | |
SDL_assert.h:266: #define SDL_enabled_assert(condition) \ | |
SDL_assert.h:267: do { \ | |
SDL_assert.h:268: while ( !(condition) ) { \ | |
SDL_assert.h:269: static struct SDL_AssertData sdl_assert_data = { 0, 0, #condition, 0, 0, 0, 0 }; \ | |
SDL_assert.h:270: const SDL_AssertState sdl_assert_state = SDL_ReportAssertion(&sdl_assert_data, SDL_FUNCTION, SDL_FILE, SDL_LINE); \ | |
SDL_assert.h:271: if (sdl_assert_state == SDL_ASSERTION_RETRY) { \ | |
SDL_assert.h:272: continue; /* go again. */ \ | |
SDL_assert.h:273: } else if (sdl_assert_state == SDL_ASSERTION_BREAK) { \ | |
SDL_assert.h:274: SDL_AssertBreakpoint(); \ | |
SDL_assert.h:275: } \ | |
SDL_assert.h:276: break; /* not retrying. */ \ | |
SDL_assert.h:277: } \ | |
SDL_assert.h:278: } while (SDL_NULL_WHILE_LOOP_CONDITION) | |
SDL_assert.h:370: /* Enable various levels of assertions. */ | |
SDL_assert.h:372: # define SDL_assert(condition) SDL_disabled_assert(condition) | |
SDL_assert.h:373: # define SDL_assert_release(condition) SDL_disabled_assert(condition) | |
SDL_assert.h:374: # define SDL_assert_paranoid(condition) SDL_disabled_assert(condition) | |
SDL_assert.h:376: # define SDL_assert(condition) SDL_disabled_assert(condition) | |
SDL_assert.h:377: # define SDL_assert_release(condition) SDL_enabled_assert(condition) | |
SDL_assert.h:378: # define SDL_assert_paranoid(condition) SDL_disabled_assert(condition) | |
SDL_assert.h:380: # define SDL_assert(condition) SDL_enabled_assert(condition) | |
SDL_assert.h:381: # define SDL_assert_release(condition) SDL_enabled_assert(condition) | |
SDL_assert.h:382: # define SDL_assert_paranoid(condition) SDL_disabled_assert(condition) | |
SDL_assert.h:384: # define SDL_assert(condition) SDL_enabled_assert(condition) | |
SDL_assert.h:385: # define SDL_assert_release(condition) SDL_enabled_assert(condition) | |
SDL_assert.h:386: # define SDL_assert_paranoid(condition) SDL_enabled_assert(condition) | |
SDL_assert.h:388: # error Unknown assertion level. | |
SDL_endian.h:54: #define SDL_LIL_ENDIAN 1234 | |
SDL_endian.h:55: #define SDL_BIG_ENDIAN 4321 | |
SDL_endian.h:61: #define SDL_BYTEORDER __BYTE_ORDER | |
SDL_endian.h:117: #define SDL_FLOATWORDORDER SDL_BYTEORDER | |
SDL_mutex.h:44: #define SDL_THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x)) | |
SDL_mutex.h:46: #define SDL_THREAD_ANNOTATION_ATTRIBUTE__(x) /* no-op */ | |
SDL_mutex.h:49: #define SDL_CAPABILITY(x) \ | |
SDL_mutex.h:50: SDL_THREAD_ANNOTATION_ATTRIBUTE__(capability(x)) | |
SDL_mutex.h:52: #define SDL_SCOPED_CAPABILITY \ | |
SDL_mutex.h:53: SDL_THREAD_ANNOTATION_ATTRIBUTE__(scoped_lockable) | |
SDL_mutex.h:55: #define SDL_GUARDED_BY(x) \ | |
SDL_mutex.h:56: SDL_THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x)) | |
SDL_mutex.h:58: #define SDL_PT_GUARDED_BY(x) \ | |
SDL_mutex.h:59: SDL_THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_by(x)) | |
SDL_mutex.h:61: #define SDL_ACQUIRED_BEFORE(x) \ | |
SDL_mutex.h:62: SDL_THREAD_ANNOTATION_ATTRIBUTE__(acquired_before(x)) | |
SDL_mutex.h:64: #define SDL_ACQUIRED_AFTER(x) \ | |
SDL_mutex.h:65: SDL_THREAD_ANNOTATION_ATTRIBUTE__(acquired_after(x)) | |
SDL_mutex.h:67: #define SDL_REQUIRES(x) \ | |
SDL_mutex.h:68: SDL_THREAD_ANNOTATION_ATTRIBUTE__(requires_capability(x)) | |
SDL_mutex.h:70: #define SDL_REQUIRES_SHARED(x) \ | |
SDL_mutex.h:71: SDL_THREAD_ANNOTATION_ATTRIBUTE__(requires_shared_capability(x)) | |
SDL_mutex.h:73: #define SDL_ACQUIRE(x) \ | |
SDL_mutex.h:74: SDL_THREAD_ANNOTATION_ATTRIBUTE__(acquire_capability(x)) | |
SDL_mutex.h:76: #define SDL_ACQUIRE_SHARED(x) \ | |
SDL_mutex.h:77: SDL_THREAD_ANNOTATION_ATTRIBUTE__(acquire_shared_capability(x)) | |
SDL_mutex.h:79: #define SDL_RELEASE(x) \ | |
SDL_mutex.h:80: SDL_THREAD_ANNOTATION_ATTRIBUTE__(release_capability(x)) | |
SDL_mutex.h:82: #define SDL_RELEASE_SHARED(x) \ | |
SDL_mutex.h:83: SDL_THREAD_ANNOTATION_ATTRIBUTE__(release_shared_capability(x)) | |
SDL_mutex.h:85: #define SDL_RELEASE_GENERIC(x) \ | |
SDL_mutex.h:86: SDL_THREAD_ANNOTATION_ATTRIBUTE__(release_generic_capability(x)) | |
SDL_mutex.h:88: #define SDL_TRY_ACQUIRE(x, y) \ | |
SDL_mutex.h:89: SDL_THREAD_ANNOTATION_ATTRIBUTE__(try_acquire_capability(x, y)) | |
SDL_mutex.h:91: #define SDL_TRY_ACQUIRE_SHARED(x, y) \ | |
SDL_mutex.h:92: SDL_THREAD_ANNOTATION_ATTRIBUTE__(try_acquire_shared_capability(x, y)) | |
SDL_mutex.h:94: #define SDL_EXCLUDES(x) \ | |
SDL_mutex.h:95: SDL_THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(x)) | |
SDL_mutex.h:97: #define SDL_ASSERT_CAPABILITY(x) \ | |
SDL_mutex.h:98: SDL_THREAD_ANNOTATION_ATTRIBUTE__(assert_capability(x)) | |
SDL_mutex.h:100: #define SDL_ASSERT_SHARED_CAPABILITY(x) \ | |
SDL_mutex.h:101: SDL_THREAD_ANNOTATION_ATTRIBUTE__(assert_shared_capability(x)) | |
SDL_mutex.h:103: #define SDL_RETURN_CAPABILITY(x) \ | |
SDL_mutex.h:104: SDL_THREAD_ANNOTATION_ATTRIBUTE__(lock_returned(x)) | |
SDL_mutex.h:106: #define SDL_NO_THREAD_SAFETY_ANALYSIS \ | |
SDL_mutex.h:107: SDL_THREAD_ANNOTATION_ATTRIBUTE__(no_thread_safety_analysis) | |
SDL_joystick.h:166: #define SDL_IPHONE_MAX_GFORCE 5.0 | |
SDL_haptic.h:308: #define SDL_HAPTIC_RESERVED2 (1u<<13) | |
SDL_haptic.h:309: #define SDL_HAPTIC_RESERVED3 (1u<<14) | |
SDL_system.h:49: typedef struct tagMSG MSG; | |
SDL_system.h:135: typedef union _XEvent XEvent; | |
SDL_system.h:136: typedef SDL_bool (SDLCALL *SDL_X11EventHook)(void *userdata, XEvent *xevent); | |
SDL_system.h:396: #define SDL_ANDROID_EXTERNAL_STORAGE_WRITE 0x02 | |
SDL_system.h:479: typedef void (SDLCALL *SDL_RequestAndroidPermissionCallback)(void *userdata, const char *permission, SDL_bool granted); | |
SDL_system.h:698: typedef struct XTaskQueueObject *XTaskQueueHandle; | |
SDL_system.h:699: typedef struct XUser *XUserHandle; | |
SDL_main.h:49: #define SDL_MAIN_AVAILABLE | |
SDL_main.h:59: #define SDL_MAIN_NEEDED | |
SDL_main.h:174: #define main SDL_main | |
SDL_atomic.h:156: #define SDL_CompilerBarrier() _ReadWriteBarrier() | |
SDL_atomic.h:214: #define SDL_MemoryBarrierRelease() __asm__ __volatile__ ("lwsync" : : : "memory") | |
SDL_atomic.h:215: #define SDL_MemoryBarrierAcquire() __asm__ __volatile__ ("lwsync" : : : "memory") | |
SDL_atomic.h:283: #define SDL_CPUPauseInstruction() __asm__ __volatile__("pause\n") /* Some assemblers can't do REP NOP, so go with PAUSE. */ | |
SDL_audio.h:105: /* masks for different parts of SDL_AudioFormat. */ | |
SDL_audio.h:106: #define SDL_AUDIO_MASK_BITSIZE (0xFFu) | |
SDL_audio.h:107: #define SDL_AUDIO_MASK_FLOAT (1u<<8) | |
SDL_audio.h:108: #define SDL_AUDIO_MASK_BIG_ENDIAN (1u<<12) | |
SDL_audio.h:109: #define SDL_AUDIO_MASK_SIGNED (1u<<15) | |
SDL_audio.h:111: #define SDL_DEFINE_AUDIO_FORMAT(signed, bigendian, float, size) \ | |
SDL_audio.h:112: (((Uint16)(signed) << 15) | ((Uint16)(bigendian) << 12) | ((Uint16)(float) << 8) | ((size) & SDL_AUDIO_MASK_BITSIZE)) | |
SDL_audio.h:150: #define SDL_AUDIO_S16 SDL_AUDIO_S16LE | |
SDL_audio.h:151: #define SDL_AUDIO_S32 SDL_AUDIO_S32LE | |
SDL_audio.h:152: #define SDL_AUDIO_F32 SDL_AUDIO_F32LE | |
SDL_audio.h:154: #define SDL_AUDIO_S16 SDL_AUDIO_S16BE | |
SDL_audio.h:155: #define SDL_AUDIO_S32 SDL_AUDIO_S32BE | |
SDL_audio.h:156: #define SDL_AUDIO_F32 SDL_AUDIO_F32BE | |
SDL_touch.h:42: typedef Uint64 SDL_TouchID; | |
SDL_touch.h:43: typedef Uint64 SDL_FingerID; | |
SDL_touch.h:45: typedef enum SDL_TouchDeviceType | |
SDL_touch.h:46: { | |
SDL_touch.h:47: SDL_TOUCH_DEVICE_INVALID = -1, | |
SDL_touch.h:48: SDL_TOUCH_DEVICE_DIRECT, /* touch screen with window-relative coordinates */ | |
SDL_touch.h:49: SDL_TOUCH_DEVICE_INDIRECT_ABSOLUTE, /* trackpad with absolute device coordinates */ | |
SDL_touch.h:50: SDL_TOUCH_DEVICE_INDIRECT_RELATIVE /* trackpad with screen cursor-relative coordinates */ | |
SDL_touch.h:51: } SDL_TouchDeviceType; | |
SDL_touch.h:72: /* Used as the device ID for mouse events simulated with touch input */ | |
SDL_touch.h:73: #define SDL_TOUCH_MOUSEID ((SDL_MouseID)-1) | |
SDL_touch.h:75: /* Used as the SDL_TouchID for touch events simulated with mouse input */ | |
SDL_touch.h:76: #define SDL_MOUSE_TOUCHID ((SDL_TouchID)-1) | |
SDL_begin_code.h:38: # define SDL_DEPRECATED __attribute__((deprecated)) | |
SDL_begin_code.h:64: # define SDL_DECLSPEC __attribute__ ((visibility("default"))) | |
SDL_begin_code.h:74: #define SDLCALL __cdecl | |
SDL_begin_code.h:110: #define SDL_INLINE __inline | |
SDL_begin_code.h:124: #define SDL_FORCE_INLINE __forceinline | |
SDL_begin_code.h:134: #define SDL_NORETURN __attribute__((noreturn)) | |
SDL_begin_code.h:144: #define SDL_ANALYZER_NORETURN __attribute__((analyzer_noreturn)) | |
SDL_begin_code.h:166: #define SDL_FALLTHROUGH [[fallthrough]] | |
SDL_begin_code.h:187: #define SDL_NODISCARD [[nodiscard]] | |
SDL_begin_code.h:202: #define SDL_MALLOC __declspec(allocator) __desclspec(restrict) | |
SDL_begin_code.h:211: #define SDL_ALLOC_SIZE(p) __attribute__((alloc_size(p))) | |
SDL_begin_code.h:231: #define SDL_RESTRICT __restrict__ | |
SDL_sensor.h:52: typedef struct SDL_Sensor SDL_Sensor; | |
SDL_intrin.h:38: #define __PRFCHWINTRIN_H | |
SDL_intrin.h:39: static __inline__ void __attribute__((__always_inline__, __nodebug__)) | |
SDL_intrin.h:40: _m_prefetch(void *__P) | |
SDL_intrin.h:41: { | |
SDL_intrin.h:42: __builtin_prefetch (__P, 0, 3 /* _MM_HINT_T0 */); | |
SDL_intrin.h:43: } | |
SDL_intrin.h:51: # define SDL_NEON_INTRINSICS 1 | |
SDL_intrin.h:56: /* altivec.h redefining bool causes a number of problems, see bugs 3993 and 4392, so you need to explicitly define SDL_ENABLE_ALTIVEC to have it included. */ | |
SDL_intrin.h:58: #define SDL_ALTIVEC_INTRINSICS 1 | |
SDL_intrin.h:63: # define SDL_NEON_INTRINSICS 1 | |
SDL_intrin.h:66: /* Visual Studio doesn't define __ARM_ARCH, but _M_ARM (if set, always 7), and _M_ARM64 (if set, always 1). */ | |
SDL_intrin.h:68: # define SDL_NEON_INTRINSICS 1 | |
SDL_intrin.h:71: # define __ARM_NEON 1 /* Set __ARM_NEON so that it can be used elsewhere, at compile time */ | |
SDL_intrin.h:74: # define SDL_NEON_INTRINSICS 1 | |
SDL_intrin.h:77: # define __ARM_NEON 1 /* Set __ARM_NEON so that it can be used elsewhere, at compile time */ | |
SDL_intrin.h:78: # define __ARM_ARCH 8 | |
SDL_intrin.h:86: # define SDL_HAS_TARGET_ATTRIBS | |
SDL_intrin.h:89: # define SDL_HAS_TARGET_ATTRIBS | |
SDL_intrin.h:91: # define SDL_HAS_TARGET_ATTRIBS | |
SDL_intrin.h:95: # define SDL_TARGETING(x) __attribute__((target(x))) | |
SDL_intrin.h:97: # define SDL_TARGETING(x) | |
SDL_intrin.h:102: # define SDL_LSX_INTRINSICS 1 | |
SDL_intrin.h:106: # define SDL_LASX_INTRINSICS 1 | |
SDL_intrin.h:113: # define SDL_MMX_INTRINSICS 1 | |
SDL_intrin.h:117: # define SDL_SSE_INTRINSICS 1 | |
SDL_intrin.h:121: # define SDL_SSE2_INTRINSICS 1 | |
SDL_intrin.h:125: # define SDL_SSE3_INTRINSICS 1 | |
SDL_intrin.h:129: # define SDL_SSE4_1_INTRINSICS 1 | |
SDL_intrin.h:133: # define SDL_SSE4_2_INTRINSICS 1 | |
SDL_intrin.h:137: # define SDL_DISABLE_AVX /* see https://reviews.llvm.org/D20291 and https://reviews.llvm.org/D79194 */ | |
SDL_intrin.h:140: # define SDL_AVX_INTRINSICS 1 | |
SDL_intrin.h:144: # define SDL_DISABLE_AVX2 /* see https://reviews.llvm.org/D20291 and https://reviews.llvm.org/D79194 */ | |
SDL_intrin.h:147: # define SDL_AVX2_INTRINSICS 1 | |
SDL_intrin.h:151: # define SDL_DISABLE_AVX512F /* see https://reviews.llvm.org/D20291 and https://reviews.llvm.org/D79194 */ | |
SDL_intrin.h:154: # define SDL_AVX512F_INTRINSICS 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment