bunnei
62b84a3e96
core: cpu_manager: Use KScopedDisableDispatch.
4 years ago
bunnei
347e4d6ab8
core: hle: kernel: Use CurrentPhysicalCoreIndex as appropriate.
4 years ago
bunnei
aedc599224
core: hle: kernel: k_scheduler: Remove unnecessary MakeCurrentProcess.
4 years ago
bunnei
edba87b96d
core: hle: kernel: k_scheduler: Improve ScheduleImpl.
4 years ago
bunnei
0d22a55e01
core: hle: kernel: k_scheduler: Improve Unload.
4 years ago
bunnei
cba49de65b
core: hle: kernel: k_process: DisableDispatch on main thread.
4 years ago
bunnei
92ef6e44ee
core: hle: kernel: k_handle_table: Use KScopedDisableDispatch as necessary.
4 years ago
bunnei
9951f24bad
core: hle: kernel: k_thread: Add KScopedDisableDispatch.
4 years ago
bunnei
43fcb97ef3
core: hle: kernel: Ensure idle threads are closed before destroying scheduler.
4 years ago
bunnei
951143ba57
core: hle: kernel: Reflect non-emulated threads as core 3.
4 years ago
bunnei
b0cb5c830c
core: cpu_manager: Use jthread.
4 years ago
Robin Kertels
f8f27b6caf
vulkan_memory_allocator: Respect bufferImageGranularity
4 years ago
ameerj
f52a3de990
nvdec: Better logging for unimplemented codecs
4 years ago
yzct12345
b61be44dbc
memory: Address lioncash's review
4 years ago
yzct12345
a21f46127b
memory: Dedup Read and Write and fix logging bugs
4 years ago
yzct12345
0cef80ec92
texture_cache: Address ameerj's review
4 years ago
Sönke Holz
47f72f9345
network: GetAndLogLastError: ignore Errno::AGAIN
If non-blocking sockets are used, they generate a lot of Errno::AGAIN errors when they didn't receive any data. These errors shouldn't be logged.
4 years ago
Sönke Holz
2c0d0e8af4
network: GetCurrentIpConfigInfo: return host IP address
Service::NIFM::IGeneralService::GetCurrentIpConfigInfo currently hardcodes 192.168.1.100 as the IP address, which prevents LAN play from working correctly.
4 years ago
ameerj
0c28433539
nvhost_nvdec_common: Remove BufferMap
This was mainly used to keep track of mapped buffers for later unmapping. Since unmap is no longer implemented, this no longer seves a valuable purpose.
4 years ago
ameerj
b34ded024c
vp9: Cleanup unused variables
With reference frames refreshes fix, we no longer need to buffer two frames in advance.
We can also remove other unused or otherwise unneeded variables.
4 years ago
ameerj
27969c5943
vp9: Fix reference frame refreshes
This resolves the artifacting when decoding VP9 streams.
4 years ago
ameerj
7acf5d8bfd
nvhost_nvdec_common: Stub UnmapBuffer Ioctl
Skip unmapping nvdec buffers to avoid breaking the continuity of the VP9 reference frame addresses, and the risk of invalidating data before the async GPU thread is done with it.
4 years ago
Sönke Holz
35b86fce87
network: fix fcntl cmds
F_SETFL/F_GETFL are the correct commands to set a socket to be non-blocking
4 years ago
Morph
93697805a7
common: uuid: Add hash function for UUID
Used when UUID is a key in an unordered_map. The hash is produced by XORing the high and low 64-bits of the UUID together.
4 years ago
yzct12345
7a421e7e33
memory: Clean up CopyBlock too
4 years ago
gidoly
d5ab9ff29d
Update configure_graphics_advanced.ui
add description too fast gpu time
4 years ago
yzct12345
e99a125e19
texture_cache: Don't change copyright year
4 years ago
yzct12345
4436e63616
texture_cache: Address ameerj's review
4 years ago
yzct12345
fa26e226de
memory: Address lioncash's review
4 years ago
yzct12345
cbe093e865
memory: Clean up code
4 years ago
yzct12345
dd9e7378dc
assert: Verify formatting
4 years ago
yzct12345
3239e923cc
assert: Avoid empty macros
4 years ago
yzct12345
e85149c507
texture_cache: Split templates out
4 years ago
Morph
0971b90782
applet_swkbd: Include the null terminator in the buffer size calculation
Some games may interpret the read string as a null-terminated string instead of just reading the string up to buffer_size.
4 years ago
Morph
8f488c60da
hex_util: Fix incorrect array size in AsArray
Although this isn't used, this is a potential bug as HexStringToArray will perform an out-of-bounds read.
4 years ago
lat9nq
73acba8ddb
config: Read connected setting for controllers
Currently yuzu will read the mapping but does not connect a controller
despite adding subsequent configurations for it. Read the `connected`
setting for now as a boolean like the Qt frontend.
4 years ago
german77
ff46d36f8e
settings_ui: Add emulated joystick position dot to controller preview
4 years ago
Morph
6b2f133eef
common: uuid: Add hex string to UUID constructor
This allows for easily converting a hex string into a Common::UUID, which is backed by a 128 bit unsigned integer.
4 years ago
yzct12345
e13e98d99d
nvdec: Implement VA-API hardware video acceleration ( #6713 )
* nvdec: VA-API
* Verify formatting
* Forgot a semicolon for Windows
* Clarify comment about AV_PIX_FMT_NV12
* Fix assert log spam from missing negation
* vic: Remove forgotten debug code
* Address lioncash's review
* Mention VA-API is Intel/AMD
* Address v1993's review
* Hopefully fix CMakeLists style this time
* vic: Improve cache locality
* vic: Fix off-by-one error
* codec: Async
* codec: Forgot the GetValue()
* nvdec: Address ameerj's review
* codec: Fallback to CPU without VA-API support
* cmake: Address lat9nq's review
* cmake: Make VA-API optional
* vaapi: Multiple GPU
* Apply suggestions from code review
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
* nvdec: Address ameerj's review
* codec: Use anonymous instead of static
* nvdec: Remove enum and fix memory leak
* nvdec: Address ameerj's review
* codec: Remove preparation for threading
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
4 years ago
lat9nq
959f332e99
config: Only read/write current_user on global config
4 years ago
spholz
e08a9d00e0
network: fix ternary operator in Socket::SendTo
4 years ago
yzct12345
46e4e6707f
decoders: Optimize swizzle copy performance ( #6790 )
This makes UnswizzleTexture up to two times faster. It is the main bottleneck in NVDEC video decoding.
4 years ago
san
e1d8000de7
yuzu-cmd: hide cursor when in fullscreen
Exposed the SDL_ShowCursor function to EmuWindow baseclass. When creating the window (GL or VK) in fullscreen it now automatically hides the cursor.
4 years ago
Malte Jürgens
4304984555
game_list: Make game list folder icons smaller ( #6762 )
Makes the default game list folder icons 48x48 by default instead of 64x64, and allows for selecting small (24x24) and large (72x72) icon sizes.
4 years ago
Morph
11a0033a66
service: set: Correct copy amount in GetAvailableLanguageCodes
4 years ago
ameerj
bfb2325618
astc_decoder: Reduce workgroup size
This reduces the amount of over dispatching when there are odd dimensions (i.e. ASTC 8x5), which rarely evenly divide into 32x32.
4 years ago
ameerj
2ff4eb5def
astc_decoder: Compute offset swizzles in-shader
Alleviates the dependency on the swizzle table and a uniform which is constant for all ASTC texture sizes.
4 years ago
ameerj
59ff9e51f2
astc_decoder: Make use of uvec4 for payload data
5 years ago
ameerj
8f9c7a4ba2
astc_decoder: Simplify Select2DPartition
5 years ago
ameerj
958ede1ed9
astc_decoder: Optimize the use EncodingData
This buffer was a list of EncodingData structures sorted by their bit length, with some duplication from the cpu decoder implementation.
We can take advantage of its sorted property to optimize its usage in the shader.
Thanks to wwylele for the optimization idea.
5 years ago