Commit graph

3029 commits

Author SHA1 Message Date
bunnei
711a23b8ca gl_shader_util: Cleanup header file + add docstring. 2015-10-21 21:53:16 -04:00
bunnei
d8eca2f795 gl_shader_gen: Various cleanups + moved TEV stage generation to its own function. 2015-10-21 21:53:16 -04:00
bunnei
eefabd6b7d renderer_opengl: Refactor shader generation/caching to be more organized + various cleanups. 2015-10-21 21:53:14 -04:00
bunnei
44a1dcc088 gl_rasterizer: Move logic for creating ShaderCacheKey to a static function. 2015-10-21 21:53:05 -04:00
bunnei
05e11e151d gl_shader_util: Use vec3 constants for AppendColorCombiner. 2015-10-21 21:51:24 -04:00
bunnei
a81772552c gl_rasterizer: Fix typo in uploading TEV const color uniforms. 2015-10-21 21:51:24 -04:00
bunnei
9722d39bc5 gl_shader_util: Fix precision bug with alpha testing.
- Alpha testing is not done with float32 precision, this makes the HW renderer match the SW renderer.
2015-10-21 21:51:23 -04:00
Subv
8733dd568d Initial implementation of fragment shader generation with caching. 2015-10-21 21:51:23 -04:00
bunnei
6793fd7899 Merge pull request #1207 from kemenaran/persist-citra-settings-in-qt
citra-qt: save hardware-rendering and shaders-jit settings
2015-10-20 10:31:13 -04:00
bunnei
030fabe840 Merge pull request #1204 from kemenaran/qt-add-mac-icon
citra-qt: Add icon to the OS X app
2015-10-20 10:21:03 -04:00
bunnei
7de1f406b8 Merge pull request #1199 from Gareth422/encryption-check
Loader: Implement NCCH encryption check
2015-10-20 10:17:31 -04:00
Pierre de La Morinerie
b95e88c55d citra-qt: persist hardware-rendering and shaders-jit settings
Before this changing these settings from the GUI would apply the
settings, but they were reseted to the default values when exiting
citra.
2015-10-18 14:08:23 +02:00
Pierre de La Morinerie
2754ac64b7 citra-qt: Add icon to Mac app
Previously the Mac app didn't have any icon.
2015-10-14 15:02:36 +02:00
Gareth Poole
780fd6247f Loader: Change NCCH header types to be explicitly little-endian 2015-10-10 22:35:22 -04:00
Gareth Poole
1874d33c0b Loader: Implement encryption check 2015-10-10 22:34:17 -04:00
bunnei
d52e81d425 Merge pull request #1194 from linkmauve/no-newline
Remove newlines in LOG_* calls
2015-10-10 14:42:17 -04:00
bunnei
6425c5e385 Merge pull request #1195 from Gareth422/secondary
Fixed spelling errors
2015-10-10 14:41:52 -04:00
Emmanuel Gil Peyrot
b0c7762520 CitraQt, SkyEye, Loader, VideoCore: Remove newlines in LOG_* calls.
The LOG_* function itself already appends one.
2015-10-09 22:14:56 +01:00
Gareth Poole
cfeae1a4f5 Fixed spelling errors 2015-10-09 17:09:52 -04:00
bunnei
f172b66738 Merge pull request #1189 from archshift/game-list-toggle-window
Game list: propely hide on toggling window mode
2015-10-07 10:33:11 -04:00
bunnei
fed86e8ba5 Merge pull request #1190 from rohit-n/sign-compare
Silence -Wsign-compare warnings.
2015-10-07 10:32:19 -04:00
Rohit Nirmal
c157d4ddd6 Silence -Wsign-compare warnings. 2015-10-06 22:16:15 -05:00
bunnei
c09d38554b Merge pull request #1164 from kemenaran/qt-high-dpi-fixes
citra-qt: high-DPI fixes and Retina on OS X
2015-10-06 19:05:15 -04:00
archshift
df14491cf3 Game list: propely hide on toggling window mode
Properly hides the game list upon toggling from external
window mode to single window mode. Previously, both the game
list and the render window would have been shown at the same
time upon toggling.
2015-10-06 12:20:26 -07:00
Pierre de La Morinerie
831cb390ae citra-qt: Fix mouse events coordinates on high-DPI screens 2015-10-04 23:11:05 +02:00
Pierre de La Morinerie
11e08f4d23 citra-qt: Enable high-DPI widgets on Mac app
The OS will render the widgets using the system screen DPI (instead of
being locked at @1x resolution).

