cnq3/code/renderer
myT 8ef496d22b reverting to old code for .tga image decoding, but with tweaks and fixes
the problem is that stb_image can and will allocate much more than it needs to
e.g. for a 2048x2048 BGR image:
it allocates an unnecessary intermediate 12 MB buffer to decode the image
instead of decoding it directly into the final 16 MB RGBA buffer

the old CNQ3 code didn't decode greyscale properly because of a missing macro call
it also didn't range-check memory accesses at all
2020-02-18 04:42:28 +01:00
..
hlsl fixed A2C by making sure we use the absolute values of the derivatives 2019-12-26 16:26:12 +01:00
stb_image.cpp reverting to old code for .tga image decoding, but with tweaks and fixes 2020-02-18 04:42:28 +01:00
stb_image.h using stb_image to load png and tga images 2017-06-04 16:37:57 +02:00
tr_backend.cpp crash and drawing fixes for r_shownormals, r_showtris and r_debugSurface 2019-12-26 16:16:30 +01:00
tr_backend_d3d11.cpp r_colorMipLevels disables MSAA when centroid sampling would be used 2020-02-05 03:43:19 +01:00
tr_backend_gl2.cpp r_colorMipLevels disables MSAA when centroid sampling would be used 2020-02-05 03:43:19 +01:00
tr_backend_gl3.cpp r_colorMipLevels disables MSAA when centroid sampling would be used 2020-02-05 03:43:19 +01:00
tr_bsp.cpp added r_lightmapGreyscale 2020-01-12 23:03:54 +01:00
tr_cmds.cpp added OpenGL 3.2 and Direct3D 11 renderer back-ends 2019-09-25 05:25:59 +02:00
tr_curve.cpp import from cnq3 1.47 2016-12-17 20:43:04 -08:00
tr_help.h r_colorMipLevels disables MSAA when centroid sampling would be used 2020-02-05 03:43:19 +01:00
tr_image.cpp reverting to old code for .tga image decoding, but with tweaks and fixes 2020-02-18 04:42:28 +01:00
tr_init.cpp r_colorMipLevels disables MSAA when centroid sampling would be used 2020-02-05 03:43:19 +01:00
tr_light.cpp merge the new build system 2016-12-29 20:13:59 -08:00
tr_local.h added r_lightmapGreyscale 2020-01-12 23:03:54 +01:00
tr_main.cpp added OpenGL 3.2 and Direct3D 11 renderer back-ends 2019-09-25 05:25:59 +02:00
tr_marks.cpp import from cnq3 1.47 2016-12-17 20:43:04 -08:00
tr_mesh.cpp merge the new build system 2016-12-29 20:13:59 -08:00
tr_model.cpp added pattern matching filtering to /modellist /skinlist /imagelist /shaderlist 2019-09-25 05:29:13 +02:00
tr_noise.cpp map download improvements 2019-02-14 04:22:45 +01:00
tr_public.h added OpenGL 3.2 and Direct3D 11 renderer back-ends 2019-09-25 05:25:59 +02:00
tr_scene.cpp added OpenGL 3.2 and Direct3D 11 renderer back-ends 2019-09-25 05:25:59 +02:00
tr_shade.cpp crash and drawing fixes for r_shownormals, r_showtris and r_debugSurface 2019-12-26 16:16:30 +01:00
tr_shade_calc.cpp added OpenGL 3.2 and Direct3D 11 renderer back-ends 2019-09-25 05:25:59 +02:00
tr_shader.cpp fixed r_lightmap affecting non-opaque surfaces 2020-01-09 23:09:39 +01:00
tr_sky.cpp added OpenGL 3.2 and Direct3D 11 renderer back-ends 2019-09-25 05:25:59 +02:00
tr_surface.cpp added OpenGL 3.2 and Direct3D 11 renderer back-ends 2019-09-25 05:25:59 +02:00
tr_world.cpp added OpenGL 3.2 and Direct3D 11 renderer back-ends 2019-09-25 05:25:59 +02:00