Commit Graph

75 Commits

Author SHA1 Message Date
Joshua Granick
40ccd22c79 Fix BitmapData issues for HL 2019-04-10 16:26:03 -07:00
Joshua Granick
78e99bf1d9 Remove whitespace lines 2018-07-18 17:32:51 -07:00
Joshua Granick
4a34bc515c Finish first pass on refactor render 2018-07-05 09:33:57 -07:00
Joshua Granick
8e91009bc4 Cleanup event types 2018-06-21 22:03:13 -07:00
Joshua Granick
f0579fb450 Refactor native Matrix3, Vector2, Rectangle types 2018-06-21 22:03:13 -07:00
Joshua Granick
95051fc41c Improve GL support for HL 2018-06-21 22:03:12 -07:00
Joshua Granick
6d666b0eeb First pass at refactoring native CFFI Bytes 2018-06-21 22:03:12 -07:00
Joshua Granick
62c5722ab0 Image loading, bytes fixes for HL 2018-06-13 19:41:04 -07:00
Joshua Granick
58057a4457 Cleanup imports 2018-06-11 14:19:37 -07:00
Joshua Granick
5c407fe87b Minor fixes, fix compilation without HashLink library 2018-06-11 13:10:17 -07:00
Joshua Granick
ebda41a737 Better HL support, HelloWorld running in software 2018-06-09 08:28:49 -07:00
Joshua Granick
5dc5f47dd4 More progress on bindings 2018-06-09 08:25:16 -07:00
Joshua Granick
d0b9e00c0f Progress on HL bindings 2018-06-09 08:24:13 -07:00
Joshua Granick
2fe10275e3 Initial strict HL bindings for passing Image, Rectangle, Bytes 2018-06-09 08:24:11 -07:00
Joshua Granick
411f9d0668 Improvements to fix for copyPixels using alpha image (resolve #1707) 2017-09-13 16:41:36 -07:00
Joshua Granick
c5184e41bb copyPixels alpha position fix (resolve #1707) 2017-09-13 16:03:30 -07:00
Joshua Granick
45054e39d6 Improve handling of Image endianness (resolve #1018, resolve #1070) 2017-09-12 12:32:14 -07:00
Joshua Granick
2f93dfc432 Accept bytes + offset in image.setPixels (resolve #991) 2017-05-31 16:51:37 -07:00
Joshua Granick
c72a05ab4a Clean up the blit row code and add a Haxe alternative 2017-05-17 18:23:20 -07:00
Lars Doucet
71ab0b6e17 cleaned up BlitRow() 2017-05-17 18:23:20 -07:00
Lars Doucet
75bdc7e248 speed up copyPixels for c++ 2017-05-17 18:23:20 -07:00
Joshua Granick
ad339aa827 Revert Bytes changes, prevents ppremature GC on audio decoding 2016-12-19 19:50:56 -08:00
Joshua Granick
c96cb19ad1 Merge changes 2016-12-07 22:11:02 -08:00
Joshua Granick
eb11502ecd Try and clear up GC issues (requires clean build) 2016-09-26 14:25:32 -07:00
vroad
9d5839bc73 Fix spaces 2016-05-26 11:41:19 +09:00
vroad
166808d706 Implement virtual destructors in some C++ classes 2016-05-26 11:13:01 +09:00
Joshua Granick
97fb0dcccc Move threshold logic to CFFI again 2016-01-08 14:51:38 -08:00
Joshua Granick
3e4bd31fc6 Add renderer.readPixels (thank you @larsiusprime, close #666, close openfl/openfl#1003) 2016-01-08 13:15:34 -08:00
Lars A. Doucet
3644008132 Implementing BitmapData.threshold() natively for massive speedup - 95% reduction in time taken 2016-01-01 14:11:25 -08:00
Joshua Granick
cd4d4a8f43 Fix race condition in lime_image_load, lime_audio_load 2015-12-31 14:42:20 -08:00
Joshua Granick
283e13386b Add window.scale, let window width/height and mouse events be in logical points 2015-10-05 13:18:54 -07:00
Joshua Granick
56c0872b8a Use onWindowCreate() instead of init(), fix support for multiple GL windows, use window.renderer instead of currentRenderer 2015-08-20 13:39:53 -07:00
Joshua Granick
861c0fe63b Fallback to software if hardware is not available 2015-07-23 08:09:30 -07:00
Joshua Granick
7b5d1a3c7a Fix Image native fillRect and floodFill 2015-07-22 18:37:10 -07:00
Joshua Granick
905e384ca2 Finish implementating C++ Image operations 2015-07-21 11:09:35 -07:00
Joshua Granick
d6750818fc More work on pixel operations 2015-07-21 10:08:29 -07:00
Joshua Granick
c0ef737af0 Begin implementation of C++ Image data methods again 2015-07-21 09:07:52 -07:00
Joshua Granick
46958400ba Use bitsPerPixel 2015-06-20 09:27:47 -07:00
Joshua Granick
d73460da18 Create a new native Bytes implementation, use it instead of ByteArray for better ByteArray and Bytes support 2015-06-19 14:11:15 -07:00
Joshua Granick
0090c953b7 Add JPEG and PNG decodeBytes/decodeFile, with support for skipping imageBuffer.data 2015-06-12 11:30:33 -07:00
Joshua Granick
2b75564951 Some work on pixel formats 2015-05-04 15:54:50 -07:00
Joshua Granick
6e705aa23f Initial support for software rendering using Cairo 2015-05-01 18:13:40 -07:00
MrCdK
7703a8e2c0 Fix windows imageBuffer transparent value 2015-04-24 00:33:19 +02:00
Joshua Granick
d88a14a2a0 Add CFFI setPixels 2015-04-14 16:44:26 -07:00
Joshua Granick
8680d42d25 Add more CFFI methods, improve use within the tools (force color order) 2015-04-14 16:15:32 -07:00
Joshua Granick
e2c2359726 Add floodFill in CFFI 2015-04-14 14:26:57 -07:00
Joshua Granick
560a78db62 Add support for PixelFormat (RGBA, ARGB) in Image, add more CFFI methods 2015-04-14 13:49:58 -07:00
Joshua Granick
338518a5f4 Add more Image pixel operation CFFI functions 2015-04-13 17:35:30 -07:00
Joshua Granick
a16894571e Speed up some operations 2015-04-13 13:15:19 -07:00
Joshua Granick
7b5130f6d9 Progress on text support 2015-03-07 21:02:27 -08:00