Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLMC
Manage
Activity
Members
Labels
Plan
Issues
26
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLMC
Commits
aec6a344
Commit
aec6a344
authored
8 years ago
by
luyikei
Committed by
Hugo Beauzée-Luyssen
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
GenericRenderer Implement setRenderTarget
Signed-off-by:
Hugo Beauzée-Luyssen
<
hugo@beauzee.fr
>
parent
b646076c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Renderer/GenericRenderer.cpp
+6
-0
6 additions, 0 deletions
src/Renderer/GenericRenderer.cpp
src/Renderer/GenericRenderer.h
+6
-1
6 additions, 1 deletion
src/Renderer/GenericRenderer.h
with
12 additions
and
1 deletion
src/Renderer/GenericRenderer.cpp
+
6
−
0
View file @
aec6a344
...
...
@@ -50,6 +50,12 @@ GenericRenderer::isRendering() const
return
m_isRendering
;
}
void
GenericRenderer
::
setRenderTarget
(
std
::
unique_ptr
<
Backend
::
IRenderTarget
>
target
)
{
m_renderTarget
=
std
::
move
(
target
);
}
#ifdef WITH_GUI
RendererEventWatcher
*
GenericRenderer
::
eventWatcher
()
...
...
This diff is collapsed.
Click to expand it.
src/Renderer/GenericRenderer.h
+
6
−
1
View file @
aec6a344
...
...
@@ -24,11 +24,12 @@
#define GENERICRENDERER_H
#include
"config.h"
#include
<memory>
#include
<QObject>
#include
"Workflow/Types.h"
#include
"Tools/RendererEventWatcher.h"
#include
"Backend/IRenderTarget.h"
class
Clip
;
class
Media
;
...
...
@@ -135,6 +136,8 @@ public:
*/
bool
isRendering
()
const
;
void
setRenderTarget
(
std
::
unique_ptr
<
Backend
::
IRenderTarget
>
target
);
RendererEventWatcher
*
eventWatcher
();
protected:
Backend
::
ISourceRenderer
*
m_sourceRenderer
;
...
...
@@ -150,6 +153,8 @@ protected:
bool
m_paused
;
bool
m_isRendering
;
std
::
unique_ptr
<
Backend
::
IRenderTarget
>
m_renderTarget
;
public
slots
:
/**
* \brief This SLOT will be called when the time cursor has changed.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment