Commit Graph

56 Commits

Author SHA1 Message Date
Bruno Herbelin
c271cad9aa Cleanup headers and dependencies 2021-11-13 00:14:05 +01:00
Bruno Herbelin
a6ba694fbd Code warning cleanup and add GPL license header to all CPP files 2021-11-10 23:19:38 +01:00
Bruno
fc4e40fba3 Display mixing source original texture when inactive
Re-using activesurface_ for manipulation and display of the source's input texture in the Mixer icon when inactive.
2021-08-02 22:27:06 +02:00
Bruno
e87ef2774b New SourcePlayer
Work in progress; Sources now have play/pause and associated play functions. Media player can play all playable sources, and adapts to control a media player when possible. Selection of play groups (to finalize)
2021-06-19 01:02:12 +02:00
Bruno
a05cd380fb Using source mode UNINITIALIZED to replace initialized_ bool
info about source initialization was duplicated; using the mode state machine only avoids to keep a flag
2021-05-01 10:29:34 +02:00
Bruno
877fb09fa3 more elegant session source init 2021-04-29 23:12:46 +02:00
Bruno
e2d2e6ddd8 prefix ++View::need_deep_update_ 2021-04-19 19:24:50 +02:00
brunoherbelin
17d2a63132 Important change: sources keep their id all lifelong.
This simplifies a lot history and testing in session.
2021-04-13 22:26:26 +02:00
brunoherbelin
f443720319 Programming style improvement: following Cppcheck suggestions. 2021-04-04 13:13:06 +02:00
Bruno
ef7722bb5c Better terminology and icons for SessionGroup 2021-02-22 14:06:10 +01:00
brunoherbelin
8019f4ea25 Cleanup blending update 2021-02-21 22:02:04 +01:00
Bruno
f51bc1f1f4 New Blending with pre-multiplied alpha
Finally found how to improve blending modes by pre-multiplying color by alpha in the shader, so that the blending equations can be applied on top of the apha manipulation.
2021-02-18 23:36:01 +01:00
Bruno
678bdf066e Temporarily acceptable SessionGroup with opaque background 2021-02-16 23:01:02 +01:00
Bruno
e37b21760e BugFix: interrupting recursive session loading
Prevent crash on  recursive (infinite) loading of session file (containing itself).
2021-02-14 18:56:48 +01:00
brunoherbelin
dca3033c06 Bugfix; correcting introduced bug with RenderSource and new Session
resolution.
2021-02-11 20:28:57 +01:00
brunoherbelin
d45554e162 Eyecandy: better color and transparency for icons in Mixing and Layer
views
2021-02-09 18:52:26 +01:00
Bruno
89fa11447a New decoration frame for group in Layers view 2021-02-07 23:22:15 +01:00
Bruno
84416f566b Early implementation of groups: SessionGroupSource.
Rename SessionSource to SessionFileSource.
2021-02-07 22:01:07 +01:00
brunoherbelin
8185c93457 Fixed replacement of failed RenderView after sessionSource import (if a
sessionSource contains a RenderView, the later should be re-created).
2021-02-05 18:11:16 +01:00
brunoherbelin
93b6bc9ca4 Bugfix in Recursive loopback of RenderView inside a SessionSource: fixed
loading and import into main session.
2021-02-04 23:25:49 +01:00
brunoherbelin
4bc9bf581e Cleanup pattern and session sources 2021-01-30 16:03:26 +01:00
brunoherbelin
f4048fca04 Increased size of source icon 2021-01-21 23:02:50 +01:00
brunoherbelin
b7a54d0512 BugFix deep update views (depth and layout) and crop. 2020-12-08 23:04:12 +01:00
brunoherbelin
1677582034 Bug fix on deep update of views and scenes: incrementing a counter of
updates needed (instead of only a flag).
2020-12-07 23:39:41 +01:00
brunoherbelin
8c9b753544 First operational version of AppearanceView. Cleanup of symbols for
sources and other bugfix.
2020-11-15 23:49:56 +01:00
brunoherbelin
196ce3df1b Cleanup of surface management in Sources (centralize texturesurface_ in
Source class, avoid mistakes in subclasses). Integration of sources in
AppearanceView (not functionnal yet).
2020-11-15 13:01:06 +01:00
brunoherbelin
7c5374552d set unique surface_ pointer for all source types 2020-11-12 18:38:51 +01:00
brunoherbelin
c0e135993c BugFix: prevent visitors for failed sources. Avoid duplicate list of
source ids.
2020-10-10 15:16:47 +02:00
brunoherbelin
5421b5e926 Cleanup Session loading (prepare for session history) 2020-10-03 18:45:30 +02:00
brunoherbelin
c777a3d153 work in progress: implementation of stash in MixingView 2020-09-30 12:01:40 +02:00
brunoherbelin
68c7262aac Eye candy for GeometryView 2020-09-12 11:41:01 +02:00
brunoherbelin
3469e50f0a better end of init 2020-08-16 20:41:52 +02:00
brunoherbelin
23800b17b4 Fixed creation of empty session source. 2020-08-16 20:31:09 +02:00
brunoherbelin
f6588de023 Unified use of std::future for loading sessions in Mixer and
SessionSource.
2020-08-16 19:10:23 +02:00
brunoherbelin
fd0979887a First implementation of image processing shader de-activation for
sources.
2020-07-30 02:03:01 +02:00
brunoherbelin
d914eb622f bugfix; enable creating empty session 2020-07-28 19:08:04 +02:00
brunoherbelin
91dd7e5cc8 Added symbols for overlay of busy information. Added busy animation when
loading session in transition view.
2020-07-20 00:42:44 +02:00
brunoherbelin
d916bb5706 Fixed initialization of source and of SessionSource; sources are ready
after full initialization and in standly. A new button allows playing
the source (media or session) in the new source pannel.
2020-07-19 19:03:49 +02:00
brunoherbelin
cfac7107b6 Finalized user interface for Transition View. Cleanup DrawVisitor was
needed. New ImGuiToolkit functions implemented.
2020-07-08 22:28:36 +02:00
brunoherbelin
fa4611e33d Rename Icon decoration into Symbol 2020-07-06 21:43:23 +02:00
brunoherbelin
b5985847bf Almost done with implementation of Transition! Settings and UI side
pannel are operational. View is stable and animation with UpdateCallback
implemented.
2020-07-06 00:06:49 +02:00
brunoherbelin
e1e54bbaf3 Session transition robust to user manipulation. New pannel to configure
parameters of transition.
2020-07-05 15:45:52 +02:00
brunoherbelin
2cf804ac2d Initial implementation of the TransitionView with manual smooth
transition interface.
2020-07-05 00:16:43 +02:00
brunoherbelin
ee35e52b89 Fixed update of Session Source. 2020-06-23 19:39:00 +02:00
brunoherbelin
40037b3fa6 Work in progress: setting status of source on creation (automatic
activation or not?).
2020-06-22 23:52:31 +02:00
brunoherbelin
8684d6f2c2 Implementation of the limbo area in Mixing view, to change update mode
of source (active or not) and suspend mediaplayer (enabled or not).
2020-06-21 00:52:59 +02:00
brunoherbelin
aa211fe39b Working on multiple sources selection: created bounding box decoration,
fixed Switch node in Scene, removed Animation node from scene, created
display mode for Source.
2020-06-13 18:22:32 +02:00
brunoherbelin
69b249e7e0 Fixed Session Render Source (self-referenced session, not global). 2020-06-10 19:41:13 +02:00
brunoherbelin
b9cf0689ec New icons for source representation in Mixing and Layer views. 2020-05-27 22:44:15 +02:00
brunoherbelin
ddace961ae Fixed vertical inversion of clones, rendering output, etc. 2020-05-23 23:29:17 +02:00