aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl
AgeCommit message (Collapse)Author
2015-07-26OpenGL: Make OpenGL object resource wrappers fully inlineYuri Kunde Schlesner
The functions are so simple that having them separate only bloats the code and hinders optimization.
2015-07-23Merge pull request #977 from yuriks/glenable-tex2dbunnei
GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) calls
2015-07-22Rasterizer/GL: Set the border color when binding a texture.Subv
2015-07-22GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) callsYuri Kunde Schlesner
In OpenGL 3, texturing is always enabled, and this call is invalid. While it produced no effect in the rest of the execution, it wouldn't have the intended effect of disabling texturing for that unit. Instead bind a null texture to the unit.
2015-07-21GPU: Added registers for min and mag texture filters and implemented them in ↵Subv
the hw renderer.
2015-07-19GLRasterizer: Don't try to get a pointer to the depth buffer if it doesn't ↵Subv
exist.
2015-07-13Add CiTrace recording support.Tony Wasserka
This is exposed in the GUI as a new "CiTrace Recording" widget. Playback is implemented by a standalone 3DS homebrew application (which only runs reliably within Citra currently; on an actual 3DS it will often crash still).
2015-07-12Merge pull request #907 from Lectem/clamp_to_borderTony Wasserka
Add GL_CLAMP_TO_BORDER support.
2015-07-09Added GL_CLAMP_TO_BORDER supportLectem
2015-06-28Core: Cleanup hw includes.Emmanuel Gil Peyrot
2015-06-28Core, VideoCore: Replace or fix exit() calls.Emmanuel Gil Peyrot
2015-06-28Common: Cleanup key_map includes.Emmanuel Gil Peyrot
2015-06-16VideoCore: Log the GL driver’s vendor and renderer.Emmanuel Gil Peyrot
2015-06-08Renderer formatting editstfarley
2015-06-08Render-to-texture flush, interval math fixtfarley
2015-06-08Liberal texture unbind (clout menu)tfarley
2015-06-08Depth format fix (crush3d intro/black screens)tfarley
2015-06-08Implemented glColorMasktfarley
2015-05-31Merge pull request #811 from archshift/commonifyarchshift
Commonify video_core utility headers
2015-05-31Pica: Use zero for the SecondaryFragmentColor source.bunnei
- This is a workaround until we support fragment lighting.
2015-05-31Pica: Implement LogicOp function.bunnei
2015-05-30Move video_core/color.h to common/color.harchshift
2015-05-30Move video_core/math.h to common/vector_math.harchshift
The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot
2015-05-23gl_state: Remove unnecessary const specifier on ApplyLioncash
2015-05-22Pica: Create 'State' structure and move state memory there.bunnei
2015-05-22gl_state: Fix a condition typo in ApplyLioncash
2015-05-22OpenGL renderertfarley
2015-05-15Memmap: Re-organize memory function in two filesYuri Kunde Schlesner
memory.cpp/h contains definitions related to acessing memory and configuring the address space mem_map.cpp/h contains higher-level definitions related to configuring the address space accoording to the kernel and allocating memory.
2015-05-09Memory: Add GetPhysicalPointer helper functionYuri Kunde Schlesner
2015-05-07Common: Remove common.hYuri Kunde Schlesner
2015-04-03Allow the user to set the background clear color during emulationarchshift
The background color can be seen at the sides of the bottom screen or when the window is wider than normal.
2015-03-10Merge pull request #629 from archshift/lcdfbbunnei
Implement SetLcdForceBlack and add implementation for color filling in the GPU code
2015-03-09Added LCD registers, and implementation for color filling in OGL code.archshift
2015-03-07Merge pull request #636 from bunnei/refactor-screen-winbunnei
Set framebuffer layout from EmuWindow.
2015-03-07Set framebuffer layout from EmuWindow.bunnei
2015-03-01Add profiling infrastructure and widgetYuri Kunde Schlesner
2015-02-15video_core: Implement the remaining framebuffer formats in the OpenGL renderer.Emmanuel Gil Peyrot
2015-02-10Asserts: break/crash program, fit to style guide; log.h->assert.harchshift
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.
2015-01-14GSP: Update framebuffer info on all interruptsYuri Kunde Schlesner
Hardware testing determined that the GSP processes shared memory framebuffer update info even when no memory transfer or filling GX commands are used. They are now updated on every interrupt, which isn't confirmed correct but matches hardware behaviour more closely. This also reverts the hack introduced in #404. It made a few games behave better, but I believe it's incorrect and also breaks other games.
2015-01-07GSP: Toggle active framebuffer each framebunnei
2014-12-21Merge pull request #291 from purpasmart96/licensebunnei
License change
2014-12-20License changepurpasmart96
2014-12-20Clean up some warningsChin
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner
2014-12-03Change NULLs to nullptrs.Rohit Nirmal
2014-12-03Merge pull request #236 from rohit-n/sign-comparebunnei
Silence a few -Wsign-compare warnings.
2014-11-30Silence a few -Wsign-compare warnings.Rohit Nirmal
2014-11-30Fixed viewport error caused by roundingvaguilar
2014-11-19Remove tabs in all files except in skyeye imports and in generated GL codeEmmanuel Gil Peyrot