From: gb Date: Thu, 1 Apr 2010 13:55:19 +0000 (+0000) Subject: Shorter structs. X-Git-Tag: accepted/trunk/20120822.173359~535 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9075c8d23def829426538c3b6d7271beb747ca1d;p=profile%2Fivi%2Fgstreamer-vaapi.git Shorter structs. --- diff --git a/gst-libs/gst/vaapi/gstvaapiutils_glx.h b/gst-libs/gst/vaapi/gstvaapiutils_glx.h index a13adbd..58b85b4 100644 --- a/gst-libs/gst/vaapi/gstvaapiutils_glx.h +++ b/gst-libs/gst/vaapi/gstvaapiutils_glx.h @@ -71,7 +71,7 @@ struct _GLContextState { Window window; XVisualInfo *visual; GLXContext context; - guint swapped_buffers; + guint swapped_buffers : 1; }; GLContextState * @@ -96,10 +96,10 @@ gl_swap_buffers(GLContextState *cs) typedef struct _GLTextureState GLTextureState; struct _GLTextureState { - gboolean was_enabled; - gboolean was_bound; GLenum target; GLuint old_texture; + guint was_enabled : 1; + guint was_bound : 1; }; gboolean