~ubuntu-branches/debian/stretch/spice/stretch

« back to all changes in this revision

Viewing changes to client/red_gl_canvas.cpp

  • Committer: Package Import Robot
  • Author(s): Liang Guo, Liang Guo, Michael Tokarev
  • Date: 2011-11-29 14:37:08 UTC
  • mfrom: (0.5.1) (0.2.2)
  • mto: (2.2.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: package-import@ubuntu.com-20111129143708-ovrce9zj5l6rwi1m
[ Liang Guo ]
* New upstream release (Closes: #651262)
* Refresh debian/copyright
* Remove fix-typo-in-cmd_line_parser-cpp.patch, applied upstream
* Remove fix-typo-in-record-cpp.patch, applied upstream
* Remove use-requires-private-for-libspice-pkgconfig.patch, applied upstream
* Change Build-Depends on libspice-protocol-dev to (>= 0.9.1~)
* Refresh libspice-server1.symbols
* Update debian/rules clean target
* Ignore common/win/my_getopt-1.5/Makefile change when building package
* debian/control: set DMUA

[ Michael Tokarev ]
* use `rm -f' instead of `-rm' in debian/rules clean targets
* remove python_modules/*.pyc in clean target

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
   You should have received a copy of the GNU Lesser General Public
15
15
   License along with this library; if not, see <http://www.gnu.org/licenses/>.
16
16
*/
 
17
#ifdef HAVE_CONFIG_H
 
18
#include <config.h>
 
19
#endif
17
20
 
18
21
#include "common.h"
19
22
#include <stdint.h>
24
27
#include "red_pixmap_gl.h"
25
28
#include <GL/glx.h>
26
29
 
 
30
#define SPICE_CANVAS_INTERNAL
 
31
#define SW_CANVAS_CACHE
 
32
#include "gl_canvas.c"
 
33
#undef SW_CANVAS_CACHE
 
34
#undef SPICE_CANVAS_INTERNAL
 
35
 
27
36
GCanvas::GCanvas(int width, int height, uint32_t format, RedWindow *win,
28
37
                 RenderType rendertype,
29
38
                 PixmapCache& pixmap_cache, PaletteCache& palette_cache,