~ubuntu-branches/debian/jessie/gnome-shell/jessie

« back to all changes in this revision

Viewing changes to src/gnome-shell-plugin.c

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2012-05-30 20:56:52 UTC
  • Revision ID: package-import@ubuntu.com-20120530205652-cr4w3zus93e5ac7a
Tags: 3.4.1-5
Disabling the screen recorder on arm{el,hf} was not sufficient to make it
build everywhere since the screen grabber is also used for making
screenshots. Update debian/patches/14_make-GLX-optional.patch instead and
only use pixel buffers in the screen grabber if we have GL/GLX support.
This means we can re-enable the screen recorder on arm{el,hf} as it will
use the slow, cogl-based path there.

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
  MetaScreen *screen;
153
153
  MetaDisplay *display;
154
154
  Display *xdisplay;
 
155
  const char *glx_extensions;
155
156
#endif
156
157
  GError *error = NULL;
157
158
  int status;
158
 
#ifdef HAVE_GLX
159
 
  const char *glx_extensions;
160
 
#endif
161
159
  GjsContext *gjs_context;
162
160
 
163
161
#ifdef HAVE_GLX