Commit Graph

506 Commits

Author SHA1 Message Date
Unknown W. Brackets
481be1cd34 Fix GL feature detection. 2016-01-06 20:26:53 -08:00
Unknown W. Brackets
9fa6777c3e Fix copy/paste mistake with growing views. 2016-01-04 06:46:06 -08:00
Henrik Rydgård
5bd72ea268 Merge pull request #8347 from hrydgard/graphics-context
Graphics context
2016-01-03 18:54:58 +01:00
Henrik Rydgard
f7f9f321a0 Qt fixes 2016-01-03 15:03:08 +01:00
gmvbif
1794ca908f Fixed some warnings from Native project
- fastMode assigned twice in ChunkFIle constructor
 - added checking for fail while reading ini file (possible infinity loop)
 - zim_save assigned dithval twice (Please double check this)
 - in http_client added checking progress againt nullptr
2016-01-02 09:40:48 +03:00
Henrik Rydgard
5ff8224075 Try to fix blackberry build 2016-01-01 15:17:55 +01:00
Henrik Rydgård
95822a165d Fix Mac build 2016-01-01 14:40:19 +01:00
Henrik Rydgard
ae3458ec6e Buildfixes linux 2016-01-01 14:40:17 +01:00
Henrik Rydgard
15de6e6b98 GraphicsContext: Abstract away things like swapbuffers etc before adding even more backends.
Needed to prevent clutter all over the codebase.

Does not go all the way yet, goal would be a common render loop between platforms but not there yet.
2016-01-01 14:40:16 +01:00
Henrik Rydgard
16053c08a0 Buildfix _DEBUG-builds on non-win32 2016-01-01 14:30:03 +01:00
Henrik Rydgård
3492c05771 MacOSX buildfix and warning fix 2016-01-01 13:34:52 +01:00
gmvbif
281f0e18e6 Fixed some errors from PVS-Studio in Core project
FixedSizeQueue
- Added private operator=
- Changed signature of EndPop
Some changed to printf like functions.
Fixed typo in syn-att.c
2015-12-31 10:25:11 +03:00
Henrik Rydgård
37cfea0fdc Merge pull request #8338 from unknownbrackets/xbrz
Update xBRZ to 1.4 and improve scaling/caching limits
2015-12-30 23:11:30 +01:00
Unknown W. Brackets
c3a031d276 Update xBRZ to 1.4.
Now a lot of our customizations aren't needed, yay.
2015-12-30 13:09:38 -08:00
Unknown W. Brackets
a982438296 thin3d: Use GL_COLOR_LOGIC_OP. 2015-12-28 14:13:21 -08:00
Henrik Rydgård
b117896b63 Merge pull request #8317 from unknownbrackets/minor
Minor fixes to SDL + resolution display
2015-12-28 19:46:18 +01:00
Henrik Rydgård
d7e4e0de6d Merge pull request #8312 from unknownbrackets/armips
Update armips to latest version
2015-12-28 19:43:21 +01:00
Unknown W. Brackets
267bd0e2f7 SDL: Avoid dereferencing an invalid iterator.
Might not be a key we know about.
2015-12-27 12:04:18 -08:00
Unknown W. Brackets
dcda4967fe SDL: Prevent windowevents from triggering keys.
There was no break, unintentional fall-through.
2015-12-27 12:03:26 -08:00
latot
b22ee53662 Change char assign 2015-12-27 16:52:38 -03:00
latot
c7b98b84c2 Add extended keys(latam) 2015-12-27 15:45:50 -03:00
Unknown W. Brackets
86127b3d0d Update armips to latest version.
The new version has some speed and other improvements.
2015-12-26 20:30:35 -08:00
Henrik Rydgård
58ef5ee940 Merge pull request #8307 from unknownbrackets/minor
Allow shortcut min/max on Windows, fix config save on exit
2015-12-26 10:39:57 +01:00
Unknown W. Brackets
82e41a1392 Make sure the config is saved on exit.
May help #7724.
2015-12-25 19:39:52 -08:00
gmvbif
ae1c1a0295 Fixed some errors from PVS-Studio in Common project
Color conversion assigned 'a' twice.
Console listener use local variable with the same name a class member.
Some additionals to nocopy for FileUtils and mutex
2015-12-25 09:49:26 +03:00
Henrik Rydgård
21bf73a612 Merge pull request #8281 from unknownbrackets/ui-tweaks
Add feature to auto-hide buttons after X seconds
2015-12-24 23:15:59 +01:00
Henrik Rydgård
1e2f45ec4f Merge pull request #8291 from unknownbrackets/ui-tweaks2
Show a scroll view inside the devtools window
2015-12-24 23:15:46 +01:00
Unknown W. Brackets
2389ef589e Fix a mistaken string compare. 2015-12-23 15:26:29 -08:00
Unknown W. Brackets
d6cd3bd5ad Remove some unused variables. 2015-12-23 15:22:28 -08:00
Unknown W. Brackets
279d3b20cf thin3d: Only use VAOs in core profile. 2015-12-22 22:15:13 -08:00
Unknown W. Brackets
5ff7781a3c thin3d: Fix drawing without VAO support. 2015-12-22 22:15:12 -08:00
Unknown W. Brackets
8923bd46e7 Support AT_MOST for WRAP_CONTENT. 2015-12-22 20:45:50 -08:00
Unknown W. Brackets
85ad28d4cd Prettify fake RTTI for layout params.
Better not to make the RTTI/non-RTTI thing a problem in lots of places.
2015-12-22 20:45:49 -08:00
Unknown W. Brackets
e7f70ff8d0 Handle weighted LinearLayout children better.
This allows them to not stretch the parent completely, but still increase
the size of the parent.
2015-12-22 20:45:49 -08:00
Unknown W. Brackets
f64159a3f2 Respect AT_MOST when measuring ScrollViews. 2015-12-22 19:53:31 -08:00
Unknown W. Brackets
5c9cf65939 Allow AnchorLayouts to prevent overflow.
This is useful to propagate the bounds into children.
2015-12-22 19:52:23 -08:00
Unknown W. Brackets
08ebbb4a60 Customize labels for zero in config sliders. 2015-12-20 13:13:44 -08:00
Unknown W. Brackets
27ad8185e3 Add flag for core GL contexts.
Since using VBOs all the time is slower.
2015-12-19 09:18:35 -08:00
Unknown W. Brackets
b71061b1ef thin3d: Handle lost vertex formats. 2015-12-19 09:18:33 -08:00
Unknown W. Brackets
1ca7abb948 thin3d: Correct subdata size check. 2015-12-19 09:18:31 -08:00
Unknown W. Brackets
07d34e985b thin3d: Use VAOs for all drawing. 2015-12-19 09:18:28 -08:00
Unknown W. Brackets
bf9733f4cb Look up GL_EXTENSIONS the new way in new GL. 2015-12-19 09:18:27 -08:00
Henrik Rydgard
732b1239e7 Add some permission infrastructure, add an ugly button that asks you to grant STORAGE permission if necessary. 2015-12-17 22:41:50 +01:00
Henrik Rydgard
13515bf235 Use the hardware scaler again on Android. Move all DPI handling code from java to app-android.cpp. 2015-12-16 14:52:44 +01:00
Unknown W. Brackets
fbc4b4e7a1 Use glCopyImageSubData() when it's available.
There's 4 different extensions providing this functionality.  NV is
supported on desktop and mobile, EXT/OES on mobile, and ARB on desktop.

