bunnei
c444e52f0c
gl_rasterizer: Implement texture wrap mode p.
7 years ago
bunnei
d30f69d1af
gl_rasterizer_cache: Track texture depth.
7 years ago
bunnei
bae5d830aa
gl_rasterizer_cache: Remove impl. of FlushGLBuffer.
- Will not work for non-2d textures, and was not used anyways.
7 years ago
bunnei
98ac4a2b73
gl_rasterizer_cache: Keep track of texture type per surface.
7 years ago
bunnei
3719060146
gl_rasterizer_cache: Remove unused DownloadGLTexture.
7 years ago
bunnei
6683faf819
gl_state: Keep track of texture target.
7 years ago
bunnei
15298a0e55
Merge pull request #1257 from lioncash/process
core: Migrate current_process pointer to the kernel
7 years ago
bunnei
2fbe4c64d7
Merge pull request #1260 from MerryMage/dynarmic
externals: Update dynarmic to 9594465
7 years ago
MerryMage
74b4e303b5
externals: Update dynarmic to 9594465
9594465 A64: Implement FastDispatchHint
2be95f2 A32: Implement FastDispatchHint
96f23ac ir/terminal: Add FastDispatchHint
f5ca9e9 A64: Implement SQDMULH's scalar variant
af8bea5 ir: Add opcodes for scalar signed saturated doubling multiplies
fed4220 A64: Implement SQDMULH's vector variant
72eb6ad ir: Add opcodes for signed saturated doubling multiplies
0f8ae84 externals: Update catch to 2.4.0
235165b A64: Implement SQABS' scalar variant
1adca93 A64: Implement SQABS' vector variant.
f978c44 ir: Add opcodes for signed saturated absolute values
d895a84 emit_x64_floating_point: EmitFPToFixed: maxsd optimization
c624fe3 emit_x64_floating_point: ZeroIfNaN: pxor -> xorps
e987a84 IR: Simplify FP{Single,Double}ToFixed{U,S}{32,64}
f1babc8 externals: Update catch to 2.3.0
a0c587a A32/decoder: Add missing <algorithm> includes
7 years ago
bunnei
2bc1cb1cc6
Merge pull request #1201 from CaptV0rt3x/titlebar
Port #3804 from Citra - Better Title Bar Display
7 years ago
CaptV0rt3x
94a1e87593
For SDL Frontend
7 years ago
CaptV0rt3x
b636ffa70c
Better Title Bar Display
7 years ago
Lioncash
420597d70d
core: Migrate current_process pointer to the kernel
Given we now have the kernel as a class, it doesn't make sense to keep
the current process pointer within the System class, as processes are
related to the kernel.
This also gets rid of a subtle case where memory wouldn't be freed on
core shutdown, as the current_process pointer would never be reset,
causing the pointed to contents to continue to live.
7 years ago
bunnei
4f2ad8be06
Merge pull request #1250 from lioncash/file-sys
file_sys/{nca_patch, patch_manager}: Amend unnecessary/missing includes.
7 years ago
bunnei
0d14a02fad
Merge pull request #1249 from FearlessTobi/disable-vsync
frontend: Set swap interval to 0
7 years ago
bunnei
9be2925283
Merge pull request #1251 from lioncash/core-inc
core/core: Remove unnecessary sm/controller include
7 years ago
bunnei
dca7b837db
Merge pull request #1252 from lioncash/header
video_core/CMakeLists: Add missing gl_buffer_cache.h
7 years ago
bunnei
cc5b2647a8
Merge pull request #1253 from lioncash/explicit
video_core/gl_buffer_cache: Minor tidying changes
7 years ago
bunnei
580b2d99b3
Merge pull request #1255 from bunnei/minor-opt
gl_rasterizer: Call state.Apply only once on SetupShaders.
7 years ago
bunnei
f94b4fa1c8
Merge pull request #1254 from bunnei/ipa-saturate
gl_shader_decompiler: Implement saturate mode for IPA.
7 years ago
bunnei
a377771f88
gl_rasterizer: Call state.Apply only once on SetupShaders.
7 years ago
bunnei
c1089c49b0
gl_shader_decompiler: Implement saturate mode for IPA.
7 years ago
Lioncash
d10014e47f
gl_buffer_cache: Default initialize member variables
Ensures that the cache always has a deterministic initial state.
7 years ago
Lioncash
ef88902b2c
gl_buffer_cache: Make GetHandle() a const member function
GetHandle() internally calls GetHandle() on the stream_buffer instance,
which is a const member function, so this can be made const as well.
7 years ago
Lioncash
e0b2bdf8b2
gl_buffer_cache: Remove unnecessary includes
7 years ago
Lioncash
96cd6e9ee2
gl_buffer_cache: Make constructor explicit
Implicit conversions during construction isn't desirable here.
7 years ago
Lioncash
53ffb06003
video_core/CMakeLists: Add missing gl_buffer_cache.h
Without this, the header file won't show up by default within IDEs such
as Visual Studio.
7 years ago
Lioncash
30638f9c95
core/core: Remove unnecessary sm/controller include
The only reason this include was necessary, was because the constructor
wasn't defaulted in the cpp file and the compiler would inline it
wherever it was used. However, given Controller is forward declared, all
those inlined constructors would see an incomplete type, causing a
compilation failure. So, we just place the constructor in the cpp file,
where it can see the complete type definition, allowing us to remove
this include.
7 years ago
Lioncash
3168210492
file_sys/nca_patch: Amend constructor initializer list order
Orders the elements in the initializer list in the order they're
specified in the class. This prevents compiler warnings about
initialization order.
7 years ago
Lioncash
d15352b38b
file_sys/nca_patch: Remove unnecessary includes
romfs.h doesn't need to be included in the header, the only real
dependency here is common's swap.h that needs to be included.
7 years ago
Lioncash
1c61b93026
file_sys/patch_manager: Add missing includes
These includes were previously being satisfied indirectly.
7 years ago
bunnei
30c3f7b6eb
Merge pull request #1248 from degasus/shader_fix
gl_shader_gen: Initialize position.
7 years ago
fearlessTobi
7f0120aae4
frontend: Set swap interval to 0
7 years ago
Markus Wick
9e600046df
gl_shader_gen: Initialize position.
IMO the old code is fine, but nvidia raises shader compiler warnings.
Trivial fix through...
7 years ago
bunnei
bc9db095ff
Merge pull request #1243 from degasus/VAO_cache
gl_rasterizer: Implement a VAO cache.
7 years ago
bunnei
8e0113abed
Merge pull request #1244 from FernandoS27/ipa
shader_decompiler: Implemented IPA Properly (Stage 1)
7 years ago
FernandoS27
758dd86de9
Implemented IPA Properly
7 years ago
bunnei
e89f75a2b6
Merge pull request #1242 from lioncash/file-sys
file_sys/submission_package: Replace includes with forward declarations where applicable
7 years ago
bunnei
5eacb2bab4
Merge pull request #1179 from DarkLordZach/bktr
file_sys: Add support for BKTR format (Game Updates)
7 years ago
bunnei
ca74385006
Merge pull request #1245 from degasus/optimizations
gl_rasterizer: Skip TODO log.
7 years ago
Markus Wick
06395d3659
gl_rasterizer: Skip TODO log.
This is called ~3k times per frame in SMO ingame.
My laptop spends ~3ms per frame on allocating and freeing this string.
Let's just stop printing this kind of redundant information.
7 years ago
Lioncash
c0f0078eb1
file_sys/submission_package: Correct constructor initialization list order
Orders the elements in the sequence to match the order in which they'll
actually be initialized in.
7 years ago
Markus Wick
7902bc2853
gl_rasterizer: Implement a VAO cache.
This patch caches VAO objects instead of re-emiting all pointers per draw call.
Configuring this pointers is known as a fast task, but it yields too many GL
calls. So for better performance, just bind the VAO instead of 16 pointers.
7 years ago
Lioncash
a4907882ad
file_sys/submission_package: Replace includes with forward declarations where applicable
7 years ago
bunnei
b194a304e2
Merge pull request #1217 from degasus/vbo_cache2
renderer_opengl: Implement a buffer cache.
7 years ago
Markus Wick
3706ea6c39
renderer_opengl: Implement a buffer cache.
The idea of this cache is to avoid redundant uploads. So we are going
to cache the uploaded buffers within the stream_buffer and just reuse
the old pointers.
The next step is to implement a VBO cache on GPU memory, but for now,
I want to check the overhead of the cache management. Fetching the
buffer over PCI-E should be quite fast.
7 years ago
bunnei
a7ed71dc61
Merge pull request #1240 from degasus/optimizations
gl_shader_cache: Use an u32 for the binding point cache.
7 years ago
Zach Hilman
46eb9ec6ba
bktr: Fix bucket overlap error
7 years ago
Zach Hilman
14bfdbe0e7
drd: Parse title ID from program metadata
7 years ago
Zach Hilman
14a18fd7ae
patch_manager: Centralize Control-type NCA parsing
7 years ago