bunnei
ea2d391072
Merge pull request #2163 from ReinUsesLisp/bitset-dirty
maxwell_3d: Use std::bitset to manage dirty flags
7 years ago
Annomatg
05ba8057ee
Speed up memory page mapping ( #2141 )
- Memory::MapPages total samplecount was reduced from 4.6% to 1.06%.
- From main menu into the game from 1.03% to 0.35%
7 years ago
bunnei
ffc4103452
Merge pull request #2176 from lioncash/com
audio_core/cubeb_sink: Ensure COM is initialized on Windows prior to calling cubeb_init
7 years ago
Lioncash
f4458c9da8
audio_core/cubeb_sink: Ensure COM is initialized on Windows prior to calling cubeb_init
cubeb now requires that COM explicitly be initialized on the thread
prior to calling cubeb_init.
7 years ago
ReinUsesLisp
cd0f137b61
gl_rasterizer_cache: Create texture views for array discrepancies
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.
7 years ago
Lioncash
269a497914
service/hid: Amend forward declaration of ServiceManager
The SM namespace is within the Service namespace, so this was forward
declaring a type that didn't exist.
7 years ago
Lioncash
9c6a7d3ebe
yuzu/compatdb: Remove unused lambda capture
Silences a compiler warning with clang.
7 years ago
bunnei
2f967b8b46
Merge pull request #2169 from lioncash/naming
audio_core/audio_renderer: Provide names for some parameters of AudioRendererParameter
7 years ago
bunnei
4116d36208
Merge pull request #2170 from lioncash/emu-window
core/frontend/emu_window: Make ClipToTouchScreen a const member function
7 years ago
bunnei
9c1f4ac124
Merge pull request #2161 from lioncash/handle-table
kernel/handle_table: Allow process capabilities to limit the handle table size
7 years ago
bunnei
dfe6ee0870
Merge pull request #2168 from lioncash/cubeb
externals: Update cubeb to the master version
7 years ago
bunnei
01bf1afe79
Merge pull request #2167 from lioncash/namespace
common: Move Quaternion, Rectangle, Vec2, Vec3, and Vec4 into the Common namespace
7 years ago
bunnei
2d185773e4
Merge pull request #2171 from lioncash/pragma
gl_shader_disk_cache: Remove #pragma once from cpp file
7 years ago
Lioncash
3f0ed32450
vk_memory_manager: Reorder constructor initializer list in terms of member declaration order
Reorders members in the order that they would actually be initialized
in. Silences a -Wreorder warning.
7 years ago
Lioncash
4f0c52ce0b
gl_rasterizer: Reorder constructor initializer list in terms of member declaration order
Orders the members in the order they would actually be initialized in.
Silences a -Wreorder warning.
7 years ago
Lioncash
2218f0e4ef
gl_shader_disk_cache: Remove #pragma once from cpp file
This is only necessary in headers. Silences a warning with clang.
7 years ago
Lioncash
4596a529ed
core/frontend/emu_window: Make ClipToTouchScreen a const member function
This member function doesn't modify instance state, so it can have the
const specifier applied to it.
7 years ago
Lioncash
3567364c42
audio_core/audio_renderer: Name previously unknown parameters of AudioRendererParameter
Provides names for previously unknown entries (aside from the two u8
that appear to be padding bytes, and a single word that also appears
to be reserved or padding).
This will be useful in subsequent changes when unstubbing behavior related
to the audio renderer services.
7 years ago
Lioncash
e59ae7210a
common/math_util: Move contents into the Common namespace
These types are within the common library, so they should be within the
Common namespace.
7 years ago
Lioncash
5548066ed8
externals: Update cubeb to 6f2420de8f
Keeps the audio library we use up to date.
7 years ago
Lioncash
39eccc0286
common/vector_math: Move Vec[x] types into the Common namespace
These types are within the common library, so they should be using the
Common namespace.
7 years ago
Lioncash
63a8d9172f
common/quaternion: Move Quaternion into the Common namespace
Quaternion is within the common library, so it should be using the
Common namespace.
7 years ago
Lioncash
e86f1653d8
service/vi: Unstub GetDisplayService
This function is also supposed to check its given policy type with the
permission of the service itself. This implements the necessary
machinery to unstub these functions.
Policy::User seems to just be basic access (which is probably why vi:u
is restricted to that policy), while the other policy seems to be for
extended abilities regarding which displays can be managed and queried,
so this is assumed to be for a background compositor (which I've named,
appropriately, Policy::Compositor).
7 years ago
Lioncash
93b02f28d8
core/ipc_helper: Allow popping all signed value types with RequestParser
There's no real reason this shouldn't be allowed, given some values sent
via a request can be signed. This also makes it less annoying to work
with popping enum values, given an enum class with no type specifier
will work out of the box now.
It's also kind of an oversight to allow popping s64 values, but nothing
else.
7 years ago
ReinUsesLisp
3989075e5f
gl_rasterizer_cache: Move format conversion to its own file
7 years ago
ReinUsesLisp
64612bf940
decoders: Minor style changes
7 years ago
Lioncash
c576556e92
service/vi: Remove use of a module class
This didn't really provide much benefit here, especially since the
subsequent change requires that the behavior for each service's
GetDisplayService differs in a minor detail.
This also arguably makes the services nicer to read, since it gets rid
of an indirection in the class hierarchy.
7 years ago
bunnei
a96ed06efa
Merge pull request #2164 from ReinUsesLisp/configure-blit
renderer_opengl: Update pixel format tracking
7 years ago
ReinUsesLisp
87634bbdee
renderer_opengl: Update pixel format tracking
7 years ago
ReinUsesLisp
20d8c304f2
maxwell_3d: Use std::bitset to manage dirty flags
7 years ago
ReinUsesLisp
ef4cf27e2a
vk_stream_buffer: Remove copy code path
7 years ago
ReinUsesLisp
3b01587ca4
shader/decode: Remove extras from MetaTexture
7 years ago
ReinUsesLisp
8a7efd22ec
shader/decode: Split memory and texture instructions decoding
7 years ago
bunnei
d07526cd2b
Merge pull request #2156 from FreddyFunk/patch-1
file_sys/vfs_vector: Fix ignored offset on Write
7 years ago
bunnei
c566f4f80c
Merge pull request #2158 from lioncash/table
service/vi: Update IManagerDisplayService's function table
7 years ago
bunnei
1a9691116b
Merge pull request #2160 from lioncash/audio-warn
audio_core: Resolve compilation warnings
7 years ago
bunnei
1e8287ff15
Merge pull request #2159 from lioncash/warn
shader/track: Resolve variable shadowing warnings
7 years ago
Lioncash
c997e9e88c
kernel/handle_table: Make local variables as const where applicable
Makes immutable state explicit.
7 years ago
Lioncash
d396c08b13
kernel/handle_table: Allow process capabilities to limit the handle table size
The kernel allows restricting the total size of the handle table through
the process capability descriptors. Until now, this functionality wasn't
hooked up. With this, the process handle tables become properly restricted.
In the case of metadata-less executables, the handle table will assume
the maximum size is requested, preserving the behavior that existed
before these changes.
7 years ago
Lioncash
a13187e002
kernel/handle-table: In-class initialize data members
Directly initializes members where applicable.
7 years ago
Lioncash
f9c32c373d
kernel/handle_table: Resolve truncation warnings
Avoids implicit truncation warnings from u32 -> u16 (the truncation is
desirable behavior here).
7 years ago
Lioncash
cb2cfc87ad
audio_core/cubeb_sink: Initialize CubebSinkStream's last_frame data member
Ensures that all member variables are initialized in a deterministic
manner across the board.
7 years ago
Lioncash
31f64510b9
audio_core/cubeb_sink: Add override specifier to destructor
CubebSinkStream inherits from a base class with a virtual destructor, so
override can be appended to CubebSinkStream's destructor.
7 years ago
Lioncash
762b1a20ca
audio_core/cubeb_sink: Resolve variable shadowing warnings in SamplesInQueue
The name of the parameter was shadowing the member variable of the same
name. Instead, alter the name of the parameter to prevent said
shadowing.
7 years ago
Lioncash
df93da0615
audio_core/codec: Resolve truncation warnings within DecodeADPCM
The assignments here were performing an implicit truncation from int to
s16. Make it explicit that this is desired behavior.
7 years ago
Lioncash
3e82ac10a5
shader/track: Resolve variable shadowing warnings
7 years ago
Lioncash
1269259bfa
service/vi: Update IManagerDisplayService's function table
Amends it to add the 7.0.0+ CreateStrayLayer function.
7 years ago
bunnei
d3b2ab4679
Merge pull request #2118 from FernandoS27/ipa-improve
shader_decompiler: Improve Accuracy of Attribute Interpolation.
7 years ago
bunnei
606d0b0cde
Merge pull request #2119 from FernandoS27/fix-copy
rasterizer_cache_gl: Only do fast layered copy on the same format.
7 years ago
bunnei
2df607dd12
Merge pull request #2155 from FearlessTobi/port-4655
Port citra-emu/citra#4655 : "Remove GCC version checks"
7 years ago