Commit Graph

5661 Commits

Author SHA1 Message Date
Joshua Granick
edd0e7342d FreeType fix (thanks shevalie) 2014-02-07 09:51:21 -08:00
Joshua Granick
55f1cbf94b Check unpack align for alpha texture updates, do single texsubimage2d call (thanks Hugh) 2014-02-06 23:41:07 -08:00
Joshua Granick
43bc6dfe46 Updates for pre-multiplied alpha (thanks Hugh) 2014-02-06 16:31:22 -08:00
bendmorris
94a0ba8f2f Avoid segfault when SDL_JoystickNameForIndex returns null (no joystick for that id.) 2014-02-06 16:54:54 -05:00
bendmorris
770350fd4c Adding function to detect joystick names on Win/Mac/Linux. 2014-02-06 12:34:25 -05:00
Joshua Granick
e351bd6b79 Fix normal offset for AA lines (thanks Hugh) 2014-02-05 08:05:04 -08:00
Joshua Granick
23dc43bc0a Start on more efficient tesselation algorithm (thanks Hugh) 2014-02-05 07:58:27 -08:00
Joshua Granick
7b5a09d564 Disable VBOs until the context loss code is working 2014-02-05 07:55:47 -08:00
Joshua Granick
9ea827054a Reset mElement when completing a line loop (thanks Hugh) 2014-02-05 07:53:48 -08:00
Joshua Granick
0dcd4787c4 Work on new graphics (tesselated AA hardware lines, single hardware array, VBO and programatic shader generation) (thank you Hugh) 2014-02-05 07:46:31 -08:00
bendmorris
d65c4c000b drawTiles optimization: allow the caller to specify the size of data within the array that should be rendered. 2014-02-04 21:31:27 -05:00
Joshua Granick
36051e31c8 Remove viewport-per-drawcall data (thanks Hugh) 2014-02-04 11:02:20 -08:00
Joshua Granick
1d0b5324e4 Use common code for Android GC interaction (thanks Hugh) 2014-02-04 10:48:50 -08:00
Joshua Granick
805331e6c7 Cleanup local JNI ref 2014-02-04 10:14:39 -08:00
Joshua Granick
de7c6a4995 Fix Android JNI class compare logic, allow string return value (thanks Hugh) 2014-02-04 09:38:55 -08:00
Joshua Granick
cb6b1159d9 Find a default font using a list of possible matches (on iOS) (thanks Hugh) 2014-02-04 09:02:12 -08:00
Joshua Granick
ef736b2c40 Merge pull request #37 from kasoki/android_immersive_mode
Add support for android immsersive mode
2014-02-04 08:15:05 -08:00
Christopher Kaster
83c2f9ad30 remove redundant code for immersive mode, make immersive sticky and disable old fullscreen flags for android devices below api 19 2014-02-04 15:09:41 +01:00
Christopher Kaster
dec40dab5f add support for android-19 immersive mode 2014-02-04 14:34:28 +01:00
Sven Bergström
76211190f8 Merge pull request #36 from kasoki/master
fix samples (thanks @kasoki, I had missed these when searching for the location)
2014-02-03 14:42:55 -08:00
Christopher Kaster
e22309df9c fix samples 2014-02-03 23:13:32 +01:00
Joshua Granick
3dee24c593 Merge pull request #33 from grapefrukt/aa-fallback
Detects failure to create the SDL window or renderer and retries without...
2014-02-03 11:56:17 -08:00
Martin Jonasson
f63ab85861 Detects failure to create the SDL window or renderer and retries without some optional features. Also adds error messages when window/renderer creation does fail.
Fixes #32
2014-02-01 13:46:44 +01:00
underscorediscovery
9099d89a67 Provisionally cleaning up older --macro calls from the build files.
It seems keep is a macro in newer versions of haxe, and is the preferred
way anyway. I can't manage to get the compiler to remove the Main file
no matter what, so removing it provisionally. It causes FD and probably
more to choke on the code complete step when it throws errors from the
--macro option.

