summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_shader_util.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-22gl_shader_gen: Use explicit locations for vertex shader attributes.bunnei1-6/+0
2015-10-22gl_rasterizer: Define enum types for each vertex texcoord attribute.bunnei1-3/+3
2015-10-22gl_shader_gen: Various cleanups to shader generation.bunnei1-3/+3
2015-10-22renderer_opengl: Refactor shader generation/caching to be more organized + various cleanups.bunnei1-345/+3
2015-10-22gl_shader_util: Use vec3 constants for AppendColorCombiner.bunnei1-6/+6
2015-10-22gl_shader_util: Fix precision bug with alpha testing.bunnei1-7/+7
- Alpha testing is not done with float32 precision, this makes the HW renderer match the SW renderer.
2015-10-22Initial implementation of fragment shader generation with caching.Subv1-0/+349
2015-09-11video_core: Reorganize headersLioncash1-4/+4
2015-02-11Asserts: break/crash program, fit to style guide; log.h->assert.harchshift1-1/+1
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
2014-12-21License changepurpasmart961-1/+1
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner1-6/+18
2014-12-03Change NULLs to nullptrs.Rohit Nirmal1-5/+5
2014-10-21Only check OpenGL shader log if size is >1.Yuri Kunde Schlesner1-9/+6
This prevents a crash when the buffer size returned by the driver is 0, in which case no space is allocated to store even the NULL byte and glGetShaderInfoLog errors out. Thanks to @Relys for the bug report.
2014-08-26Rewrite of OpenGL renderer, including OS X supportKevin Hartman1-0/+81
Screen contents are now displayed using textured quads. This can be updated to expose an FBO once an OpenGL backend for when Pica rendering is being worked on. That FBO's texture can then be applied to the quads. Previously, FBO blitting was used in order to display screen contents, which did not work on OS X. The new textured quad approach is less of a compatibility risk.