summaryrefslogtreecommitdiffstats
path: root/src/video_core/video_core.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* renderer_opengl: Namespace OpenGL codeLioncash2018-08-221-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.
* core: Namespace EmuWindowLioncash2018-08-121-1/+1
| | | | Gets the class out of the global namespace.
* video_core; Get rid of global g_toggle_framelimit_enabled variableLioncash2018-08-111-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.
* video_core: Eliminate the g_renderer global variableLioncash2018-08-041-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.
* video_core: Make global EmuWindow instance part of the base renderer classLioncash2018-08-021-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.
* Rename logging macro back to LOG_*James Rowe2018-07-031-3/+3
|
* video-core: Move logging macros over to new fmt-capable onesLioncash2018-04-251-3/+3
|
* renderer_opengl: Logging, etc. cleanup.bunnei2018-03-271-1/+1
|
* Format: Run the new clang format on everythingJames Rowe2018-01-211-1/+1
|
* Remove gpu debugger and get yuzu qt to compileJames Rowe2018-01-131-3/+0
|
* Remove references to PICA and rasterizers in video_coreJames Rowe2018-01-131-5/+0
|
* config: Add option for specifying screen resolution scale factor.bunnei2017-01-071-1/+0
|
* Implement Frame rate limiter (#2223)emmauss2016-12-061-0/+1
| | | | | | * implement frame limiter * fixes
* Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner2016-09-211-1/+1
|
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-211-3/+1
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-3/+3
|
* config: Add a setting for graphics V-Sync.bunnei2016-08-301-0/+1
|
* VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot2016-04-301-4/+0
|
* Config: Add scaled resolution optiontfarley2016-04-211-0/+1
|
* Common: Remove Common::make_unique, use std::make_uniqueMerryMage2016-04-051-2/+1
|
* Improve error report from Init() functionsLittleWhite2016-03-081-4/+8
| | | | Add error popup when citra initialization failed
* video_core: Make the renderer global a unique_ptrLioncash2015-12-301-4/+7
|
* video_core: Reorganize headersLioncash2015-09-111-6/+5
|
* Shader: Initial implementation of x86_x64 JIT compiler for Pica vertex shaders.bunnei2015-08-161-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.
* Pica: Create 'State' structure and move state memory there.bunnei2015-05-231-3/+10
|
* OpenGL renderertfarley2015-05-231-0/+3
|
* Common: Remove common.hYuri Kunde Schlesner2015-05-071-1/+1
|
* Set framebuffer layout from EmuWindow.bunnei2015-03-071-3/+0
|
* Asserts: break/crash program, fit to style guide; log.h->assert.harchshift2015-02-111-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.
* License changepurpasmart962014-12-211-1/+1
|
* Convert old logging calls to new logging macrosYuri Kunde Schlesner2014-12-131-2/+2
|
* Change NULLs to nullptrs.Rohit Nirmal2014-12-031-2/+2
|
* Dead code removal: video_core.cpp, load_symbol_map.cpparchshift2014-09-071-7/+0
|
* Replace GLEW with a glLoadGen loader.Yuri Kunde Schlesner2014-09-011-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.
* Fix the threading for GL Context in Qt5.Sacha2014-08-241-1/+0
| | | | Connect the emu_thread start/finish to a moveContext slot.
* Use glewExperimental on Linux in order to fix GLFW-modearchshift2014-08-121-3/+2
|
* Preprocessor: #if's out OSX-specific GL changes on other platformsarchshift2014-06-121-0/+3
|
* Improved clarity and whitespacearchshift2014-05-201-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.
* Fixed indentsarchshift2014-05-011-2/+2
|
* OpenGL 3+ on OSX with GLFWarchshift2014-05-011-0/+2
|
* cleaned up some logging messagesbunnei2014-04-111-1/+2
|
* fixed project includes to use new directory structurebunnei2014-04-091-7/+7
|
* got rid of 'src' folders in each sub-projectbunnei2014-04-091-0/+49