Commit Graph

8134 Commits (c7387e6504db0548fc5dafec5a27ce6923e58db7)

Author SHA1 Message Date
greggameplayer d3b9599b2d
Merge branch 'master' into Texture2DArray 7 years ago
Markus Wick 2c87f10267 gl_rasterizer_cache: Add profiles for Copy and Blit.
They were missed, and Copy is very high in profile here. It doesn't block the GPU,
but it stalls the driver thread. So with our bad GL instructions, this might block quite a while.
7 years ago
Markus Wick 7e59e907ef gl_resource_manager: Profile creation and deletion. 7 years ago
Markus Wick 80e4dbdce7 gl_stream_buffer: Profile orphaning of stream buffer.
This serialize to the driver thread and so it may block for a while.
So if it is in the benchmark, we get noticed if it happens too often.
7 years ago
Markus Wick 2ba4d878e5 microprofile: Drop ReleaseActiveBuffer scope.
This was created with the unfinished resampling PR in mind.
As the resampling is now on the audio thread, we don't need to care about this here any more.
7 years ago
Frederic Laing d34d0bfc87 configure_system: Fix compiler warning 7 years ago
Frederic Laing 6c8b788d32 yuzu/main: Fix compiler warning 7 years ago
Markus Wick 54df9fe29e gl_resource_manager: Split implementations in .cpp file.
Those implementations are quite costly, so there is no need to inline them to the caller.
Ressource deletion is often a performance bug, so in this way, we support to add breakpoints to them.
7 years ago
bunnei cdb19e71fe
Merge pull request #1616 from FernandoS27/cube-array
Implement Cube Arrays
7 years ago
bunnei 722e7c05de
Merge pull request #1633 from ogniK5377/reload-input
Fixed HID crash when launching more than 1 game & signaled styleset change event
7 years ago
bunnei e10483a878
Merge pull request #1441 from CarlKenner/DebuggerLog
logging: Add DebuggerBackend for logging to Visual Studio
7 years ago
bunnei acdc770cfb
Merge pull request #1639 from DarkLordZach/open-yuzu-folder
qt: Add help option to open yuzu folder
7 years ago
Rodolfo Bogado 19038db489 Add support to color mask to avoid issues in blending caused by wrong values in the alpha channel in some render targets. 7 years ago
Rodolfo Bogado 145ae36963 Implement multi-target viewports and blending 7 years ago
bunnei 38c1c500ab
Merge pull request #1625 from FernandoS27/astc
Implement ASTC Textures 5x5 and fix a bunch of ASTC texture problems
7 years ago
Mat M d46e0acb3c
Merge pull request #1645 from dharmin/master
Fix quickstart link
7 years ago
Dharmin K Shah b2647dba33
Fix quickstart link 7 years ago
Frederic Laing 1c4365d928 Fix typo in BufferTransformFlags 7 years ago
Zach Hilman 97187b7ef6 qt: Add help option to open yuzu folder
Opens a new file manager window at the UserDir.
7 years ago
greggameplayer 9249fadb9e
correct syntax 7 years ago
greggameplayer cb8e4a4633
Merge branch 'master' into Texture2DArray 7 years ago
David Marcec 03c26d3406 Fixed incorrect hwopus assert 7 years ago
David Marcec 0bc323bafb Fixed HID crash when launching more than 1 game & signaled syleset change event
This should fix crashes when launching multiple games in yuzu
7 years ago
FernandoS27 60a184455c Fix ASTC Decompressor to support depth parameter 7 years ago
bunnei 1069eced84
Merge pull request #1615 from lioncash/input
configure_system: Contrain profile usernames to 32 characters
7 years ago
bunnei 4aa9779ae1 memory_manager: Do not MapBufferEx over already in use memory.
- This fixes rendering when changing areas in Super Mario Odyssey.
7 years ago
bunnei cc1fe93297
Merge pull request #1623 from Tinob/master
Improve OpenGL state handling
7 years ago
FernandoS27 aee93f98f9 Fix ASTC formats 7 years ago
FernandoS27 31930a3334 Implemented ASTC 5x5 7 years ago
FernandoS27 678c18aa5c Implement Cube Arrays 7 years ago
bunnei 9afcbba8e4
Merge pull request #1527 from FernandoS27/assert-flow
Assert Control Flow Instructions using Control Codes
7 years ago
bunnei de0ab806df maxwell_3d: Restructure macro upload to use a single macro code memory.
- Fixes an issue where macros could be skipped.
- Fixes rendering of distant objects in Super Mario Odyssey.
7 years ago
bunnei d08457f879
Merge pull request #1604 from FearlessTobi/port-4369
Port citra-emu/citra#4369: "compatdb: Use a seperate endpoint for testcase submission"
7 years ago
bunnei 86e70cf302
Merge pull request #1528 from FernandoS27/assert-control-codes
Assert Control Codes Generation on Shader Instructions
7 years ago
bunnei 0b33d38e9b
Merge pull request #1614 from ReinUsesLisp/surface-params
video_core: Move surface declarations out of gl_rasterizer_cache
7 years ago
Lioncash a6830e61b8 configure_system: Contrain profile usernames to 32 characters
Previously, we would let a user enter an unbounded name and then
silently truncate away characters that went over the 32-character limit.
This is kind of bad from the UX point of view, because we're essentially
not doing what the user intended in certain scenarios.

