Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/thorvg/thorvg

Thor Vector Graphics is a lightweight portable library used for drawing vector-based scenes and animations including SVG and Lottie. It can be freely utilized across various software platforms and applications to visualize graphical contents.
https://github.com/thorvg/thorvg

capi: missing arg description added

5b3252ecf95cdaaff5b00dc532f2d6273da2c782 authored about 3 years ago by Mira Grudzinska <[email protected]>
sw_engine texmap: implemented fast span-edge anti-aliasing

This Anti-Aliasing mechanism is originated from Hermet Park's idea.
To understand this AA logic,...

e258a2a66245408aac8233c0fa367762e18f35f2 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine SwShape: Prevent null access

strokeOutline returned strokeExportOutline() is the address of mpool->strokeOutline[idx].
Assumi...

c326b6ac3e9c7cc6c782f93f929866b62a0a1ed7 authored about 3 years ago by JunsuChoi <[email protected]>
sw_engine SwShape: Fix coding style

791275c30a77d9d37310e5897ddb1e9855a86948 authored about 3 years ago by JunsuChoi <[email protected]>
sw_engine raster: improve the transformed rle image rasterizer.

replace the transformed rle rgba image with the texmap raster.

this patch removes the several s...

45132a7051669dace8fd461c5c83dd012024a626 authored about 3 years ago by Hermet Park <[email protected]>
png_loaders: fix the wrong premultiplying operations.

It should not modify the alpha channel value while premultiplying
that turned out with the wrong...

36da47af80542d11279d1c0be5af4f6424f8aa60 authored about 3 years ago by Hermet Park <[email protected]>
common paint: code refactoring

Grouping the composite data to add source paint necessarily.

this refactoring is a prerequisite...

62c9feb80aa23a57832ec7f69613ada854f3916f authored about 3 years ago by Hermet Park <[email protected]>
common picture: remove unused variable.

d3f3a50309bf850e1bbad3dfb968abbf54e99de6 authored about 3 years ago by Hermet Park <[email protected]>
common: revise the identifier() implementation

Migrate the id property to the base class internals
so that pimpl classes could access the data ...

1d4db59a25c67b305ebda4b02ef657f5c5a3439f authored about 3 years ago by Hermet Park <[email protected]>
sw_engine image: support non-premultiplied alpha images.

Previously, translucent png images are not displayed properly
due to alpha channels premultiplic...

4cdf648e14fc2e32b8b715146d256d714ca43dff authored about 3 years ago by Hermet Park <[email protected]>
sw_engine raster: remove unnecessary functions.

These alpha/inverse alpha blender table is not useful so far,
we remove them since it just decre...

e7b7705875c131ad78b2257a6b819f642483586b authored about 3 years ago by Hermet Park <[email protected]>
sw_engine SwCommon: Change spans's x,y value type

The x and y of spans cannot be negative
because they are specified as coordinates inside the buf...

d8797092b5ea7074aefd1e3fa1d201100de4222b authored about 3 years ago by JunsuChoi <[email protected]>
sw_engine SWRaster: Explicitly declare type cast to uint32_t

e36c2029ceb00e01c0279e993989b034a8a9d9b4 authored about 3 years ago by JunsuChoi <[email protected]>
sw_engine SWRaster: Initialize uninitialized local variable

5715270dfb137e73d1f727743ee0e633cbfed6a4 authored about 3 years ago by JunsuChoi <[email protected]>
sw_engine raster: fix the regression bug of the image simple scaling rendering.

Gave up the optimization this logic.

It brings too many digressed code, not good for maintenanc...

c0cd645bb512371c3666f2cdbf4e17b671fcfb1b authored about 3 years ago by Hermet Park <[email protected]>
sw_engine texmap: remove unnecessary conditions.

remove exceptional handling for the performance.

46bdc8f1dc86f7ede5b066e30f96a97b0f9ff30f authored about 3 years ago by Hermet Park <[email protected]>
svg_loader: a function to establish shapes boundries without a stroke introduced

To handle the objectBoundingBox units, the shape's boundaries have to be known.
According to the...

4485db4f15e6b2e9fb7b8ad095c0f87e8c24236b authored about 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: struct used to pass 1 args instead of 4 of them

