aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_opengl
AgeCommit message (Collapse)Author
2019-03-13video_core/morton: Use enum to describe MortonCopyPixels128 modeReinUsesLisp
2019-03-13video_core/morton: Remove unused parameter in MortonSwizzleReinUsesLisp
2019-03-12Merge pull request #2215 from ReinUsesLisp/samplersbunnei
gl_rasterizer: Encapsulate sampler queries into methods
2019-03-11renderer_opengl/gl_global_cache: Replace indexing for assignment with ↵Lioncash
insert_or_assign The previous code had some minor issues with it, really not a big deal, but amending it is basically 'free', so I figured, "why not?". With the standard container maps, when: map[key] = thing; is done, this can cause potentially undesirable behavior in certain scenarios. In particular, if there's no value associated with the key, then the map constructs a default initialized instance of the value type. In this case, since it's a std::shared_ptr (as a type alias) that is the value type, this will construct a std::shared_pointer, and then assign over it (with objects that are quite large, or actively heap allocate this can be extremely undesirable). We also make the function take the region by value, as we can avoid a copy (and by extension with std::shared_ptr, a copy causes an atomic reference count increment), in certain scenarios when ownership isn't a concern (i.e. when ReserveGlobalRegion is called with an rvalue reference, then no copy at all occurs). So, it's more-or-less a "free" gain without many downsides.
2019-03-11renderer_opengl/gl_global_cache: Append missing override specifiersLioncash
Two of the functions here are overridden functions, so we can append these specifiers to make it explicit.
2019-03-11gl_rasterizer: Use system instance passed from argumentReinUsesLisp
2019-03-10Merge pull request #2147 from ReinUsesLisp/texture-cleanbunnei
shader_ir: Remove "extras" from the MetaTexture
2019-03-10Merge pull request #2143 from ReinUsesLisp/texviewbunnei
gl_rasterizer_cache: Create texture views for array discrepancies
2019-03-09gl_rasterizer: Encapsulate sampler queries into methodsReinUsesLisp
2019-03-09gl_rasterizer: Minor logger changesReinUsesLisp
2019-03-07Merge pull request #2055 from bunnei/gpu-threadbunnei
Asynchronous GPU command processing
2019-03-06Merge pull request #2149 from ReinUsesLisp/decoders-stylebunnei
gl_rasterizer_cache: Move format conversion functions to their own file
2019-03-06gpu: Always flush.bunnei
2019-03-06Merge pull request #2190 from lioncash/ogl-globalbunnei
core: Remove the global telemetry accessor function
2019-03-04Merge pull request #2165 from ReinUsesLisp/unbind-texbunnei
gl_rasterizer: Unbind textures but don't apply the gl_state
2019-03-04video_core/renderer_opengl: Replace direct usage of global system object ↵Lioncash
accessors We already pass a reference to the system object to the constructor of the renderer, so we can just use that instead of using the global accessor functions.
2019-03-02fuck git for ruining my day, I will learn but I will not forgivebunnei
2019-02-28gl_rasterizer: Remove texture unbinding after dispatching a draw callReinUsesLisp
Unbinding was required when OpenGL delete operations didn't unbind a resource if it was bound. This is no longer needed and can be removed.
2019-02-28gl_state: Fixup multibind bugReinUsesLisp
2019-02-27Merge pull request #2121 from FernandoS27/texception2bunnei
Improve the Accuracy of the Rasterizer Cache through a Texception Pass
2019-02-27Merge pull request #2172 from lioncash/reorderbunnei
gl_rasterizer/vk_memory_manager: Silence -Wreorder warnings
2019-02-27Devirtualize Register/Unregister and use a wrapper instead.Fernando Sahmkow
2019-02-27Corrections and redesign.Fernando Sahmkow
2019-02-27Fix linux compile error.Fernando Sahmkow
2019-02-27Remove NotifyFrameBuffer as we are doing a texception pass every drawcall.Fernando Sahmkow
2019-02-27Remove certain optimizations that caused texception to fail in certain ↵Fernando Sahmkow
scenarios.
2019-02-27Bug fixes and formattingFernando Sahmkow
2019-02-27rasterizer_cache_gl: Implement Texception PassFernando Sahmkow
2019-02-27rasterizer_cache_gl: Implement Partial Reinterpretation of Surfaces.Fernando Sahmkow
2019-02-27rasterizer_cache: mark reinterpreted surfaces and add ability to reload ↵Fernando Sahmkow
marked surfaces on next use.
2019-02-27rasterizer_cache_gl: Notify on framebuffer changeFernando Sahmkow
2019-02-27Merge pull request #2163 from ReinUsesLisp/bitset-dirtybunnei
maxwell_3d: Use std::bitset to manage dirty flags
2019-02-27gl_rasterizer_cache: Create texture views for array discrepanciesReinUsesLisp
When a texture is sampled in a shader with a different array mode than the cached state, create a texture view and bind that to the shader instead.
2019-02-27Merge pull request #2167 from lioncash/namespacebunnei
common: Move Quaternion, Rectangle, Vec2, Vec3, and Vec4 into the Common namespace
2019-02-27gl_rasterizer: Reorder constructor initializer list in terms of member ↵Lioncash
declaration order Orders the members in the order they would actually be initialized in. Silences a -Wreorder warning.
2019-02-27gl_shader_disk_cache: Remove #pragma once from cpp fileLioncash
This is only necessary in headers. Silences a warning with clang.
2019-02-27common/math_util: Move contents into the Common namespaceLioncash
These types are within the common library, so they should be within the Common namespace.
2019-02-26gl_rasterizer_cache: Move format conversion to its own fileReinUsesLisp
2019-02-26renderer_opengl: Update pixel format trackingReinUsesLisp
2019-02-26maxwell_3d: Use std::bitset to manage dirty flagsReinUsesLisp
2019-02-26shader/decode: Remove extras from MetaTextureReinUsesLisp
2019-02-24Merge pull request #2118 from FernandoS27/ipa-improvebunnei
shader_decompiler: Improve Accuracy of Attribute Interpolation.
2019-02-24Merge pull request #2119 from FernandoS27/fix-copybunnei
rasterizer_cache_gl: Only do fast layered copy on the same format.
2019-02-23gl_rasterizer_cache: Fixup parameter order in layered swizzleReinUsesLisp
2019-02-20Merge pull request #2125 from ReinUsesLisp/fixup-glstatebunnei
gl_state: Synchronize gl_state even when state is disabled
2019-02-16Merge pull request #2127 from FearlessTobi/fix-screenshot-srgbbunnei
renderer_opengl: respect the sRGB colorspace for the screenshot feature
2019-02-15Merge pull request #2123 from lioncash/coretiming-globalJames Rowe
core_timing: De-globalize core_timing facilities
2019-02-15core_timing: Convert core timing into a classLioncash
Gets rid of the largest set of mutable global state within the core. This also paves a way for eliminating usages of GetInstance() on the System class as a follow-up. Note that no behavioral changes have been made, and this simply extracts the functionality into a class. This also has the benefit of making dependencies on the core timing functionality explicit within the relevant interfaces.
2019-02-15renderer_opengl: respect the sRGB colorspace for the screenshot featurefearlessTobi
Previously, we were completely ignoring for screenshots whether the game uses RGB or sRGB. This resulted in screenshot colors that looked off for some titles.
2019-02-15gl_state: Synchronize gl_state even when state is disabledReinUsesLisp
There are some potential edge cases where gl_state may fail to track the state if a related state changes while the toggle is disabled or it didn't change. This addresses that.