Commit Graph

215 Commits

Author SHA1 Message Date
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Henrik Rydgård
34acb8b708 Show in dev settings if PPSSPP was built using Jenkins (just a test for my internal ci build). 2017-03-13 13:55:29 +01:00
Henrik Rydgård
a895936913 More log cleanup. Fix resize issue: Fixes #9392 2017-03-06 13:50:22 +01:00
Henrik Rydgård
440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +01:00
Henrik Rydgård
cfe2621604 LogManager: Hook up save/load, remove "long names" 2017-03-06 11:44:35 +01:00
Henrik Rydgard
03dab0fdbd More UWP prep 2017-02-25 09:57:22 +01:00
Henrik Rydgard
a846c4f68f More assorted D3D11 fixes. The samplemask in SetBlendState was the problem. 2017-02-08 14:55:03 +01:00
Henrik Rydgard
20d9e60a67 Just some renaming. Start moving away from the "thin3d" name 2017-01-30 14:38:31 +01:00
Henrik Rydgård
69b35a35be Show page size and WX Exclusive status in system info 2017-01-26 09:20:05 +01:00
Henrik Rydgård
ff9e1517c7 More bugfixes 2017-01-25 19:11:33 +01:00
Henrik Rydgård
9f2e83b66c Bundle up more state in the pipeline object. Lets us get rid of Vulkan's pipeline cache. 2016-12-27 11:59:11 +01:00
Henrik Rydgård
f86b9f7900 Guess what? More renaming 2016-12-27 11:59:06 +01:00
Henrik Rydgård
463251908b Rename things to closer match another project which I plan to share some code with 2016-12-27 11:59:02 +01:00
Henrik Rydgård
10393f5d4e Move Thin3D into the Draw namespace. 2016-12-27 11:58:03 +01:00
Florent Castelli
8c3552de74 cmake: Detect features at compile time
Instead of relying on manually passed down flags from CMake,
we now have ppsspp_config.h file to create the platform defines for us.
This improves support for multiplatform builds (such as iOS).
2016-10-19 12:31:19 +02:00
Florent Castelli
70593d1004 android: Change preprocessor define to standard __ANDROID__
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Henrik Rydgard
f8659b8e1e Move the IR interpreter out into its own file. Rename it in the UI. First CMake and Android fixes. 2016-05-08 22:06:13 +02:00
Henrik Rydgard
8b450c8034 Merge NativeJit.cpp/h with JitCommon.cpp/h 2016-05-01 11:39:59 +02:00
Henrik Rydgard
a5be0976bd Remove preprocessor hacks to choose JIT implementation.
Opens up for having multiple JIT implementations available at runtime,
which could be use for experimenting with new JIT compiler types or for
unit testing one JIT on another architecture.