This has no impact on the existing high-DPI rendering code in Citra,
which means that the resolution of the emulated content is increased
to the real number of pixels, as on other platforms.
2015-10-04 23:11:05 +02:00
Pierre de La Morinerie
3e2b782f5f citra-qt: Use custom Info.plist for Mac builds
Instead of letting CMake re-generate an automatic Info.plist file on
every build, use our own. This allows greater control on the application
bundle settings.
2015-10-04 23:11:05 +02:00
archshift
2f6927952f OS X build uploading: auto-confirm SSH host key
Prevents error verifying host key (and we can't manually verify since
the prompt is obviously non-interactive).
2015-10-03 17:23:31 -07:00
bunnei
4d5cf75d8d Merge pull request #1176 from lioncash/vs2015-code-junking-day
Obligatory "Throw out workarounds VS2013 once limited us to" PR
2015-10-03 13:19:03 -04:00
bunnei
bc1663cbb8 Merge pull request #1095 from archshift/game-list
Initial implementation of a game list
2015-10-01 23:35:19 -04:00
archshift
dfaed461ff Game list: save and load column sizes, sort order, to QSettings 2015-10-01 19:39:15 -07:00
archshift
7b1025c819 Add menu item for selecting the game list folder 2015-10-01 19:39:14 -07:00
archshift
6da3f4480e Initial implementation of a game list 2015-10-01 19:39:14 -07:00
archshift
cad06d5d41 Add helper function for creating a readable byte size string. 2015-10-01 19:39:14 -07:00
archshift
eb41ca3d00 Don't show render window until a game is started 2015-10-01 19:39:14 -07:00
Lioncash
03af08ae81 bit_field: Re-enable code on MSVC 2015-10-01 15:43:42 -04:00
bunnei
00238a02b0 Merge pull request #1180 from lioncash/symbol
symbols: Minor changes
2015-10-01 11:20:21 -04:00
archshift
7b96bd3136 Split up FileUtil::ScanDirectoryTree to be able to use callbacks for custom behavior
Converted FileUtil::ScanDirectoryTree and FileUtil::DeleteDirRecursively
to use the new ScanDirectoryTreeAndCallback function internally.
2015-09-30 21:04:47 -07:00
archshift
976a199623 Expose loader helper functions for identifying files. 2015-09-30 21:04:47 -07:00
Lioncash
84a0b184f5 symbols: Replace an insert call with emplace 2015-09-30 11:55:58 -04:00
Lioncash
3564f8ae6f symbols: Get rid of initial underscores in variable names 2015-09-30 11:54:44 -04:00
Lioncash
7b63b5f819 symbols: Directly initialize TSymbol members 2015-09-30 11:53:01 -04:00
Lioncash
d5071c2b9a symbols: Simplify GetSymbol 2015-09-30 11:51:06 -04:00
bunnei
5fb9ab82fd Merge pull request #1177 from linkmauve/fix-msvc-todo
Use a constexpr function for country initialization in service/cfg
2015-09-30 11:06:47 -04:00
bunnei
0c84f18dfc Merge pull request #1178 from lioncash/fmt
ivfc_archive: Fix a printf specifier
2015-09-30 11:06:26 -04:00
Lioncash
42e88c9a16 ivfc_archive: Fix a printf specifier 2015-09-30 08:19:42 -04:00
Emmanuel Gil Peyrot
918f616a46 Service/CFG: Use a constexpr function for country initialization
This fixes a TODO left over from when we supported MSVC 2013.
2015-09-30 04:02:48 +01:00
bunnei
6b3301d195 Merge pull request #1174 from bunnei/vs2015
AppVeyor: Use Visual Studio 2015
2015-09-29 22:40:42 -04:00
bunnei
09b8b9d6c3 AppVeyor: Use Visual Studio 2015 2015-09-29 22:17:02 -04:00
bunnei
9d8aeef475 Merge pull request #1172 from martinlindhe/fix-warnings
Fix some xcode 7 (llvm) warnings
2015-09-29 22:00:27 -04:00