Commit Graph
1244 Commits
Author SHA1 Message Date
luzpaz 01536f9865 Fix various typos in code comments (#1670) [skip ci]
Found via `codespell -q 3 -S *.ts,*.xml -L ba,keypair,numer,uint`
2021-07-13 13:54:30 +02:00
itsmattkc 8b2285513f timeline: use sample rate for waveform offset at all times 2021-07-09 18:42:51 -07:00
itsmattkc 401d69954c timeline: ignore drop event if no ghosts were made 2021-06-16 17:18:35 -07:00
itsmattkc 08e2fa4d8e renderer: generate audio waveforms in render threads
Solves UI lag issues with long audio sequences.
2021-06-11 23:30:55 -07:00
itsmattkc 48828d6632 timeline: invalidate after place operation
Fixes regression introduced in ef206e9532
Fixes #1654
2021-06-07 10:15:30 +10:00
itsmattkc ef206e9532 timeline: use operation when placing block
Fixes unnecessary length change of caches.
2021-05-30 11:30:03 +10:00
itsmattkc ae3393f031 opengl: use shared contexts and downgrade to ES 2.0 (BIG CHANGE)
If you run into new OpenGL issues, this is likely the commit that caused it.
I've tested this on as many systems as I have access to (including AMD, Apple,
Intel, and NVIDIA GPUs with a mixture of Windows, Linux, and macOS) and it
appears to work fine, however we all know how unpredictable GPUs can be.
This should help increase GPU performance and compatibility.

Squashed commit of the following:

commit fa3c0ac7c469aebe2941a803736bdc06cdd5a2d8
Author: itsmattkc <itsmattkc@gmail.com>
Date:   Thu May 27 13:17:44 2021 +1000

    viewer: updated pixel sampling for shared contexts

commit 9334261da235f09cb67b193c5bb6169abd7a95f7
Author: itsmattkc <itsmattkc@gmail.com>
Date:   Thu May 27 13:12:39 2021 +1000

    pixelsampler: show color preview box

commit dacd9be6971c5c0312ae45c8db349d47910a80dd
Author: itsmattkc <itsmattkc@gmail.com>
Date:   Thu May 27 12:43:32 2021 +1000

    renderer: interlace on GPU

commit 074cea06cb87e9fdc4e8ea6b09587be6df296057
Author: itsmattkc <itsmattkc@gmail.com>
Date:   Thu May 27 12:43:14 2021 +1000

    renderer: added texture clear option

commit 5d4f86b4cf1b1dcd3fb8e8c854ffa7f6fb8ca346
Author: itsmattkc <itsmattkc@gmail.com>
Date:   Thu May 27 12:42:12 2021 +1000

    renderer: updated scopes for shared textures

commit 6fad96358d189874cf45f7887b7e13cc2b1603c4
Author: itsmattkc <itsmattkc@gmail.com>
Date:   Thu May 27 11:42:05 2021 +1000

    opengl: fixed edge case

commit 1a19ffb53703ac6f30ed210f6d8eb5fc4b7b0f2d
Author: itsmattkc <itsmattkc@gmail.com>
Date:   Thu May 27 10:56:13 2021 +1000

    opengl: fix deinterlace shader

commit 085961aa39cca90ebf51b919a78ef07a4882f0e1
Author: itsmattkc <itsmattkc@gmail.com>
Date:   Thu May 27 10:08:40 2021 +1000

    opengl: downgrade to ES 2.0

    With half-float/float/3D extensions, this should be doable

commit ea1ab45cbcf5e017dfd0d8f28b231ff3255dfe92
Author: itsmattkc <itsmattkc@gmail.com>
Date:   Thu May 27 10:06:59 2021 +1000

    renderer: fixed mutex deadlock

commit ecc2f08b16f03421870c5b61625ecd26f2f96582
Author: itsmattkc <itsmattkc@gmail.com>
Date:   Wed May 26 21:28:13 2021 +1000

    opengl: fixed shared contexts