Very few of the newly virtual calls are on any sort of critical path so
hopefully there will not be a performance loss.
2016-05-01 11:39:53 +02:00
Henrik Rydgard
56e358aa24 Show Vulkan information in system information. 2016-03-20 19:30:11 +01:00
Henrik Rydgard
438c7c1344 Only show GL extensions in the GL backend. 2016-03-06 11:06:49 -08:00
Unknown W. Brackets
c0238de4ee UI: Add tags to all the scroll views. 2016-01-22 22:52:13 -08:00
Unknown W. Brackets
84d815768b UI: Set tags on tab views, in the typical case. 2016-01-22 22:39:58 -08:00
Unknown W. Brackets
aa0055cea7 Track the running GPU backend separate from config.
This way we can change the config directly when we want to save a new
setting, rather than having hacks to use a temp var.
2016-01-05 22:37:28 -08:00
Unknown W. Brackets
1624079345 Scroll the devtools when the window is small.
This allows access to the other tools at 1x, and allows us to add more as
necessary.
2015-12-22 20:46:31 -08:00
Henrik Rydgard
5d6d4a08f4 Change approach somewhat to avoid adding drawing code in the screen manager. 2015-11-18 14:18:35 +01:00
Henrik Rydgard
6a373fe09a Make it possible to view vertex decoders through the shader viewing mechanism (even though they aren't strictly shaders, they fit the model). 2015-10-24 10:41:31 +02:00
vnctdj
1b3d3aef43 Make Back buttons translatable in the Shader Viewer 2015-10-14 22:05:05 +02:00
Henrik Rydgard
7f4e473e8c Add new shader viewing tool 2015-10-14 18:10:21 +02:00
Henrik Rydgard
72ae497350 Remove glstate usage except in the GPU implementation. Prepare for moving it into PPSSPP. 2015-09-06 12:42:15 +02:00
Unknown W. Brackets
63da81513b A few more misc GLES runtime cleanups. 2015-09-05 16:45:17 -07:00
Henrik Rydgard
428b5c2fb3 System information: Make sure we parsed the OpenGL API version correctly by displaying it. 2015-07-23 17:22:28 +02:00
Henrik Rydgård
11f64ee27b System info: Make it obvious which GPU vendor we detected. Remove the math precision reporting, which seems inaccurate anyway. 2015-07-21 20:48:10 +02:00
Unknown W. Brackets
40dcd585a0 Update "Back" buttons to match a bit better. 2015-07-04 08:41:23 -07:00
Unknown W. Brackets
3f9b5ee1a3 Clean up legend placement in profiler. 2015-07-03 12:43:02 -07:00
Unknown W. Brackets
2a00687643 Skip categories that are small slices of the time. 2015-07-03 12:08:12 -07:00
Unknown W. Brackets
0f0c16f25f Skip "timing" categories in graph. 2015-07-03 12:07:08 -07:00
Unknown W. Brackets
a262f18bd7 Fix profiler labels when skipping UI.
Example:
adb shell am start -n org.ppsspp.ppsspp/.PpssppActivity -e
org.ppsspp.ppsspp.Shortcuts /storage/emulated/0/gamefile.cso
2015-07-03 11:57:48 -07:00
vnctdj
d7eba2061e Consistently use *di for the Dialog i18n category 2015-07-01 23:26:55 +02:00
Unknown W. Brackets
5918cad4b2 Consistently use *dev for the Developer i18n cat. 2015-06-29 20:30:30 -07:00
Unknown W. Brackets
7ce13694ec Make CPU extensions focusable for consistency. 2015-06-28 18:15:00 -07:00
Unknown W. Brackets
75c86c95a0 Show cores correctly on ARM64. 2015-06-26 21:39:48 -07:00
Henrik Rydgård
ee1299b8f2 Merge pull request #7778 from unknownbrackets/frame-profiler
Improve frame profiler display a bit more
2015-05-28 19:02:46 +02:00
Unknown W. Brackets
8258a7341e Soften the outline a bit and fix overlap. 2015-05-28 07:29:05 -07:00
Unknown W. Brackets
41d54cbcbc Adjust frame profiler graph to be more readable. 2015-05-27 20:01:54 -07:00
Jan Beich
a4eb49f009 Unbreak build with FakeJit
Core/MIPS/fake/FakeJit.cpp:141:46: error:
      unknown type name 'FakeJitBlock'; did you mean 'JitBlock'?
const u8 *FakeJit::DoFakeJit(u32 em_address, FakeJitBlock *b)
                                             ^~~~~~~~~~~~
                                             JitBlock
Core/MIPS/JitCommon/JitBlockCache.h:59:8: note:
      'JitBlock' declared here
struct JitBlock {
       ^
Core/MIPS/fake/FakeJit.cpp:141:20: error:
      out-of-line definition of 'DoFakeJit' does not match any declaration in
      'MIPSComp::FakeJit'
const u8 *FakeJit::DoFakeJit(u32 em_address, FakeJitBlock *b)
                   ^~~~~~~~~
Core/HLE/ReplaceTables.cpp:1044:29: error:
      use of undeclared identifier 'JITFUNC'
        { "fabsf", &Replace_fabsf, JITFUNC(Replace_fabsf), REPFLAG_ALLOWINLI...
                                   ^
Core/HLE/ReplaceTables.cpp:1101:27: error:
      invalid application of 'sizeof' to an incomplete type 'const
      ReplacementTableEntry []'
        for (int i = 0; i < (int)ARRAY_SIZE(entries); i++) {
                                 ^~~~~~~~~~~~~~~~~~~
native/math/../base/basictypes.h:67:30: note:
      expanded from macro 'ARRAY_SIZE'
 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
                             ^~~
Core/HLE/ReplaceTables.cpp:1117:9: error:
      invalid application of 'sizeof' to an incomplete type 'const
      ReplacementTableEntry []'
        return ARRAY_SIZE(entries);
               ^~~~~~~~~~~~~~~~~~~
native/math/../base/basictypes.h:67:30: note:
      expanded from macro 'ARRAY_SIZE'
 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
                             ^~~
Core/MIPS/JitCommon/JitCommon.cpp:31:2: error:
      unknown type name 'Jit'
        Jit *jit;
        ^
Core/MIPS/JitCommon/JitCommon.cpp💯21: error:
      no member named 'Asm' in 'MIPSComp::FakeJit'
        if (MIPSComp::jit->Asm().IsInSpace((u8 *)(intptr_t)addr)) {
            ~~~~~~~~~~~~~  ^
Core/MIPS/JitCommon/JitCommon.cpp:101:45: error:
      no member named 'Asm' in 'MIPSComp::FakeJit'
                *offset = addr - (uint64_t)MIPSComp::jit->Asm().GetBasePtr();
                                           ~~~~~~~~~~~~~  ^
Core/MemMap.cpp:197:57: error:
      use of undeclared identifier 'MEMVIEW32_MASK'
  ...position, view.size, base + (view.virtual_address & MEMVIEW32_MASK));
                                                             ^
2015-05-26 15:20:10 +03:00
Henrik Rydgard
64f20033d4 Profiler: More colors, allow more scaling 2015-05-26 01:11:54 +02:00
Henrik Rydgard
fb5a3ef99b profiler: Compute the max correctly in area chart mode 2015-05-26 00:56:05 +02:00
Unknown W. Brackets
38d0cfe159 Make the legend width a bit more dynamic. 2015-05-24 23:45:40 +02:00
Henrik Rydgard
9e15f04f15 Better colors in profiler 2015-05-24 23:45:38 +02:00
Henrik Rydgard
2e26a4798e Scale the frame profiler graph dynamically 2015-05-24 23:45:37 +02:00
Henrik Rydgard
26624709f7 Hook up the frame profiler to a few measurements 2015-05-24 23:45:36 +02:00
vnctdj
e27bf8567e Change translation category
59d0baca93 (diff-a79dfbd66a9e1e1dc097bc65fc5f7027R570)
2015-04-12 11:23:57 +02:00
Henrik Rydgård
59d0baca93 Add way to print some block bloat stats. 2015-04-11 00:12:56 -07:00
Henrik Rydgard
0922db6062 ARM64: Some FP work. 2015-04-06 18:13:11 +02:00
Henrik Rydgard
524583d53e ARM64 emitter work, dispatcher work, etc. More work needed. 2015-04-06 18:13:03 +02:00
Henrik Rydgard
8945b2476d Add the beginnings of a rudimentary ARM64 disassembler 2015-04-06 18:13:03 +02:00
Henrik Rydgard
b309c83973 Initial work on ARM64, based on the ARM jit. 2015-04-06 18:13:01 +02:00
Henrik Rydgård
b7498f4581 Make some UI adjustments on TV devices 2015-04-03 11:54:24 +02:00
Henrik Rydgard
80d610998d Better error checking in D3D9 init 2015-02-02 09:27:27 +01:00
Henrik Rydgard
86cee103f3 Add audio debug stats dev tool. Increase audio buffer low watermark a bit, hopefully helping #7370. 2015-01-29 12:56:17 +01:00
Henrik Rydgard
8b05e7abf0 Adjust the audio speed on non-60hz Android devices to compensate.
Greatly improves audio stability on Nexus S.

Fixes #6677 .
2015-01-14 00:45:12 +01:00
Henrik Rydgard
3ca212ad0c Update native, expose platform audio sample rate in System Information on Android
When these don't match, we should really resample to get access to the low latency audio path. TODO
2015-01-11 11:42:00 +01:00
Henrik Rydgard
604abe933e Update submodules, add x64Emitter bugfix from Dolphin (plus a few new instrs), misc 2015-01-11 00:12:32 +01:00
Henrik Rydgard
a9b010b0cd Add a basic debug console UI to the devmenu that shows some log scrollback and has a little command line.
Useful for debugging on non-Windows in the future. For now non-mobile only (although may lift that restriction later)
2015-01-05 01:25:23 +01:00
Henrik Rydgard
fdd297a982 Update native with better Moga version detection. Show moga version in System information on Android. 2015-01-01 13:35:31 +01:00
Henrik Rydgard
c64681d5d5 Show shader precision in system information. Seems some devices lie though. 2014-12-15 23:13:36 +01:00
Henrik Rydgard
8ad1ea4c84 Split JitCommon.h so that you can include it without getting the "NativeJit" definition 2014-12-13 21:13:28 +01:00
vnctdj
2f94271a31 Make more things translatable
This commit completes a794650118
2014-12-10 23:01:09 +01:00
ufdada
a794650118 make logging channel screen and devmenu translateable 2014-12-09 21:50:51 +01:00
Henrik Rydgard
80ce45f9fb ARM Jit: Join adjacent vrot ops on ARM too 2014-12-07 12:07:54 +01:00
Henrik Rydgard
b09fe89be4 Improvements in Jit compare UI 2014-11-16 16:45:24 +01:00
Henrik Rydgard
5bcdecc26b unittest: Have the JIT harness print disassembly, to make it easy to inspect results. 2014-11-09 12:03:04 +01:00
Unknown W. Brackets
0b3fe61a35 Start the jit compare off on the current block. 2014-10-12 10:28:41 -07:00
Henrik Rydgard
e389fcefcf Fix x86 disassembly in 32-bit mode 2014-10-12 18:54:21 +02:00
Unknown W. Brackets
4027731a71 Avoid spinning the CPU in dev menu screens. 2014-10-11 09:30:30 -07:00
Unknown W. Brackets
498d0b9adc Enable x86 disassembly in jit compare. 2014-10-11 09:30:30 -07:00
Henrik Rydgard
f84ebf6bff sprintf->snprintf, fix some too short buffers 2014-09-14 00:14:11 +02:00
Henrik Rydgard
e2ecbb7a4d Convert more UI code to Thin3D 2014-08-22 20:55:18 +02:00
The Dax
85bb1188c0 Win32: Query WMI for the GPU driver version, and display it in the System Information screen. 2014-07-31 01:24:41 -04:00
Henrik Rydgard
0761d1eb77 Show native display resolution under system information on Android 2014-07-21 01:19:42 +02:00
Unknown W. Brackets
940e7c9fb8 Fix a small typo. 2014-07-20 08:34:39 -07:00
Henrik Rydgard
0c3bc1dfee system info: show ABI as detected by our compiler defines 2014-07-20 16:33:24 +02:00
Unknown W. Brackets
5db79dcf11 Fix some missing semicolons on log statements. 2014-06-29 19:09:37 -07:00
Henrik Rydgard
e3bbf26731 Improve input event handling. Can now map volume keys on Android without issues. 2014-06-15 13:04:59 +02:00
The Dax
09d7dc30ff SystemInfoScreen: Don't show the EGL Extensions tab if there are none to show. 2014-05-06 00:26:51 -04:00
adrian17
c52c2375c0 Removed dead code from UI 2014-01-19 13:51:24 +01:00
Henrik Rydgård
ce378b231f Delete CPU.cpp/h , cleanup 2013-12-30 00:11:29 +01:00
Henrik Rydgard
c9ed58854a Fix the size of a couple of back buttons. Fixes #4763 2013-12-10 19:57:07 +01:00
Unknown W. Brackets
cd39b74629 Add virtual buttons for address input. 2013-11-28 23:02:04 -08:00
Unknown W. Brackets
2808c288ea Add a dialog to enter a jit compare address.
For now, requires buttons.
2013-11-28 22:35:03 -08:00
Henrik Rydgård
4a89e2e74f Add "Dump frame GPU commands" to the "in-game" dev menu too. 2013-11-15 16:49:13 +01:00
Henrik Rydgård
40bd1fa650 Add freeze-frame to developer menu. Only useful for developing, like when using nVidia PerfHud. 2013-11-15 13:11:44 +01:00
Sacha
e6320f2726 Add a CPU Extensions tab to Developer's System Info. 2013-11-15 01:18:29 +10:00
Unknown W. Brackets
aacb31bc18 armjit: Copy over (disabled) immbranch optim.
This does a little loop unrolling.  Costs a bit more cache space, but
avoids flushing regs for longer.

Not enabled.
2013-11-10 21:59:48 -08:00
Henrik Rydgard
490deb9b5c Add option to the JIT viewer to find a random block with VFPU instructions.
For inspection of jit results.
2013-11-07 15:29:12 +01:00
The Dax
17b7ec1d59 Truncate the OpenGL version string so it doesn't run amok. 2013-10-21 11:47:35 -04:00
Henrik Rydgård
850b5d2961 Merge pull request #4228 from thedax/i7CPUDetection
System Info screen: Add correct core count detection for i7(and maybe i5/i3?) CPUs.
2013-10-17 16:27:01 -07:00
The Dax
0400a61d51 Add correct core count detection for i7(and maybe i5/i3?) CPUs, and update the SysInfo screen to show more information about threads on x86/x64. 2013-10-17 19:03:33 -04:00
shenweip
4489547073 Add a function to change log channel for convenience. 2013-10-18 00:23:57 +08:00
Sacha
4f6b0225ed Cosmetic fix for small screen or <= 1:1 aspect ratio. 2013-10-17 16:11:19 +10:00
Sacha
be47964ff2 Use 'Cores' instead of 'Threads' for ARM. 2013-10-15 15:28:19 +10:00
The Dax
d5ca3c28ed Redesign the System Info screen to have tabs. 2013-10-11 19:23:43 -04:00
danyalzia
66e48f5a69 Show CPU in System info (UI) 2013-10-10 16:09:13 +05:00
Sacha
f82833c362 Merge branch 'master' of https://github.com/hrydgard/ppsspp 2013-10-04 22:42:44 +10:00
zixiken
c4304b5c2e Added include to remove error: 'sort' is not a member of 'std' 2013-10-03 16:13:16 -04:00
Sacha
ae42a4b95d Algorithm include needed. Update native. 2013-10-03 04:00:00 +10:00
Henrik Rydgard
e65d0b4791 Use EXT_blend_minmax when available. Minor tweaks. 2013-09-30 10:12:10 +02:00
Henrik Rydgård
4582902cf2 Make the ARM stuff build on clang so we can later get the unit test to
work there. also fixes the build.
2013-09-29 20:01:38 +02:00
Unknown W. Brackets
a2d1fd5a79 Linux buildfix (a bit blind.) 2013-09-29 10:46:46 -07:00
Henrik Rydgard
b661ae6c41 Add very simple jit viewer screen to dev menu. Add untested emitter for cvt.f32.f16 & c:o. 2013-09-29 13:41:56 +02:00
danyalzia
4a034f4a4d Show GL Shading Language Version 2013-09-28 14:34:04 +05:00
Henrik Rydgard
8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Henrik Rydgard
c31ae0645f Add optional "DevMenu" in-game button for quick access to things like log settings 2013-09-07 20:54:51 +02:00
Henrik Rydgard
26c5ee4a6d Add screen to control debug levels. Will make it easier to access later. 2013-09-07 13:38:37 +02:00