Commit Graph

822 Commits

Author SHA1 Message Date
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
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
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
Joshua Granick
19eaafed85 Merge pull request #24 from dukope/master
Fix software rendering issues
2014-01-27 11:05:13 -08:00
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
Lucas Pope
60facc4067 Set has_alpha flag correctly in 8-bit pngs with alpha (fixes software mode rendering to match hardware) 2014-01-24 22:51:36 +09:00
Sean Heber
80bfc72e73 Performance enhancement
Improved tile performance by using reserve() to alloc the size of the
arrays internally all at once instead of on-demand since this is way
faster. In my test case this made a significant impact. Also attempting
to get the compiler to avoid some other more hidden copying.
2014-01-23 21:14:39 -06:00
Joshua Granick
dc71c912c7 Fix GL drawArrays issue on desktop 2014-01-20 17:44:16 -08:00
Joshua Granick
9cd63539f6 Fix occasional crash in ColorMatrixFilter 2014-01-10 10:18:18 -08:00
Sven Bergström
43d92fed35 Noting the value of the magic number 2014-01-03 15:31:24 -03:30
Martin Jonasson
ad0f915c88 Pans the sound along a semi circle in front of the listener instead of moving just sideways. This makes it possible to pan a sound slightly to one side, as opposed to the earlier all-or-nothing behavior. 2014-01-03 16:36:46 +01:00
sergey-miryanov
d8f776c2d1 Merge branch 'master' of https://github.com/openfl/lime 2013-12-28 21:12:07 +06:00
Joshua Granick
b7f0928d4f Fix for Firefox 2013-12-27 17:09:45 -08:00
Joshua Granick
870449e3ff Undo changes to glEnable/Disable 2013-12-26 20:26:49 -08:00
Joshua Granick
9274a784c7 Guard glEnable calls when targeting only GLES2 2013-12-26 17:22:03 -08:00
Joshua Granick
5000fa42c0 Emscripten fixes 2013-12-26 16:53:58 -08:00
Joshua Granick
ce412987b3 Tizen storage directory should be 'data' 2013-12-19 11:53:51 -08:00
Joshua Granick
c4ea75418a Read Ogg Vorbis data directly into out buffer 2013-12-15 20:23:46 -08:00
Joshua Granick
8be4a99ed4 Performance improvement on loading OGG samples to memory 2013-12-13 18:36:49 -08:00
Joshua Granick
cd157c4b02 Accelerometer still crashing on Tizen, use better dummy value 2013-12-09 14:54:22 -08:00
zerg
f844186c02 Merge branch 'master' of github.com:sergey-miryanov/lime 2013-12-09 15:48:55 +06:00
Valentin Lemiere
c3443568cb Stage resize fix 2013-12-07 15:40:22 +01:00
Joshua Granick
cd2c48a6f4 Android audio fix 2013-12-06 21:08:44 -08:00
underscorediscovery
f54df3f734 Adding flag for min deployment target on mac for Lion 2013-12-06 23:37:50 -03:30
underscorediscovery
6a4efcf9cf MacBoot was missing a call in sdl 2 stage, which causes asset problems on 10.7.x 2013-12-06 23:37:50 -03:30
Robert Konrad
d8cccc7f9a Implemented support for changing resolutions and going fullscreen. 2013-12-06 15:47:17 +01:00
Joshua Granick
b07b770db5 Add events when the GL rendering context is lost/restored (only affects old SDL backend and Android target right now) 2013-12-05 17:09:41 -08:00
Joshua Granick
29ef53dc6b Remove hooks from experimental tests, and add get_native_pointer for ByteArray 2013-12-05 16:07:18 -08:00
sergey-miryanov
27536ce74c Fix JNI if calling member methods that return int 2013-12-04 20:32:40 +06:00
sergey-miryanov
63e90a0d78 Merge branch 'master' of https://github.com/openfl/lime 2013-12-04 20:31:03 +06:00
Joshua Granick
6046d79955 Minor fixes 2013-12-04 04:21:20 -08:00
underscorediscovery
f990832507 tidy; General tidying of code. 2013-12-04 07:40:01 -03:30
Joshua Granick
aba96933c1 Update pixel density 2013-12-04 01:21:09 -08:00