Mat M
0dfdec8949
vk_sampler_cache: Use operator== instead of memcmp
Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc>
7 years ago
ReinUsesLisp
a9c05dfcd7
vk_sampler_cache: Implement a sampler cache
7 years ago
ReinUsesLisp
1fc1607e10
video_core/texture: Add a raw representation of TSCEntry
7 years ago
bunnei
06886d0c41
Merge pull request #2215 from ReinUsesLisp/samplers
gl_rasterizer: Encapsulate sampler queries into methods
7 years ago
bunnei
cc357510d7
Merge pull request #2207 from lioncash/hwopus
service/audio/hwopus: Move decoder state to its own class
7 years ago
bunnei
0b4cf1ba01
Merge pull request #2193 from lioncash/global
kernel/scheduler: Pass in system instance in constructor
7 years ago
bunnei
11ac277646
Merge pull request #2147 from ReinUsesLisp/texture-clean
shader_ir: Remove "extras" from the MetaTexture
7 years ago
bunnei
6a2ba422e0
Merge pull request #2143 from ReinUsesLisp/texview
gl_rasterizer_cache: Create texture views for array discrepancies
7 years ago
bunnei
6b81745453
Merge pull request #2220 from lioncash/cubeb
audio_core/cubeb_sink: Convert _MSC_VER ifdefs to _WIN32
7 years ago
Mat M
5ac2924f15
Merge pull request #2217 from ReinUsesLisp/rasterizer-logger
gl_rasterizer: Minor logger changes
7 years ago
Mat M
90e0a72be8
Merge pull request #2219 from Hexagon12/log-settings
core/settings: Log more setting values
7 years ago
Mat M
713181c327
Merge pull request #2218 from ReinUsesLisp/cmd-cast
yuzu_cmd/config: Silent implicit cast warning
7 years ago
Lioncash
6ade1d0afd
audio_core/cubeb_sink: Convert _MSC_VER ifdefs to _WIN32
This behavior also needs to be visible for MinGW builds as well.
7 years ago
Hexagon12
033cda6e5e
clang fix
7 years ago
Hexagon12
49ecd006da
Log 2 new setting values
7 years ago
ReinUsesLisp
d949475417
gl_rasterizer: Encapsulate sampler queries into methods
7 years ago
ReinUsesLisp
3f9d55eecd
yuzu_cmd/config: Replace C casts with static_cast
7 years ago
ReinUsesLisp
15680df2b2
yuzu_cmd/config: Silent implicit cast warning
7 years ago
ReinUsesLisp
75fa32b772
gl_rasterizer: Minor logger changes
7 years ago
bunnei
60e4af8ebb
Merge pull request #2210 from lioncash/optional
kernel/hle_ipc: Convert std::shared_ptr IPC header instances to std::optional
7 years ago
bunnei
944d93c013
Merge pull request #2209 from lioncash/reorder
video_core/gpu_thread: Silence a -Wreorder warning
7 years ago
bunnei
fc3d9ebe41
Merge pull request #2208 from lioncash/gpu
video_core/gpu: Make GPU's destructor virtual
7 years ago
bunnei
ae4fd2c619
Merge pull request #2191 from ReinUsesLisp/maxwell-to-vk
maxwell_to_vk: Initial implementation
7 years ago
bunnei
5a66b7b295
Merge pull request #2212 from ReinUsesLisp/dma-push-fix
dma_pusher: Store command_list_header by copy
7 years ago
ReinUsesLisp
81ff2a51ad
dma_pusher: Store command_list_header by copy
Instead of holding a reference that will get invalidated by
dma_pushbuffer.pop(), hold it as a copy. This doesn't have any
performance cost since CommandListHeader is 8 bytes long.
7 years ago
Lioncash
922f4d460e
kernel/hle_ipc: Convert std::shared_ptr IPC header instances to std::optional
There's no real need to use a shared lifetime here, since we don't
actually expose them to anything else. This is also kind of an
unnecessary use of the heap given the objects themselves are so small;
small enough, in fact that changing over to optionals actually reduces
the overall size of the HLERequestContext struct (818 bytes to 808
bytes).
7 years ago
Lioncash
d3b068d5eb
travis: Bump macOS version to 10.14
For whatever bizarre reason, Apple only made a few of std::optional's
member functions available on newer SDK versions. Given we can't even
run yuzu on macOS, and we keep the builder around to ensure that it
always at least compiles on macOS, we can bump this up a version.
7 years ago
bunnei
cb3f4449a9
Merge pull request #2195 from lioncash/shared-global
kernel/shared_memory: Get rid of the use of global accessor functions within Create()
7 years ago
Lioncash
b20657a36f
common/bit_field: Make BitField trivially copyable
This makes the class much more flexible and doesn't make performing
copies with classes that contain a bitfield member a pain.
Given BitField instances are only intended to be used within unions, the
fact the full storage value would be copied isn't a big concern (only
sizeof(union_type) would be copied anyways).
While we're at it, provide defaulted move constructors for consistency.
7 years ago
Lioncash
8e1dbd7c45
video_core/gpu_thread: Remove unimplemented WaitForIdle function prototype
This function didn't have a definition, so we can remove it to prevent
accidentally attempting to use it.
7 years ago
Lioncash
6f95564b38
video_core/gpu_thread: Amend constructor initializer list order
Moves the data members to satisfy the order they're declared as in the
constructor initializer list.
Silences a -Wreorder warning.
7 years ago
Lioncash
bd263e75cc
video_core/gpu: Make GPU's destructor virtual
Because of the recent separation of GPU functionality into sync/async
variants, we need to mark the destructor virtual to provide proper
destruction behavior, given we use the base class within the System
class.
Prior to this, it was undefined behavior whether or not the destructor
in the derived classes would ever execute.
7 years ago
bunnei
95fff8fd23
Merge pull request #2196 from DarkLordZach/web-applet-esc
web_browser: Add shortcut to Enter key to exit applet
7 years ago
bunnei
3846cfa7ba
Merge pull request #2202 from lioncash/port-priv
kernel/client_session, kernel/server_session: Make data members private
7 years ago
bunnei
0d8c21f892
Merge pull request #2205 from FearlessTobi/docked-undocked-hotkey
yuzu: add a hotkey to switch between undocked and docked mode
7 years ago
bunnei
af2c9aae55
Merge pull request #2206 from lioncash/audio-stop
service/audio/audout_u: Only actually stop the audio stream in StopAudioOut if the stream is playing
7 years ago
bunnei
757fd21d98
Merge pull request #2055 from bunnei/gpu-thread
Asynchronous GPU command processing
7 years ago
Lioncash
a98f0b7e93
service/audio/hwopus: Move decoder state to its own class
Moves the non-multistream specific state to its own class. This will be
necessary to support the multistream variants of opus decoding.
7 years ago
Lioncash
133da63a0f
service/audio/hwopus: Provide a name for the second word of OpusPacketHeader
This indicates the entropy coder's final range.
7 years ago
Lioncash
e842b63161
service/audio/hwopus: Move Opus packet header out of the IHardwareOpusDecoderManager
This will be utilized by more than just that class in the future. This
also renames it from OpusHeader to OpusPacketHeader to be more specific
about what kind of header it is.
7 years ago
Lioncash
a92d39462b
service/audio/hwopus: Enclose internals in an anonymous namespace
Makes it impossible to violate the ODR, as well as providing a place for
future changes.
7 years ago
Lioncash
e7e5002e64
service/audio/audout_u: Only actually stop the audio stream in StopAudioOut if the stream is playing
The service itself only does further actions if the stream is playing.
If the stream is already stopped, then it just exits successfully.
7 years ago
bunnei
72cfb6383c
Merge pull request #2149 from ReinUsesLisp/decoders-style
gl_rasterizer_cache: Move format conversion functions to their own file
7 years ago
bunnei
b67cb6208f
Merge pull request #2197 from lioncash/include
core/hle/ipc: Remove unnecessary includes
7 years ago
bunnei
01e509662d
gpu_thread: Fix deadlock with threading idle state check.
7 years ago
bunnei
4633fda5be
gpu_thread: (HACK) Ignore flush on FlushAndInvalidateRegion.
7 years ago
bunnei
fbcb9e6815
gpu: Always flush.
7 years ago
bunnei
83079031b3
gpu: Refactor a/synchronous implementations into their own classes.
7 years ago
bunnei
9d1ee628b2
gpu: Move command processing to another thread.
7 years ago
bunnei
1945456cc7
bootmanager: Ensure that we have a context for shader loading.
7 years ago