Mostly these are only supported by desktop cards and NVIDIA mobile.

Good improvement in performance on NVIDIA when blit is called a lot, since
it doesn't need to rebind anything or change state.  Example is in desert
city in Tales of Phantasia.
2015-12-06 10:39:21 -08:00
Henrik Rydgård
4bb36b0e79 Merge pull request #8243 from unknownbrackets/gpu-blend
Enable EXT_blend_func_extended
2015-12-06 18:36:45 +01:00
Unknown W. Brackets
1fb271a607 Enable EXT_blend_func_extended.
Not really tested.
2015-11-27 16:01:25 -08:00
Henrik Rydgard
01669cbd92 Hide the "Internal resolution" etc static display unless FPS counter is on.
Seems fairly related and I don't want to add more options.
2015-11-27 00:17:14 +01:00
Henrik Rydgard
efde6e44db Just a safety check in thin3d texture loading 2015-11-27 00:17:14 +01:00
Unknown W. Brackets
eb5072bba5 Warning fixes. 2015-11-18 21:56:05 -08:00
Unknown W. Brackets
df6cbafe0f Measure free disk space to size block count. 2015-11-18 21:56:03 -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
758ec5a027 Avoid clearing the backbuffer before actually doing any rendering to fbo on every frame - instead, clear when stretching the framebuffer into place. May save quite a bit of bandwidth on tiler GPUs with naive GL drivers. 2015-11-18 12:13:35 +01:00
Unknown W. Brackets
ae30933ed8 Open ZFS files using unicode-aware APIs.
May help #8223.
2015-11-17 21:51:55 -08:00
Henrik Rydgard
2634f7344a Fix some focus/dragging issues with the sliders 2015-11-12 19:25:11 +01:00
Carl Kenner
bf84fda058 Improve pop-up UI for integer slider screens. Add a text entry box and units.
# Conflicts:
#	UI/GameSettingsScreen.cpp
2015-11-06 18:55:36 +10:30
Carl Kenner
064a09bda4 Improve PopupSliderChoiceFloat to make it more usable for VR settings.
It now has a text input box.
+/- buttons are on the next line so you can cursor along slider.
And the units are optionally displayed.

