Commit Graph
100 Commits
Author SHA1 Message Date
Marshall MohrorandGitHub b94f21eacd Merge pull request #5462 from FearlessTobi/port-4376
Port yuzu-emu/yuzu#4376: "frontend: Improve wait tree readability for dark themes"
2020-07-28 12:27:54 -05:00
Marshall MohrorandGitHub a34888804b Merge pull request #5464 from FearlessTobi/port-4347
Port yuzu-emu/yuzu#4347: "settings: Make use of std::string_view over std::string for logging"
2020-07-21 08:46:18 -05:00
Marshall MohrorandGitHub d88d22080d Merge pull request #5453 from FearlessTobi/port-4221
Port yuzu-emu/yuzu#4221: "cmake: stop linking against QGL"
2020-07-14 09:26:43 -05:00
Marshall MohrorandGitHub f6ced5def0 Merge pull request #5452 from FearlessTobi/port-4287
Port yuzu-emu/yuzu#4287: "CMakeLists: Update fmt to 7.0.1"
2020-07-14 09:26:24 -05:00
Marshall MohrorandGitHub 897e473da4 Merge pull request #5332 from Dragios/fix-exe-path
Correct output paths for executable binaries in CMakeLists.txt
2020-07-14 09:10:11 -05:00
Marshall MohrorandGitHub a83f819160 Merge pull request #5317 from MerryMage/compile-on-10.13
travis: Compile on macOS 10.13 with more up to date compiler
2020-07-14 09:06:03 -05:00
Marshall MohrorandGitHub f4e727cc19 Merge pull request #5420 from citra-emu/xglTextureBarrier
videocore: When an image is the current framebuffer and is sampled, make a copy instead of using glTextureBarrier
2020-07-07 16:45:27 -05:00
BreadFish64 60282f35fe fix clang format 2020-07-07 16:43:42 -05:00
Marshall MohrorandGitHub bd7ee8c315 Common: remove a mod from AlignUp (#5441)
In cases where the size is not a known constant when inlining, AlignUp<std::size_t> currently generates two 64-bit div instructions.
This generates one div and a cmov which is significantly cheaper.
2020-07-07 16:39:23 -05:00
BreadFish64 662c348b6c fix 2020-06-27 13:23:34 -05:00
BreadFish64 ea2584c54d generic texture allocator 2020-06-27 13:13:37 -05:00
BreadFish64 cae4b7aaf7 Clean up 2020-06-26 15:41:10 -05:00
Marshall MohrorandGitHub c4a4b40b2d Fix using system boost (#5424)
closes #5234
2020-06-23 21:30:35 -05:00
Marshall MohrorandGitHub 372c653ec3 Fix clang-format 2020-06-20 14:03:04 -05:00
Marshall MohrorandGitHub 8a080146c9 Merge pull request #5344 from vitor-k/fix-folder-order
game_list: Fix folder reordering
2020-06-20 13:23:44 -05:00
Marshall MohrorandGitHub 353780e1c9 Merge pull request #5403 from lioncash/gen2
gl_shader_gen: Minor string cleanups
2020-06-20 13:09:24 -05:00
BreadFish64 b80c6f7534 handle all cases more robustly 2020-06-20 13:01:26 -05:00
BreadFish64 d04071d6b3 video_core/GLES: fix issues cause by missing glTextureBarrier
create a duplicate for sampling instead
2020-06-20 13:01:26 -05:00
Marshall MohrorandGitHub 8a0b0c2fc7 texture_filters: update ScaleForce (#5270)
* texture_filters: update ScaleForce

* texture_filters: optimize scale_force

* texture_filters/scale_force: optimize final offset calculation
2020-04-27 23:50:47 -05:00
db5b8b9c88 video_core: reduce string allocations in shader decompiler (#5261)
* video_core: reduce string allocations in shader decompiler

* use append for indentation instead of resize

Co-authored-by: Mat M. <mathew1800@gmail.com>
2020-04-20 22:08:58 -05:00
55ecaa0344 video_core: add ScaleForce to texture filters (#5210)
* video_core: add ScaleForce to texture filters

* fix erroneous namespace end comment

Co-Authored-By: Valentin Vanelslande <vvanelslandedev@gmail.com>

* move copyright header to shader file

Co-authored-by: Valentin Vanelslande <vvanelslandedev@gmail.com>
2020-04-16 13:33:14 -05:00
Marshall MohrorandGitHub 45dfb3aacc Merge pull request #5186 from hamish-milne/feature/fix-5067
Revert one change from #4844
2020-04-13 23:57:46 -05:00
Marshall MohrorandGitHub d5a435fdf0 Merge pull request #5162 from tbsp/log_user_ips
Added user IP to log events for join/left/kicked/banned
2020-04-13 12:05:42 -05:00
d37b0476ad video_core/renderer_opengl/gl_rasterizer_cache: Create Format Reinterpretation Framework (#5170)
* video_core/renderer_opengl/gl_rasterizer_cache: Create Format Reinterpretation Framework

Adds RGBA4 -> RGB5A1 reinterpretation commonly used by virtual console
If no matching surface can be found, ValidateSurface checks for a surface in the cache which is reinterpretable to the requested format.
If that fails, the cache is checked for any surface with a matching bit-width. If one is found, the region is flushed.
If not, the region is checked against dirty_regions to see if it was created entirely on the GPU.
If not, then the surface is flushed.

Co-Authored-By: James Rowe <jroweboy@users.noreply.github.com>
Co-Authored-By: Ben <b3n30@users.noreply.github.com>

temporary change to avoid merge conflicts with video dumping

* re-add D24S8->RGBA8 res_scale hack

* adress review comments

* fix dirty region check

* check for surfaces with invalid pixel format, and break logic into separate functions
2020-04-07 09:12:32 -05:00
Marshall MohrorandGitHub 3b1b8b7e1f Merge pull request #5123 from vitor-k/disable-hidapi
SDL: Disable hidapi drivers due to compatibility problems with certain controllers
2020-04-03 23:23:03 -05:00
Marshall MohrorandGitHub 9c7da35382 Merge pull request #5083 from zhaowenlan1779/video-dumping-update
video_core, citra_qt: Video dumping updates
2020-04-03 21:15:32 -05:00
Marshall MohrorandGitHub 00667c222a Merge pull request #5117 from FearlessTobi/n3ds-setting
citra_qt/system: Add N3DS mode checkbox and enable it by default
2020-04-03 17:52:31 -05:00
Marshall MohrorandGitHub f14e973a27 Texture Filtering v2 (#5166)
* video_core/renderer_opengl: Move SurfaceParams into its own file

Some of its enums are needed outside of the rasterizer cache
and trying to use it caused circular dependencies.

* video_core/renderer_opengl: Overhaul the texture filter framework

This should make it less intrusive.
Now texture filtering doesn't have any mutable global state.
The texture filters now always upscale to the internal rendering resolution.
This simplifies the logic in UploadGLTexture and it simply takes the role of BlitTextures at the end of the function.
This also prevent extra blitting required when uploading to a framebuffer surface with a mismatched size.

* video_core/renderer_opengl: Use generated mipmaps for filtered textures

The filtered guest mipmaps often looked terrible.

* core/settings: Remove texture filter factor

* sdl/config: Remove texture filter factor

* qt/config: Remove texture filter factor
2020-04-02 22:42:50 -05:00
Marshall MohrorandGitHub 5dbf334ef1 Revert "Use immutable storage when available (#5053)" (#5151)
This reverts commit 407fd15515.
2020-03-26 19:01:18 -05:00
Marshall MohrorandGitHub feb5b5a394 common: include algorithm thread_queue_list.h (#5147)
build was failing because the compiler couldn't find std::find
2020-03-25 22:23:39 -05:00
BreadFish64 37384174d9 fix formatting for media-ndk 2020-03-17 21:15:33 -05:00
Marshall MohrorandGitHub a7d3489dc9 video_core: add texture filtering (#5017)
video_core: add texture filtering
2020-03-16 09:42:05 -05:00
Marshall MohrorandGitHub ab8cb17ab7 Merge pull request #5111 from BreadFish64/interval
video_core: use explicit interval type in texture cache
2020-02-29 11:25:04 -06:00
Marshall MohrorandGitHub 9dfb83f1e1 Update README.md (#5097)
* Update README.md

* fix travis link
2020-02-29 11:13:28 -06:00
BreadFish64 cfd2ab6121 video_core: use explicit interval type in texture cache
The default is discrete_interval which has dynamic open-ness.
We only use right_open intervals anyway. In theory this could allow some compile-time optimizations.
2020-02-28 13:45:19 -06:00
Marshall MohrorandGitHub 3ae1b5e2d6 Merge pull request #5047 from BreadFish64/patch-3
fix c++ standard flag for msvc
2020-02-22 21:18:08 -06:00
Marshall MohrorandGitHub 688e44bc8b videocore/renderer_opengl/gl_rasterizer_cache: Move bits per pixel table out of function (#5101)
* videocore/renderer_opengl/gl_rasterizer_cache: Move bits per pixel table out of function

GCC and MSVC copy the table at runtime with the old implementation, which is wasteful and prevents inlining. Unfortunately, static constexpr variables are not legal in constexpr functions, so the table has to be external.
Also replaced non-standard assert with DEBUG_ASSERT_MSG.

* fix case of table name in assert

* set table to private
2020-02-22 14:37:42 -07:00
BreadFish64 670119ef86 android: use cmake 3.10
bitrise still doesn't have 3.10 despite it being part of the NDK now
2020-02-21 16:47:04 -06:00
Marshall Mohror 990d27f4f9 Remove C++ standard flag 2020-02-21 16:45:02 -06:00
Marshall MohrorandGitHub 996f1546b2 core: Remove outdated MSVC workarounds (#5099)
* core/hw/gpu: Remove outdated MSVC workarounds

* core/hle/service/hid: Remove MSVC workaround
2020-02-20 13:40:21 -06:00
BreadFish64andFearlessTobi e7a073e15f logging/backend: Change type of filename from string to const char*
This was suggested by degasus in https://github.com/yuzu-emu/yuzu/pull/3326 in order to avoid an unnecessary copy.
2020-01-28 14:29:26 +01:00
BreadFish64 b3beff0f4c common/logging: don't use regex for path trimming 2019-12-24 14:19:18 -06:00
BreadFish64 cadfd6834d qt: do not use an invalid update smdh 2019-12-18 21:51:06 -06:00
BreadFish64 e38b4f6707 video_core: get rid of MSVC hack comment 2019-11-17 17:42:19 -06:00
BreadFish64 d0decf2166 remove ugly msvc hack
the bug appears to be fixed so there's no reason to keep this around
2019-09-15 22:35:21 -05:00
BreadFish64 aaf496dec7 video_core: change "left + width" to "right" in CanSubRect
the constructed rectangle from GetSubRect already has the right info
2019-06-04 17:03:31 -05:00
BreadFish64 36e368ff99 remove Common::TrimSourcePath
wwylele / 白疾風Today at 6:14 PM
I doubt the performance of constructing regex everytime the function is called
Is TrimSourcePath only called by logging? if so, you can move the implementation into logging, and cache the regex object into global
This function is probably too specific to be in common anyway
2019-03-10 19:18:09 -05:00
BreadFish64 605dfe80e7 appease clang format 2019-03-09 19:15:35 -06:00
BreadFish64 f767b5fdef android: add logging 2019-03-09 18:23:32 -06:00
BreadFish64 9848610ea2 android: init user path 2019-03-09 18:23:27 -06:00
BreadFish64 28b2ee9cd7 add java to .clang-format 2019-02-22 16:29:19 -06:00
BreadFish64 d3d53bae83 common: decouple getting and setting user paths
paths -> g_paths
2019-02-15 14:48:31 -06:00
BreadFish64 d90f733330 video_core: improve efficiency of CachedSurface::IsSurfaceFullyInvalid 2019-02-09 17:33:18 -06:00
BreadFish64 cd21abe50f sdl: add GLES support 2019-02-03 15:58:09 -06:00
BreadFish64 9af8d61ba2 externals/glad: add GLES loader 2019-01-30 14:08:28 -06:00
BreadFish64 ac3b514875 android: fix native library inclusion 2019-01-15 20:28:56 -06:00
BreadFish64 7b1cfff825 android: use better icons
vector assets are available
unfortunately android studio mutilates citra's vector icon
2019-01-15 20:28:29 -06:00
BreadFish64 d4646938e9 android: move cmakelist 2019-01-15 19:24:03 -06:00
BreadFish64andWeiyi Wang f4472a10e6 core: undef PAGE_SIZE and PAGE_MASK
these are defined a system header which causes complications when building for android
2018-11-20 14:24:19 -05:00
BreadFish64andWeiyi Wang 6609ff83a7 android: set up cmake 2018-11-20 14:24:19 -05:00
BreadFish64andFlame Sage aada00c899 add initial bitrise CI support for android
Co-Authored-By: Flame Sage <chris062689@users.noreply.github.com>
2018-11-16 20:23:14 -06:00
BreadFish64 18771f1b61 add test dependencies 2018-11-13 19:54:33 -06:00
BreadFish64 65f033f856 android: create bare application 2018-11-13 19:54:33 -06:00
BreadFish64 8838485b1a android: add build files 2018-11-13 19:54:32 -06:00
BreadFish64 6b4c40ffd5 android: add basic resources 2018-11-13 19:50:43 -06:00
BreadFish64andSebastian Valle ce823759cc citra-qt: disable directory watcher during CIA installation (#4284)
* disable directory watcher during CIA installation

fixes several errors while installing multiple CIAs

* use braces in if statement
2018-10-08 15:37:44 -05:00
BreadFish64andBen d09646ab9d citra-qt: service: add convenient LLE service module configuration (#3967)
* citra-qt: service: add convenient LLE service module configuration

* fix SDL settings

* unexpose AttemptLLE

* static

* fix array includes

* use default with writesetting
2018-08-09 21:10:11 +02:00
BreadFish64 aa4b71d0ce update fmt to latest stable release
5.1.0
fixes a multitude of errors on MSVC
2018-08-01 14:10:24 -05:00
BreadFish64 74cd98ecad core: clean up warnings 2018-08-01 14:10:23 -05:00
BreadFish64 5b181976ce fix conversion warnings 2018-07-02 18:45:45 -05:00
BreadFish64 f649c443d9 optimize settings application 2018-07-02 16:53:34 -05:00
BreadFish64 30c6c37d6c fix jrowes lazy sorting 2018-05-26 15:38:06 -05:00
BreadFish64 31a9fdb00b fix preffered game 2018-05-26 15:38:06 -05:00
BreadFish64 1a57f9488f citra_qt: support multiple game directories 2018-05-26 15:38:06 -05:00
BreadFish64 1d809ce6aa update-icons-signal 2018-03-30 10:20:21 -05:00
BreadFish64andMerry 05cf7fe70a QT: Implement themed icons (#3554)
* implement themed icons

* fix theme search paths
2018-03-27 12:11:04 +01:00
BreadFish64 691aadb6a3 comment 2018-03-16 16:06:33 -05:00
BreadFish64 55d5720962 use nvidia graphics automatically on laptops with optimus 2018-03-15 20:36:53 -05:00
BreadFish64 165d3e1ab2 tidy loop 2018-02-19 17:11:46 -06:00
BreadFish64 f0f9f34445 move callback definition outside loop 2018-02-16 14:53:38 -06:00
BreadFish64 c547465657 install multiple CIAs sequentially 2018-02-13 18:16:26 -06:00
BreadFish64andGitHub 752e6e62b8 correct escape sequence warning 2018-02-03 13:33:18 -06:00
BreadFish64andbunnei d3a0375f47 Add Context Menu Options to Open Application and Update Location (#3411)
* Add Context Menu Options to Open Application and Update Location

* address jroweboy's feedback

move enum definition to game list header
declare sdmc_dir in SAVE_DATA case
fix log formatting

* Address Merry's feedback

remove redundant line
format program ID as 16 digit hex in log|
change case of open_target to look better in title bar
add whitespace for readability
2018-02-02 12:18:19 -08:00
BreadFish64 79e4fe58dc fix comparison operator 2018-01-26 17:12:50 -06:00
BreadFish64andGitHub 4f5892d86d Fix comparison operators 2018-01-25 20:50:22 -06:00
BreadFish64andGitHub db3c83fedc remove spaces 2018-01-24 10:17:04 -06:00
BreadFish64andGitHub 1e54b52edf revert move 2018-01-24 10:16:40 -06:00
BreadFish64 eb1b5f588a only pass one smdh 2018-01-23 21:32:27 -06:00
BreadFish64 4da837c929 only search to two recursions, add update dir to watch list 2018-01-23 14:13:54 -06:00
BreadFish64 38c5ca68b2 reduce the scope of the variables 2018-01-22 07:56:24 -06:00
BreadFish64 980923d351 allow installed apps to display in the game list 2018-01-20 11:33:14 -06:00
BreadFish64 fc1bdc3c62 enum class 2018-01-20 09:56:02 -06:00
BreadFish64 169b076913 use enum and add default case 2018-01-18 21:02:55 -06:00
BreadFish64andGitHub d462eacefb get rid of useless if statement 2018-01-18 10:40:24 -06:00
BreadFish64andGitHub c3afd73592 Merge branch 'master' into CompatibiltyReporting 2018-01-18 10:36:32 -06:00
BreadFish64andGitHub 11d2825070 only enable menu visibility 2018-01-17 13:57:42 -06:00
BreadFish64andGitHub ca96077601 1 -> d 2018-01-11 10:57:44 -06:00
BreadFish64 f985d277c8 get rid of cmake GUI option 2018-01-10 20:39:32 -06:00
BreadFish64 da59ce91c9 require web services 2018-01-10 19:44:09 -06:00
BreadFish64 b71d9e108d address wwylele's feedback 2018-01-10 19:05:14 -06:00