aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl
AgeCommit message (Collapse)Author
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
2014-11-18OpenGL Renderer: Cleanup viewport extent calculation.Tony Wasserka
2014-11-18Fixup EmuWindow interface and implementations thereof.Tony Wasserka
2014-11-18Viewport scaling and display density independenceKevin Hartman
The view is scaled to be as large as possible, without changing the aspect, within the bounds of the window. On "retina" displays, or other displays where window units != pixels, the view should no longer draw incorrectly.
2014-10-26Add `override` keyword through the code.Yuri Kunde Schlesner
This was automated using `clang-modernize`.
2014-10-21Only check OpenGL shader log if size is >1.Yuri Kunde Schlesner
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-10-12Rework OpenGL renderer.Yuri Kunde Schlesner
The OpenGL renderer has been revised, with the following changes: - Initialization and rendering have been refactored to reduce the number of redundant objects used. - Framebuffer rotation is now done directly, using texture mapping. - Vertex coordinates are now given in pixels, and the projection matrix isn't hardcoded anymore.
2014-10-12OpenGL renderer: Shuffle initialization code around and rename functions.Yuri Kunde Schlesner
2014-10-12Remove virtual inheritance from RendererOpenGLYuri Kunde Schlesner
Also make destructor virtual so that instances are properly destructed.
2014-09-13Merge pull request #97 from archshift/cleanupbunnei
Small, general code cleanup
2014-09-08Moved common_types::Rect from common to Common namespacearchshift
2014-09-07renderer_opengl.cpp: improved alignment for readabilityarchshift
2014-09-01Replace GLEW with a glLoadGen loader.Yuri Kunde Schlesner
This should fix the GL loading errors that occur in some drivers due to the use of deprecated functions by GLEW. Side benefits are more accurate auto-completion (deprecated function and symbols don't exist) and faster pointer loading (less entrypoints to load). In addition it removes an external library depency, simplifying the build system a bit and eliminating one set of binary libraries for Windows.
2014-08-28Downgrade GLSL version to 1.50 (compatible with GL 3.2)Yuri Kunde Schlesner
2014-08-26VideoCore: Fixes rendering issues on Qt and corrects framebuffer output size.bunnei
2014-08-25Rewrite of OpenGL renderer, including OS X supportKevin Hartman
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.
2014-08-12Pica/GPU: Change hardware registers to use physical addresses rather than ↵Tony Wasserka
virtual ones. This cleans up the mess that address reading/writing had become and makes the code a *lot* more sensible. This adds a physical<->virtual address converter to mem_map.h. For further accuracy, we will want to properly extend this to support a wider range of address regions. For now, this makes simply homebrew applications work in a good manner though.
2014-08-12Remove the fancy RegisterSet class introduced in 4c2bff61e.Tony Wasserka
While it was some nice and fancy template usage, it ultimately had many practical issues regarding length of involved expressions under regular usage as well as common code completion tools not being able to handle the structures. Instead, we now use a more conventional approach which is a lot more clean to use.
2014-07-23Use uniform formatting when printing hexadecimal numbers.Tony Wasserka
2014-07-23RegisterSet: Simplify code by using structs for register definition instead ↵Tony Wasserka
of unions.
2014-07-23GPU: Make use of RegisterSet.Tony Wasserka
2014-07-23Renderer: Fix component order in bottom framebuffer.Tony Wasserka
2014-07-23Renderer: Respect the active_fb GPU register.Tony Wasserka
2014-07-23Renderer: Add a few TODOs.Tony Wasserka
2014-06-12Rename LCD to GPU.Tony Wasserka
2014-05-19common_types: Changed BasicRect back to Rect, in the common namespacearchshift
Only Rect is in the namespace for now; the rest of common should be added in the future
2014-05-16Merge remote-tracking branch 'upstream/master' into issue-7-fixarchshift
2014-05-08Update FlipFramebufferSethpaien
Less calculations + fix
2014-04-30Reverse debugging changesarchshift
2014-04-30TGA dumps work, courtesy of @bunneiarchshift
2014-04-27Xcode complains that the class name is redundant.archshift
2014-04-27Rect to BasicRectarchshift
Somewhere along the line an OSX header had already taken the name Rect.
2014-04-27removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable classbunnei
2014-04-27fixed renderer to use correct framebuffer locationbunnei
2014-04-21fixed GL context acquire (applies to Qt GUI only)bunnei
2014-04-17renamed hw_lcd module to just lcdbunnei
2014-04-17fixed framebuffer color orderbunnei
2014-04-16removed hard-coded framebuffer addresses from renderer_opengl.cppbunnei
2014-04-08fixed project includes to use new directory structurebunnei
2014-04-08got rid of 'src' folders in each sub-projectbunnei