Path: blob/21.2-virgl/src/gallium/winsys/svga/drm/svga_drm_public.h
4573 views
/**********************************************************1* Copyright 2010-2015 VMware, Inc. All rights reserved.2*3* Permission is hereby granted, free of charge, to any person4* obtaining a copy of this software and associated documentation5* files (the "Software"), to deal in the Software without6* restriction, including without limitation the rights to use, copy,7* modify, merge, publish, distribute, sublicense, and/or sell copies8* of the Software, and to permit persons to whom the Software is9* furnished to do so, subject to the following conditions:10*11* The above copyright notice and this permission notice shall be12* included in all copies or substantial portions of the Software.13*14* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,15* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF16* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND17* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS18* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN19* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN20* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE21* SOFTWARE.22*23**********************************************************/2425/**26* @file27* VMware SVGA DRM winsys public interface. Used by targets to create a stack.28*29* @author Jakob Bornecrantz Fonseca <[email protected]>30*/3132#ifndef SVGA_DRM_PUBLIC_H_33#define SVGA_DRM_PUBLIC_H_3435struct svga_winsys_screen;3637struct svga_winsys_screen *38svga_drm_winsys_screen_create(int fd);3940#endif /* SVGA_PUBLIC_H_ */414243