Commit Graph

49 Commits

Author SHA1 Message Date
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
MattTuttle
d11045a4f9 Fixing error in Text.cpp 2015-01-23 16:03:53 -06:00
MattTuttle
3827df6952 Improved font error handling when file isn't found 2015-01-23 15:48:52 -06:00
MattTuttle
9c5352a110 Harfbuzz buffer needs to be reset every time fromString is called 2015-01-23 12:44:35 -06:00
Daniel Uranga
23f8e01d2a Cleaning code a bit. No need to call Font.loadGlyphs since this is done automatically by Text.fromString 2015-01-23 12:37:50 -06:00
Daniel Uranga
5b2287a374 Fixed Arabic text rendering using Harfbuzz. Updated TextRendering sample. 2015-01-23 12:37:50 -06:00
Joshua Granick
68af1b5bb0 Add support for render context lost/restored events, initially with support for WebGL (thanks @mrcdk) 2014-11-28 11:54:56 -08:00
Joshua Granick
1f24e162ec Add native JPEG/PNG encoding 2014-11-11 10:48:14 -08:00
Joshua Granick
fe17a43f72 Use true font names and automatically register font names on native platforms 2014-11-01 09:44:59 -07:00
Joshua Granick
79082949a6 Restore Flash font embedding 2014-10-14 12:46:31 -07:00
Joshua Granick
3384f0029c Lime console fixes 2014-08-05 13:20:25 -07:00
MattTuttle
c2e73d7e9c Merge branch 'next' of https://github.com/openfl/lime into text-harfbuzz
Conflicts:
	lime/graphics/Font.hx
	project/include/graphics/Font.h
	project/src/ExternalInterface.cpp
	project/src/graphics/Font.cpp
2014-08-04 09:51:51 -05:00
Joshua Granick
51017010a8 Disband lime.media, create lime.audio and lime.math 2014-08-02 10:33:32 -07:00
MattTuttle
4503100713 Fixing font rendering bugs, harfbuzz still doesn't work right 2014-07-31 17:16:59 -05:00
MattTuttle
200e953641 Adding loadRange to Font 2014-07-30 17:08:16 -05:00
MattTuttle
83bb9d9b66 Font changes, Text (harfbuzz) and sample project added 2014-07-30 14:48:27 -05:00
Joshua Granick
4153d70187 Refactor OpenGL classes into lime.graphics.opengl, OpenAL into lime.media.openal, move image and sound into media 2014-07-29 21:24:21 -07:00
Joshua Granick
b55c191e04 Initial support for WAV parsing 2014-07-28 21:27:21 -07:00
Joshua Granick
d8a0eed472 Moving PNG/JPEG code from 'graphics' to 'format', beginning work on audio format code 2014-07-28 08:29:11 -07:00
Joshua Granick
df3ba5992f Use single Resource type for loading file or memory, JPEG file load improvements 2014-07-27 16:32:13 -07:00
Matt Tuttle
6d7388212a Adding FreeType font generation 2014-07-13 15:49:08 -05:00
Joshua Granick
84fbffa923 Minor refactor 2014-07-08 11:56:25 -07:00
Joshua Granick
7df1416127 Remove PVRTC 2014-07-08 11:36:27 -07:00
Matt Tuttle
9f6debd95b Adding JPEG/PNG file loading (PVRTC stub) 2014-07-08 11:21:44 -07:00
Joshua Granick
714357cbc0 Begin to stub in support for image data 2014-06-19 00:37:37 -07:00
Joshua Granick
8fd0f13bc1 Slight refactor 2014-06-19 00:34:34 -07:00