xserver

xserver with xephyr scale patch
git clone https://git.neptards.moe/u3shit/xserver.git
Log | Files | Refs | README | LICENSE

glamor_egl_stubs.c (1926B)


      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 int
     39 glamor_egl_fd_name_from_pixmap(ScreenPtr screen,
     40                                PixmapPtr pixmap,
     41                                CARD16 *stride, CARD32 *size)
     42 {
     43     return -1;
     44 }
     45 
     46 
     47 int
     48 glamor_egl_fds_from_pixmap(ScreenPtr screen, PixmapPtr pixmap, int *fds,
     49                            uint32_t *offsets, uint32_t *strides,
     50                            uint64_t *modifier)
     51 {
     52     return 0;
     53 }
     54 
     55 int
     56 glamor_egl_fd_from_pixmap(ScreenPtr screen, PixmapPtr pixmap,
     57                           CARD16 *stride, CARD32 *size)
     58 {
     59     return -1;
     60 }