commit 261c689ea8089463155cf11b9ab15aa3f879f439
Merge: bfd4338a 91c88b1c
Author: itsmattkc <itsmattkc@gmail.com>
Date:   Wed May 26 19:52:00 2021 +1000

    Merge branch 'master' into shared-contexts

commit bfd4338aaa3b09b6fbb7717c637face8d5490721
Author: itsmattkc <itsmattkc@gmail.com>
Date:   Wed May 26 18:52:38 2021 +1000

    viewer: remove debug line

commit 45868d8a396181bf81c24b92a1ac5ce9ffed3426
Merge: 642f8e9d d0bd5e21
Author: itsmattkc <itsmattkc@gmail.com>
Date:   Wed May 26 17:21:48 2021 +1000

    Merge branch 'master' into shared-contexts

commit 642f8e9df7d7d1a9ed4202d428f4d968ff668552
Merge: 861e5b89 4de0a727
Author: itsmattkc <itsmattkc@gmail.com>
Date:   Wed May 26 17:01:38 2021 +1000

    Merge branch 'master' of https://github.com/olive-editor/olive into shared-contexts

commit 861e5b89a38c281897dc44b20e3587d39c4f808c
Merge: 472598a7 ef31c3fb
Author: itsmattkc <itsmattkc@gmail.com>
Date:   Wed May 26 14:28:21 2021 +1000

    Merge branch 'master' into shared-contexts

commit 472598a740a095aa43a4aad5680dd5abcf453a4c
Author: itsmattkc <itsmattkc@gmail.com>
Date:   Fri May 14 16:29:35 2021 +1000

    attempt at sharing contexts