The Box struct is introduced to replace the four functions
args: vx, vy, vw, vh, so all of them ...

bd7c19a5924ab9fbbe8df232f552e6922d07a1fb authored about 3 years ago by Mira Grudzinska <[email protected]>
sw_engine raster: fix the texmap regression bug.

Wrong inline function with C-preprocessing doesn't work at all...
Correct them with including th...

19aa102749a64fe57282e921ed7eeae08c42485c authored about 3 years ago by Hermet Park <[email protected]>
Revert "sw_engine raster: code refactoring."

This reverts commit 860068301a7992f375a74a1f6b95e96e3bb3eb80.

found a regression bug. this macr...

d2640c63132b9b80169d800db2989bad7ad84afe authored about 3 years ago by Hermet Park <[email protected]>
sw_engine raster: code refactoring.

+ blending stages using macro magics.

I know this is a bit bad for code readibility but good fo...

860068301a7992f375a74a1f6b95e96e3bb3eb80 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine: code refactoring

unified the two color interpolate methods.

eddaf615c382798c75feb2fd6997a65ba8014cf3 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine texmap: code refactoring.

Unrolled the blending stages by applying macro magics.

I know this is a bit bad for code readib...

2ca6f76d91aaa768a62b93759b50fdd71ff4a037 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine texmap: introduced texture mapping polygon drawing.

Introduced the texture-mapping algorithm for the image-scaler.
With this approach, we can suppor...

aff755aeb52be724369028004b377c811b10b52f authored about 3 years ago by Hermet Park <[email protected]>
sw_engien renderer: ++safety

+exceptional handling for the drawing region.

72ee1c4343c9aeb039c053bcb5f3e48bc5abf10f authored about 3 years ago by Hermet Park <[email protected]>
sw_engine raster: fix a regression bug.

mistaken by 8ef31f6cd031b1369ec52e18cc0c97b6efaca6ab

b5e134399d2a94efeb92fe781f31f56e05c7818f authored about 3 years ago by Hermet Park <[email protected]>
sw_engine raster: fix compiler warnings.

popped up unused-functions when simd enabled.

cc9653577869e60e3decf353ea544e9e29c4f37a authored about 3 years ago by Hermet Park <[email protected]>
sw_engine raster: fix a mistake by the previous hot refactoring.

8ef31f6cd031b1369ec52e18cc0c97b6efaca6ab authored about 3 years ago by Hermet Park <[email protected]>
sw_engine raster: code refactoring

+neat and clean code

e76091a283b8e4597df8d5698b56cf263f41c5c6 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine image: improvement sequeqnce of the transformed rle rgba image drawing.

implement composition by translucent / opaque.

yet this transformed rle rgba image drawing is o...

f7e52e93ed96df4affe73e955568328c8241c154 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine image: complete sequeqnce of the scaled rgba rle image drawing.

implement composition by translucent / opaque

9fbb8d9b0960a6c68cd47ee12c4f84a2669d59fd authored about 3 years ago by Hermet Park <[email protected]>
sw_engine image: improvement sequeqnce of the direct rgba rle image drawing.

implement composition by translucent / opaque.

+ correct compositor stride reference.

43233a530a2d99fb7e2ff9e37f2cdfb6aadae7fb authored about 3 years ago by Hermet Park <[email protected]>
sw_engine image: improvement sequeqnce of the transformed rgba image drawing.

implement composition by translucent / opaque.

yet this transformed rgba image drawing is on th...

a5713cecca932c76c1a1ccdc1d74b3fe107730fc authored about 3 years ago by Hermet Park <[email protected]>
sw_engine image: complete sequeqnce of the scaled rgb image drawing.

implement composition by translucent / opaque.

f0e7ef1dbcca2c663b5856d0228fa1b70f1e49cb authored about 3 years ago by Hermet Park <[email protected]>
sw_engine image: complete sequeqnce of the direct rgb image drawing.

implement composition by translucent / opaque.

c0c37396f7624f0fdc9272cf886d1ce5b6726120 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine image: refactoring before further development.

separate internal functions per context
and keep the coding convention.

3fae64c626cba5bb56f6928ed1df1547ea7ee63b authored about 3 years ago by Hermet Park <[email protected]>
Update CONTRIBUTING.md

