code
stringlengths
1
1.05M
repo_name
stringlengths
6
83
path
stringlengths
3
242
language
stringclasses
222 values
license
stringclasses
20 values
size
int64
1
1.05M
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/joystick/steam/SDL_steamcontroller.h
C
apache-2.0
1,686
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/joystick/usb_ids.h
C
apache-2.0
2,322
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/joystick/virtual/SDL_virtualjoystick.c
C
apache-2.0
9,691
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/joystick/virtual/SDL_virtualjoystick_c.h
C
apache-2.0
2,075
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/joystick/windows/SDL_dinputjoystick.c
C
apache-2.0
52,979
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/joystick/windows/SDL_dinputjoystick_c.h
C
apache-2.0
1,602
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/joystick/windows/SDL_mmjoystick.c
C
apache-2.0
13,329
/* Simple DirectMedia Layer Copyright (C) 2019 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this softw...
YifuLiu/AliOS-Things
components/SDL2/src/joystick/windows/SDL_rawinputjoystick.c
C
apache-2.0
23,831
/* Simple DirectMedia Layer Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/joystick/windows/SDL_rawinputjoystick_c.h
C
apache-2.0
1,309
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/joystick/windows/SDL_windows_gaming_input.c
C
apache-2.0
31,028
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/joystick/windows/SDL_windowsjoystick.c
C
apache-2.0
17,393
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/joystick/windows/SDL_windowsjoystick_c.h
C
apache-2.0
2,722
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/joystick/windows/SDL_xinputjoystick.c
C
apache-2.0
20,323
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/joystick/windows/SDL_xinputjoystick_c.h
C
apache-2.0
1,597
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/e_atan2.c
C
apache-2.0
4,067
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/e_exp.c
C
apache-2.0
5,935
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/e_fmod.c
C
apache-2.0
3,582
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/e_log.c
C
apache-2.0
4,791
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/e_log10.c
C
apache-2.0
3,110
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/e_pow.c
C
apache-2.0
10,858
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/e_rem_pio2.c
C
apache-2.0
5,260
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/e_sqrt.c
C
apache-2.0
14,490
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/k_cos.c
C
apache-2.0
2,900
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/k_rem_pio2.c
C
apache-2.0
8,711
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/k_sin.c
C
apache-2.0
2,267
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/k_tan.c
C
apache-2.0
3,949
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/math_libm.h
C
apache-2.0
1,724
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/math_private.h
C
apache-2.0
6,916
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/s_atan.c
C
apache-2.0
4,072
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/s_copysign.c
C
apache-2.0
756
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/s_cos.c
C
apache-2.0
1,944
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/s_fabs.c
C
apache-2.0
733
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/s_floor.c
C
apache-2.0
1,833
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/s_scalbn.c
C
apache-2.0
1,909
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/s_sin.c
C
apache-2.0
1,935
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
YifuLiu/AliOS-Things
components/SDL2/src/libm/s_tan.c
C
apache-2.0
1,784
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/loadso/dlopen/SDL_sysloadso.c
C
apache-2.0
2,556
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/loadso/dummy/SDL_sysloadso.c
C
apache-2.0
1,754
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/loadso/windows/SDL_sysloadso.c
C
apache-2.0
2,515
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/locale/SDL_locale.c
C
apache-2.0
3,069
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/locale/SDL_syslocale.h
C
apache-2.0
1,226
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/locale/android/SDL_syslocale.c
C
apache-2.0
1,187
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/locale/dummy/SDL_syslocale.c
C
apache-2.0
1,192
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/locale/emscripten/SDL_syslocale.c
C
apache-2.0
2,386
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/locale/haiku/SDL_syslocale.cc
C++
apache-2.0
2,326
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/locale/macosx/SDL_syslocale.m
Objective-C
apache-2.0
2,318
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/locale/unix/SDL_syslocale.c
C
apache-2.0
2,926
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/locale/windows/SDL_syslocale.c
C
apache-2.0
4,091
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/locale/winrt/SDL_syslocale.c
C
apache-2.0
1,898
/* SDL_android_main.c, placed in the public domain by Sam Lantinga 3/13/14 As of SDL 2.0.6 this file is no longer necessary. */ /* vi: set ts=4 sw=4 expandtab: */
YifuLiu/AliOS-Things
components/SDL2/src/main/android/SDL_android_main.c
C
apache-2.0
174
/* SDL_dummy_main.c, placed in the public domain by Sam Lantinga 3/13/14 */ #include "../../SDL_internal.h" /* Include the SDL main definition header */ #include "SDL_main.h" #ifdef main #undef main int main(int argc, char *argv[]) { return (SDL_main(argc, argv)); } #else /* Nothing to do on this platform */...
YifuLiu/AliOS-Things
components/SDL2/src/main/dummy/SDL_dummy_main.c
C
apache-2.0
446
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/main/haiku/SDL_BApp.h
C++
apache-2.0
11,581
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/main/haiku/SDL_BeApp.cc
C++
apache-2.0
4,492
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/main/haiku/SDL_BeApp.h
C
apache-2.0
1,390
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/main/nacl/SDL_nacl_main.c
C
apache-2.0
3,073
/* SDL_psp_main.c, placed in the public domain by Sam Lantinga 3/13/14 */ #include "SDL_config.h" #ifdef __PSP__ #include "SDL_main.h" #include <pspkernel.h> #include <pspdebug.h> #include <pspsdk.h> #include <pspthreadman.h> #include <stdlib.h> #include <stdio.h> /* If application's main() is redefined as SDL_...
YifuLiu/AliOS-Things
components/SDL2/src/main/psp/SDL_psp_main.c
C
apache-2.0
1,640
/* SDL_uiki_main.c, placed in the public domain by Sam Lantinga 3/18/2019 */ #include "../../SDL_internal.h" /* Include the SDL main definition header */ #include "SDL_main.h" #ifdef main #undef main #endif int main(int argc, char *argv[]) { return SDL_UIKitRunApp(argc, argv, SDL_main); } /* vi: set ts=4 s...
YifuLiu/AliOS-Things
components/SDL2/src/main/uikit/SDL_uikit_main.c
C
apache-2.0
338
/* SDL_windows_main.c, placed in the public domain by Sam Lantinga 4/13/98 The WinMain function -- calls your program's main() function */ #include "SDL_config.h" #ifdef __WIN32__ /* Include this so we define UNICODE properly */ #include "../../core/windows/SDL_windows.h" #include <shellapi.h> /* CommandLin...
YifuLiu/AliOS-Things
components/SDL2/src/main/windows/SDL_windows_main.c
C
apache-2.0
2,410
/* SDL_winrt_main_NonXAML.cpp, placed in the public domain by David Ludwig 3/13/14 */ #include "SDL_main.h" #include <wrl.h> /* At least one file in any SDL/WinRT app appears to require compilation with C++/CX, otherwise a Windows Metadata file won't get created, and an APPX0702 build error can appear shor...
YifuLiu/AliOS-Things
components/SDL2/src/main/winrt/SDL_winrt_main_NonXAML.cpp
C++
apache-2.0
2,088
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/power/SDL_power.c
C
apache-2.0
3,524
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/power/SDL_syspower.h
C
apache-2.0
2,221
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/power/android/SDL_syspower.c
C
apache-2.0
1,987
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/power/emscripten/SDL_syspower.c
C
apache-2.0
2,007
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/power/haiku/SDL_syspower.c
C
apache-2.0
4,013
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/power/linux/SDL_syspower.c
C
apache-2.0
19,719
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/power/macosx/SDL_syspower.c
C
apache-2.0
5,903
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/power/psp/SDL_syspower.c
C
apache-2.0
2,186
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/power/uikit/SDL_syspower.h
C
apache-2.0
1,214
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/power/uikit/SDL_syspower.m
Objective-C
apache-2.0
3,579
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/power/windows/SDL_syspower.c
C
apache-2.0
2,686
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/power/winrt/SDL_syspower.cpp
C++
apache-2.0
1,739
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/SDL_d3dmath.c
C
apache-2.0
4,328
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/SDL_d3dmath.h
C
apache-2.0
1,953
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/SDL_render.c
C
apache-2.0
103,203
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/SDL_sysrender.h
C
apache-2.0
9,883
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/SDL_yuv_sw.c
C
apache-2.0
13,944
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/SDL_yuv_sw_c.h
C
apache-2.0
2,877
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/direct3d/SDL_render_d3d.c
C
apache-2.0
64,606
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/direct3d/SDL_shaders_d3d.c
C
apache-2.0
11,676
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/direct3d/SDL_shaders_d3d.h
C
apache-2.0
1,279
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/direct3d11/SDL_render_d3d11.c
C
apache-2.0
93,951
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/direct3d11/SDL_render_winrt.cpp
C++
apache-2.0
3,519
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/direct3d11/SDL_render_winrt.h
C
apache-2.0
1,330
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/direct3d11/SDL_shaders_d3d11.c
C
apache-2.0
116,824
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/direct3d11/SDL_shaders_d3d11.h
C
apache-2.0
1,573
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/metal/SDL_render_metal.m
Objective-C
apache-2.0
71,223
#include <metal_texture> #include <metal_matrix> using namespace metal; struct SolidVertexInput { float2 position [[attribute(0)]]; }; struct SolidVertexOutput { float4 position [[position]]; float pointSize [[point_size]]; }; vertex SolidVertexOutput SDL_Solid_vertex(SolidVertexInput in [[stage_in]], ...
YifuLiu/AliOS-Things
components/SDL2/src/render/metal/SDL_shaders_metal.metal
Metal
apache-2.0
3,796
const unsigned char sdl_metallib[] = { 0x4d, 0x54, 0x4c, 0x42, 0x01, 0x00, 0x02, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x56, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x58, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x4c, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xac, 0x03, 0x00, 0x00, 0x00, 0x0...
YifuLiu/AliOS-Things
components/SDL2/src/render/metal/SDL_shaders_metal_ios.h
C
apache-2.0
137,036
const unsigned char sdl_metallib[] = { 0x4d, 0x54, 0x4c, 0x42, 0x01, 0x80, 0x02, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x56, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x58, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x4c, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xac, 0x03, 0x00, 0x00, 0x00, 0x0...
YifuLiu/AliOS-Things
components/SDL2/src/render/metal/SDL_shaders_metal_osx.h
C
apache-2.0
137,332
const unsigned char sdl_metallib[] = { 0x4d, 0x54, 0x4c, 0x42, 0x01, 0x00, 0x02, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x56, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x58, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x4c, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xac, 0x03, 0x00, 0x00, 0x00, 0x0...
YifuLiu/AliOS-Things
components/SDL2/src/render/metal/SDL_shaders_metal_tvos.h
C
apache-2.0
137,036
#!/bin/bash set -x set -e cd `dirname "$0"` generate_shaders() { fileplatform=$1 compileplatform=$2 sdkplatform=$3 minversion=$4 xcrun -sdk $sdkplatform metal -c -std=$compileplatform-metal1.1 -m$sdkplatform-version-min=$minversion -Wall -O3 -o ./sdl.air ./SDL_shaders_metal.metal || exit $? xcrun...
YifuLiu/AliOS-Things
components/SDL2/src/render/metal/build-metal-shaders.sh
Shell
apache-2.0
731
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/opengl/SDL_glfuncs.h
C
apache-2.0
26,391
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/opengl/SDL_render_gl.c
C
apache-2.0
63,641
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/opengl/SDL_shaders_gl.c
C
apache-2.0
20,906
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/opengl/SDL_shaders_gl.h
C
apache-2.0
1,706
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/opengles/SDL_glesfuncs.h
C
apache-2.0
3,467
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/opengles/SDL_render_gles.c
C
apache-2.0
41,464
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/opengles2/SDL_gles2funcs.h
C
apache-2.0
4,352
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/opengles2/SDL_render_gles2.c
C
apache-2.0
76,057
/* Simple DirectMedia Layer Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
YifuLiu/AliOS-Things
components/SDL2/src/render/opengles2/SDL_shaders_gles2.c
C
apache-2.0
20,031