summaryrefslogtreecommitdiffstats
path: root/src/video_core/video_core.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-08-22renderer_opengl: Namespace OpenGL codeLioncash1-1/+1
Namespaces all OpenGL code under the OpenGL namespace. Prevents polluting the global namespace and allows clear distinction between other renderers' code in the future.
2018-08-12core: Namespace EmuWindowLioncash1-1/+1
Gets the class out of the global namespace.
2018-08-11video_core; Get rid of global g_toggle_framelimit_enabled variableLioncash1-2/+0
Instead, we make a struct for renderer settings and allow the renderer to update all of these settings, getting rid of the need for global-scoped variables. This also uncovered a few indirect inclusions for certain headers, which this commit also fixes.
2018-08-04video_core: Eliminate the g_renderer global variableLioncash1-23/+2
We move the initialization of the renderer to the core class, while keeping the creation of it and any other specifics in video_core. This way we can ensure that the renderer is initialized and doesn't give unfettered access to the renderer. This also makes dependencies on types more explicit. For example, the GPU class doesn't need to depend on the existence of a renderer, it only needs to care about whether or not it has a rasterizer, but since it was accessing the global variable, it was also making the renderer a part of its dependency chain. By adjusting the interface, we can get rid of this dependency.
2018-08-02video_core: Make global EmuWindow instance part of the base renderer classLioncash1-5/+2
Makes the global a member of the RendererBase class. We also change this to be a reference. Passing any form of null pointer to these functions is incorrect entirely, especially given the code itself assumes that the pointer would always be in a valid state. This also makes it easier to follow the lifecycle of instances being used, as we explicitly interact the renderer with the rasterizer, rather than it just operating on a global pointer.
2018-07-03Rename logging macro back to LOG_*James Rowe1-3/+3
2018-04-25video-core: Move logging macros over to new fmt-capable onesLioncash1-3/+3
2018-03-27renderer_opengl: Logging, etc. cleanup.bunnei1-1/+1
2018-01-21Format: Run the new clang format on everythingJames Rowe1-1/+1
2018-01-13Remove gpu debugger and get yuzu qt to compileJames Rowe1-3/+0
2018-01-13Remove references to PICA and rasterizers in video_coreJames Rowe1-5/+0
2017-01-07config: Add option for specifying screen resolution scale factor.bunnei1-1/+0
2016-12-06Implement Frame rate limiter (#2223)emmauss1-0/+1
* implement frame limiter * fixes
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner1-1/+1
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot1-3/+1
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-3/+3
2016-08-30config: Add a setting for graphics V-Sync.bunnei1-0/+1
2016-04-30VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot1-4/+0
2016-04-21Config: Add scaled resolution optiontfarley1-0/+1
2016-04-05Common: Remove Common::make_unique, use std::make_uniqueMerryMage1-2/+1
2016-03-08Improve error report from Init() functionsLittleWhite1-4/+8
Add error popup when citra initialization failed
2015-12-30video_core: Make the renderer global a unique_ptrLioncash1-4/+7
2015-09-11video_core: Reorganize headersLioncash1-6/+5
2015-08-16Shader: Initial implementation of x86_x64 JIT compiler for Pica vertex shaders.bunnei1-0/+1
- Config: Add an option for selecting to use shader JIT or interpreter. - Qt: Add a menu option for enabling/disabling the shader JIT.
2015-05-23Pica: Create 'State' structure and move state memory there.bunnei1-3/+10
2015-05-23OpenGL renderertfarley1-0/+3
2015-05-07Common: Remove common.hYuri Kunde Schlesner1-1/+1
2015-03-07Set framebuffer layout from EmuWindow.bunnei1-3/+0
2015-02-11Asserts: break/crash program, fit to style guide; log.h->assert.harchshift1-1/+0
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-2/+2
2014-12-03Change NULLs to nullptrs.Rohit Nirmal1-2/+2
2014-09-07Dead code removal: video_core.cpp, load_symbol_map.cpparchshift1-7/+0
2014-09-01Replace GLEW with a glLoadGen loader.Yuri Kunde Schlesner1-5/+0
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-24Fix the threading for GL Context in Qt5.Sacha1-1/+0
Connect the emu_thread start/finish to a moveContext slot.
2014-08-12Use glewExperimental on Linux in order to fix GLFW-modearchshift1-3/+2
2014-06-12Preprocessor: #if's out OSX-specific GL changes on other platformsarchshift1-0/+3
2014-05-20Improved clarity and whitespacearchshift1-0/+1
Changed QGL version to 3,2 in order to be less restrictive, yet it should still change up to 4,1 on OSX on Qt5.
2014-05-01Fixed indentsarchshift1-2/+2
2014-05-01OpenGL 3+ on OSX with GLFWarchshift1-0/+2
2014-04-11cleaned up some logging messagesbunnei1-1/+2
2014-04-09fixed project includes to use new directory structurebunnei1-7/+7
2014-04-09got rid of 'src' folders in each sub-projectbunnei1-0/+0
2014-04-09fixed license header in video_corebunnei1-42/+3
2014-04-06added initial renderer codebunnei1-11/+8
2014-04-05added video_core project to solutionbunnei1-0/+91