tizen 2.4 release
[framework/uifw/xorg/server/xorg-server.git] / glamor / glamor_egl_stubs.c
1 /*
2  * Copyright © 2013 Intel Corporation
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a
5  * copy of this software and associated documentation files (the "Software"),
6  * to deal in the Software without restriction, including without limitation
7  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8  * and/or sell copies of the Software, and to permit persons to whom the
9  * Software is furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice (including the next
12  * paragraph) shall be included in all copies or substantial portions of the
13  * Software.
14  *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
18  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21  * IN THE SOFTWARE.
22  */
23
24 /** @file glamor_egl_stubs.c
25  *
26  * Stubbed out glamor_egl.c functions for servers other than Xorg.
27  */
28
29 #include "dix-config.h"
30
31 #include "glamor.h"
32
33 void
34 glamor_egl_screen_init(ScreenPtr screen, struct glamor_context *glamor_ctx)
35 {
36 }
37
38 void
39 glamor_egl_destroy_textured_pixmap(PixmapPtr pixmap)
40 {
41 }
42
43 int
44 glamor_egl_dri3_fd_name_from_tex(ScreenPtr screen,
45                                  PixmapPtr pixmap,
46                                  unsigned int tex,
47                                  Bool want_name, CARD16 *stride, CARD32 *size)
48 {
49     return 0;
50 }
51
52 unsigned int
53 glamor_egl_create_argb8888_based_texture(ScreenPtr screen, int w, int h)
54 {
55     return 0;
56 }