e379c3e7eef08b06fbee387cc219e8d58ae4a1bc authored about 3 years ago by Hermet Park <[email protected]>
sw_engine image: support separate logics for scaled rle rgba image

+ scaled rle rgba image
+ scaled masked rle rgba image
+ scaled translucent rle rga image

7c8f651e327f5302414cae64dd8b998c9cb165d8 authored about 3 years ago by Hermet Park <[email protected]>
common: nothing was rendered after an empty masked node came across

The problem was observed for empty masked scenes (except the fastTrack
cases). Solved by imimedi...

d4c15dcf66cac68e61537946e0d45ff40be9b706 authored about 3 years ago by Mira Grudzinska <[email protected]>
examples: replaced png resource to verify alpha channel.

alpha blending looks a bit awkward.. need to fix it.

3221e27e3efdc73947413e8be653c9a9cc05a11c authored about 3 years ago by Hermet Park <[email protected]>
sw_engine image: apply rgba blending.

rgba requires the default blending.

16d5907642da527d9e7cd9123486a98de90c93f8 authored about 3 years ago by Hermet Park <[email protected]>
infra stylebot: Delete existing comments

In order to avoid duplication of the already created comment,
already created results will be de...

5e81beec535e6f2b9b581bd44c9f84dfe35d922d authored about 3 years ago by JunsuChoi <[email protected]>
sw_engine image: code refactoring

Clarify image sequences by renaming & adding TODO comments.

1b7f5d952e8832419885696d3891918f3627d053 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine image: introduced scaled image raster logics.

These raster functions are accelerated only for the scaled images.
(no rotation, skrewed)

06cef2a710f2bb27900eb509c4ae38a034c742ea authored about 3 years ago by Hermet Park <[email protected]>
examples: remove boundary samples.

Removed these tests from the example since it's not so proper showcases
for user scenaro.

49294e9142f8ab077aea63ea8a785101f3c16254 authored about 3 years ago by Hermet Park <[email protected]>
common paint: fix the wrong fast track logic.

There was a missing sorting between the left-top & right-bottom corner.
that results in the nega...

f887edf562546ac6f43dcef4396e994cf707f31f authored about 3 years ago by Hermet Park <[email protected]>
tvg_saver TvgBinInterpreter: prevent misaligned memory access

When parsing a binary stored as a char type,
interpreter can access the misaligned memory while ...

baab43aff280031f03e6dbbd13220716e1ee7bb1 authored about 3 years ago by JunsuChoi <[email protected]>
test capiSwCanvas: remove a invalid test case.

This test depends on the machine environment.
it's not guaranteed the same result so we remove it.

80cc0177fb053912f8936521c2c4b992c098d383 authored about 3 years ago by JunsuChoi <[email protected]>
common paint: fix a typo.

4ac58de1bf87c2e8dc6a32eb4d79a8eadd4f76b5 authored about 3 years ago by Hermet Park <[email protected]>
svg_loader: Add nullptr check.

Signed-off-by: jykeon <[email protected]>

bfaf26d99ef8445515eabbcef4133d9cbd3406d0 authored about 3 years ago by jykeon <[email protected]>
example stress: adjusted loading count.

This example loads all the svgs even if they are out of the screen space.

e83a47b4c6d5d049d9669380b2360818a4024d2b authored about 3 years ago by Hermet Park <[email protected]>
sw_engine image: code refactoring

Image raster sequence is getting quite complex...

Clean up before further image optimization.

b38996f5c93d50494af1e503a769af7da5506b4f authored about 3 years ago by Hermet Park <[email protected]>
example stroke: updated the sample

840e4f54f0a5ca01648373015d92f01b724eab7f authored about 3 years ago by Hermet Park <[email protected]>
sw_engine image: code refactoring

+++

e195ac8b3098c25dae6896fac062b032a7164778 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine raster: clarify the internal function name.

"Solid" in this raster context is "Opaque" actually.
So remove the solid from it.

93da844d94abbaf42c388cde6fddaf1346822b15 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine raster: remove the condition which is out of the genearal case.

491ea0ac07a444d5d32fbeedc432392a276d54ab authored about 3 years ago by Hermet Park <[email protected]>
sw_engine raster: updated tvglog messages

