Commit Graph

2891 Commits

Author SHA1 Message Date
Maurycy Liebner
f57a284709 Make sure GpuPostProcessor does not process the same task twice. 2020-03-13 17:11:23 +01:00
Maurycy Liebner
19d2c5de85 Implement multithreded ShadowEffect. 2020-03-12 19:48:41 +01:00
Maurycy Liebner
49e2987f70 Improve MotionBlurEffect blending. 2020-03-12 14:44:24 +01:00
Maurycy Liebner
898e2b2225 MotionBlurEffect GPU implementation. 2020-03-12 13:35:53 +01:00
Maurycy Liebner
fd99c703da Multi-threaded MotionBlurEffect implementation. 2020-03-11 16:48:40 +01:00
Maurycy Liebner
f2b37f0339 Motion Blur initial implementation. 2020-03-11 14:01:44 +01:00
Maurycy Liebner
c8a99cf884 Temporary ShadowEffect fix. 2020-03-08 17:26:26 +01:00
Maurycy Liebner
f37aa38fc1 Make sure AccPreference is of type int, to support casting to int. 2020-03-07 13:38:01 +01:00
Maurycy Liebner
9b3e3210a6 Fix Expressions update on manual change. 2020-03-07 11:43:05 +01:00
Maurycy Liebner
d24a74604c Support color names (white, red, black, etc.) for SVG import. 2020-03-06 22:21:44 +01:00
Maurycy Liebner
8628b9573b Move AnimationToPaintDialog from core to app. 2020-03-06 22:20:58 +01:00
Maurycy Liebner
e9e4ab982e Move DurationRectSettingsDialog to the app code. 2020-03-06 14:53:17 +01:00
Maurycy Liebner
0c120e9d21 Add "Set Expression", "Clear Expression" to the timeline list context
menu.
2020-03-06 13:54:15 +01:00
Maurycy Liebner
6f20f55e81 Use compression for Tile read/write. 2020-03-05 13:14:20 +01:00
Maurycy Liebner
ac50a165ee Travis copy skia/out/Release content instead of the folder itself. 2020-03-04 22:17:31 +01:00
Maurycy Liebner
070edd564d When missing ShaderEffect ask user which one to use if any compatible
available.
2020-03-04 21:16:04 +01:00
Maurycy Liebner
70b7c6c78f Improve eDots implementation. 2020-03-04 14:44:52 +01:00
Maurycy Liebner
c309897ade Reuse ShaderEffectJS instances. 2020-03-04 14:21:08 +01:00
Maurycy Liebner
6f10e1998e Make sure Travis treats the if statement as a multiline statement. 2020-03-03 14:19:31 +01:00
Maurycy Liebner
ed5e678ad4 Cache skia in Travis so to avoid timeout. 2020-03-03 14:05:01 +01:00
Maurycy Liebner
4c6d6289e8 Add multiplyRed example ShaderEffect. 2020-03-03 12:42:48 +01:00
Maurycy Liebner
25ea515ca1 Fix Expression bindings highlighting. 2020-03-03 12:37:30 +01:00
Maurycy Liebner
d5e8e369e4 Fix Expression connection to PropertyBindings. 2020-03-03 12:00:46 +01:00
Maurycy Liebner
f939dc2103 Fix highlighting for expression bindings. 2020-03-03 11:55:31 +01:00
Maurycy Liebner
bf6ae71134 New working ShaderEffect implementation. 2020-03-03 11:50:32 +01:00
Maurycy Liebner
0b1e270437 Add description to expression editors. Fix highlighting for expressions. 2020-03-02 13:34:37 +01:00
Maurycy Liebner
8e5884be50 Fix new (JS) Expressions implementation. 2020-03-01 14:10:43 +01:00
Maurycy Liebner
44f7365689 Improvements to expressions editing. 2020-02-29 16:53:11 +01:00
Maurycy Liebner
7fea60a5d3 First step in moving to javascript-based scripts. 2020-02-27 22:32:43 +01:00
Maurycy Liebner
a188b7b941 Move ExpressionVariableId to its own file. 2020-02-26 13:41:18 +01:00
Maurycy Liebner
fe6db65429 Move src/core/Animators/Expressions to src/core/Expressions 2020-02-26 12:26:16 +01:00
Maurycy Liebner
ee8b4a95a7 Rename ExpressinPlainVaraible -> ExpressionManualVariable. Add variable
accessor to ExpressionComplex.
2020-02-26 12:22:19 +01:00
Maurycy Liebner
59de8414f6 Skip spaces in ExpressionParser before variable definition. 2020-02-26 11:54:59 +01:00
Maurycy Liebner
f020a75436 Implement ExpressionPlainVariable (variable with directly controled
value). Allow different Expression parsing modes (including plain
variables, excluding source variables, etc).
2020-02-26 11:37:09 +01:00
Maurycy Liebner
3e9f6a5742 Move ShaderEffect PropertyCreators to a separate folder. Add
ColorAnimatorCreator.
2020-02-26 11:35:07 +01:00
Maurycy Liebner
a94aec9ed1 Delete unnecessary std::ifstreams for reading shader files. 2020-02-25 22:05:32 +01:00
Maurycy Liebner
a67f815610 Add QPointFAnimator support to ShaderEffects.
Some syntax changes for *.gre files.
2020-02-25 20:31:45 +01:00
Maurycy Liebner
38f2902491 Support more color/alpha types for AutoTilesData::loadPixmap. 2020-02-24 21:38:43 +01:00
Maurycy Liebner
d8865ddd3d Keep copies of images for image/video file sources. 2020-02-24 21:35:43 +01:00
Maurycy Liebner
5826596545 Save copies for ImageCacheContainer and ImageDataHandler. 2020-02-24 17:55:10 +01:00
Maurycy Liebner
e5ff67f573 Save BoxRenderData image copies for later use. 2020-02-24 17:24:32 +01:00
Maurycy Liebner
5436be9f11 In RangeMap::atFrame implementation take into account the fact that
RangeMaps are sorted.
2020-02-24 17:01:42 +01:00
Maurycy Liebner
7e74e2c474 Fix ExternalPaintAppHandler after file deleted (e.g., during MyPaint
save)
2020-02-24 13:56:26 +01:00
Maurycy Liebner
4b003303f9 Improve memory handling. Release memory back to the OS. 2020-02-24 12:58:47 +01:00
Maurycy Liebner
d6c120ee57 Make sure you actually use the temporary file when saving Paint Object
keyframes to the tmp folder.
2020-02-24 11:40:52 +01:00
Maurycy Liebner
b82ec2bb5e When adding dependent task to a canceled task, cancel the dependent task
as well.
2020-02-24 11:39:38 +01:00
Maurycy Liebner
ae665cc9f6 Make sure GpuPostProcessor scheduled tasks are canceled when clearing. 2020-02-24 11:38:50 +01:00
Maurycy Liebner
99088b0ab2 Fix AutoTilesData::toBitmap for tiles with no data. 2020-02-23 23:46:10 +01:00
Maurycy Liebner
307d8dcae6 Make sure you are on the safe side during high memory usage. 2020-02-23 23:45:53 +01:00
Maurycy Liebner
7133d25401 Move eImporters to a separate file. 2020-02-23 20:13:14 +01:00