2021-05-29 20:02:45 +10:00
itsmattkc 3592982b16 timeline: fixed dodgy code on gap insert command
Also added test for this command to help ensure correct behavior.
2021-05-29 20:02:16 +10:00
itsmattkc d13f68593b audiomonitor: fix param sync issue that caused crashes 2021-05-26 18:00:12 +10:00
itsmattkc d0bd5e2142 nodeparamview: fix crash when inserting color keyframe 2021-05-26 17:03:49 +10:00
itsmattkc 2d53e35e7c keyframeviewbase: null check to fix crash 2021-05-26 17:03:11 +10:00
itsmattkc 09dc79f9f6 project: remove array element when deleting a folder's subitem
Fixes #1639
2021-05-23 10:38:30 +10:00
itsmattkc 6ff9ab9f54 menu: added hidden secondary delete option to pick up backspace shortcut 2021-05-23 10:16:39 +10:00
itsmattkc a0f26fcc7b timelineview: don't playheadpress if tool is kAdd 2021-05-21 10:47:05 +10:00
itsmattkc e21d4ab0d7 nodes: revised text node
Clarifies text node's ability to parse HTML with Qt.
Removes janky incomplete "rich text editing" functionality. I don't think this is the right approach.
2021-05-21 10:46:35 +10:00
itsmattkc a7ac1750ae nodeparamview: disable default QMainWindow popup menu
Fixes #1638
2021-05-21 10:07:54 +10:00
itsmattkc cc21ed37a7 implemented core subtitle support 2021-05-18 12:42:47 +10:00
itsmattkc a0072cbb75 nodeparamview: get track value rather than combined value when inserting keyframe
Fixes #1631
2021-05-14 09:56:47 +10:00
itsmattkc 58d062ad75 viewer: run queue if windows are still active
Fixes #1628
2021-05-12 11:10:08 +10:00
itsmattkc 72d5b4af86 nodeview: enable mouse tracking at all times
Slightly less efficient, but fixes #1618, a seemingly
Linux-exclusive Qt bug which caused strange drag issues.
2021-05-11 11:16:59 +10:00
itsmattkc 72ed87d923 ui: scroll zoom preference now specific to widget
Fixes #1597
2021-05-10 12:07:15 +10:00
itsmattkc 94b2cebeea ui: merged nodeview/timelineview scrolling code
Greatly improves code quality and maintainability
2021-05-10 11:15:37 +10:00
itsmattkc 1c983f6b8c nodeparamview: focus next best node when node is removed
Fixes #1616
2021-05-10 10:52:34 +10:00
itsmattkc 964129bb08 viewer: further improvements to auto-cache logic 2021-05-09 18:15:56 +10:00
itsmattkc 029b826f90 slider: change ctrl and shift modifiers
Ctrl now does * 0.01 and shift does * 100.
2021-05-08 09:39:21 +10:00
itsmattkc 4b58d55d90 scope: ensure texture is updated from channel count too
Fixes #1610
2021-05-07 16:26:02 +10:00
itsmattkc f3c3b2eecf viewer: added default parameter
Minor code enhancement
2021-05-07 16:26:02 +10:00
itsmattkc 01f4cd4d16 viewer: update the display even if the frame hasn't changed
Fixes #1611
2021-05-07 16:26:02 +10:00
itsmattkc 84847e0939 viewer: set display image to null when disconnecting viewer node 2021-05-05 19:07:34 +10:00
itsmattkc dedc189ebf sliders: make certain set functions slots 2021-05-05 18:58:51 +10:00
itsmattkc e219941147 viewer: don't use const ref after popping 2021-05-05 18:54:49 +10:00
itsmattkc ee90d89ef4 viewer: move set code lower and return 2021-05-05 12:53:42 +10:00
itsmattkc 7945a6b58a viewer: show last frame in queue even if queue cannot keep up
It's better than nothing
2021-05-05 12:49:29 +10:00
itsmattkc 367293e253 viewer: hardcode playback queue number
Doesn't make sense to base this on thread count because lower thread computers need this more than higher thread computers
2021-05-05 12:06:15 +10:00
itsmattkc 105655b3d9 nodeview: don't use other input's type for reconnecting nodes, just use traverser heuristic
Fixes #1607
2021-05-05 11:41:56 +10:00
itsmattkc 5af00496c5 viewer: fixed crash on destruction when interlacing 2021-05-03 22:06:57 +10:00
itsmattkc 6d2eeb7409 viewer: upload texture in paint command
Fix potential crash a texture is set before the OpenGL context is initialized
2021-05-03 17:50:16 +10:00
itsmattkc abf1eff866 add ability to enter custom frame rates
We ain't gatekeeping frame rates
2021-05-03 17:49:47 +10:00
itsmattkc 7ca236d57f viewer: don't clear fps timer until time changes 2021-05-03 14:26:44 +10:00
itsmattkc 339447faca playbackcontrols: forced consistent button sizes 2021-05-03 13:54:37 +10:00
itsmattkc b2835b77df viewer: fixed crash caused by setting interlace mode before opengl instance was initialized 2021-05-03 13:54:13 +10:00
itsmattkc 0b259d3a63 viewer: don't clear video queue on single frame retrieval
No real need for this now that we have `prioritize` built into the function
2021-05-01 10:16:33 +10:00
itsmattkc b82e616124 previewautocache/viewer: improvements to cooperation between cache and viewer 2021-04-30 00:59:51 +10:00
itsmattkc 8a850dac9f viewer: smarter pre-queuing 2021-04-29 23:56:42 +10:00
itsmattkc 27ba4899ca viewer: various minor improvements 2021-04-29 22:30:52 +10:00
itsmattkc 2a1cbc5a25 viewer: fixed crop matrix for export dialog 2021-04-29 00:31:19 +10:00
itsmattkc 502b5971f9 nodeview: only remove dragged edge if arrow was dragged 2021-04-29 00:21:53 +10:00
itsmattkc bd93115e6e viewer: don't queue frames after the end of the sequence 2021-04-28 18:20:37 +10:00
itsmattkc 7abe6127e6 viewer: don't add 0 frame rates to the FPS counter
Slight improvement to FPS count accuracy
2021-04-28 18:20:21 +10:00
itsmattkc 51ccaedc78 render: implemented frame pool
Optimization
2021-04-28 17:31:25 +10:00