Unknown W. Brackets
8487e56b42
Move some GLES checks to runtime.
2015-08-24 20:35:50 -07:00
Henrik Rydgård
9baedbcc2a
Shorter file path in ILOG/ELOG/WLOG etc on unix-likes
2015-08-06 17:48:51 +02:00
Henrik Rydgård
477568b348
Try to improve GPU vendor detection.
2015-07-21 20:46:59 +02:00
Henrik Rydgard
a9cefe2f3a
Android: Set display thread name, release local refs to frame comman strings properly
2015-07-20 20:28:59 +02:00
Henrik Rydgard
166d07df0c
MogaHack: Remove irrelevant log (?)
2015-07-19 17:33:03 +02:00
Henrik Rydgard
e23e20d8a1
Get rid of the separate so file for OpenSL stuff, we haven't supported 2.2 for a long time
...
Code needs some cleanup, but that's for later.
2015-07-19 17:27:36 +02:00
Henrik Rydgard
7c24761d4d
Http download : set completed flag even if failed. Use setThreadName on android in init
2015-07-19 17:15:13 +02:00
Henrik Rydgard
758c614f0a
Set threadnames on Android
2015-07-19 16:21:24 +02:00
Henrik Rydgard
4588eb8328
Add a couple of accessors to InfoView
2015-07-05 18:45:23 +02:00
Unknown W. Brackets
ad5301873f
Increase max profiler cats.
...
We're near this limit and about to pass it in PPSSPP, 32 isn't a ton worse.
2015-07-03 12:11:18 -07:00
Unknown W. Brackets
670b2ff1e2
Merge pull request #282 from vnctdj/patch-1
...
Consistently use *di for the Dialog i18n category
2015-07-02 09:06:05 -07:00
vnctdj
6381704085
Consistently use *di for the Dialog i18n category
...
Same goal as https://github.com/hrydgard/ppsspp/pull/7836 .
I didn't know native also uses this kind of pointers :)
2015-07-02 14:20:04 +02:00
Henrik Rydgård
ca7fc5967d
Merge pull request #281 from unknownbrackets/ui-tweaks
...
Marquee popup headers and highlight focused TextViews
2015-06-29 09:50:33 +02:00
Unknown W. Brackets
0f0115da8a
Show a highlight for focusable text views.
2015-06-28 18:48:22 -07:00
Unknown W. Brackets
3c093ccf73
Show popup headers as marquees if they are too long.
...
They were just overflowing before.
2015-06-28 18:47:52 -07:00
Henrik Rydgård
932bb69f0e
Merge pull request #280 from unknownbrackets/diskcache
...
Send the cache dir path to the app
2015-06-28 14:18:01 +02:00
Unknown W. Brackets
bc29409817
Send the cache dir path to the app.
2015-06-27 18:27:54 -07:00
Henrik Rydgård
bad22f7b78
Merge pull request #279 from unknownbrackets/ui-focus
...
Retain focus after popup choice selection
2015-06-27 19:23:21 +02:00
Unknown W. Brackets
b72060bc06
Retain focus with other choice popups.
2015-06-27 09:48:24 -07:00
Unknown W. Brackets
57f44edaea
Retain focus after popup choice selection.
2015-06-27 09:42:06 -07:00
Unknown W. Brackets
1e3beadb7b
Fix insta-crash on AArch64.
...
Oops, missed an eglGetProcAddress().
2015-06-23 22:42:48 -07:00
Henrik Rydgård
e9414c238d
Merge pull request #274 from unknownbrackets/profiler-recurse
...
Allow recursion in the frame profiler
2015-06-21 22:01:46 +02:00
Unknown W. Brackets
ad73a39e4e
Allow recursion in the frame profiler.
2015-06-21 12:20:08 -07:00
Unknown W. Brackets
6eeecbc5af
Avoid pulling in EGL except where needed.
...
Seems to pull in X11, which pulls in a bunch of defines we don't want.
This fixes compilation on such systems.
2015-06-21 12:11:00 -07:00
Henrik Rydgard
aa194f1e78
Improve some logging in profiler
2015-06-14 13:01:21 +02:00
Henrik Rydgard
ba829ad4aa
Fix crash bug in DrawText on Windows, clip TextView text if too large
2015-06-12 12:38:48 +02:00
Henrik Rydgard
32a75bea46
Add an FLOG if profiler depth goes negative. Make Crash()/FLOG actually crash on win64.
2015-06-11 18:43:59 +02:00
Henrik Rydgard
316d6ab84d
Fix another bug in the profiler, that would happily overwrite memory.
2015-06-11 16:00:12 +02:00
Henrik Rydgard
93a7d0c67e
Profiler: Handle category 0 correctly when suspending parent categories. Small optimization + sanity checks.
2015-06-11 12:15:38 +02:00
Henrik Rydgard
90c2ef38bd
Make Native also target android-22 (oversight)
2015-05-30 21:22:09 +02:00
Henrik Rydgård
9fe3f59aaf
Merge pull request #272 from jbeich/xdg-open
...
Make Launch{Browser,Market,Email} work on any Unix desktop
2015-05-28 12:22:27 +02:00
Jan Beich
de60aad2ab
base: fallback to Unix desktop, not mobile
2015-05-26 18:07:43 +03:00
Jan Beich
5984a4aa1c
file: sync stat64 #ifdef with ppsspp
2015-05-25 14:37:22 -07:00
Henrik Rydgård
1433440a47
Merge pull request #271 from jbeich/bsd_misc
...
Miscellaneous portability fixes
2015-05-25 19:04:36 +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
Jan Beich
babb5036e6
net: don't add #ifdefs for POSIX headers
...
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/arpa_inet.h.html
2015-05-25 19:23:31 +03:00
Jan Beich
4593b22bbe
net: remove dead (pre WaitUntilReady?) code accidentally found via
...
native/net/http_headers.cpp: In member function 'void http::RequestHeader::ParseHeaders(int)':
native/net/http_headers.cpp:136:12: error: 'timeval' in namespace '::' does not name a type
struct ::timeval tv;
^
native/net/http_headers.cpp:137:6: error: request for member 'tv_sec' in 'tv', which is of non-class type 'int'
tv.tv_sec = 5;
^
native/net/http_headers.cpp:138:6: error: request for member 'tv_usec' in 'tv', which is of non-class type 'int'
tv.tv_usec = 0;
^
2015-05-25 19:22:35 +03:00
Jan Beich
bad9806687
file: extend #ifdef for any recent Unix with large file support by default
...
At least other BSDs still fail with
file/file_util.cpp: In function 'bool exists(const string&)':
file/file_util.cpp:172:16: error: aggregate 'exists(const string&)::stat64 file_info' has incomplete type and cannot be defined
struct stat64 file_info;
^
file/file_util.cpp:177:46: error: invalid use of incomplete type 'struct exists(const string&)::stat64'
int result = stat64(copy.c_str(), &file_info);
^
file/file_util.cpp:172:9: note: forward declaration of 'struct exists(const string&)::stat64'
struct stat64 file_info;
^
file/file_util.cpp: In function 'bool getFileInfo(const char*, FileInfo*)':
file/file_util.cpp:207:16: error: aggregate 'getFileInfo(const char*, FileInfo*)::stat64 file_info' has incomplete type and cannot be defined
struct stat64 file_info;
^
file/file_util.cpp:212:46: error: invalid use of incomplete type 'struct getFileInfo(const char*, FileInfo*)::stat64'
int result = stat64(copy.c_str(), &file_info);
^
file/file_util.cpp:207:9: note: forward declaration of 'struct getFileInfo(const char*, FileInfo*)::stat64'
struct stat64 file_info;
^
2015-05-25 19:03:47 +03:00
Henrik Rydgård
81a78e81a9
Merge pull request #270 from unknownbrackets/frame-profiler
...
Track frame events with sub-events carved out
2015-05-24 23:40:06 +02:00
Unknown W. Brackets
22ab3a4bde
Track frame events with sub-events carved out.
...
Simply by using a fixed-size stack.
2015-05-24 14:34:52 -07:00
Henrik Rydgard
a24f22d4e7
Update Qt to fit new definition of UpdateScreenScale. Does not do the smallwindow check though.
2015-05-21 11:44:35 +02:00
Henrik Rydgard
6ae73b8919
Add a new touch input flag for handling loss of window focus where events get lost
2015-05-21 10:45:49 +02:00
Henrik Rydgard
157b4e2ac9
Didn't mean to leave this on
2015-05-16 01:14:29 +02:00
Henrik Rydgard
05d48b053e
Profiler fix for Android, count events
2015-05-15 18:14:39 +02:00
Henrik Rydgard
b9089e5051
Colors don't belong here, let the visualization handle that
2015-05-13 23:34:41 +02:00
Henrik Rydgard
fa1930773f
Rewrite the frame profiler
2015-05-13 23:05:11 +02:00
Henrik Rydgard
eefcf86027
Initial profiler work
2015-05-12 23:24:37 +02:00
Henrik Rydgård
dfa3a93d02
Merge pull request #269 from zhykzhykzhyk/master
...
Add UIContext::DrawTextShadow for drawing text correctly under Qt
2015-05-07 23:20:31 +02:00
zhyk
7d9ff90bec
Add UIContext::DrawTextShadow for drawing text correctly under Qt
2015-05-07 11:10:08 +08:00