sm64coopdx/src/pc/gfx
Agent X 0ce4163519
Some checks failed
Build coop / build-linux (push) Has been cancelled
Build coop / build-steamos (push) Has been cancelled
Build coop / build-windows-opengl (push) Has been cancelled
Build coop / build-windows-directx (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
Lighting Engine refactor (up to 10x perf increase) (#1098)
* C++ lighting engine

Runs better using my new system for storing and iterating through lights.

I removed the lighting ctx profiler because after I've realized its very inaccurate and was probably programmed incorrectly from the start. Although I remember it working fine before and not constantly showing 20 ms or higher when I'm in an extremely simple level with extremely simple lights and the FPS is way too high for it to be taking 20 ms.

* Whoops

* Make some optimizations

* Fix small bug with LE inside graphics vertex function

I also brought back the lighting profiler because it's better than nothing.

* Some optimizations

* Cache active lights and 4 lights per vertex limit

Less branching and less iterating with the limit

* Peachy changes
2026-02-18 01:43:44 -05:00
..
gfx.h More Optimizations (#792) 2025-05-16 20:27:49 -04:00
gfx_cc.c Adjust alpha color combiners to use the correct values (#876) 2025-06-29 15:25:56 +02:00
gfx_cc.h Add support for noise in color combiners 2023-06-14 22:04:55 -07:00
gfx_direct3d11.cpp Shorten include paths by removing unnecessary "src/" 2024-04-17 17:28:38 -04:00
gfx_direct3d11.h
gfx_direct3d_common.cpp Remove DirectX 12 2024-03-30 23:57:18 -04:00
gfx_direct3d_common.h Remove DirectX 12 2024-03-30 23:57:18 -04:00
gfx_dummy.c Fix macOS compile errors and warnings [build] 2025-05-22 08:48:05 -04:00
gfx_dummy.h Added headless server compile mode 2022-01-21 19:13:41 -08:00
gfx_dxgi.cpp Miscellaneous Additions: Addendum (#723) 2025-04-05 13:52:14 -04:00
gfx_dxgi.h Moved mouse-state code to a separate file, enabled mouse-look camera-mode for DXGI (#86) 2024-06-30 15:44:40 -04:00
gfx_opengl.c Update gfx_opengl.c 2025-12-14 21:51:47 +10:00
gfx_opengl.h
gfx_opengl_legacy.c Get GL_LEGACY working again (poorly) 2023-05-03 13:21:34 -07:00
gfx_pc.c Lighting Engine refactor (up to 10x perf increase) (#1098) 2026-02-18 01:43:44 -05:00
gfx_pc.h revise better frame pacing (#901) 2025-08-27 08:17:16 +10:00
gfx_rendering_api.h Started adding support for advanced materials (2cycle) 2023-04-26 20:37:25 -07:00
gfx_screen_config.h Make sliders show their number value 2025-03-18 23:07:03 -04:00
gfx_sdl.h
gfx_sdl1.c Fixed clipboard (text copy & paste) implementation (#380) 2024-10-22 22:24:13 +10:00
gfx_sdl2.c Fix macOS compile errors and warnings [build] 2025-05-22 08:48:05 -04:00
gfx_window_manager_api.h Miscellaneous Additions: Addendum (#723) 2025-04-05 13:52:14 -04:00