Serious-Engine/Sources/Engine/Graphics
Daniel Gibson 46353ffc5d make BYTESWAP*_unsigned() macros inline functions, use GCC builtins
the builtins are only used when using GCC or clang, of course, otherwise
the usual shifting is done.

Them being inline functions instead of macros increases type safety
and gets rid of problems with signed shifts.

Changed two places in the code that swapped bytes in 32bit ints to use
BYTESWAP32_unsigned() instead - in case of PrepareTexture() this has
probably even fixed issues with signed shifts
2016-05-09 18:48:39 +02:00
..
SDL First attempt at a port to SDL2. Untested! 2016-04-09 02:18:57 -04:00
Win32 Fix up some mismerges and get the OpenGL code to compile again. 2016-03-31 12:26:43 -04:00
Adapter.cpp Whoops, forgot to actually enumerate physical display resolutions. 2016-04-10 00:54:45 -04:00
Adapter.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Benchmark.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Color.cpp rework asm to always fall back to portable C code 2016-04-25 00:14:29 +03:00
Color.h rework asm to always fall back to portable C code 2016-04-25 00:14:29 +03:00
DepthCheck.cpp First pass at cleaning out 64-bit issues. 2016-04-06 23:20:29 -04:00
DisplayMode.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
DisplayMode.h Add GPL header to files 2016-03-11 18:20:51 -06:00
DrawPort_Particles.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
DrawPort_RenderScene.cpp rework asm to always fall back to portable C code 2016-04-25 00:14:29 +03:00
DrawPort.cpp Resolved some 64bit issues, marked/commented some others 2016-04-17 23:35:04 +02:00
DrawPort.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Fog_internal.h First pass at cleaning out 64-bit issues. 2016-04-06 23:20:29 -04:00
Fog.cpp make BYTESWAP*_unsigned() macros inline functions, use GCC builtins 2016-05-09 18:48:39 +02:00
Fog.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Font.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Font.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Gfx_Direct3D_Colors.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Gfx_Direct3D_Textures.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Gfx_Direct3D.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Gfx_OpenGL_Textures.cpp rework asm to always fall back to portable C code 2016-04-25 00:14:29 +03:00
Gfx_OpenGL.cpp First attempt at a port to SDL2. Untested! 2016-04-09 02:18:57 -04:00
Gfx_wrapper_Direct3D.cpp Add GPL header to files 2016-03-11 18:20:51 -06:00
Gfx_wrapper_OpenGL.cpp First attempt at a port to SDL2. Untested! 2016-04-09 02:18:57 -04:00
Gfx_wrapper.cpp First pass at cleaning out 64-bit issues. 2016-04-06 23:20:29 -04:00
Gfx_wrapper.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
GfxLibrary.cpp Enabled Multi-Threading (as an option) + OpenPandora specific changes (for Shoulder As Mouse Buttons) 2016-04-12 22:29:39 +02:00
GfxLibrary.h First attempt at a port to SDL2. Untested! 2016-04-09 02:18:57 -04:00
GfxProfile.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
GfxProfile.h Add GPL header to files 2016-03-11 18:20:51 -06:00
gl_functions.h Add GPL header to files 2016-03-11 18:20:51 -06:00
gl_types.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Graphics.cpp rework asm to always fall back to portable C code 2016-04-25 00:14:29 +03:00
ImageInfo.cpp Fix some more warnings, Warning about supressed warnings in cmake 2016-04-18 19:10:52 +02:00
ImageInfo.h Add GPL header to files 2016-03-11 18:20:51 -06:00
MultiMonitor.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
MultiMonitor.h Add GPL header to files 2016-03-11 18:20:51 -06:00
OpenGL.h rework asm to always fall back to portable C code 2016-04-25 00:14:29 +03:00
Raster.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Raster.h Add GPL header to files 2016-03-11 18:20:51 -06:00
RenderPoly.h Add GPL header to files 2016-03-11 18:20:51 -06:00
RenderScene.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Shader.cpp First pass at cleaning out 64-bit issues. 2016-04-06 23:20:29 -04:00
Shader.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
ShadowMap.cpp First pass at cleaning out 64-bit issues. 2016-04-06 23:20:29 -04:00
ShadowMap.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Stereo.cpp First pass at cleaning out 64-bit issues. 2016-04-06 23:20:29 -04:00
Stereo.h Add GPL header to files 2016-03-11 18:20:51 -06:00
Texture.cpp Textures.cpp: improved td_pulObjects/td_ulObject fix 2016-04-19 14:38:25 +02:00
Texture.h Add GPL header to files 2016-03-11 18:20:51 -06:00
TextureEffects.cpp rework asm to always fall back to portable C code 2016-04-25 00:14:29 +03:00
TextureEffects.h Patched to compile on Linux, and cleaned out almost all compiler warnings. 2016-04-04 02:34:07 -04:00
TextureRender.cpp Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
Vertex.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00
ViewPort.cpp First attempt at a port to SDL2. Untested! 2016-04-09 02:18:57 -04:00
ViewPort.h Merge github.com:Croteam-Official/Serious-Engine 2016-04-02 23:56:12 -04:00