# Conflicts:
#	UI/GameSettingsScreen.cpp
2015-11-06 18:42:34 +10:30
Henrik Rydgård
452ed71e68 Couple of LLVM compiler warnings 2015-11-04 12:46:38 +01:00
Henrik Rydgard
ea69adb68b Fix scrolling in Combo Key setup. Fixes #8097. 2015-10-31 13:45:57 +01:00
Henrik Rydgård
437d7b80e3 Fix window resize/fullscreen ingame on Mac and other SDL builds 2015-10-25 11:19:41 +01:00
Henrik Rydgard
b7db15225f x64 disasm: properly symbolize rip-relative addresses 2015-10-24 10:37:01 +02:00
Henrik Rydgård
7faf1cb3f3 Fix a couple of crashes 2015-10-06 19:07:28 +02:00
Henrik Rydgard
41efe18bba Probably fix crash on exit reported in #8022 2015-10-04 16:12:03 +02:00
Henrik Rydgard
01b9400223 Oops, forgot this 2015-10-04 00:14:13 +02:00
Henrik Rydgard
8996f58693 Generate save state IDs for homebrew using the elf or directory name where applicable. 2015-09-25 19:27:40 +02:00
Henrik Rydgard
4b8666dc5d Fix #8001, although I don't quite understand what was wrong... 2015-09-25 19:22:59 +02:00
Henrik Rydgård
1c58cb203e Oops 2015-09-23 17:39:52 +02:00
Henrik Rydgård
28b6cdf0de Hack around #7991 - will investigate later. 2015-09-23 17:34:16 +02:00
Henrik Rydgård
103b73db18 Merge pull request #7994 from hrydgard/fileutil-cleanup
Remove all uses of stat() on Windows. Buggy on XP with VS 2015.
2015-09-23 12:45:41 +02:00
Henrik Rydgard
c2ac933dab Do not cache translation category objects in UI objects. Fixes #7996 2015-09-23 12:44:49 +02:00
Henrik Rydgard
51a5adfff2 More buildfixes 2015-09-23 10:59:12 +02:00
Henrik Rydgard
dc05a6516e Buildfixes 2015-09-23 10:25:41 +02:00
Henrik Rydgard
58d3137b10 Get rid of a bunch of more uses of stat64 on Windows. 2015-09-23 09:48:55 +02:00
Henrik Rydgard
cf63ec6d3c Delete some duplicate code 2015-09-22 23:02:02 +02:00
sergiobenrocha2
662d5fc9da Fix atlas/zimtool build. 2015-09-21 12:46:42 -03:00
Henrik Rydgard
fbb987a46f Fix the line endings of native.vcxproj.filters
Makes further changes easier (I had to use a text editor for the last few...)
2015-09-20 21:32:57 +02:00
Henrik Rydgard
2a99fe83e3 Blackberry buildfix 2015-09-19 16:46:07 +02:00
Henrik Rydgard
4d18d478a0 Sample renderWidth/pixelWidth/height once per frame for the framebuffer manager. 2015-09-19 16:19:03 +02:00
Henrik Rydgard
ecbef7a2ff Remove easy_file.cpp/h. Minor cleanups. 2015-09-19 14:29:02 +02:00
Henrik Rydgard
2aba7e0373 Symbian buildfix 2015-09-19 12:34:55 +02:00
Henrik Rydgard
a5d7b32bfe MSVC buildfix, remove color.h 2015-09-19 12:32:57 +02:00
Henrik Rydgård
333ed22907 Remove gfx_es2/vertex_format 2015-09-19 11:07:52 +02:00
Henrik Rydgård
c219793803 Remove the old UI texture class 2015-09-19 11:05:00 +02:00
Henrik Rydgård
7979b6378e Remove old UI framework 2015-09-19 10:58:50 +02:00
Henrik Rydgård
9fa4e65fb6 Remove stb_image 2015-09-19 10:44:13 +02:00
Henrik Rydgård
ca0a6dc7f9 Remove native audio mixer (Unused in PPSSPP) and stb_vorbis 2015-09-19 10:43:58 +02:00
Henrik Rydgård
efbd100dd3 Remove rapidxml 2015-09-19 10:36:35 +02:00
Henrik Rydgård
95584a8966 Remove bits, varint 2015-09-19 10:35:16 +02:00
Henrik Rydgård
1a59e3820a Remove aabb, hamming, perlin 2015-09-19 10:32:35 +02:00
Henrik Rydgård
58ffa5f38c Remove file/dialog.cpp,h 2015-09-19 10:29:16 +02:00
Henrik Rydgård
df47f41db6 Remove scoped_ptr (now unique_ptr), midi 2015-09-19 10:26:27 +02:00
Henrik Rydgård
45e3b7122b Remove some unused code (error_context, fastlist, stats) 2015-09-19 10:15:24 +02:00
Henrik Rydgård
9636e4cef4 Fix assorted key mapping issues affecting Shield and probably pads in general on Android. See #7976 2015-09-17 22:46:59 +02:00
Henrik Rydgard
aa4a33e6db Fix "ANY" device keydefs (used for ui nav). 2015-09-17 22:07:22 +02:00
Henrik Rydgard
3232e46c36 Make debug build nearly warning free in MSVC 2015 2015-09-17 22:02:15 +02:00
Henrik Rydgård
a71fbccfbc Warning fixes for new LLVM on mac (warns on inconsistent usage of override) 2015-09-17 20:29:37 +02:00
sergiobenrocha2
1c869e4607 png17 must be after image, no need of libzip here; fix freetype2 header. 2015-09-16 01:32:23 -03:00
sergiobenrocha2
91ff535272 Fix atlastool build. 2015-09-16 01:13:15 -03:00
Unknown W. Brackets
7a34d64911 Correct native project file paths.
A couple files were missing causing constant rebuild.
2015-09-12 13:16:46 -07:00
Henrik Rydgard
c757931779 Android: Combine the two Java Eclipse projects into one.
Should make it easier to get ndk-gdb going, which I've always had crazy issues with with library projects.
2015-09-10 18:51:48 +02:00
Henrik Rydgard
dc4fb4ca76 Fix #7884 by fixing silly UI layout bug 2015-09-07 23:51:25 +02:00
Unknown W. Brackets
d403ef6329 Fix StringFromFormat() on MSVC 2015. 2015-09-07 10:27:36 -07:00
Unknown W. Brackets
77f0de9b63 Fix a few more line endings.
Otherwise these will appear dirty often.
2015-09-07 09:19:15 -07:00
Unknown W. Brackets
85533dad6e Native merge part 2: update build files.
And a couple minor stragglers.
2015-09-06 13:06:57 -07:00
Unknown W. Brackets
dbfc5385c3 Fix line-endings in ui/screen. 2015-09-06 12:29:23 -07:00
Unknown W. Brackets
f279c2a3c2 Merge remote repo native into ext/native/. 2015-09-06 12:24:17 -07:00
Henrik Rydgard
fdea85138c Update project files, fix minor issues for VS 2015 2015-09-06 19:32:15 +02:00
Henrik Rydgard
0be2b93ceb More ARM32 NEON encoding horrors (VMOVL, VSHLL) 2015-07-10 23:56:42 +02:00
Henrik Rydgard
59164cdbfb ARM32: Disasm and emit NEON shifts-by-immediate 2015-07-09 00:24:57 +02:00
Jan Beich
b9b02eb403 DragonFly has bswap* like FreeBSD, Bitrig - like OpenBSD 2015-05-25 19:23:31 +03:00
Jan Beich
7af88bf50e ext/stb_vorbis: alloca() is in stdlib.h on BSDs as well
ext/stb_vorbis/stb_vorbis.c:19:10: fatal error: 'alloca.h' file not found
2015-05-25 19:23:31 +03:00
Henrik Rydgård
3ffd5dda1e Merge pull request #264 from Bigpet/vs2015
Make compilable with VS2015
2015-03-06 21:45:00 +01:00
Peter Tissen
30a362f227 Make compilable with VS2015
So Microsoft decided to make their C runtime conform to C99
2015-03-06 21:01:19 +01:00
Chin
83b8b23e40 Remove a useless switch 2015-03-01 16:48:24 +01:00
Unknown W. Brackets
1075a394ce Optimize xBRZ with ARGB a bit.
Alpha is quite common with PSP textures.  Measured by Zenju to provide a
15% performance improvement in Visual Studio.
2015-02-21 15:51:03 -08:00
Unknown W. Brackets
0982336565 Oops, fix race in xBRZ buffer alloc. 2015-02-21 15:51:02 -08:00
Unknown W. Brackets
10049e62a8 Allocate the xBRZ buffer only when actually used.
This way if scaling is off, we don't have to worry about potentially
eating more RAM on any platform.
2015-02-21 15:51:02 -08:00
Unknown W. Brackets
3c9150231d Update to xBRZ 1.2, with perf improvements.
Performance improvements in PPSSPP not measured, but xBRZ expects 30%
improvement.  Fixes #7443.
2015-02-21 15:51:01 -08:00
Henrik Rydgard
7f51cd6003 Cleaner fix for compilation problem in SFMT.h, though had to patch it. 2015-02-15 23:14:54 +01:00
daniel229
21b0c2992b Implement sceSfmt19937 module. 2015-02-15 13:22:20 +08:00
sergiobenrocha2
778934641e You need this if you don't want to install libglew-dev dependence. 2015-02-03 17:35:45 -02:00
Henrik Rydgard
4ebdf49fb6 Update ffmpeg to master, also switching to static linking of MSVCRT. Don't forget to update your submodules! 2015-01-24 13:30:37 +01:00
Unknown W. Brackets
5065570c1b Burn troublesome debugging code with fire.
This wasn't doing anything on any platform, even in debug mode, it was
just in upstream in case someone wanted to debug xbrz.