fa172146333b0280bf0097ad7a457da39e8e0eb5 authored about 3 years ago by Hermet Park <[email protected]>
common shape: fix memory access violation

asan report:

../src/lib/tvgShapeImpl.h:94:15: runtime error: null pointer passed as argument 2,...

e90f040208c8b3e86184db871b9499cd92ad992b authored about 3 years ago by Hermet Park <[email protected]>
examples: added image scale up/down samples.

823cc85238a41eee700da86f6b440c942617fe4d authored about 3 years ago by Hermet Park <[email protected]>
example boundary2: added image boundary check sample.

7152953df43d57915f971585ce75d8e7c7578266 authored about 3 years ago by Hermet Park <[email protected]>
example: added different stroke's caps

6be38fa431d9b845cfbb6cf450e0d9bb9db4fc92 authored about 3 years ago by Mira Grudzinska <[email protected]>
sw_engine raster: optimize the image raster

these solid images shouldn't apply the alpha blending...

4f73719fac3644c191827894d53b965c4aba4637 authored about 3 years ago by Hermet Park <[email protected]>
example stroke: added vertical line samples.

c510ced62374d43c307e0976e836388b180bed96 authored about 3 years ago by Hermet Park <[email protected]>
all: fix compilation errors on non-windows clang

Thorvg couldn't be compiled on macos as non-portable microsoft calls used.
Changed definitions c...

282b9288ab3763813c7bda953a1af9ee1d3b83e3 authored about 3 years ago by Michal Maciola <[email protected]>
sw_engine raster: code refactoring

changed internal function names, keep the neat & clean thorvg style code.

92f57a149f3135c92bfd322fce470fa13f1a2af1 authored about 3 years ago by Hermet Park <[email protected]>
infra bot: Add Memcheck bot (AddressSanitizer)

If a leak occurs in the test result, the bot notifies the PR as a comment.
This notify may not ...

e0c3fafb187cddfdd19f487bd3ecb062de48c547 authored about 3 years ago by JunsuChoi <[email protected]>
infra: Use latest meson version

0.45 -> latest. For b_sanitize option. (0.45 version is not supported).

d91d3ef6facc824b9beae8602073ec14d235623e authored about 3 years ago by JunsuChoi <[email protected]>
examples: remove low quality sample images.

41b4b302692672541206d18b7c917a355693d692 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine raster: code refactoring

clarfy & regroup the internal functions which have been messed up by rendering options.

no logi...

f9bc6846993914abde4d6920a63f80fdb2bc47a5 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine neon: code refactoring.

keep the internal function name consistency.

e581ae43537788ce5bb213e04fc382fb5467e6a5 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine: ialpha function pointer used instead of 255 - alpha

3f82522f600b998c7b59ba86b7903987b13db18b authored about 3 years ago by Mira Grudzinska <[email protected]>
examples pictures: updated for case cover.

+ test opacity

5690f1ab0dd6a28e98842e81a9b28901595c2e10 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine image: ++optimization

apply fast track to fast up the image rasterization.

only shifted image doesn't need to have th...

c9377708a9102e3b0dec179e9edcb14141b1dff8 authored about 3 years ago by Hermet Park <[email protected]>
common math: code refactoring

introduced mathZero(), mathEqual() for floating variables.

0fcdba8a4b8b912f1771215ec43718bcc760fc63 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine image: code refactoring

revert d520da2db8966db19ae83897549a107c01c475c1

After considered the scneario seriously,
this d...

ee60a04f2011f6d4d47f3a4b220d41b94d2d5c58 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine: avxRasterTranslucentRle implemented

8362ddda746fc73b8e71982755d851f5c1125aea authored about 3 years ago by Mira Grudzinska <[email protected]>
common paint: improve rotation condition precision

cover the four cases: 0, 90, 180, 270 degrees...

1592443c3edd695c382ec6dba97b3bcfb7fc5f06 authored about 3 years ago by Hermet Park <[email protected]>
common paint: improve rotation condition precision

cfe5d800997648e332d9ecdd990ff1695b2e13e9 authored about 3 years ago by Hermet Park <[email protected]>
infra bot: Hotfix memcheck bot for push event

e2c7599769240c5719169df0369aaf655b507e83 authored about 3 years ago by JunsuChoi <[email protected]>
common paint: fix invalid memory access in unit test

