[vlc-commits] [Git][videolan/vlc][master] VLCCVOpenGLProvider: remove vout_helper.h

Alexandre Janniaux (@alexandre-janniaux) gitlab at videolan.org
Mon Jan 27 11:46:52 UTC 2025



Alexandre Janniaux pushed to branch master at VideoLAN / VLC


Commits:
03233bec by Alexandre Janniaux at 2025-01-27T11:01:18+00:00
VLCCVOpenGLProvider: remove vout_helper.h

vout_helper.h was only included to fetch the define from OpenGL, which
can be defined manually here. But vout_helper.h is adding building
dependencies to components like libplacebo which are not used at all in
the module.

- - - - -


1 changed file:

- modules/video_output/apple/VLCCVOpenGLProvider.m


Changes:

=====================================
modules/video_output/apple/VLCCVOpenGLProvider.m
=====================================
@@ -48,10 +48,17 @@
 #import <vlc_picture_pool.h>
 
 #import "codec/vt_utils.h"
-#import "video_output/opengl/vout_helper.h"
 
 #define BUFFER_COUNT 3
 
+#ifndef GL_TEXTURE_RECTANGLE
+# define GL_TEXTURE_RECTANGLE 0x84F5
+#endif
+
+#ifndef GL_BGRA
+# define GL_BGRA 0x80E1
+#endif
+
 struct vlc_cvbuffer {
     CVPixelBufferRef cvpx;
     GLuint           fbo;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/03233bec0dae10d1f57268db42082096b55f3143

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/03233bec0dae10d1f57268db42082096b55f3143
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list