Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Steve Lhomme
VLC
Commits
780d9bdb
Commit
780d9bdb
authored
Nov 17, 2017
by
Thomas Guillem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl: dump shaders with msg_Dbg
parent
96d50656
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/video_output/opengl/fragment_shaders.c
modules/video_output/opengl/fragment_shaders.c
+1
-1
modules/video_output/opengl/vout_helper.c
modules/video_output/opengl/vout_helper.c
+1
-1
No files found.
modules/video_output/opengl/fragment_shaders.c
View file @
780d9bdb
...
...
@@ -733,7 +733,7 @@ opengl_fragment_shader_init_impl(opengl_tex_converter_t *tc, GLenum tex_target,
tc
->
vt
->
ShaderSource
(
fragment_shader
,
1
,
(
const
char
**
)
&
ms
.
ptr
,
&
length
);
tc
->
vt
->
CompileShader
(
fragment_shader
);
if
(
tc
->
b_dump_shaders
)
fprintf
(
stderr
,
"
\n
=== Fragment shader for fourcc: %4.4s, colorspace: %d ===
\n
%s
\n
"
,
msg_Dbg
(
tc
->
gl
,
"
\n
=== Fragment shader for fourcc: %4.4s, colorspace: %d ===
\n
%s
\n
"
,
(
const
char
*
)
&
chroma
,
yuv_space
,
ms
.
ptr
);
free
(
ms
.
ptr
);
...
...
modules/video_output/opengl/vout_helper.c
View file @
780d9bdb
...
...
@@ -399,7 +399,7 @@ static GLuint BuildVertexShader(const opengl_tex_converter_t *tc,
GLuint
shader
=
tc
->
vt
->
CreateShader
(
GL_VERTEX_SHADER
);
tc
->
vt
->
ShaderSource
(
shader
,
1
,
(
const
char
**
)
&
code
,
NULL
);
if
(
tc
->
b_dump_shaders
)
fprintf
(
stderr
,
"
\n
=== Vertex shader for fourcc: %4.4s ===
\n
%s
\n
"
,
msg_Dbg
(
tc
->
gl
,
"
\n
=== Vertex shader for fourcc: %4.4s ===
\n
%s
\n
"
,
(
const
char
*
)
&
tc
->
fmt
.
i_chroma
,
code
);
tc
->
vt
->
CompileShader
(
shader
);
free
(
code
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment