Commit Graph
71 Commits
Author SHA1 Message Date
Unknown W. Brackets bd6d9a97a5 Retain NaN bits in fp16/fp32 conversions.
This matches PSP behavior better.
2015-04-19 16:07:00 -07:00
Henrik Rydgard d2acef3a3b Add a bit of "overscroll" to the scrollview when keyboard-navigating. Add shadow support to TextView 2015-02-15 11:20:19 +01:00
Henrik Rydgard 5becb9a4be Add a new image size mode (nothing here uses it though). Also add Bounds.Expand 2015-02-01 18:03:31 +01:00
Unknown W. Brackets b71dcc352e Fix some snprintf() usage. 2014-12-20 09:14:20 -08:00
Unknown W. Brackets c3538f46dc Add methods to translate and scale in one go.
Should be faster than involving a matrix mul at all.
Probably could SSE this by extending scale and trans by 1 and 0 in
either order.
2014-12-20 01:18:39 -08:00
Henrik Rydgard 2b6ed975e2 Improve fast sse matrix multiply 2014-12-06 00:28:29 +01:00
Henrik Rydgard 7708558c2f Remove a comment, add some checks. 2014-08-23 09:47:30 +02:00
Henrik Rydgard 54b298a63e More Thin3D work (textures etc) 2014-08-22 20:54:26 +02:00
Sacha 49e8414fec Oops. fmrx is only for armv7. 2014-07-17 02:29:49 +10:00
Sacha d1cccf2c26 Fix some compiler warnings. 2014-07-17 00:48:47 +10:00
Sacha 2481cfed5b Add Symbian 'RunFast' path to math_util with the rest. Enable FZ for all Qt ARM devices (I think Qt enables it by default but lets do it just in case). Enable FZ for armv6 devices too (they only require VFPv2). Add comments for why we don't use it on Blackberry. 2014-07-16 23:51:13 +10:00
Henrik Rydgård 7dfdecca10 Forgot to reverse this when semantics of the 4x4 mul changed.
(this wasn't used in PPSSPP)
2014-07-15 19:45:45 +02:00
Henrik Rydgård b532ab8f15 Oops 2014-07-15 18:45:26 +02:00
Henrik Rydgård fb9f1c2d6a Fix native tools build on mac etc 2014-07-15 17:24:31 +02:00
Unknown W. Brackets 9a6d1ce7e7 Define fast_matrix_mul_4x4_neon with dual mangling.
Some compilers/platforms want or don't want the underscore prefix.
Both should work fine.
2014-06-20 08:48:44 -07:00
Sacha d809cf9e37 Remove some redundant armv7 defines. Also, a stray QFile include. 2014-06-11 15:14:20 +10:00
Henrik Rydgård daf2595eb0 Introduce arch.h, which provides the MSVC compatible arch defines on other platforms. 2014-04-17 00:05:34 +02:00
Henrik Rydgård 56f3a9733d Add guards to fast_matrix_sse.c 2014-04-06 15:04:37 +02:00
Henrik Rydgård a98abb9c13 Minor fixes 2014-04-06 14:28:42 +02:00
Henrik Rydgard 3139ac497f Improve ARM fastmode setting, probably correct now. 2014-03-24 16:47:21 +01:00
Henrik Rydgard 30b5e2879e Add function to set both FZ and DefaultNaN on ARM. 2014-03-23 10:04:25 +01:00
Henrik Rydgård 8c33c6aa09 Fix build for x86 android etc. 2014-03-22 15:17:14 +01:00
Henrik Rydgard 811bc13beb Have fast_matrix_mul_4x4_sse accept unaligned matrices 2014-03-22 09:41:25 +01:00
Henrik Rydgard 9a49f564ce fast_math: SIMD function library that can select to use NEON at runtime.
Only contains one function so far: fast_matrix_mul_4x4. C, SSE, and NEON impls.
2014-03-22 00:31:10 +01:00
Henrik Rydgård ae951a46fa Add clamp_value function to math_util 2014-03-03 11:38:48 +01:00
Henrik Rydgård 4818a85042 Add drag capturing (useful to resolve conflicts between scrollviews and draggable controls within)
Some misc cleanup
2014-01-31 14:32:06 +01:00
Unknown W. Brackets c53dbbf341 Add really basic float support to expr parser.
Requires update to consumers, though (even just a stub returning 0.)
2013-11-17 01:33:24 -08:00
Henrik Rydgard 726471f665 Add my_isnanorinf. 2013-11-12 13:38:36 +01:00
Henrik Rydgård 56bf9f1d10 Another cmakelist update 2013-11-04 16:18:32 +01:00
Sacha 46dfa25ca4 Blackberry has FZ enabled by default. No need to add it manually. See: https://bugs.webkit.org/show_bug.cgi?id=97008 2013-10-25 14:14:23 +10:00
Sacha 83b65e7de1 Remove DisableFZ. Use a working armv7 define. Add EnableFZ to Blackberry thread. 2013-10-24 03:07:26 +10:00
adrian17 6f76e02f4a Fixed compiler warnings 2013-09-29 18:39:12 +02:00
Henrik Rydgard e508a71213 Add a function to math_util 2013-09-15 12:52:27 +02:00
Henrik Rydgard a038f612bd Unicode prep 2013-08-26 18:59:08 +02:00
Henrik Rydgard 267f105261 Fix recursive scissor rects. Clip text to buttons if necessary. 2013-08-18 22:29:50 +02:00
Henrik Rydgard 0bff9046f6 round_ieee_754 needs to use double to pass all the tests correctly 2013-08-07 22:33:28 +02:00
Henrik Rydgard b7fbb7fbc1 Move some fp16 math utils here. 2013-07-30 22:26:02 +02:00
Henrik Rydgard 411a41e948 Move a couple of math functions heret: 2013-07-29 22:35:34 +02:00
Kingcom 594c1f7695 Added [x,y] operator to expression parser 2013-07-05 20:23:33 +02:00
Kingcom 57c3f97c0a Fix android build. 2013-07-01 17:58:51 +02:00
Kingcom 42877f5a1f Disable binary detection when defaultrad is 16 2013-07-01 10:00:45 +02:00
Kingcom 033a3437fb Moved expression parser to native 2013-07-01 01:31:47 +02:00
Henrik Rydgard cf7ccddf1e Add horizontal orientation to TabHolder. Don't draw things outside current scissor rect. 2013-06-10 22:05:58 +02:00
Henrik Rydgard 2143b5b608 Minor fixes. Use OutputDebugString for native logging on Windows. 2013-06-09 11:20:15 +02:00
Henrik Rydgard 166acebeff A lot of NewUI work: layout and focus fixes, "TabHolder" 2013-06-08 22:41:17 +02:00
Henrik Rydgard a509d38357 UI, http with gzip, etc. 2013-06-04 22:32:04 +02:00
Henrik Rydgård 57d54633d8 Merge pull request #81 from KingDuckZ/master
Warning fix on Intel compiler
2013-05-30 07:41:17 -07:00
King_DuckZ ceefd214c4 Warning fix on Intel compiler. 2013-05-30 15:19:00 +02:00
Henrik Rydgard f075c8fd56 Merge DrawContext into UIContext. 2013-05-28 00:32:00 +02:00
Henrik Rydgard 7bad683cae More new UI work 2013-05-25 16:57:20 +02:00