uploaded original spice-server-0.12.4 and celt-0.5.1.3
[sdk/emulator/libs/spice-server.git] / server / reds_gl_canvas.c
1 /*
2    Copyright (C) 2011 Red Hat, Inc.
3
4    This library is free software; you can redistribute it and/or
5    modify it under the terms of the GNU Lesser General Public
6    License as published by the Free Software Foundation; either
7    version 2.1 of the License, or (at your option) any later version.
8
9    This library is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12    Lesser General Public License for more details.
13
14    You should have received a copy of the GNU Lesser General Public
15    License along with this library; if not, see <http://www.gnu.org/licenses/>.
16 */
17 #ifdef HAVE_CONFIG_H
18 #include <config.h>
19 #endif
20
21 #include "common/spice_common.h"
22
23 #include "reds_gl_canvas.h"
24 #define SPICE_CANVAS_INTERNAL
25 #define SW_CANVAS_IMAGE_CACHE
26 #include "common/gl_canvas.c"
27 #undef SW_CANVAS_IMAGE_CACHE
28 #undef SPICE_CANVAS_INTERNAL