[vlc-devel] commit: vout_macosx: The view is Opaque. (Pierre d'Herbemont )

git version control git at videolan.org
Thu Dec 31 17:08:52 CET 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Dec 31 16:50:11 2009 +0100| [d254ae089ff54859977c0ea8129a84340932efbe] | committer: Pierre d'Herbemont 

vout_macosx: The view is Opaque.

This may actually save some CPU cycle.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d254ae089ff54859977c0ea8129a84340932efbe
---

 modules/video_output/macosx.m |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m
index 4f4f9be..ce341f9 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -480,4 +480,9 @@ static void OpenglSwap(vout_opengl_t *gl)
 {
     return YES;
 }
+
+- (BOOL)isOpaque
+{
+    return YES;
+}
 @end




More information about the vlc-devel mailing list