Commit graph

71 commits

Author SHA1 Message Date
Thomas Friedel
f0367ee72d GetImageData bugfix 2019-12-04 12:13:09 +01:00
Thomas Friedel
98a8334efc added a todo, regenerated xmobile backend 2019-07-10 11:36:02 +02:00
Thomas Friedel
9f92f2c5c4 added an error if glGenTextures fails 2019-07-10 11:34:21 +02:00
Thomas Friedel
5ce888f8b9 small performance improvements 2019-05-23 16:32:03 +02:00
Thomas Friedel
e44b120ad8 removed gaussian blur code 2019-05-13 11:56:53 +02:00
Thomas Friedel
3695a6ef59 improved box blur accuracy 2019-05-13 11:56:36 +02:00
Thomas Friedel
62e4cae716 image mask uses fill style 2019-05-12 13:06:23 +02:00
Thomas Friedel
ea3cb81231 renamed mask to stencil 2019-05-12 13:06:23 +02:00
Thomas Friedel
c945678725 fixed xmobile backend 2019-05-12 13:06:23 +02:00
Thomas Friedel
505386f199 added shadow blur to software implementation 2019-05-12 13:06:23 +02:00
Thomas Friedel
e0b88c0ca6 implemented MSAA on quad drawing 2019-05-12 13:06:23 +02:00
Thomas Friedel
17b212acba implemented msaa 2019-05-12 13:06:23 +02:00
Thomas Friedel
554fa84a0a added code for MSAA, doesn't work properly yet though 2019-05-12 13:06:23 +02:00
Thomas Friedel
d56f68b2e7 implemented software image pattern filling, added a test 2019-05-12 13:06:23 +02:00
Thomas Friedel
4e5c38b295 implemented mipmapping 2019-05-12 13:06:23 +02:00
Thomas Friedel
bbcb712b73 renamed the backend directories so they match the package names 2019-05-12 13:06:23 +02:00
Thomas Friedel
623a4742ce removed debug code 2019-05-12 13:06:23 +02:00
Thomas Friedel
a913b8b33b implemented software gradients 2019-05-12 13:06:23 +02:00
Thomas Friedel
e3bb07a09c fixed image drawing, added some interpolation 2019-05-12 13:06:23 +02:00
Thomas Friedel
a0a1adef12 fixed overlapping alpha 2019-05-12 13:06:23 +02:00
Thomas Friedel
ec3bde6374 proper color mixing 2019-05-12 13:06:23 +02:00
Thomas Friedel
4d0f41cc6b more precise rasterization 2019-05-12 13:06:23 +02:00
Thomas Friedel
973e410204 more accurate rasterizing 2019-05-12 13:06:23 +02:00
Thomas Friedel
7fa1f9096f implemented FillImageMask in software backend 2019-05-12 13:06:23 +02:00
Thomas Friedel
faf179caa0 implemented clipping and drawImage 2019-05-12 13:06:23 +02:00
Thomas Friedel
9f99dff89b started a software backend 2019-05-12 13:06:23 +02:00
Thomas Friedel
e4dae7a86f updated xmobile backend with latest gogl code 2019-04-30 21:53:14 +02:00
Thomas Friedel
eed8f3e241 removed greyscale image loading, using full rgb conversion instead 2019-04-30 21:53:01 +02:00
Thomas Friedel
f89b3eccdc implemented imapge pattern repeat types 2019-04-25 17:58:21 +02:00
Thomas Friedel
a5d921223f implemented image pattern transformation 2019-04-25 17:46:53 +02:00
Thomas Friedel
1f6301a2f9 canvas activate bugfix 2019-04-24 17:10:31 +02:00
Thomas Friedel
7d0fc7ceb8 regenerated 2019-04-24 12:35:11 +02:00
Thomas Friedel
abfc73419b set global alpha 2019-04-18 21:13:06 +02:00
Thomas Friedel
6d46d9d554 removed the clipping reapplication after context switching since it didn't work properly 2019-04-18 14:46:20 +02:00
Thomas Friedel
e40654181e fixed build tags for macos and ios 2019-04-02 11:29:18 +02:00
Thomas Friedel
0e16a8261b added function to create an image pattern 2019-03-28 11:25:59 +01:00
Thomas Friedel
6a082a74a3 clipping bugfix 2019-03-28 10:53:49 +01:00
Thomas Friedel
04b3418c3b added an activate function and an exported TextureID so that other GL code can also use the canvas 2019-03-20 12:18:36 +01:00
Thomas Friedel
c98bc6c23d backend can now reuse gl contexts, updated examples and docs 2019-03-20 11:48:52 +01:00
Thomas Friedel
22c3c25d8e removed opaque and deleted flags from backend, deleted state is now maintained in frontend 2019-02-27 16:06:41 +01:00
Thomas Friedel
ba8238ba66 canvas bounds update fix, gomobile example works again 2019-02-27 15:46:08 +01:00
Thomas Friedel
9c3cccabdd offscreen backend now has its own type, can be used as image when drawing images 2019-02-27 13:05:23 +01:00
Thomas Friedel
f8aa4d62ce updated gogl backend to work on ios as well, updated ios example 2019-02-24 16:30:17 +01:00
Thomas Friedel
654d9b1796 reduced the backend/gogl/gl package to GLES2 functions; added android support; adapted android example 2019-02-24 14:31:03 +01:00
Thomas Friedel
549a6f2c2e switched to a simplified generated gl binding that should work with both regular GL and GLES 2019-02-24 13:28:50 +01:00
Thomas Friedel
77a9d14867 added an xmobile backend that can be generated from the gogl backend 2019-02-24 13:19:21 +01:00
Thomas Friedel
93c75a9b61 clear stencil when bounds change 2019-02-24 11:08:22 +01:00
Thomas Friedel
c207447158 SetBounds on GL backend now sets the viewport right away; updated drawing example 2019-02-24 11:01:33 +01:00
Thomas Friedel
ed34e3d8c4 removed matrix code in backend 2019-02-22 16:54:37 +01:00
Thomas Friedel
816582dbb3 removed FillMatrix and moved transformations to frontend 2019-02-22 16:53:53 +01:00