Commit Graph

135 Commits

Author SHA1 Message Date
zhyk
3407bd34d2 Add NKCODE_GRAVE(`) translation for Qt & SDL. 2016-02-11 00:54:03 +08:00
Henrik Rydgård
87e96f0fd7 Merge pull request #8574 from zhykzhykzhyk/qtres
Fix resolution issue in Qt on retina display.
2016-02-10 17:32:41 +01:00
Henrik Rydgård
8c36ae0856 Merge pull request #8573 from zhykzhykzhyk/qtaudio
Fix audio lag in Qt without SDL.
2016-02-10 17:32:05 +01:00
zhyk
90895bfcbd Fix resolution issue in Qt on retina display.
Resolves #7729.
2016-02-11 00:26:11 +08:00
zhyk
4aa92e9e0e Add comment 2016-02-11 00:01:09 +08:00
Henrik Rydgard
a258bcfd3f Typo fix. See #8569 2016-02-10 16:48:25 +01:00
zhyk
fa6fe85dc3 Fix audio lag in Qt without SDL. 2016-02-10 23:34:38 +08:00
Henrik Rydgard
35b6c7341b Fix a bunch of memory leaks, after enabling file+line-number memory leak tracking for the MS Debug CRT.
Few of these were serious, most were on-exit, but good to have a cleaner memory report after running.
2016-02-10 15:36:10 +01:00
Henrik Rydgård
33b85934cc Merge pull request #8571 from zhykzhykzhyk/master
[Qt] Move definition out from header
2016-02-10 15:35:58 +01:00
zhyk
f43df73ac4 revert unintended reformat 2016-02-10 22:18:57 +08:00
zhyk
462aa5491a move definition out from header 2016-02-10 19:37:47 +08:00
Henrik Rydgård
e72bdb07c3 When failing to load characters, make sure to initialize voffset so it doesn't get written out as NaN. Pretty sure this will fix #8569 2016-02-10 11:48:54 +01:00
Unknown W. Brackets
b2a3b5c7b8 UI: Allow a degree of "pull" in scroll views.
Also, fix a clamp issue that could've shown up for a frame while dragging.
Fixes #8505.
2016-01-25 21:53:41 -08:00
Unknown W. Brackets
8d41664bb1 UI: Fix clipping with margins.
Affected text views, like "No screenshot." in save states.
2016-01-23 11:45:55 -08:00
Unknown W. Brackets
43218ea953 thin3d: Auto gen mips only once per tex. 2016-01-23 11:22:40 -08:00
Unknown W. Brackets
5827cab6e5 thin3d: Enable linear filter after mipmap gen. 2016-01-23 11:18:18 -08:00
Unknown W. Brackets
68a6f8186d UI: Avoid scroll to top on tab restore.
Oops, missed this case.

Fixes #7975, savedata manager scrolling on delete.
2016-01-23 10:52:16 -08:00
Unknown W. Brackets
c1812ae7d7 UI: Clamp scroll pos on render.
This way we don't clamp wrongly when views don't have sizes yet, and we
also do clamp when we need to.

We can allow a little flex by tracking the down state too.
2016-01-23 10:10:43 -08:00
Unknown W. Brackets
705ab497f2 UI: Oops, use tag for focus too. 2016-01-23 09:20:53 -08:00
Unknown W. Brackets
60f00820f8 UI: Move scrollviews to top on hide.
This seems like a common scrolling decision.
2016-01-23 09:15:50 -08:00
Unknown W. Brackets
2176920d5d UI: Disable scroll-to-top on resize of scrollview. 2016-01-23 09:07:14 -08:00
Unknown W. Brackets
1318f29c8d UI: Update layout on recreate to focus subviews. 2016-01-23 09:07:13 -08:00
Unknown W. Brackets
f26d682e14 UI: Persist the last focused view on resize. 2016-01-23 09:07:13 -08:00
Unknown W. Brackets
78aae01cd4 UI: Allow scroll views to persist their position.
It'll be clamped as necessary.
2016-01-22 23:02:44 -08:00
Unknown W. Brackets
1c2ac798cd UI: Persist selected tab on resize. 2016-01-22 22:40:36 -08:00
Unknown W. Brackets
f6772ec526 UI: Add a simple means of persisting data. 2016-01-22 22:40:16 -08:00
Munir
ed9aeb4c3a Merge remote-tracking branch 'origin/x64-android-support' 2016-01-18 06:05:46 +01:00
Carlos Estrague
cc169c440e Fix I forgot typo declaration x64_64 android port.
Acording in the usr/include/GLES2/gl2ext.h 

typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2016-01-18 05:20:14 +01:00
Carlos Estrague
76f22aaa46 API changed 2016-01-18 01:36:48 +01:00
Carlos Estrague
2564314c0f fix typo again.
fault copy/past.
2016-01-18 01:11:19 +01:00
Munir
7be2f81544 Initial support x64-android 2016-01-17 23:34:25 +01:00
Unknown W. Brackets
6d6c415f2b Merge pull request #8443 from hrydgard/pseudo-shader-cache-gl-2
GL shader disk cache .. kind of
2016-01-17 14:28:05 -08:00
Henrik Rydgard
b39206f922 Use the app cache directory on Android for the shader cache. 2016-01-17 22:15:23 +01:00
Unknown W. Brackets
58ecb2cbd4 Fix a header declaration.
Seemed to be needed for x64 Android, and is correct as bitfield anyway.
2016-01-17 12:55:47 -08:00
Henrik Rydgard
27c71aa340 Get rid of the unused "InstallID" 2016-01-17 15:46:15 +01:00
latot
e82620c572 remove
remove
2016-01-16 09:32:39 -03:00
latot
53ac6d98d8 Little things
back 1

other little change, join 2 in 1
2016-01-09 20:44:02 -03:00
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
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
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