Henrik Rydgård
8761bf2bc9
Move text rendering to Common.
2020-10-05 00:05:28 +02:00
Henrik Rydgård
0e3a84b4a8
Move most GPU things to Common.
...
It works after the move, on Windows and Android at least.
Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
b7edf75437
Move Display.cpp/h to Common.
2020-10-04 11:42:16 +02:00
Henrik Rydgård
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
5e976ff842
Buildfixes
2020-09-29 19:33:18 +02:00
Henrik Rydgård
ed88761ecc
Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h.
2020-09-29 15:51:51 +02:00
Henrik Rydgård
5d64fc5ff1
Switch to PPSSPP's assert functions (don't use the system's)
2020-08-16 10:01:10 +02:00
Henrik Rydgård
bf72f746ea
Remove base/logging.h from a whole bunch of files in native
2020-08-15 19:09:00 +02:00
Unknown W. Brackets
418e881f14
Android: Don't cache env in text drawer.
...
For PPGe, the thread is changing on lost, so we can't use the cached env.
2020-04-19 15:40:48 -07:00
Aaron Kling
a7f2415469
libretro: Fix Android builds
...
Text Drawer functionality is not available in libretro as it
depends on standalone jni calls. InputBox is also standalone only
gui functionality.
2020-04-03 09:59:16 -05:00
Unknown W. Brackets
08a6047768
PPGe: Show ellipsis for overly long lines.
...
To match PPGE_LINE_USE_ELLIPSIS when using TextDrawer.
2020-03-10 21:30:53 -07:00
Unknown W. Brackets
fbf4769ea6
PPGe: Support 8-bit text bitmaps from TextDrawer.
2020-03-10 21:30:50 -07:00
Unknown W. Brackets
85d2702304
UI: Refactor TextDrawer to provide bitmaps too.
2020-03-10 21:28:46 -07:00
Henrik Rydgård
4d6a4beae1
Text drawing fixes
2019-10-24 23:07:57 +02:00
Henrik Rydgård
50920266d1
Remove some logging, add a comment.
2019-09-17 10:52:28 +02:00
Henrik Rydgård
f2244f789e
VK: Add extra safety checks around font texture creation. Motivated by some Play crashes.
2018-11-21 17:34:54 +01:00
Unknown W. Brackets
99d16b2202
Vulkan: Add tags to UI textures too.
2018-04-06 21:43:18 -07:00
Henrik Rydgård
7761d2366b
Android: Prevent a text bitmap size from becoming 0 on '\r\n'. Fixes #10764 (unless there are more platforms where it's broken...)
2018-03-23 10:48:54 +01:00
Henrik Rydgård
bd3a681fd3
Enough JNI/threading hackery to get it to run on Android! Broken readbacks make it crash alot though.
2018-01-28 17:30:33 +01:00
Unknown W. Brackets
715a7b7318
Global: Silence some unused declaration warnings.
...
These things aren't used on Android.
2017-12-03 19:22:03 -08:00
Unknown W. Brackets
bd1ed897cf
Global: Fix some warnings.
2017-11-25 14:08:49 -08:00
Henrik Rydgård
3ecd7b4c02
Get rid of collision-prone font cache keys. Stress the font cache a little less on slider dialogs.
2017-11-22 22:44:34 +01:00
Henrik Rydgård
ee768ca949
Logging improvements, avoid resetting the Android text drawer unnecessarily
2017-11-10 13:02:24 +01:00
Henrik Rydgård
3cc5d8f40a
More minor vulkan fixes and cleanups. Don't actually call "Resized" if the size stays the same.
2017-11-10 12:41:06 +01:00
Henrik Rydgård
0a2b20bf59
More logging and tweaking
2017-11-10 12:09:42 +01:00
Henrik Rydgård
4970668b99
Try harder to free up memory from the Android native font rendering system. Might help #10069
2017-11-07 12:31:03 +01:00
Henrik Rydgård
d1d1e1f742
Fix issue with caret position in text boxes caused by a bad hash function. Fletcher is 2-bytes-at-a-time and thus very inappropriate for short strings.
2017-10-24 22:45:27 +02:00
Henrik Rydgård
3a640ff8aa
Address comments, make things closer to the Win32 code. Things work better.
2017-06-06 11:30:20 +02:00
Henrik Rydgård
0af19719cb
Fix vertical positioning, eliminate double-&
2017-06-05 23:45:58 +02:00
Henrik Rydgård
0d3d642371
It works!
2017-06-05 23:09:12 +02:00
Henrik Rydgård
0bf92a4fa2
Font rendering code runs but it sure ain't right
2017-06-05 23:09:11 +02:00
Henrik Rydgård
d9c43642c2
Fix assorted JNI issues, the calls work now.
2017-06-05 23:09:10 +02:00
Henrik Rydgård
871260fcc4
Start sketching native text rendering for Android
2017-06-05 23:09:04 +02:00