sphor_config.h (1786B)
1 /* Copyright (C) 2024-2026 Centre National de la Recherche Scientifique 2 * Copyright (C) 2024-2026 Clermont Auvergne INP 3 * Copyright (C) 2024-2026 INSA Lyon 4 * Copyright (C) 2024-2026 Institut Mines Télécom Albi-Carmaux 5 * Copyright (C) 2024-2026 Institut National Polytechnique de Toulouse 6 * Copyright (C) 2024-2026 |Méso|Star> (contact@meso-star.com) 7 * Copyright (C) 2024-2026 PhotonLyX (info@photonlyx.com) 8 * Copyright (C) 2024-2026 Université de Lorraine 9 * Copyright (C) 2024-2026 Université Paul Sabatier 10 * Copyright (C) 2024-2026 Université Toulouse - Jean Jaurès 11 * 12 * This program is free software: you can redistribute it and/or modify 13 * it under the terms of the GNU General Public License as published by 14 * the Free Software Foundation, either version 3 of the License, or 15 * (at your option) any later version. 16 * 17 * This program is distributed in the hope that it will be useful, 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 * GNU General Public License for more details. 21 * 22 * You should have received a copy of the GNU General Public License 23 * along with this program. If not, see <http://www.gnu.org/licenses/>. */ 24 25 #ifndef SPHOR_CONFIG_H 26 #define SPHOR_CONFIG_H 27 28 #include <rsys/rsys.h> 29 30 extern LOCAL_SYM res_T 31 setup_config 32 (struct sphor* sphor, 33 const struct sphor_create_args* args); 34 35 extern LOCAL_SYM void 36 setup_triangle 37 (const struct sphin_geometry_descriptor* geom_desc, 38 const size_t itri, 39 struct suniq_triangle* tri); 40 41 extern LOCAL_SYM res_T 42 setup_geometry_accel_struct 43 (struct sphor* sphor, 44 struct suniq* suniq, 45 const int view_mask, /* Combination of s3d_scene_view flags */ 46 struct s3d_scene_view** out_view); 47 48 #endif /* SPHOR_CONFIG_H */