Commit Graph

2823 Commits

Author SHA1 Message Date
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
Maurycy Liebner
e022fe48d1 Implement Krita(kra-to-ora) based kra import. 2020-02-23 20:06:49 +01:00
Maurycy Liebner
cab6a66649 Implement using external apps to edit Paint Objects' content. 2020-02-23 20:05:30 +01:00
Maurycy Liebner
fb05e5db16 Fix AutoTilesData::toImage definition (arguments order). 2020-02-23 14:11:16 +01:00
Maurycy Liebner
d7372e3117 Move ora structures to a separate file. 2020-02-23 14:10:03 +01:00
Maurycy Liebner
804f5e48fc Move ora related files to ora folder. 2020-02-23 14:07:36 +01:00
Maurycy Liebner
61b1de9853 Implement AutoTilesData::toImage, supporting 64 bit images. 2020-02-23 14:04:12 +01:00
Maurycy Liebner
24b8360d94 Add external apps settings. 2020-02-23 13:36:03 +01:00
Maurycy Liebner
54f613396a Support layer locking for ora import. 2020-02-23 12:21:58 +01:00
Maurycy Liebner
35340f4492 Load HardwareInfo before creating eSettings. 2020-02-23 12:19:18 +01:00
Maurycy Liebner
400d8526fa Make Video Object -> Paint Object conversion task based even if frames
are available.
2020-02-23 11:47:37 +01:00
Maurycy Liebner
9b13a71061 Make sure bounding rectangle updates for the Object when using
ImageRenderData::setupDirectDraw.
2020-02-22 23:39:08 +01:00
Maurycy Liebner
c4889898ff Make sure CacheContainer knows it was removed from the
MemoryDataHandler.
2020-02-22 23:21:00 +01:00
Maurycy Liebner
57ff460d6c Make sure paint surface data is cleared during
DrawableAutoTiledSurface::clearMemory when tmp file is available.
2020-02-22 23:20:22 +01:00
Maurycy Liebner
4aba113746 Use multiple cores for travis build make. 2020-02-22 23:17:42 +01:00
Maurycy Liebner
b74dcc4f36 Take pageheap_free_bytes into account when calculating free memory. 2020-02-22 23:17:15 +01:00
Maurycy Liebner
fb85e4c26f Improve ComplexTask implementation. 2020-02-22 22:23:18 +01:00
Maurycy Liebner
f8cbe56f88 Implement cancalable ComplexTask for Video Object -> Paint Object. 2020-02-22 20:28:17 +01:00
Maurycy Liebner
52c4195733 Use ConnContextQSPtr for eBoxOrSound::mDurationRectangle. Allow undo/
redo for overwriting already existing value.
2020-02-22 16:19:24 +01:00