Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-07 | Replace 4 with sizeof( int ) in R_GetCommandBufferReserved | Zack Middleton | |
2016-04-07 | Fix reserved size for swap buffer command being too small on x86_64 | Zack Middleton | |
2016-04-07 | Fix crash from reading past end of tr.refdef.drawSurfs | Zack Middleton | |
The number of draw surfaces was range checked against number of surfaces for the current view but needs to check total for the frame otherwise can read past the end of the tr.refdef.drawSurfs array when there are multiple views. | |||
2016-04-07 | Fix not swapping buffers because out of cmd buffer space | Zack Middleton | |
Reserve space for end of list and swap buffer commands. These are absolutely required and cannot be dropped. Dropping swap buffer command causes screen to not update and possible crash from drawsurf buffer overflow if not enough cmd buffer space for many continous frames. | |||
2016-04-07 | Remove unused define MAC_EVENT_PUMP_MSEC | Zack Middleton | |
2016-04-07 | Fix alloc size for default skin and single shader skin | Zack Middleton | |
Found by Coverity. | |||
2016-04-07 | Remove logically dead code in R_CheckFBO | Zack Middleton | |
Found by Coverity. | |||
2016-04-07 | Backport ignoring values outside lightgrid to OpenGL1 | Zack Middleton | |
Fixes possibly of reading memory past end of lightGridData or reading wrong light grid data (wrapping around to next row). | |||
2016-04-07 | Fix OpenGL2 ignoring last light grid point on each axis | Zack Middleton | |
Also change light grid bounds clamping to make it more clear what invalid values are. | |||
2016-04-07 | Don't fog 3D crosshair sprite | Zack Middleton | |
2016-04-07 | Apply greyscaling to fog blocks | Zack Middleton | |
2016-04-07 | Move image load function prototypes to tr_common.h | Zack Middleton | |
The functions themselves are in code/renderercommon/tr_image_*.c | |||
2015-06-08 | fix initialization based on r_width and r_height | /dev/humancontroller | |
let the cvars default to "0"; upon video startup, if any of these are non-positive, try to pick up the desktop's resolution, and update the cvars | |||
2015-06-07 | OpenGL2: Use signed value in case value goes below 0. | SmileTheory | |
2015-06-07 | Fix MDR surface indexes overflow check | Zack Middleton | |
Also, use the check overflow macro like everywhere else. | |||
2015-06-07 | OpenGL2: Fix shadow cubemap segfault | Zack Middleton | |
Changed image size to 512, but 'data' buffer is only 16x16 resulting in libGL segfault. Use NULL instead like other dynamic images. | |||
2015-06-07 | OpenGL2: Fix shadow cubemap size | Author: Xycaleth | |
2015-03-17 | OpenGL2: Fix culling again. | SmileTheory | |
2015-03-17 | OpenGL2: Remove unused function prototype from tr_fbo.c | Zack Middleton | |
2015-03-17 | Inform how many shader stages the max is in the warning message | Ensiform | |
2015-03-17 | OpenGL2: Fix face culling. | SmileTheory | |
2015-03-17 | OpenGL2: Ensure tess VAO is bound before using it. | SmileTheory | |
2015-03-17 | Fix stencil shadows not drawing if has 500 or more vertexes | Zack Middleton | |
Stencil shadow is not drawn if a mesh, or multiple meshes with the same entity and shader, have more than 500 vertexes. The issue is caused by storing the projected positions in the tess vertex buffer. Use a new array instead. | |||
2015-03-17 | Don't set fog image border color | Zack Middleton | |
GL1's R_CreateImage sets GL texture to 0 before it ends, so border color is not applied to the fog image. GL_CLAMP is not used for fog image (in either renderer), so it would presumably not be used even if applied to the fog image. | |||
2015-03-17 | Remove unfinished OpenGL display list code | Zack Middleton | |
It seems unlikely anyone is going to do anything with this aside from stub it out in OpenGLES ports. | |||
2015-03-17 | Correct a few OpenGL variable types | Zack Middleton | |
Affectly no change for desktop OpenGL. Use correct types for OpenGLES support. | |||
2015-03-17 | OpenGL2: Bit more parallax optimization. | SmileTheory | |
2015-03-17 | OpenGL2: Add support for parallax occlusion mapping. | SmileTheory | |
2015-03-17 | OpenGL2: remove lightmap support from generic glsl shader. This path was ↵ | SmileTheory | |
barely used and doing this compiles fewer shaders. | |||
2015-03-17 | Remove accidentally added increment. | SmileTheory | |
2015-03-17 | OpenGL2: Support half floats for texcoords and vertex colors. | SmileTheory | |
2015-03-17 | Always use GL_Cull to change cull state | Zack Middleton | |
Manually changing cull state can cause later GL_Cull calls to not change the cull state. | |||
2015-03-17 | OpenGL2: Change normal/tangent vertex encoding. | SmileTheory | |
2015-03-17 | OpenGL2: Speed up tonemap shader. | SmileTheory | |
2015-03-17 | OpenGL2: Fix corrupt models. | SmileTheory | |
2015-03-17 | OpenGL2: Bit of multidraw optimization. | SmileTheory | |
2015-03-17 | Fix a bug in previous commit. | SmileTheory | |
2015-03-17 | OpenGL2: Fix missing surfaces with r_mergeMultidraws 2. | SmileTheory | |
2015-03-17 | OpenGL2: Interleave vertex data for static MD3s. | SmileTheory | |
2015-03-17 | OpenGL2: Fix invalid texture parameter. | SmileTheory | |
2015-03-17 | OpenGL2: Reduce redundant GL calls. | SmileTheory | |
2015-03-17 | OpenGL2: Vertex array object support. | SmileTheory | |
2015-03-17 | OpenGL2: VBO cleanup. | SmileTheory | |
2015-03-17 | OpenGL2: Better BSP surface merging. | SmileTheory | |
2015-03-17 | OpenGL2: Don't segfault if r_ext_multitexture is disabled | Zack Middleton | |
2015-03-17 | Add function for clearing global shader instead of duplicating the code | Zack Middleton | |
2015-03-17 | Fix more warnings | Tim Angus | |
2015-03-17 | Fix renderergl2 warnings | Tim Angus | |
2015-03-17 | Fix 6155: OpenGL2: some shader stages remains visible through fog volumes | Zack Middleton | |
Fix CalcFog in generic_vp.glsl to fog fogged surfaces. Now it's the same as CalcFog in fogpass_vp.glsl. Fixes shaders that use adjustColorsForFog. Impact wallmarks, blood sprites, flame textures and so on. | |||
2015-03-17 | Port COM_ParseExt fixes to CommaParse | Zack Middleton | |