casting the paint to shape is not allowed if the compositor target
is not shape, here it concret...

b1604e2ec78c55e2a025224b20e88a1dd0659e40 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine image: optimized image rendering.

Applied the fast-track routine for axis-aligned images.
This helps to remove outline generation ...

d520da2db8966db19ae83897549a107c01c475c1 authored about 3 years ago by Hermet Park <[email protected]>
infra bot: Add Memcheck bot (valgrind)

If the unit test is successful, valgrind memory check is executed based on the test.
If a leak o...

d7973e9330e3ffb3ba58225a6ee7709b3edee7b4 authored about 3 years ago by JunsuChoi <[email protected]>
svg2png: update the error messages.

@Issue: https://github.com/Samsung/thorvg/issues/1031

15412907b8db5e866609cb964424eb61ad9dc875 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine image: introduce the stride property for the image.

we are considering the larger space of the image buffer,
in this case stride info is necessary.

ae3dae8c554450a81d335bb98e8db055e49bb784 authored about 3 years ago by Hermet Park <[email protected]>
common paint: alpha masking optimization

applying fast track approach to the alpha mask when its condition is matched.
(simple rectangle ...

44ccfc46d8c4b28ebeb20d345afd2af6ef0b75e8 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine raster: code refactoring

remove duplicated logic.

91668143e1f16abeccec64e4271e3826828196e8 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine raster: allow image interpolation by increasing tolerance.

current image interpolation method is a bit awkward,
because xy scale different scale factor is ...

1527f702212151d255d339fc635201b040dd7cee authored about 3 years ago by Hermet Park <[email protected]>
svg_loader: mem properly freed

delete -> free

ed640630c171baee07a9ee373aacabbc377db7eb authored about 3 years ago by Mira Grudzinska <[email protected]>
svg_loader: memory properly released

delete->free

f3450e176063f063faa00dbaa5687e483112c7f5 authored about 3 years ago by Mira Grudzinska <[email protected]>
png_loader: correct colorspace

decoding color channels rgba -> bgra

@Issue: https://github.com/Samsung/thorvg/issues/1007

56e2498466bd99778a0702878e522cd711903fac authored about 3 years ago by Hermet Park <[email protected]>
README: Update Badge

This badge is updated when a patch is pushed to the master branch.

24e0133f78024693bb0a64e7c72bb754e01938d1 authored about 3 years ago by JunsuChoi <[email protected]>
infra: Add build test after patch merged

This test works after the patch is merged into the master branch.

b83d6c64199561b1b3586f575d01a3596d7a873a authored about 3 years ago by JunsuChoi <[email protected]>
sw_engine raster: code refactoring.

keep the code clean & neat.

6c4896b9112600e645efd2cbf402d6e65895b438 authored about 3 years ago by Hermet Park <[email protected]>
apis: promote beta apis to the official ones.

these apis are good to open in the next release.

e2dd889e1a9952379b4db1a45ca60b19df7441f5 authored about 3 years ago by Hermet Park <[email protected]>
common render: code refactoring.

correct wrong coding convention.

98e542e2f624d54bfffca4a9aecce8cd7008051f authored about 3 years ago by Hermet Park <[email protected]>
common paint: code refactoring

renamed internal variable. no logical changes.

2f334f3300f6a04d22c55702d90876b1bd1b2c83 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine: missing implementations added

Rastering functions for masked images that are not rectangular
(clipped) were implemented.

10e0d18d6e25dde499018b57127a0a9c7d4d1d04 authored about 3 years ago by Mira Grudzinska <[email protected]>
sw_engine raster: code refactoring

--remove parameter

d8262dd1f86d8ed5cd2d13736c091aef0ba6c42f authored about 3 years ago by Hermet Park <[email protected]>
sw_engine raster: code refactoring

unify several function paramters with one structure.

f9a7df7a10ad0a72f644ee60d81ebdc701d19da8 authored about 3 years ago by Hermet Park <[email protected]>
sw_engine raster: code refactoring

keep it neat & clean code with descriptions.

205e4631608f5e36e3371fc68dbc84bdb0c17cbe authored about 3 years ago by Hermet Park <[email protected]>