Commit Graph
1623 Commits
Author SHA1 Message Date
Henrik Rydgård 98083c8985 UI: Make InfoView focusable, make it possible to make TextView focusable. 2015-04-03 11:14:21 +02:00
Henrik Rydgård bf4a5f0352 Detect the Android UIMode, use as device type. For better automatic configuration for things like Android TV. 2015-04-03 11:13:38 +02:00
Henrik Rydgård b083085c76 Merge pull request #262 from unknownbrackets/ini
Support escaped comment marks like # in inis
2015-03-15 15:43:05 +01:00
Unknown W. Brackets 656fe78656 Check for ARM_shader_framebuffer_fetch.
Also, let's combine them too.  Unfortunately, the shader needs a require
that matches the one they have, so we need the individual flags also.
2015-03-07 16:09:17 -08:00
Henrik Rydgard 23150858a4 ARM64: Make sure that eglGetProcAddress is declared, so the return value doesn't get truncated to int. 2015-03-07 13:56:17 +01:00
Henrik Rydgard 516dbf37e4 ARM64 buildfix 2015-03-07 01:30:09 +01:00
Henrik Rydgard 12010bb4ce Revert "Experiment: Disable 24-bit Z and interleaved depth/stencil on mali."
This reverts commit dd1a40653f.
2015-03-07 01:30:08 +01: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
Henrik Rydgard dd1a40653f Experiment: Disable 24-bit Z and interleaved depth/stencil on mali. 2015-03-01 21:01:49 +01:00
Henrik Rydgard 6f3125ac4d UI framework: Make keyboard repeats time-based instead of frame count based 2015-03-01 16:09:52 +01:00
Unknown W. Brackets b81fcf5d99 Merge pull request #259 from hrydgard/clock-monotonic
clock_gettime(MONOTONIC) seems more appropriate than gettimeofday...
2015-02-28 14:07:32 -08:00
Henrik Rydgård 3efd3841c9 Merge pull request #263 from unknownbrackets/glver
Detect GLES version more accurately
2015-02-28 22:49:59 +01:00
Unknown W. Brackets 77ff1bc1c2 Detect GLES version more accurately. 2015-02-28 12:20:33 -08:00
Unknown W. Brackets b01f18f331 Support escaped comment marks like \# in inis.
This fixes:
  * Float values like INF and IND.
  * Paths with \# in them.
  * Keys with \# in them (in case of i18n strings.)

A small change in behavior: ; at the start of the line is now always a
comment.  Previously, if the line had a comment already, adding ; to the
front of it would not comment it out.
2015-02-28 10:26:58 -08:00
Henrik Rydgard 52ce9c1118 Fix horizontal scrolling in ScrollViews and horizontal scroll gesture detection
Use this to scroll the tabs in TabHolders, to make more tabs fit on screen.
2015-02-24 00:22:58 +01:00
Unknown W. Brackets 5f863cbbe8 Fix a small warning. 2015-02-22 13:30:35 -08:00
Henrik Rydgård b722148989 Merge pull request #261 from sum2012/unused
Remove unused import
2015-02-22 11:47:20 +01:00
sum2012 7ed0e24b17 Remove unused import 2015-02-22 16:17:22 +08: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 26bc250e9b cleanup 2015-02-09 23:12:51 +01:00
Henrik Rydgård 4abe2f4309 Merge pull request #260 from sergiobenrocha2/master
You need this if you don't want to install libglew-dev dependence.
2015-02-03 20:41:17 +01: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 c12d4242a8 Return a bool if you actually do something with a key event. 2015-02-03 00:10:38 +01:00
Henrik Rydgard 91ab271101 Return a 0 d3dx version if failed to get any of the function pointers 2015-02-02 09:26:16 +01:00
Henrik Rydgard 04515e4031 Fix margins in stretched subviews in LinearLayout 2015-02-02 09:12:07 +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
Henrik Rydgard a72858d15e Turn off the android audio fast path if not actually fast. Might as well use the PSP sample rate then. 2015-01-31 11:47:05 +01:00
Henrik Rydgard 044cc8e950 clock_gettime(MONOTONIC) seems more appropriate than gettimeofday for our purposes.
Reluctant to do this before 1.0 though so I'll leave it as a pull request for now.
2015-01-31 11:35:53 +01:00
Henrik Rydgard 1467753c35 Don't use a VBO for DrawBuffer drawing. Some crappy ES drivers really don't like dynamic vertex buffers. 2015-01-29 10:35:34 +01:00
Henrik Rydgard 813c12e40f Thin3d preset GLSL shaders: Make them identical to the old GL-only shaders by adding precision qualifiers 2015-01-27 00:12:11 +01:00
Unknown W. Brackets c6f1552756 Fix a typo causing frag shaders to leak.
Only utility type shaders, though.
2015-01-24 20:33:38 -08:00
Henrik Rydgard 7c28b2f7a1 Statically link MSVCRT 2015-01-24 13:30:18 +01:00
Henrik Rydgård 21b0a2deb9 Merge pull request #257 from unknownbrackets/warnings
Fix a memory leak on error condition
2015-01-19 13:59:27 +01:00
Unknown W. Brackets 471816c24b Fully remove old useOpenSL param. 2015-01-18 15:53:23 -08:00
Henrik Rydgård 7994ca4db0 Merge pull request #258 from unknownbrackets/qt-fullscreen
Resize in Qt like in other backends
2015-01-19 00:39:53 +01:00
Unknown W. Brackets 3af3452d7e Resize in Qt like in other backends.
Should fix switching to fullscren and probably also resizing in general.
2015-01-18 15:29:14 -08:00
Unknown W. Brackets 45103d1929 Fix an unlikely buffer overflow. 2015-01-18 13:15:18 -08:00
Unknown W. Brackets b48117d01b Fix a potential null deref.
This is null checked after dereferencing.
2015-01-17 19:47:54 -08:00
Unknown W. Brackets 255b39a6f6 Fix a small memory leak. 2015-01-17 13:54:52 -08:00
Unknown W. Brackets a90adc8f8d Fix a memory leak on error condition. 2015-01-17 12:15:30 -08:00
Henrik Rydgard d2f95b9190 Set some half reasonable defaults when there's no optimal sample rate available 2015-01-14 00:34:27 +01:00
Henrik Rydgard a506ba2e83 Expose/fake native display refresh rate. Only has a real value on Android. 2015-01-14 00:27:21 +01:00
Henrik Rydgård 477e0e89f9 Merge pull request #255 from unknownbrackets/gl-minor
Cache bound VBO / index buffer in glstate
2015-01-12 09:27:32 +01:00
Unknown W. Brackets be15181d29 Leave arrays bound in case we can reuse them. 2015-01-11 17:03:15 -08:00
Unknown W. Brackets 7a5e182fd1 Cache the bound VBO/index buffer in glstate.
Though, the index buffer is actually part of VAO state (unlike VBOs...),
so that might change when we implement VAOs.
2015-01-11 16:52:37 -08:00
Henrik Rydgard 84ed01df53 Android audio: Add ability to not override the sample rate to 44khz 2015-01-11 17:28:06 +01:00
Henrik Rydgard 1b5bf730ca Same as the last one for BlackBerry and Qt 2015-01-11 14:17:23 +01:00
Henrik Rydgard b6fea8a355 SDL: Implement SYSPROP_AUDIO_SAMPLE_RATE query 2015-01-11 14:15:26 +01:00
Henrik Rydgard 9201103abe Get rid of the Java audio path. We now only support Android 2.3+ where it's not needed.
Also, expose the optimal sample rate for the platform so we can show it in the UI.
2015-01-11 11:39:30 +01:00