19f464c52Smaya/* 29f464c52Smaya * Copyright (C) 2018 Alyssa Rosenzweig 39f464c52Smaya * 49f464c52Smaya * Permission is hereby granted, free of charge, to any person obtaining a 59f464c52Smaya * copy of this software and associated documentation files (the "Software"), 69f464c52Smaya * to deal in the Software without restriction, including without limitation 79f464c52Smaya * the rights to use, copy, modify, merge, publish, distribute, sublicense, 89f464c52Smaya * and/or sell copies of the Software, and to permit persons to whom the 99f464c52Smaya * Software is furnished to do so, subject to the following conditions: 109f464c52Smaya * 119f464c52Smaya * The above copyright notice and this permission notice (including the next 129f464c52Smaya * paragraph) shall be included in all copies or substantial portions of the 139f464c52Smaya * Software. 149f464c52Smaya * 159f464c52Smaya * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 169f464c52Smaya * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 179f464c52Smaya * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 189f464c52Smaya * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 199f464c52Smaya * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 209f464c52Smaya * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 219f464c52Smaya * SOFTWARE. 229f464c52Smaya */ 239f464c52Smaya 249f464c52Smaya#ifndef PAN_PUBLIC_H 259f464c52Smaya#define PAN_PUBLIC_H 269f464c52Smaya 279f464c52Smaya#ifdef __cplusplus 289f464c52Smayaextern "C" { 299f464c52Smaya#endif 309f464c52Smaya 319f464c52Smayastruct pipe_screen; 329f464c52Smayastruct renderonly; 339f464c52Smaya 349f464c52Smayastruct pipe_screen * 359f464c52Smayapanfrost_create_screen(int fd, struct renderonly *ro); 369f464c52Smaya 379f464c52Smaya#ifdef __cplusplus 389f464c52Smaya} 399f464c52Smaya#endif 409f464c52Smaya 419f464c52Smaya#endif 42