Commits on Source (11)
-
Eidolon authored
The rationale for this is that MiniGL hasn't been relevant for 17 years or longer. Removing it helps cleanup this horrifying section of the codebase. This possibly breaks upscaling in fullscreen in OpenGL mode.
d13968ae -
Eidolon authored
Honestly, under no circumstances when GL is compiled into the game should the PostImgRedraw not be available. Removing this helps make the GL code slightly more readable.
e11b3c52 -
Eidolon authored
All the effort I've made to research into what exactly this is has been moot. Since we really only need to target GLES and GL, we should just worry about supporting those. Our public builds don't rely on this at all. This helps readability in the OpenGL code.
f634a921 -
Eidolon authored
Synchronizing new CMake improvements with OpenGL cleanup branch for ease of development.
80bde9e0 -
Eidolon authored
This should introduce a minor performance boost for slow CPUs in OpenGL mode. If it doesn't, it shouldn't be any slower. It also puts us a little closer to supporting GLES as well. This introduces several new pgl function pointers that are from GL 1.1. I do not check for their existence because no driver out in the wild in active use doesn't support 1.1.
fe7d19cc -
Eidolon authored
This is an artifact of the last commit that I was using because I had misunderstood the meaning of the stride argument for the array pointers.
d1d05fad -
Eidolon authored
This will be used for the vertex array buckets when building the render lists for each FSurfaceInfo being used by the hardware renderer. Generally, we will replace DrawPolygon calls with operations to fill these resizeable arrays, one for each FSurfaceInfo. After the initial BSP node draw call, we will go through the buckets calling DrawPolygon on each one.
54f25c8f -
Eidolon authored5bf1e5b7
-
Eidolon authored
Re-synchronize with master for build system changes.
a604624f -
Eidolon authored
Might as well leverage an existing data structure, right? AA trees use numbers as keys and we can iterate through them in order. I'm surprised this was in the codebase!
084cf8e6 -
Eidolon authored
This breaks stencil buffer clipping, transparent flats, the whole nine yards. Unfortunately, this is about as far as I will be taking this approach to cleaning up OpenGL. It's unfortunate, but this renderer is basically unsalvagable. I will have to rewrite it completely from scratch to get what I want out of this.
5c16a91f
Showing
- src/CMakeLists.txt 4 additions, 0 deletionssrc/CMakeLists.txt
- src/doomdef.h 0 additions, 5 deletionssrc/doomdef.h
- src/hardware/hw_cache.c 5 additions, 0 deletionssrc/hardware/hw_cache.c
- src/hardware/hw_defs.h 6 additions, 0 deletionssrc/hardware/hw_defs.h
- src/hardware/hw_draw.c 10 additions, 10 deletionssrc/hardware/hw_draw.c
- src/hardware/hw_drv.h 1 addition, 5 deletionssrc/hardware/hw_drv.h
- src/hardware/hw_glob.h 3 additions, 0 deletionssrc/hardware/hw_glob.h
- src/hardware/hw_light.c 4 additions, 4 deletionssrc/hardware/hw_light.c
- src/hardware/hw_main.c 54 additions, 24 deletionssrc/hardware/hw_main.c
- src/hardware/hw_vertarray.c 78 additions, 0 deletionssrc/hardware/hw_vertarray.c
- src/hardware/hw_vertarray.h 37 additions, 0 deletionssrc/hardware/hw_vertarray.h
- src/hardware/hw_vertbuckets.c 124 additions, 0 deletionssrc/hardware/hw_vertbuckets.c
- src/hardware/hw_vertbuckets.h 43 additions, 0 deletionssrc/hardware/hw_vertbuckets.h
- src/hardware/r_opengl/r_opengl.c 80 additions, 362 deletionssrc/hardware/r_opengl/r_opengl.c
- src/hardware/r_opengl/r_opengl.h 0 additions, 2 deletionssrc/hardware/r_opengl/r_opengl.h
- src/sdl/hwsym_sdl.c 0 additions, 2 deletionssrc/sdl/hwsym_sdl.c
- src/sdl/i_video.c 0 additions, 2 deletionssrc/sdl/i_video.c
- src/sdl12/hwsym_sdl.c 0 additions, 2 deletionssrc/sdl12/hwsym_sdl.c
- src/sdl12/i_video.c 0 additions, 2 deletionssrc/sdl12/i_video.c
- src/sdl12/ogl_sdl.c 0 additions, 6 deletionssrc/sdl12/ogl_sdl.c
src/hardware/hw_vertarray.c
0 → 100644
src/hardware/hw_vertarray.h
0 → 100644
src/hardware/hw_vertbuckets.c
0 → 100644
src/hardware/hw_vertbuckets.h
0 → 100644
This diff is collapsed.