This can be readded if keep is really needed, but it doesn't appear to
be (or if it's using the incorrect keep syntax then that could be
corrected).
2014-02-01 05:45:51 -03:30
Joshua Granick
0c2ba2fa7c Merge pull request #29 from massiveinteractive/fix/curl-header-size-limit
Remove 512 size limit on CURL header
2014-01-31 10:03:27 -08:00
Mike Stead
bca02d6bf2 Remove limitation of 512 header size limit, instead use size based on header length. 2014-01-31 15:17:20 +11:00
Joshua Granick
218ecc3ce2 Simpler tRNS check 2014-01-30 12:51:45 -08:00
underscorediscovery
26af6c587b Wrapper; Samples; fix audio sample to match latest wrapper api 2014-01-30 00:18:45 -03:30
underscorediscovery
3d3ab38023 Audio; refactor for the new helpers/platforms system, fixing looping in html5 and native to be more consistent across platforms 2014-01-29 23:40:48 -03:30
underscorediscovery
277cbf83a5 Wrapper; Audio; Making sure audio thread code only runs on native with thread options
Wrapper; Template; updating html5 ApplicationMain.hx to have parity with new config typing.
2014-01-28 03:35:14 -03:30
underscorediscovery
935df78fbf Wrapper; Input; fixing neko mouse position being completely wrong. Problem due to stage scale mode not being set, meaning mStageScale was scaling the input event x/y according to that, blowing it up.
Wrapper; Debug; general cleanup of _debug prints, these are now limited to debug builds so they don't allocate strings constantly or anything like that in release builds.
Wrapper; Audio; making sure audio is shutdown accordingly so it doesn't try update in the background
Wrapper; Lime; More cleanup, strict typing the lime config values as it hasn't fluxed in a long time, and is better typed.
Wrapper; template; updating to use typed lime config and stricter typing on items passed in
2014-01-28 03:00:39 -03:30
underscorediscovery
69e74babc9 Revert "Wrapper; Lime; fix neko crash on shutting down from GC collecting in the background thread."
This reverts commit 6ea46afb42.
2014-01-28 00:41:58 -03:30
underscorediscovery
6ea46afb42 Wrapper; Lime; fix neko crash on shutting down from GC collecting in the background thread. 2014-01-28 00:35:54 -03:30
Joshua Granick
2793d14fc5 Update to 0.9.4 0.9.4 2014-01-27 12:21:42 -08:00
Joshua Granick
19eaafed85 Merge pull request #24 from dukope/master
Fix software rendering issues
2014-01-27 11:05:13 -08:00
underscorediscovery
143d25bb11 Wrapper; Input; adding html5 gamepad support, still a few minor things to add (disconnect/reconnect like native) and initial event types for gamepad for native as well 2014-01-26 21:55:16 -03:30
Sven Bergström
6e7f85fb83 Update about_lime_wrapper.md 2014-01-26 18:47:37 -03:30
Sven Bergström
a886b9a920 Update about_lime_wrapper.md 2014-01-26 18:47:03 -03:30
Sven Bergström
e3c689d065 Update about_lime_wrapper.md 2014-01-26 18:46:38 -03:30
Sven Bergström
ce7f2dfa10 Update about_lime_wrapper.md 2014-01-26 18:46:17 -03:30
underscorediscovery
9ca359cdad Wrapper; adding about file to explain setup, and philosophy 2014-01-26 18:43:45 -03:30
underscorediscovery
f7aefdc41d Wrapper; Input; cleaning up input across html5/native , separating platform code into separate helper
Wrapper; Input; mouse wheel events have their own handler/listener now, for forwarded through mouseup (makes no sense)
2014-01-26 18:42:29 -03:30
underscorediscovery
eba7d8aa9d Wrapper; geometry; moving geometry to utils where it should be for parity with the rest of the API 2014-01-26 15:46:51 -03:30
underscorediscovery
37e23f3a3d Wrapper; Template; cleanup older template code, and fix css to properly centre the canvas. 2014-01-26 15:10:49 -03:30
underscorediscovery
74429b0e36 Wrapper; soundManager2 Audio implementation for html5 lime standalone targets 2014-01-26 05:52:33 -03:30
underscorediscovery
e5678d47cd Wrapper; Input; general cleanup and adding pressed/released/down state flags for testing state of keys in the update loop 2014-01-25 18:01:41 -03:30
underscorediscovery
e75fecaf8b Wrapper; removing rogue traces 2014-01-25 04:06:43 -03:30
Joshua Granick
f70ac7a94e Merge pull request #23 from BigZaphod/master
Performance enhancement
2014-01-24 17:27:51 -08:00
Joshua Granick
7ab0953439 Fix software fallback on some older/more minimal graphic cards 2014-01-24 08:31:11 -08:00
Lucas Pope
cda7b69d1c Fix low-quality software tile rasterization issues (See here for example: http://i.imgur.com/wcykqEo.png) 2014-01-24 22:59:58 +09:00