175143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu/* 275143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * Mesa 3-D graphics library 375143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * Version: 7.9 475143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * 575143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * Copyright (C) 2010 LunarG Inc. 675143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * 775143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * Permission is hereby granted, free of charge, to any person obtaining a 875143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * copy of this software and associated documentation files (the "Software"), 975143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * to deal in the Software without restriction, including without limitation 1075143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * the rights to use, copy, modify, merge, publish, distribute, sublicense, 1175143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * and/or sell copies of the Software, and to permit persons to whom the 1275143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * Software is furnished to do so, subject to the following conditions: 1375143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * 1475143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * The above copyright notice and this permission notice shall be included 1575143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * in all copies or substantial portions of the Software. 1675143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * 1775143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1875143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1975143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 2075143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 2175143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 2275143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 2375143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * DEALINGS IN THE SOFTWARE. 2475143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * 2575143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * Authors: 2675143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu * Chia-I Wu <olv@lunarg.com> 2775143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu */ 2875143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu 2975143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu#ifndef API_H 3075143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu#define API_H 3175143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu 3275143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu#include "VG/openvg.h" 3375143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu#include "VG/vgext.h" 3475143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu#include "vg_manager.h" 3575143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu 368f2a974cf2c9b6c00dfac11be4316a7d121dfbb4Chia-I Wu#include "api_tmp.h" 3775143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu 3875143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wustruct mapi_table; 3975143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu 4075143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wustruct mapi_table *api_create_dispatch(void); 4175143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu 4275143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wuvoid api_destroy_dispatch(struct mapi_table *tbl); 4375143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu 4475143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wuvoid api_make_dispatch_current(const struct mapi_table *tbl); 4575143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu 4675143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wust_proc_t api_get_proc_address(const char *proc_name); 4775143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu 4875143ef05576ee9f25ee176bc28c3c4d03705bf5Chia-I Wu#endif /* API_H */ 49