Instead, we clamp it to 32 characters and make that visually apparent in
the dialog box to provide a name for a user.
7 years ago
greggameplayer 9ae972ab4e Implement SurfaceTarget Texture2DArray
( needed by Mario+Rabbids Kingdom Battle )
7 years ago
Rodolfo Bogado aca218aea0 Improve OpenGL state handling 7 years ago
Lioncash 9b9c586dff service/usb: Update IPdSession's function table
Updated based off information on SwitchBrew.
7 years ago
ReinUsesLisp 76754f5705 video_core: Move surface declarations out of gl_rasterizer_cache 7 years ago
FernandoS27 5bb80ab009 Assert Control Codes Generation 7 years ago
bunnei da5fcbf501
Merge pull request #1624 from lioncash/boost
general: Remove unused boost inclusions where applicable
7 years ago
bunnei c31412c433
Merge pull request #1595 from FreddyFunk/cast
configure_system: Fix compiler warning
7 years ago
Lioncash 352b56367c general: Remove unused boost inclusions where applicable
Cleans up unused includes and trims off some dependencies on externals.
7 years ago
Frederic L 7a5eda5914 global: Use std::optional instead of boost::optional (#1578)
* get rid of boost::optional

* Remove optional references

* Use std::reference_wrapper for optional references

* Fix clang format

* Fix clang format part 2

* Adressed feedback

* Fix clang format and MacOS build
7 years ago
bunnei adf26ae668
Merge pull request #1621 from lioncash/ipc
hle_ipc: Make GetDomainMessageHeader return a regular pointer
7 years ago
Lioncash 6383653a8d hle_ipc: Add member function for querying the existence of a domain header
Gets rid of the need to call the getter and then check for null.
7 years ago
Lioncash 0cc347462d hle_ipc: Make GetDomainMessageHeader return a regular pointer
Nothing requires the shared owner ship here, so we can just return a
plain pointer.
7 years ago
bunnei 938e45eb83
Merge pull request #1611 from lioncash/const
core: Add missing const variants of getters for the System class
7 years ago
bunnei c5a849212f
Merge pull request #1580 from FernandoS27/mm-impl
Implemented Mipmaps
7 years ago
bunnei f1cb425d92
Merge pull request #1617 from FearlessTobi/fix-stretch-delay
time_stretch: Switch to values of Citra
7 years ago
bunnei 0270906dbf
Merge pull request #1613 from ReinUsesLisp/gl-utils
video_core: Move OpenGL specific utils to its renderer
7 years ago
fearlessTobi 655694253a time_stretch: Switch to values of Citra 7 years ago
bunnei 5d7167dfca
Merge pull request #1610 from slashiee/dxt1-alpha
renderer_opengl: Enable alpha channel for DXT1 texture format
7 years ago
ReinUsesLisp 80cbd81276 video_core: Move OpenGL specific utils to its renderer 7 years ago
Rodolfo Bogado e8b565b239 renderer_opengl: Correct bpp value for ASTC_2D_8X5_SRGB 7 years ago
FernandoS27 3aa8b644a9 Assert Control Flow Instructions using Control Codes 7 years ago
FernandoS27 dde3094058 Fixed black textures, pixelation and we no longer require to auto-generate mipmaps 7 years ago
FernandoS27 f0e902a7d6 Fixed mipmap block autosizing algorithm 7 years ago
FernandoS27 87f8181405 Fixed Invalid Image size and Mipmap calculation 7 years ago
FernandoS27 f4432b5d0c Fixed Block Resizing algorithm and Clang Format 7 years ago
FernandoS27 258f0f5c31 Implement Mip Filter 7 years ago
FernandoS27 dc85e3bff1 Zero out memory region of recreated surface before flushing 7 years ago
FernandoS27 bbf3b2da0c Implement Mipmaps 7 years ago
Lioncash a973a049b7 core: Make System references const where applicable 7 years ago
Lioncash b77f571d20 core: Add missing const variants of getters for the System class
Many of the Current<Thing> getters (as well as a few others) were
missing const qualified variants, which makes it a pain to retrieve
certain things from const qualified references to System.
7 years ago
Michael 635d1e5651 Enable alpha channel for DXT1 texture format 7 years ago
Frederic Laing f50f065c31 configure_system: Fix compiler warning 7 years ago
Tobias 351d5a2227
Correct bpp value for ASTC_2D_8X5 7 years ago
bunnei aa1cf608ed
Merge pull request #1601 from FernandoS27/shader-precision
Improved Shader accuracy on Vertex and Geometry Shaders.
7 years ago
FernandoS27 e5ca097e32 Refactor precise usage and add FMNMX, MUFU, FMUL32 and FADD332 7 years ago
fearlessTobi 585b6a6a50 compatdb: Use a seperate endpoint for testcase submission 7 years ago
bunnei 2239d47112
Merge pull request #1593 from lioncash/svc
svc: Implement svcGetInfo command 0xF0000002
7 years ago
Frederic L 72d10ce66c file_sys/patch_manager: Remove unnecessary if-statements (#1586)
* remove unnecessary if-statements

* Addressed feedback
7 years ago
bunnei 0d449b77e2
Merge pull request #1598 from DeeJayBro/delete-directory
service/filesystem: Implemented DeleteDirectory & DeleteDirectoryRecursive
7 years ago
bunnei 6f620b2441
Merge pull request #1600 from DarkLordZach/nsp-secondary-loader-fix
loader/nsp: Move secondary loader initialization to constructor
7 years ago
Rodolfo Bogado 0287b2be6d Implement sRGB Support, including workarounds for nvidia driver issues and QT sRGB support 7 years ago
bunnei a9d60c6103
Merge pull request #1602 from DarkLordZach/key-derivation-isxdigit
key_manager: Use isxdigit instead of isdigit when reading key file
7 years ago
Zach Hilman 1fa31cf74d key_manager: Use isxdigit instead of isdigit when reading key file
Crypto revisions are hex numbers and this function only checks if the string is valid for stoul in base 16, so it should be isxdigit.
7 years ago
bunnei 8d89e88d2c
Merge pull request #1597 from lioncash/error
configure_system: Indicate when filesystem operations fail
7 years ago
bunnei d63f5acb15
Merge pull request #1594 from FreddyFunk/static-cast
gl_rasterizer_cache: Fix compiler warning
7 years ago
FernandoS27 d8d557df86 Improved Shader accuracy on Vertex and Geometry Shaders with FFMA, FMUL and FADD 7 years ago
bunnei a9dc34ea5c
Merge pull request #1596 from FearlessTobi/port-4367
Port citra-emu/citra#4367: "cubeb_sink: ignore null-name device when selecting"
7 years ago
bunnei ed95ce6bb7
Merge pull request #1592 from bunnei/prim-restart
gl_rasterizer: Implement primitive restart.
7 years ago
FernandoS27 705300992e Implement Default Block Height for each format 7 years ago
Zach Hilman 7c70746ec4 loader/nsp: Move secondary loader initialization to constructor
Prevents nullptr bug when trying to dump the RomFS of an NSP resulting from secondary_loader not being initialized.
7 years ago
Frederic Laing 0bf24d310e gl_rasterizer_cache: Fix compiler warning 7 years ago
DeeJayBro 3b1e4c0995 service/filesystem: Add DirectoryDelete & DirectoryDeleteRecursively 7 years ago
Lioncash 9024cbb5b8 configure_system: Make GetIcon() return the scaled 64x64 icon
Avoids the need to put the scaling parameters all over the place for the
common case. The only other time scaling is done is to generate the
smaller 48x48 image, so this is fine.
7 years ago
Lioncash 85ed0af84e configure_system: Move entry formatting for the user account list entries to its own function
Avoids the need to duplicate this all over the place, and makes it
translator-friendly across the board.
7 years ago
Lioncash 8eaf857d06 configure_system: Display errors to the user if file operations fail when setting user images
We should display an error to the user if setting a user image for an
account fails, rather than continuing onwards.
7 years ago
Weiyi Wang 12c365b549 cubeb_sink: ignore null-name device when selecting
We already ignore them on listing devices. We should do the same when selecting devices. This fix a crash when opening a specific device while there is a null device in the list
7 years ago
Lioncash 7de8e36343 svc: Localize the GetInfo enum class to the function itself
Nothing from this enum is intended to be used outside of this function.
7 years ago
Lioncash 6594853eb1 svc: Implement svcGetInfo command 0xF0000002
This retrieves:

if (curr_thread == handle_thread) {
   result = total_thread_ticks + (hardware_tick_count - last_context_switch_ticks);
} else if (curr_thread == handle_thread && sub_id == current_core_index) {
   result = hardware_tick_count - last_context_switch_ticks;
}
7 years ago
bunnei 58444a0376 gl_rasterizer: Implement primitive restart. 7 years ago
bunnei d278f25bda
Merge pull request #1533 from FernandoS27/lmem
Implemented Shader Local Memory
7 years ago
bunnei 72e6b31a07
Merge pull request #1430 from DarkLordZach/remove-promote-dir
vfs: Remove InterpretAsDirectory and related functions
7 years ago
bunnei 1f98dc30ea
Merge pull request #1591 from bunnei/depth-range
gl_rasterizer: Implement depth range.
7 years ago
bunnei 949d9a7136 maxwell_3d: Add code for initializing register defaults. 7 years ago
bunnei debabf1fa6
Merge pull request #1569 from lioncash/amiibo
yuzu/main: Notify user of loading errors with Amiibo data
7 years ago