Removing it, will have to remember to remove again when syncing upstream.
It makes Linux still break and does not help cross-compat.
2015-01-19 19:06:32 -08:00
Henrik Rydgård
5c80731637 Merge pull request #7358 from unknownbrackets/warnings
A few more static analysis warnings
2015-01-19 18:15:56 +01:00
Unknown W. Brackets
85fa35f651 Fix an undefined shift operation. 2015-01-19 08:38:16 -08:00
Unknown W. Brackets
11471372d2 Update armips, fix #7357. 2015-01-19 08:30:18 -08:00
Unknown W. Brackets
b32dcf572b Update native (android version fix.)
Fixes #7352.
2015-01-18 15:54:45 -08:00
Unknown W. Brackets
dd5a69c18e Update armips with warning fixes. 2015-01-18 13:00:06 -08: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
Unknown W. Brackets
585d0d3a56 Update armips. 2015-01-04 13:04:30 -08:00
Unknown W. Brackets
6562ae4ebc Minor warning fixes. 2014-12-30 10:06:09 -08:00
Unknown W. Brackets
edb0203cfb Symbian doesn't have alloca.h. 2014-12-25 19:43:06 -08:00
Unknown W. Brackets
10fbb0f6ef Silence some type conversion warnings. 2014-12-21 10:21:58 -08:00
Unknown W. Brackets
f20e05bb4c Fix an undefined pragma warning on non-msvc. 2014-12-21 00:02:08 -08:00
Unknown W. Brackets
07b8637ada Fix a bitwise precedence warning. 2014-12-21 00:01:16 -08:00
Unknown W. Brackets
614ae52eb8 Quiet some warnings in externals.
We're not very worried about these anyway.  Better to not have the spam.
2014-12-20 09:37:55 -08:00
Unknown W. Brackets
561de790d8 Fix an incorrect unsigned compare. 2014-12-20 09:14:33 -08:00
Henrik Rydgård
a346b70341 Fix debug build on mac 2014-12-15 18:52:27 +01:00
Henrik Rydgard
c04a759b1d Update the armips submodule with attempt at blackberry buildfix 2014-12-11 11:45:17 +01:00
Henrik Rydgard
59d41b1803 Update armips (accidentally changed it in a previous commit) 2014-12-08 00:33:03 +01:00
Henrik Rydgard
50bb3e1e05 Minor fixes 2014-12-08 00:18:13 +01:00
Henrik Rydgard
8c128508a5 disarm: Fix a couple of bugs, and disable a broken test to get to the good stuff in ArmEmitter unittest... 2014-12-07 23:24:39 +01:00
Henrik Rydgard
f7baec317c Merge the ARM disassembler improvements from the old neon-vfpu branch
Forgot these...
2014-12-07 22:05:04 +01:00
Henrik Rydgård
0e171efc0d CMakeLists cleanup 2014-12-04 07:19:27 +01:00
Unknown W. Brackets
25a8752dcb Update armips (fixes #7114.) 2014-11-29 09:12:32 -08:00
Kingcom
2159e3b3b6 Update armips 2014-11-29 13:12:55 +01:00
Kingcom
f6cedcbff5 Replace assembler with a submodule 2014-11-23 21:09:40 +01:00
xSacha
df5b9b301c Buildfix for MIPS in debug mode.
Also, remove assumption that EGL means GLES2. My board supports EGL+Desktop GL too.
2014-11-18 13:39:25 +10:00
Henrik Rydgard
74d8a9bdba Clean up after the block linker. armdis: add BKPT 2014-11-17 21:21:34 +01:00
TwistedUmbrella
07f0478425 Xcode 6 / iPhone 6 compatibility updates 2014-11-04 03:37:40 -05:00
Unknown W. Brackets
416182b4ba Update to xBRZ 1.1.
Keeping the channel swap stuff and other changes, though.
2014-11-02 14:17:24 -08:00
Unknown W. Brackets
139277bc1a Update xxhash to r37. 2014-10-26 17:48:59 -07:00
Unknown W. Brackets
6f9ea6ef4b Avoid some warnings in udis86.
These should all be safe.
2014-10-11 09:30:29 -07:00
Unknown W. Brackets
cb6634f54b Add udis86 b24baf1 (1.7.3?), not yet used.
Linked even on arm to avoid dependency complexity, might skip later.
2014-10-11 09:30:29 -07:00
Henrik Rydgard
f84ebf6bff sprintf->snprintf, fix some too short buffers 2014-09-14 00:14:11 +02:00
Henrik Rydgard
a9b5fe44bf Slip thin3d underneath DrawBuffer/UI 2014-08-22 20:54:23 +02:00
Henrik Rydgard
cea002e39a Update GLEW with GL4.4 support 2014-08-21 10:21:37 +02:00
Henrik Rydgard
1140bc7539 Fix inconsistent line endings 2014-07-20 18:31:27 +02:00
Unknown W. Brackets
692dc810cf Update CityHash to v1.1.1/r15.
No major changes.
2014-07-20 08:56:01 -07:00
Henrik Rydgard
a9ab9bcdca android: LDLIBS in a static library just causes warnings: remove 2014-07-20 17:13:51 +02:00
Henrik Rydgard
b980b73f41 Change sum's buildhack to only affect android 2014-07-20 00:23:43 +02:00
sum2012
c93e3149a8 Android build fix for unknown reason
#6575
2014-07-19 07:38:07 +08:00
Unknown W. Brackets
0b34f14935 Cast away some warnings in Snappy. 2014-07-18 09:39:58 -07:00
Unknown W. Brackets
79657af5c8 Update to the latest Snappy 1.1.2.
Not clear if there are any bugfixes, but there are minor performance
improvements.
2014-07-18 09:22:08 -07:00
Henrik Rydgård
fb9f1c2d6a Fix native tools build on mac etc 2014-07-15 17:24:31 +02:00
Sacha
946deda4b3 Remove some redundancy (Symbian/Qt). Symbian has cstdint now. 2014-06-24 08:29:04 +10:00
Sacha
ea17e17ebd Join both Maemo platforms (Maemo5 + Meego Harmattan/Maemo 6) to MAEMO define. Technically they are very similar and anything that wasn't already defined for both probably needed to be. 2014-06-18 03:42:31 +10:00
Sacha
d03acfdbf3 Revert some of that, sorry. 2014-06-10 23:22:20 +10:00
Sacha
f7ffcd4197 Remove a lot of #ifdef's that simply were not needed. For example: Symbian has zip in-built, no need to even compile it let alone use #ifdef's. 2014-06-10 23:05:14 +10:00
Sacha
e57ae29e4a Symbian: Switch to GCC 4.7.3. Blackberry: Switch to GCC 4.8.2 2014-06-09 23:49:30 +10:00
Sacha
d052c403f9 Symbian: Remove outdated ifdefs 2014-06-09 21:45:57 +10:00
Sacha
39d48a7e67 Switch to libpng17 to resolve NEON issue on iOS + other bug fixes. 2014-05-31 04:37:31 +10:00
Henrik Rydgård
1167f20d14 Warning fixes, etc. 2014-04-08 16:08:38 +02:00
Henrik Rydgård
06ec64fa62 Warning fixes 2014-04-08 15:26:37 +02:00
Unknown W. Brackets
3ec61274fa Add prefetch to xxhash func on gcc at least.
Improves hashing speed on Android by ~18%.
2014-03-25 00:34:54 -07:00
Unknown W. Brackets
b00c98a87d Correct disasm for BFI/BFC/UBFX/SBFX. 2014-03-14 19:15:40 -07:00
Henrik Rydgard
ab9cd99d0f Major ARM disassembler improvements, will make debugging the JIT easier 2014-03-12 18:09:28 +01:00
Henrik Rydgard
377a104e68 JSON: Rename single-parameter getString to getStringOrDie to emphasize the danger. 2014-03-09 15:42:59 +01:00
Sacha
30a6a5d10f ARMJIT: Implement VLDM/VSTM load/store combinations and use in armjit. Also add them to disassembler. 2014-03-07 02:56:34 +10:00
Unknown W. Brackets
37dc32a658 Update to xxHash-r33 and apply alignment patch
Patch from: http://code.google.com/p/xxhash/issues/detail?id=15

Makes sense, seems right hopefully.
2014-02-08 19:27:47 -08:00
Unknown W. Brackets
2c204e8028 Update project to MSVC 2013 tools.
Retaining XP support, using SDK 7.1a (v120_xp.)  Disables SSE2 flag on x64
since it's implied and causes compile warnings.
2014-02-08 13:41:28 -08:00
sky-zer
9158e948f3 Force aligned memory access for iOS 2014-02-03 04:00:50 +04:00
Unknown W. Brackets
8a20b28bb6 Workaround a strange zlib crash in debug mode only. 2014-01-27 07:50:45 -08:00
Henrik Rydgard
d19d041640 GPU disasm: Show opcodes. Also disable some warnings and update submodules. 2014-01-15 17:00:20 +01:00
Henrik Rydgård
dfcfe5d00f Android: Allow apps to override the use of low profile.
Minor logging improvement in vjson
2014-01-14 17:32:06 +01:00
Henrik Rydgård
a53f8738d8 Fix disarm warnings in clang more properly 2013-12-09 16:56:05 +01:00
Amir Zaim Mohd Zaini
bfeb3806ba Update buildfix for Clang 3.4
Adding the wrapper to avoid warning "-Wtautological-compare":


#ifdef clang-3.4
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wtautological-compare" //used to avoid warning, force compiler to accept it.
#endif clang-3.4

$Code_Content_Here

#ifdef clang-3.4
#pragma GCC diagnostic pop
#endif clang-3.4

Tested on both GCC and Clang compilers and none of these compilers have this problem.
2013-12-09 21:55:03 +08:00
Sacha
9d5cd81729 iOS: Disable neon in libpng16. 2013-12-09 15:36:48 +10:00
Sacha
8aa73bfc8d iOS buildfix. 2013-12-08 02:49:26 +10:00
Sacha
64b5146718 Add libpng16 to project. 2013-12-08 01:37:22 +10:00
Sacha
26dfe75882 Some improvements to Qt Audio. 2013-12-06 13:06:04 +10:00
Sacha
b83fea1b6b Symbian: libzip buildfix. 2013-12-06 05:03:48 +10:00
The Dax
3c862d7bd5 Win32 doesn't have strings.h. 2013-12-05 12:00:40 -05:00
Henrik Rydgård
e6baad31ed Linux buildfix 2 2013-12-05 15:08:01 +01:00
Sacha
1e03cd84c3 Linux buildfix. 2013-12-05 22:51:51 +10:00
Henrik Rydgard
ae7c0827f2 Hack unicode support into libzip 2013-11-20 19:38:23 +01:00
Henrik Rydgard
857fa4426b Hack libzip into building on win32 2013-11-20 19:01:27 +01:00
Henrik Rydgård
e497942827 Minor json stuff 2013-11-20 14:41:58 +01:00
Sacha
35b84eecac Update to v1.4 of rg_etc1 to fix 64-bit compile bug with gcc. 2013-11-17 15:40:39 +10:00
Henrik Rydgård
64614c954f Update some CMakeLists used by projects other than PPSSPP 2013-11-04 12:27:37 +01:00
Sacha
2e324c9842 Define unaligned access for all ARM. We don't support any that don't. The define didn't exist yet in GCC 4.6 (used by Symbian and Android). 2013-11-04 12:45:13 +10:00
Sacha
03a9cd6711 Fix crashes on Symbian and Blackberry (and likely others) when memory to be hashed is unaligned. Thanks @unknownbrackets 2013-11-04 12:14:21 +10:00
daniel229
9a91f1ecfd Turn off optimazation in vs2013 2013-10-23 20:01:03 +08:00
Henrik Rydgard
c1f05326c4 Better fix for the UINT_64 errors. 2013-10-20 13:51:10 +02:00
Henrik Rydgard
f8cab66c8c Quickfix for android build (weirdly, works locally but not on teamcity) 2013-10-20 13:18:56 +02:00
Sacha
06a7ad40b2 This define is redundant. __STDC_CONSTANT_MACROS should be defined globally instead. 2013-10-20 16:39:22 +10:00
Henrik Rydgård
0f68de275c Minor fixes 2013-10-09 00:44:45 +02:00
Henrik Rydgard
81bbc65216 Update glew 2013-10-08 21:15:09 +02: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
shenweip
03197c376c Fix some double semicolon. 2013-09-15 23:17:22 +08:00
Henrik Rydgard
cc6681cd0b Compile Ced's DX9 GPU on Windows. Not hooked up yet.
This needs work, has several problems that must be fixed to run on Windows.

Ced, you'll have to fix up your xb project file a bit, sorry.
2013-09-15 12:52:44 +02:00
Henrik Rydgard
b19fe900bf Fixes for x86 android build 2013-08-29 20:06:24 +02:00
Henrik Rydgard
55aa3d13c7 Win32: Switch to a UNICODE build. This took quite a bit of fixing. 2013-08-26 19:00:16 +02:00
Unknown W. Brackets
1ed8edb0d3 Avoid some dangerous hex constant widths. 2013-08-22 23:23:48 -07:00
Unknown W. Brackets
5acbbe705f Tweak xxHash's default settings. 2013-08-16 23:48:42 -07:00
Unknown W. Brackets
95c347b75c Add xxHash-r32 to build (not used yet.) 2013-08-16 23:48:41 -07:00
Unknown W. Brackets
8830d3603e Fix some overflow/null deref warnings. 2013-08-12 23:33:52 -07:00
Unknown W. Brackets
49ab98c7fd Use atomic operations on Android + warning fixes. 2013-08-12 08:51:49 -07:00
Henrik Rydgard
65f8430c32 Quick hacked-up ARM VFP disassembler. Buggy. 2013-07-30 21:39:37 +02:00
Henrik Rydgard
1fdebd53e1 Guard a potential redefine 2013-07-11 22:16:35 +02:00
Unknown W. Brackets
abc9b84bac Improve performance of savestates on x86. 2013-07-10 22:59:18 -07:00
dykebeard
151b377506 Simple PNG screenshot support 2013-07-07 14:32:03 -04:00
Sacha
a8277742ad Buildfix for Symbian and OSX 2013-07-05 19:31:28 +10:00
Sacha
4736b26fc3 Blackberry buildfix: Include should not occur inside namespace. 2013-07-05 14:51:33 +10:00
Henrik Rydgard
72eefa450f Add jpgd (public domain) 2013-07-05 00:06:33 +02:00
Henrik Rydgard
bd78a06015 Add a nice public domain jpeg encoder 2013-06-22 22:27:09 +02:00
Henrik Rydgard
131c222bba Add <stdlib.h> to ext/vjson/block_allocator.cpp, required on some platforms 2013-06-14 22:06:27 +02:00
Henrik Rydgard
2afbc94734 Turn off RTTI, simulate it where needed. 2013-06-09 13:02:16 +02:00
Henrik Rydgard
a3dd3b53c3 Implement a couple basic Psmf functions, unify some project settings, update native. 2013-06-05 21:24:14 +02:00
Henrik Rydgard
2f56f4b050 Upgrade the bundled zlib 2013-06-04 21:43:54 +02:00
Henrik Rydgard
2b3e1355ad More UI fixes 2013-06-03 19:59:32 +02:00
Henrik Rydgard
b3f3305068 vcproj update: enable multithread build 2013-06-02 23:45:44 +02:00
Henrik Rydgard
4267d9903c More networking and UI stuff 2013-06-01 18:59:31 +02:00
Unknown W. Brackets
f16858ac4b Ignore POSIX warnings in zlib. 2013-05-18 10:17:23 -07:00
Unknown W. Brackets
bbbfa715cd Disable edit and continue in zlib.
Fixes #1678.
2013-05-05 08:29:23 -07:00
Peter Thoman
ed870dbcc9 Better alpha component fix for xbrz 2013-05-03 02:44:27 +02:00
Peter Thoman
64146f343a xbrz: fixed byte order, made distance function alpha-aware 2013-05-02 18:24:23 +02:00
Unknown W. Brackets
c73657e39a Buildfix for iOS and Android. 2013-05-01 23:31:18 -07:00
Sacha
ae9490ad30 Use boost to do C++11 features on Symbian. Use namespaces. 2013-05-02 15:46:41 +10:00
Sacha
29651c026b Windows buildfix. Harmattan buildfix (it doesn't have lambdas). Tabify XBRZ. 2013-05-01 12:58:51 +10:00
Sacha
5ea37772d7 pre-C++11 buildfix. Linux buildfix. 2013-05-01 11:19:01 +10:00
Sacha
e698af9924 Symbian buildfix. 2013-05-01 04:53:44 +10:00
Henrik Rydgård
69e168a293 another buildfix 2013-04-30 18:45:49 +02:00
Peter Thoman
392087f26b Added xBRZ library 2013-04-30 03:44:54 +02:00
Unknown W. Brackets
379db49e69 Always optimize zlib, we're not debugging it.
This improves x64 release performance as well.
2013-04-28 22:00:14 -07:00
Henrik Rydgard
660d5700e7 Unify some VS project settings 2013-04-27 19:34:41 +02:00
tpu
28e61dcda7 DLC bug fix 2013-04-26 12:05:21 +08:00
Clément G
b7ab5e9905 Fix build again when __SSE_4_2__ is enabled 2013-04-24 22:37:34 +02:00
tpu
641b78ab67 add DLC support 2013-04-20 13:51:40 +08:00
Henrik Rydgard
82aa605b36 Add back shadows to FPS counter and debug text. Warning fixes. 2013-04-08 20:59:45 +02:00