1bf215546Sopenharmony_ci# Copyright © 2017 Dylan Baker 2bf215546Sopenharmony_ci 3bf215546Sopenharmony_ci# Permission is hereby granted, free of charge, to any person obtaining a copy 4bf215546Sopenharmony_ci# of this software and associated documentation files (the "Software"), to deal 5bf215546Sopenharmony_ci# in the Software without restriction, including without limitation the rights 6bf215546Sopenharmony_ci# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7bf215546Sopenharmony_ci# copies of the Software, and to permit persons to whom the Software is 8bf215546Sopenharmony_ci# furnished to do so, subject to the following conditions: 9bf215546Sopenharmony_ci 10bf215546Sopenharmony_ci# The above copyright notice and this permission notice shall be included in 11bf215546Sopenharmony_ci# all copies or substantial portions of the Software. 12bf215546Sopenharmony_ci 13bf215546Sopenharmony_ci# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14bf215546Sopenharmony_ci# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15bf215546Sopenharmony_ci# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16bf215546Sopenharmony_ci# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17bf215546Sopenharmony_ci# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18bf215546Sopenharmony_ci# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19bf215546Sopenharmony_ci# SOFTWARE. 20bf215546Sopenharmony_ci 21bf215546Sopenharmony_cifiles_libgallium = files( 22bf215546Sopenharmony_ci 'cso_cache/cso_cache.c', 23bf215546Sopenharmony_ci 'cso_cache/cso_cache.h', 24bf215546Sopenharmony_ci 'cso_cache/cso_context.c', 25bf215546Sopenharmony_ci 'cso_cache/cso_context.h', 26bf215546Sopenharmony_ci 'cso_cache/cso_hash.c', 27bf215546Sopenharmony_ci 'cso_cache/cso_hash.h', 28bf215546Sopenharmony_ci 'draw/draw_cliptest_tmp.h', 29bf215546Sopenharmony_ci 'draw/draw_context.c', 30bf215546Sopenharmony_ci 'draw/draw_context.h', 31bf215546Sopenharmony_ci 'draw/draw_decompose_tmp.h', 32bf215546Sopenharmony_ci 'draw/draw_fs.c', 33bf215546Sopenharmony_ci 'draw/draw_fs.h', 34bf215546Sopenharmony_ci 'draw/draw_gs.c', 35bf215546Sopenharmony_ci 'draw/draw_gs.h', 36bf215546Sopenharmony_ci 'draw/draw_gs_tmp.h', 37bf215546Sopenharmony_ci 'draw/draw_pipe_aaline.c', 38bf215546Sopenharmony_ci 'draw/draw_pipe_aapoint.c', 39bf215546Sopenharmony_ci 'draw/draw_pipe.c', 40bf215546Sopenharmony_ci 'draw/draw_pipe.h', 41bf215546Sopenharmony_ci 'draw/draw_pipe_clip.c', 42bf215546Sopenharmony_ci 'draw/draw_pipe_cull.c', 43bf215546Sopenharmony_ci 'draw/draw_pipe_flatshade.c', 44bf215546Sopenharmony_ci 'draw/draw_pipe_offset.c', 45bf215546Sopenharmony_ci 'draw/draw_pipe_pstipple.c', 46bf215546Sopenharmony_ci 'draw/draw_pipe_stipple.c', 47bf215546Sopenharmony_ci 'draw/draw_pipe_twoside.c', 48bf215546Sopenharmony_ci 'draw/draw_pipe_unfilled.c', 49bf215546Sopenharmony_ci 'draw/draw_pipe_user_cull.c', 50bf215546Sopenharmony_ci 'draw/draw_pipe_util.c', 51bf215546Sopenharmony_ci 'draw/draw_pipe_validate.c', 52bf215546Sopenharmony_ci 'draw/draw_pipe_vbuf.c', 53bf215546Sopenharmony_ci 'draw/draw_pipe_wide_line.c', 54bf215546Sopenharmony_ci 'draw/draw_pipe_wide_point.c', 55bf215546Sopenharmony_ci 'draw/draw_prim_assembler.c', 56bf215546Sopenharmony_ci 'draw/draw_prim_assembler.h', 57bf215546Sopenharmony_ci 'draw/draw_prim_assembler_tmp.h', 58bf215546Sopenharmony_ci 'draw/draw_private.h', 59bf215546Sopenharmony_ci 'draw/draw_pt.c', 60bf215546Sopenharmony_ci 'draw/draw_pt_decompose.h', 61bf215546Sopenharmony_ci 'draw/draw_pt_emit.c', 62bf215546Sopenharmony_ci 'draw/draw_pt_fetch.c', 63bf215546Sopenharmony_ci 'draw/draw_pt_fetch_shade_emit.c', 64bf215546Sopenharmony_ci 'draw/draw_pt_fetch_shade_pipeline.c', 65bf215546Sopenharmony_ci 'draw/draw_pt.h', 66bf215546Sopenharmony_ci 'draw/draw_pt_post_vs.c', 67bf215546Sopenharmony_ci 'draw/draw_pt_so_emit.c', 68bf215546Sopenharmony_ci 'draw/draw_pt_util.c', 69bf215546Sopenharmony_ci 'draw/draw_pt_vsplit.c', 70bf215546Sopenharmony_ci 'draw/draw_pt_vsplit_tmp.h', 71bf215546Sopenharmony_ci 'draw/draw_so_emit_tmp.h', 72bf215546Sopenharmony_ci 'draw/draw_split_tmp.h', 73bf215546Sopenharmony_ci 'draw/draw_tess.c', 74bf215546Sopenharmony_ci 'draw/draw_tess.h', 75bf215546Sopenharmony_ci 'draw/draw_vbuf.h', 76bf215546Sopenharmony_ci 'draw/draw_vertex.c', 77bf215546Sopenharmony_ci 'draw/draw_vertex.h', 78bf215546Sopenharmony_ci 'draw/draw_vs.c', 79bf215546Sopenharmony_ci 'draw/draw_vs_exec.c', 80bf215546Sopenharmony_ci 'draw/draw_vs.h', 81bf215546Sopenharmony_ci 'draw/draw_vs_variant.c', 82bf215546Sopenharmony_ci 'driver_ddebug/dd_context.c', 83bf215546Sopenharmony_ci 'driver_ddebug/dd_draw.c', 84bf215546Sopenharmony_ci 'driver_ddebug/dd_pipe.h', 85bf215546Sopenharmony_ci 'driver_ddebug/dd_public.h', 86bf215546Sopenharmony_ci 'driver_ddebug/dd_screen.c', 87bf215546Sopenharmony_ci 'driver_ddebug/dd_util.h', 88bf215546Sopenharmony_ci 'driver_noop/noop_pipe.c', 89bf215546Sopenharmony_ci 'driver_noop/noop_public.h', 90bf215546Sopenharmony_ci 'driver_noop/noop_state.c', 91bf215546Sopenharmony_ci 'driver_rbug/rbug_context.c', 92bf215546Sopenharmony_ci 'driver_rbug/rbug_context.h', 93bf215546Sopenharmony_ci 'driver_rbug/rbug_core.c', 94bf215546Sopenharmony_ci 'driver_rbug/rbug_objects.c', 95bf215546Sopenharmony_ci 'driver_rbug/rbug_objects.h', 96bf215546Sopenharmony_ci 'driver_rbug/rbug_public.h', 97bf215546Sopenharmony_ci 'driver_rbug/rbug_screen.c', 98bf215546Sopenharmony_ci 'driver_rbug/rbug_screen.h', 99bf215546Sopenharmony_ci 'driver_trace/tr_context.c', 100bf215546Sopenharmony_ci 'driver_trace/tr_context.h', 101bf215546Sopenharmony_ci 'driver_trace/tr_dump.c', 102bf215546Sopenharmony_ci 'driver_trace/tr_dump_defines.h', 103bf215546Sopenharmony_ci 'driver_trace/tr_dump.h', 104bf215546Sopenharmony_ci 'driver_trace/tr_dump_state.c', 105bf215546Sopenharmony_ci 'driver_trace/tr_dump_state.h', 106bf215546Sopenharmony_ci 'driver_trace/tr_public.h', 107bf215546Sopenharmony_ci 'driver_trace/tr_screen.c', 108bf215546Sopenharmony_ci 'driver_trace/tr_screen.h', 109bf215546Sopenharmony_ci 'driver_trace/tr_texture.c', 110bf215546Sopenharmony_ci 'driver_trace/tr_texture.h', 111bf215546Sopenharmony_ci 'hud/font.c', 112bf215546Sopenharmony_ci 'hud/font.h', 113bf215546Sopenharmony_ci 'hud/hud_context.c', 114bf215546Sopenharmony_ci 'hud/hud_context.h', 115bf215546Sopenharmony_ci 'hud/hud_cpu.c', 116bf215546Sopenharmony_ci 'hud/hud_nic.c', 117bf215546Sopenharmony_ci 'hud/hud_cpufreq.c', 118bf215546Sopenharmony_ci 'hud/hud_diskstat.c', 119bf215546Sopenharmony_ci 'hud/hud_sensors_temp.c', 120bf215546Sopenharmony_ci 'hud/hud_driver_query.c', 121bf215546Sopenharmony_ci 'hud/hud_fps.c', 122bf215546Sopenharmony_ci 'hud/hud_private.h', 123bf215546Sopenharmony_ci 'os/os_mman.h', 124bf215546Sopenharmony_ci 'os/os_process.c', 125bf215546Sopenharmony_ci 'os/os_process.h', 126bf215546Sopenharmony_ci 'os/os_thread.h', 127bf215546Sopenharmony_ci 'pipebuffer/pb_buffer_fenced.c', 128bf215546Sopenharmony_ci 'pipebuffer/pb_buffer_fenced.h', 129bf215546Sopenharmony_ci 'pipebuffer/pb_buffer.h', 130bf215546Sopenharmony_ci 'pipebuffer/pb_bufmgr_cache.c', 131bf215546Sopenharmony_ci 'pipebuffer/pb_bufmgr_debug.c', 132bf215546Sopenharmony_ci 'pipebuffer/pb_bufmgr.h', 133bf215546Sopenharmony_ci 'pipebuffer/pb_bufmgr_mm.c', 134bf215546Sopenharmony_ci 'pipebuffer/pb_bufmgr_slab.c', 135bf215546Sopenharmony_ci 'pipebuffer/pb_cache.c', 136bf215546Sopenharmony_ci 'pipebuffer/pb_cache.h', 137bf215546Sopenharmony_ci 'pipebuffer/pb_slab.c', 138bf215546Sopenharmony_ci 'pipebuffer/pb_slab.h', 139bf215546Sopenharmony_ci 'pipebuffer/pb_validate.c', 140bf215546Sopenharmony_ci 'pipebuffer/pb_validate.h', 141bf215546Sopenharmony_ci 'postprocess/filters.h', 142bf215546Sopenharmony_ci 'postprocess/postprocess.h', 143bf215546Sopenharmony_ci 'postprocess/pp_celshade.c', 144bf215546Sopenharmony_ci 'postprocess/pp_celshade.h', 145bf215546Sopenharmony_ci 'postprocess/pp_colors.c', 146bf215546Sopenharmony_ci 'postprocess/pp_colors.h', 147bf215546Sopenharmony_ci 'postprocess/pp_filters.h', 148bf215546Sopenharmony_ci 'postprocess/pp_init.c', 149bf215546Sopenharmony_ci 'postprocess/pp_mlaa_areamap.h', 150bf215546Sopenharmony_ci 'postprocess/pp_mlaa.c', 151bf215546Sopenharmony_ci 'postprocess/pp_mlaa.h', 152bf215546Sopenharmony_ci 'postprocess/pp_private.h', 153bf215546Sopenharmony_ci 'postprocess/pp_program.c', 154bf215546Sopenharmony_ci 'postprocess/pp_run.c', 155bf215546Sopenharmony_ci 'rbug/rbug_connection.c', 156bf215546Sopenharmony_ci 'rbug/rbug_connection.h', 157bf215546Sopenharmony_ci 'rbug/rbug_context.c', 158bf215546Sopenharmony_ci 'rbug/rbug_context.h', 159bf215546Sopenharmony_ci 'rbug/rbug_core.c', 160bf215546Sopenharmony_ci 'rbug/rbug_core.h', 161bf215546Sopenharmony_ci 'rbug/rbug_demarshal.c', 162bf215546Sopenharmony_ci 'rbug/rbug.h', 163bf215546Sopenharmony_ci 'rbug/rbug_internal.h', 164bf215546Sopenharmony_ci 'rbug/rbug_proto.h', 165bf215546Sopenharmony_ci 'rbug/rbug_shader.c', 166bf215546Sopenharmony_ci 'rbug/rbug_shader.h', 167bf215546Sopenharmony_ci 'rbug/rbug_texture.c', 168bf215546Sopenharmony_ci 'rbug/rbug_texture.h', 169bf215546Sopenharmony_ci 'rtasm/rtasm_cpu.c', 170bf215546Sopenharmony_ci 'rtasm/rtasm_cpu.h', 171bf215546Sopenharmony_ci 'rtasm/rtasm_execmem.c', 172bf215546Sopenharmony_ci 'rtasm/rtasm_execmem.h', 173bf215546Sopenharmony_ci 'rtasm/rtasm_x86sse.c', 174bf215546Sopenharmony_ci 'rtasm/rtasm_x86sse.h', 175bf215546Sopenharmony_ci 'tgsi/tgsi_aa_point.c', 176bf215546Sopenharmony_ci 'tgsi/tgsi_aa_point.h', 177bf215546Sopenharmony_ci 'tgsi/tgsi_build.c', 178bf215546Sopenharmony_ci 'tgsi/tgsi_build.h', 179bf215546Sopenharmony_ci 'tgsi/tgsi_dump.c', 180bf215546Sopenharmony_ci 'tgsi/tgsi_dump.h', 181bf215546Sopenharmony_ci 'tgsi/tgsi_dynamic_indexing.c', 182bf215546Sopenharmony_ci 'tgsi/tgsi_exec.c', 183bf215546Sopenharmony_ci 'tgsi/tgsi_exec.h', 184bf215546Sopenharmony_ci 'tgsi/tgsi_from_mesa.c', 185bf215546Sopenharmony_ci 'tgsi/tgsi_from_mesa.h', 186bf215546Sopenharmony_ci 'tgsi/tgsi_info.c', 187bf215546Sopenharmony_ci 'tgsi/tgsi_info.h', 188bf215546Sopenharmony_ci 'tgsi/tgsi_info_opcodes.h', 189bf215546Sopenharmony_ci 'tgsi/tgsi_iterate.c', 190bf215546Sopenharmony_ci 'tgsi/tgsi_iterate.h', 191bf215546Sopenharmony_ci 'tgsi/tgsi_lowering.c', 192bf215546Sopenharmony_ci 'tgsi/tgsi_lowering.h', 193bf215546Sopenharmony_ci 'tgsi/tgsi_opcode_tmp.h', 194bf215546Sopenharmony_ci 'tgsi/tgsi_parse.c', 195bf215546Sopenharmony_ci 'tgsi/tgsi_parse.h', 196bf215546Sopenharmony_ci 'tgsi/tgsi_point_sprite.c', 197bf215546Sopenharmony_ci 'tgsi/tgsi_point_sprite.h', 198bf215546Sopenharmony_ci 'tgsi/tgsi_sanity.c', 199bf215546Sopenharmony_ci 'tgsi/tgsi_sanity.h', 200bf215546Sopenharmony_ci 'tgsi/tgsi_scan.c', 201bf215546Sopenharmony_ci 'tgsi/tgsi_scan.h', 202bf215546Sopenharmony_ci 'tgsi/tgsi_strings.c', 203bf215546Sopenharmony_ci 'tgsi/tgsi_strings.h', 204bf215546Sopenharmony_ci 'tgsi/tgsi_text.c', 205bf215546Sopenharmony_ci 'tgsi/tgsi_text.h', 206bf215546Sopenharmony_ci 'tgsi/tgsi_transform.c', 207bf215546Sopenharmony_ci 'tgsi/tgsi_transform.h', 208bf215546Sopenharmony_ci 'tgsi/tgsi_two_side.c', 209bf215546Sopenharmony_ci 'tgsi/tgsi_two_side.h', 210bf215546Sopenharmony_ci 'tgsi/tgsi_ureg.c', 211bf215546Sopenharmony_ci 'tgsi/tgsi_ureg.h', 212bf215546Sopenharmony_ci 'tgsi/tgsi_util.c', 213bf215546Sopenharmony_ci 'tgsi/tgsi_util.h', 214bf215546Sopenharmony_ci 'tgsi/tgsi_vpos.c', 215bf215546Sopenharmony_ci 'translate/translate.c', 216bf215546Sopenharmony_ci 'translate/translate.h', 217bf215546Sopenharmony_ci 'translate/translate_cache.c', 218bf215546Sopenharmony_ci 'translate/translate_cache.h', 219bf215546Sopenharmony_ci 'translate/translate_generic.c', 220bf215546Sopenharmony_ci 'translate/translate_sse.c', 221bf215546Sopenharmony_ci 'util/dbghelp.h', 222bf215546Sopenharmony_ci 'util/u_async_debug.h', 223bf215546Sopenharmony_ci 'util/u_async_debug.c', 224bf215546Sopenharmony_ci 'util/u_bitcast.h', 225bf215546Sopenharmony_ci 'util/u_bitmask.c', 226bf215546Sopenharmony_ci 'util/u_bitmask.h', 227bf215546Sopenharmony_ci 'util/u_blend.h', 228bf215546Sopenharmony_ci 'util/u_blitter.c', 229bf215546Sopenharmony_ci 'util/u_blitter.h', 230bf215546Sopenharmony_ci 'util/u_box.h', 231bf215546Sopenharmony_ci 'util/u_cache.c', 232bf215546Sopenharmony_ci 'util/u_cache.h', 233bf215546Sopenharmony_ci 'util/u_compute.c', 234bf215546Sopenharmony_ci 'util/u_compute.h', 235bf215546Sopenharmony_ci 'util/u_debug_flush.c', 236bf215546Sopenharmony_ci 'util/u_debug_flush.h', 237bf215546Sopenharmony_ci 'util/u_debug_image.c', 238bf215546Sopenharmony_ci 'util/u_debug_image.h', 239bf215546Sopenharmony_ci 'util/u_dirty_flags.h', 240bf215546Sopenharmony_ci 'util/u_dirty_surfaces.h', 241bf215546Sopenharmony_ci 'util/u_draw.c', 242bf215546Sopenharmony_ci 'util/u_draw.h', 243bf215546Sopenharmony_ci 'util/u_draw_quad.c', 244bf215546Sopenharmony_ci 'util/u_draw_quad.h', 245bf215546Sopenharmony_ci 'util/u_driconf.c', 246bf215546Sopenharmony_ci 'util/u_driconf.h', 247bf215546Sopenharmony_ci 'util/u_dual_blend.h', 248bf215546Sopenharmony_ci 'util/u_dump_defines.c', 249bf215546Sopenharmony_ci 'util/u_dump.h', 250bf215546Sopenharmony_ci 'util/u_dump_state.c', 251bf215546Sopenharmony_ci 'util/u_framebuffer.c', 252bf215546Sopenharmony_ci 'util/u_framebuffer.h', 253bf215546Sopenharmony_ci 'util/u_gen_mipmap.c', 254bf215546Sopenharmony_ci 'util/u_gen_mipmap.h', 255bf215546Sopenharmony_ci 'util/u_handle_table.c', 256bf215546Sopenharmony_ci 'util/u_handle_table.h', 257bf215546Sopenharmony_ci 'util/u_helpers.c', 258bf215546Sopenharmony_ci 'util/u_helpers.h', 259bf215546Sopenharmony_ci 'util/u_index_modify.c', 260bf215546Sopenharmony_ci 'util/u_index_modify.h', 261bf215546Sopenharmony_ci 'util/u_inlines.h', 262bf215546Sopenharmony_ci 'util/u_linear.c', 263bf215546Sopenharmony_ci 'util/u_linear.h', 264bf215546Sopenharmony_ci 'util/u_live_shader_cache.c', 265bf215546Sopenharmony_ci 'util/u_live_shader_cache.h', 266bf215546Sopenharmony_ci 'util/u_log.c', 267bf215546Sopenharmony_ci 'util/u_log.h', 268bf215546Sopenharmony_ci 'util/u_network.c', 269bf215546Sopenharmony_ci 'util/u_network.h', 270bf215546Sopenharmony_ci 'util/u_pack_color.h', 271bf215546Sopenharmony_ci 'util/u_prim.h', 272bf215546Sopenharmony_ci 'util/u_prim.c', 273bf215546Sopenharmony_ci 'util/u_prim_restart.c', 274bf215546Sopenharmony_ci 'util/u_prim_restart.h', 275bf215546Sopenharmony_ci 'util/u_pstipple.c', 276bf215546Sopenharmony_ci 'util/u_pstipple.h', 277bf215546Sopenharmony_ci 'util/u_pwr8.h', 278bf215546Sopenharmony_ci 'util/u_range.h', 279bf215546Sopenharmony_ci 'util/u_rect.h', 280bf215546Sopenharmony_ci 'util/u_resource.c', 281bf215546Sopenharmony_ci 'util/u_resource.h', 282bf215546Sopenharmony_ci 'util/u_sampler.c', 283bf215546Sopenharmony_ci 'util/u_sampler.h', 284bf215546Sopenharmony_ci 'util/u_screen.c', 285bf215546Sopenharmony_ci 'util/u_screen.h', 286bf215546Sopenharmony_ci 'util/u_simple_shaders.c', 287bf215546Sopenharmony_ci 'util/u_simple_shaders.h', 288bf215546Sopenharmony_ci 'util/u_split_draw.c', 289bf215546Sopenharmony_ci 'util/u_split_draw.h', 290bf215546Sopenharmony_ci 'util/u_split_prim.h', 291bf215546Sopenharmony_ci 'util/u_sse.h', 292bf215546Sopenharmony_ci 'util/u_suballoc.c', 293bf215546Sopenharmony_ci 'util/u_suballoc.h', 294bf215546Sopenharmony_ci 'util/u_surface.c', 295bf215546Sopenharmony_ci 'util/u_surface.h', 296bf215546Sopenharmony_ci 'util/u_tests.c', 297bf215546Sopenharmony_ci 'util/u_tests.h', 298bf215546Sopenharmony_ci 'util/u_texture.c', 299bf215546Sopenharmony_ci 'util/u_texture.h', 300bf215546Sopenharmony_ci 'util/u_tile.c', 301bf215546Sopenharmony_ci 'util/u_tile.h', 302bf215546Sopenharmony_ci 'util/u_transfer.c', 303bf215546Sopenharmony_ci 'util/u_transfer.h', 304bf215546Sopenharmony_ci 'util/u_transfer_helper.c', 305bf215546Sopenharmony_ci 'util/u_transfer_helper.h', 306bf215546Sopenharmony_ci 'util/u_threaded_context.c', 307bf215546Sopenharmony_ci 'util/u_threaded_context.h', 308bf215546Sopenharmony_ci 'util/u_threaded_context_calls.h', 309bf215546Sopenharmony_ci 'util/u_trace_gallium.c', 310bf215546Sopenharmony_ci 'util/u_trace_gallium.h', 311bf215546Sopenharmony_ci 'util/u_upload_mgr.c', 312bf215546Sopenharmony_ci 'util/u_upload_mgr.h', 313bf215546Sopenharmony_ci 'util/u_vbuf.c', 314bf215546Sopenharmony_ci 'util/u_vbuf.h', 315bf215546Sopenharmony_ci 'util/u_vertex_state_cache.c', 316bf215546Sopenharmony_ci 'util/u_vertex_state_cache.h', 317bf215546Sopenharmony_ci 'util/u_video.h', 318bf215546Sopenharmony_ci 'util/u_viewport.h', 319bf215546Sopenharmony_ci 'nir/tgsi_to_nir.c', 320bf215546Sopenharmony_ci 'nir/tgsi_to_nir.h', 321bf215546Sopenharmony_ci 'nir/nir_to_tgsi.c', 322bf215546Sopenharmony_ci 'nir/nir_to_tgsi.h', 323bf215546Sopenharmony_ci 'nir/nir_draw_helpers.c', 324bf215546Sopenharmony_ci 'nir/nir_draw_helpers.h', 325bf215546Sopenharmony_ci 'nir/nir_helpers.c', 326bf215546Sopenharmony_ci 'nir/nir_helpers.h', 327bf215546Sopenharmony_ci) 328bf215546Sopenharmony_ci 329bf215546Sopenharmony_ciif dep_libdrm.found() 330bf215546Sopenharmony_ci files_libgallium += files( 331bf215546Sopenharmony_ci 'renderonly/renderonly.c', 332bf215546Sopenharmony_ci 'renderonly/renderonly.h', 333bf215546Sopenharmony_ci ) 334bf215546Sopenharmony_ciendif 335bf215546Sopenharmony_ci 336bf215546Sopenharmony_ciif draw_with_llvm 337bf215546Sopenharmony_ci files_libgallium += files( 338bf215546Sopenharmony_ci 'gallivm/lp_bld_arit.c', 339bf215546Sopenharmony_ci 'gallivm/lp_bld_arit.h', 340bf215546Sopenharmony_ci 'gallivm/lp_bld_arit_overflow.c', 341bf215546Sopenharmony_ci 'gallivm/lp_bld_arit_overflow.h', 342bf215546Sopenharmony_ci 'gallivm/lp_bld_assert.c', 343bf215546Sopenharmony_ci 'gallivm/lp_bld_assert.h', 344bf215546Sopenharmony_ci 'gallivm/lp_bld_bitarit.c', 345bf215546Sopenharmony_ci 'gallivm/lp_bld_bitarit.h', 346bf215546Sopenharmony_ci 'gallivm/lp_bld_const.c', 347bf215546Sopenharmony_ci 'gallivm/lp_bld_const.h', 348bf215546Sopenharmony_ci 'gallivm/lp_bld_conv.c', 349bf215546Sopenharmony_ci 'gallivm/lp_bld_conv.h', 350bf215546Sopenharmony_ci 'gallivm/lp_bld_coro.c', 351bf215546Sopenharmony_ci 'gallivm/lp_bld_coro.h', 352bf215546Sopenharmony_ci 'gallivm/lp_bld_debug.cpp', 353bf215546Sopenharmony_ci 'gallivm/lp_bld_debug.h', 354bf215546Sopenharmony_ci 'gallivm/lp_bld_flow.c', 355bf215546Sopenharmony_ci 'gallivm/lp_bld_flow.h', 356bf215546Sopenharmony_ci 'gallivm/lp_bld_format_aos_array.c', 357bf215546Sopenharmony_ci 'gallivm/lp_bld_format_aos.c', 358bf215546Sopenharmony_ci 'gallivm/lp_bld_format_float.c', 359bf215546Sopenharmony_ci 'gallivm/lp_bld_format_s3tc.c', 360bf215546Sopenharmony_ci 'gallivm/lp_bld_format.c', 361bf215546Sopenharmony_ci 'gallivm/lp_bld_format.h', 362bf215546Sopenharmony_ci 'gallivm/lp_bld_format_soa.c', 363bf215546Sopenharmony_ci 'gallivm/lp_bld_format_srgb.c', 364bf215546Sopenharmony_ci 'gallivm/lp_bld_format_yuv.c', 365bf215546Sopenharmony_ci 'gallivm/lp_bld_gather.c', 366bf215546Sopenharmony_ci 'gallivm/lp_bld_gather.h', 367bf215546Sopenharmony_ci 'gallivm/lp_bld.h', 368bf215546Sopenharmony_ci 'gallivm/lp_bld_init.c', 369bf215546Sopenharmony_ci 'gallivm/lp_bld_init.h', 370bf215546Sopenharmony_ci 'gallivm/lp_bld_intr.c', 371bf215546Sopenharmony_ci 'gallivm/lp_bld_intr.h', 372bf215546Sopenharmony_ci 'gallivm/lp_bld_ir_common.c', 373bf215546Sopenharmony_ci 'gallivm/lp_bld_ir_common.h', 374bf215546Sopenharmony_ci 'gallivm/lp_bld_limits.h', 375bf215546Sopenharmony_ci 'gallivm/lp_bld_logic.c', 376bf215546Sopenharmony_ci 'gallivm/lp_bld_logic.h', 377bf215546Sopenharmony_ci 'gallivm/lp_bld_misc.cpp', 378bf215546Sopenharmony_ci 'gallivm/lp_bld_misc.h', 379bf215546Sopenharmony_ci 'gallivm/lp_bld_nir.h', 380bf215546Sopenharmony_ci 'gallivm/lp_bld_nir.c', 381bf215546Sopenharmony_ci 'gallivm/lp_bld_nir_aos.c', 382bf215546Sopenharmony_ci 'gallivm/lp_bld_nir_soa.c', 383bf215546Sopenharmony_ci 'gallivm/lp_bld_pack.c', 384bf215546Sopenharmony_ci 'gallivm/lp_bld_pack.h', 385bf215546Sopenharmony_ci 'gallivm/lp_bld_printf.c', 386bf215546Sopenharmony_ci 'gallivm/lp_bld_printf.h', 387bf215546Sopenharmony_ci 'gallivm/lp_bld_quad.c', 388bf215546Sopenharmony_ci 'gallivm/lp_bld_quad.h', 389bf215546Sopenharmony_ci 'gallivm/lp_bld_sample_aos.c', 390bf215546Sopenharmony_ci 'gallivm/lp_bld_sample_aos.h', 391bf215546Sopenharmony_ci 'gallivm/lp_bld_sample.c', 392bf215546Sopenharmony_ci 'gallivm/lp_bld_sample.h', 393bf215546Sopenharmony_ci 'gallivm/lp_bld_sample_soa.c', 394bf215546Sopenharmony_ci 'gallivm/lp_bld_struct.c', 395bf215546Sopenharmony_ci 'gallivm/lp_bld_struct.h', 396bf215546Sopenharmony_ci 'gallivm/lp_bld_swizzle.c', 397bf215546Sopenharmony_ci 'gallivm/lp_bld_swizzle.h', 398bf215546Sopenharmony_ci 'gallivm/lp_bld_tgsi_action.c', 399bf215546Sopenharmony_ci 'gallivm/lp_bld_tgsi_action.h', 400bf215546Sopenharmony_ci 'gallivm/lp_bld_tgsi_aos.c', 401bf215546Sopenharmony_ci 'gallivm/lp_bld_tgsi.c', 402bf215546Sopenharmony_ci 'gallivm/lp_bld_tgsi.h', 403bf215546Sopenharmony_ci 'gallivm/lp_bld_tgsi_info.c', 404bf215546Sopenharmony_ci 'gallivm/lp_bld_tgsi_soa.c', 405bf215546Sopenharmony_ci 'gallivm/lp_bld_type.c', 406bf215546Sopenharmony_ci 'gallivm/lp_bld_type.h', 407bf215546Sopenharmony_ci 'draw/draw_llvm.c', 408bf215546Sopenharmony_ci 'draw/draw_llvm.h', 409bf215546Sopenharmony_ci 'draw/draw_llvm_sample.c', 410bf215546Sopenharmony_ci 'draw/draw_pt_fetch_shade_pipeline_llvm.c', 411bf215546Sopenharmony_ci 'draw/draw_vs_llvm.c', 412bf215546Sopenharmony_ci 'tessellator/tessellator.cpp', 413bf215546Sopenharmony_ci 'tessellator/tessellator.hpp', 414bf215546Sopenharmony_ci 'tessellator/p_tessellator.cpp', 415bf215546Sopenharmony_ci 'tessellator/p_tessellator.h', 416bf215546Sopenharmony_ci 'nir/nir_to_tgsi_info.c', 417bf215546Sopenharmony_ci 'nir/nir_to_tgsi_info.h', 418bf215546Sopenharmony_ci ) 419bf215546Sopenharmony_ciendif 420bf215546Sopenharmony_ci 421bf215546Sopenharmony_cifiles_libgalliumvl = files( 422bf215546Sopenharmony_ci 'vl/vl_bicubic_filter.c', 423bf215546Sopenharmony_ci 'vl/vl_bicubic_filter.h', 424bf215546Sopenharmony_ci 'vl/vl_codec.c', 425bf215546Sopenharmony_ci 'vl/vl_codec.h', 426bf215546Sopenharmony_ci 'vl/vl_compositor.c', 427bf215546Sopenharmony_ci 'vl/vl_compositor.h', 428bf215546Sopenharmony_ci 'vl/vl_compositor_gfx.c', 429bf215546Sopenharmony_ci 'vl/vl_compositor_gfx.h', 430bf215546Sopenharmony_ci 'vl/vl_compositor_cs.c', 431bf215546Sopenharmony_ci 'vl/vl_compositor_cs.h', 432bf215546Sopenharmony_ci 'vl/vl_csc.c', 433bf215546Sopenharmony_ci 'vl/vl_csc.h', 434bf215546Sopenharmony_ci 'vl/vl_decoder.c', 435bf215546Sopenharmony_ci 'vl/vl_decoder.h', 436bf215546Sopenharmony_ci 'vl/vl_defines.h', 437bf215546Sopenharmony_ci 'vl/vl_deint_filter.c', 438bf215546Sopenharmony_ci 'vl/vl_deint_filter.h', 439bf215546Sopenharmony_ci 'vl/vl_idct.c', 440bf215546Sopenharmony_ci 'vl/vl_idct.h', 441bf215546Sopenharmony_ci 'vl/vl_matrix_filter.c', 442bf215546Sopenharmony_ci 'vl/vl_matrix_filter.h', 443bf215546Sopenharmony_ci 'vl/vl_mc.c', 444bf215546Sopenharmony_ci 'vl/vl_mc.h', 445bf215546Sopenharmony_ci 'vl/vl_median_filter.c', 446bf215546Sopenharmony_ci 'vl/vl_median_filter.h', 447bf215546Sopenharmony_ci 'vl/vl_mpeg12_bitstream.c', 448bf215546Sopenharmony_ci 'vl/vl_mpeg12_bitstream.h', 449bf215546Sopenharmony_ci 'vl/vl_mpeg12_decoder.c', 450bf215546Sopenharmony_ci 'vl/vl_mpeg12_decoder.h', 451bf215546Sopenharmony_ci 'vl/vl_types.h', 452bf215546Sopenharmony_ci 'vl/vl_vertex_buffers.c', 453bf215546Sopenharmony_ci 'vl/vl_vertex_buffers.h', 454bf215546Sopenharmony_ci 'vl/vl_video_buffer.c', 455bf215546Sopenharmony_ci 'vl/vl_video_buffer.h', 456bf215546Sopenharmony_ci 'vl/vl_zscan.c', 457bf215546Sopenharmony_ci 'vl/vl_zscan.h', 458bf215546Sopenharmony_ci 'vl/vl_probs_table.h', 459bf215546Sopenharmony_ci) 460bf215546Sopenharmony_ci 461bf215546Sopenharmony_civlwinsys_deps = [] 462bf215546Sopenharmony_cifiles_libgalliumvlwinsys = files('vl/vl_winsys.h', 463bf215546Sopenharmony_ci 'vl/vl_winsys_drm.c') 464bf215546Sopenharmony_ciif with_dri2 and with_platform_x11 465bf215546Sopenharmony_ci files_libgalliumvlwinsys += files('vl/vl_winsys_dri.c') 466bf215546Sopenharmony_ci if with_dri3 467bf215546Sopenharmony_ci vlwinsys_deps += [ 468bf215546Sopenharmony_ci dep_xcb_sync, dep_xcb_present, dep_xshmfence, dep_xcb_xfixes, 469bf215546Sopenharmony_ci dep_xcb_dri3, 470bf215546Sopenharmony_ci ] 471bf215546Sopenharmony_ci files_libgalliumvlwinsys += files('vl/vl_winsys_dri3.c') 472bf215546Sopenharmony_ci endif 473bf215546Sopenharmony_ciendif 474bf215546Sopenharmony_ci 475bf215546Sopenharmony_ciif with_glx == 'xlib' or with_glx == 'gallium-xlib' 476bf215546Sopenharmony_ci files_libgalliumvlwinsys += files('vl/vl_winsys_xlib_swrast.c') 477bf215546Sopenharmony_cielif with_gallium_drisw_kms 478bf215546Sopenharmony_ci files_libgalliumvlwinsys += files('vl/vl_winsys_dri_vgem.c') 479bf215546Sopenharmony_ciendif 480bf215546Sopenharmony_ci 481bf215546Sopenharmony_ciprog_enums2names = files('driver_trace/enums2names.py') 482bf215546Sopenharmony_cifiles_libgallium += custom_target( 483bf215546Sopenharmony_ci 'tr_util.[ch]', 484bf215546Sopenharmony_ci input: '../include/pipe/p_defines.h', 485bf215546Sopenharmony_ci output: ['tr_util.c', 'tr_util.h'], 486bf215546Sopenharmony_ci command: [prog_python, prog_enums2names, '@INPUT@', '-C', '@OUTPUT0@', '-H', '@OUTPUT1@', '-I', 'tr_util.h'], 487bf215546Sopenharmony_ci depend_files: prog_enums2names, 488bf215546Sopenharmony_ci) 489bf215546Sopenharmony_ci 490bf215546Sopenharmony_cifiles_libgallium += custom_target( 491bf215546Sopenharmony_ci 'u_tracepoints.c', 492bf215546Sopenharmony_ci input: 'util/u_tracepoints.py', 493bf215546Sopenharmony_ci output: 'u_tracepoints.c', 494bf215546Sopenharmony_ci command: [ 495bf215546Sopenharmony_ci prog_python, '@INPUT@', 496bf215546Sopenharmony_ci '-p', join_paths(meson.source_root(), 'src/util/perf/'), 497bf215546Sopenharmony_ci '-C', '@OUTPUT@', 498bf215546Sopenharmony_ci ], 499bf215546Sopenharmony_ci depend_files: u_trace_py, 500bf215546Sopenharmony_ci) 501bf215546Sopenharmony_ci 502bf215546Sopenharmony_cifiles_u_tracepoints = custom_target( 503bf215546Sopenharmony_ci 'u_tracepoints.h', 504bf215546Sopenharmony_ci input: 'util/u_tracepoints.py', 505bf215546Sopenharmony_ci output: 'u_tracepoints.h', 506bf215546Sopenharmony_ci command: [ 507bf215546Sopenharmony_ci prog_python, '@INPUT@', 508bf215546Sopenharmony_ci '-p', join_paths(meson.source_root(), 'src/util/perf/'), 509bf215546Sopenharmony_ci '-H', '@OUTPUT@', 510bf215546Sopenharmony_ci ], 511bf215546Sopenharmony_ci depend_files: u_trace_py, 512bf215546Sopenharmony_ci) 513bf215546Sopenharmony_ci 514bf215546Sopenharmony_cifiles_libgallium += files_u_tracepoints 515bf215546Sopenharmony_ci 516bf215546Sopenharmony_ciidep_u_tracepoints = declare_dependency( 517bf215546Sopenharmony_ci sources: files_u_tracepoints, 518bf215546Sopenharmony_ci) 519bf215546Sopenharmony_ci 520bf215546Sopenharmony_cilibgallium_extra_c_args = [] 521bf215546Sopenharmony_cilibgallium = static_library( 522bf215546Sopenharmony_ci 'gallium', 523bf215546Sopenharmony_ci [files_libgallium], 524bf215546Sopenharmony_ci include_directories : [ 525bf215546Sopenharmony_ci inc_loader, inc_gallium, inc_src, inc_include, include_directories('util') 526bf215546Sopenharmony_ci ], 527bf215546Sopenharmony_ci c_args : [c_msvc_compat_args, libgallium_extra_c_args], 528bf215546Sopenharmony_ci cpp_args : [cpp_msvc_compat_args], 529bf215546Sopenharmony_ci gnu_symbol_visibility : 'hidden', 530bf215546Sopenharmony_ci dependencies : [ 531bf215546Sopenharmony_ci dep_libdrm, dep_llvm, dep_dl, dep_m, dep_thread, dep_lmsensors, dep_ws2_32, 532bf215546Sopenharmony_ci idep_nir, idep_nir_headers, idep_mesautil, 533bf215546Sopenharmony_ci ], 534bf215546Sopenharmony_ci build_by_default : false 535bf215546Sopenharmony_ci) 536bf215546Sopenharmony_ci 537bf215546Sopenharmony_cilibgalliumvl_stub = static_library( 538bf215546Sopenharmony_ci 'galliumvl_stub', 539bf215546Sopenharmony_ci 'vl/vl_stubs.c', 540bf215546Sopenharmony_ci c_args : [c_msvc_compat_args], 541bf215546Sopenharmony_ci cpp_args : [cpp_msvc_compat_args], 542bf215546Sopenharmony_ci gnu_symbol_visibility : 'hidden', 543bf215546Sopenharmony_ci include_directories: [inc_gallium, inc_include, inc_src], 544bf215546Sopenharmony_ci dependencies : idep_mesautil, 545bf215546Sopenharmony_ci build_by_default : false, 546bf215546Sopenharmony_ci) 547bf215546Sopenharmony_ci 548bf215546Sopenharmony_cilibgalliumvl = static_library( 549bf215546Sopenharmony_ci 'galliumvl', 550bf215546Sopenharmony_ci files_libgalliumvl, 551bf215546Sopenharmony_ci c_args : [c_msvc_compat_args], 552bf215546Sopenharmony_ci cpp_args : [cpp_msvc_compat_args], 553bf215546Sopenharmony_ci gnu_symbol_visibility : 'hidden', 554bf215546Sopenharmony_ci include_directories : [inc_gallium, inc_include, inc_src], 555bf215546Sopenharmony_ci dependencies : idep_mesautil, 556bf215546Sopenharmony_ci build_by_default : false, 557bf215546Sopenharmony_ci) 558bf215546Sopenharmony_ci 559bf215546Sopenharmony_ci# XXX: The dependencies here may be off... 560bf215546Sopenharmony_cilibgalliumvlwinsys = static_library( 561bf215546Sopenharmony_ci 'galliumvlwinsys', 562bf215546Sopenharmony_ci files_libgalliumvlwinsys, 563bf215546Sopenharmony_ci include_directories : [inc_gallium, inc_include, inc_loader, inc_src], 564bf215546Sopenharmony_ci dependencies : [dep_libdrm, vlwinsys_deps, idep_mesautil], 565bf215546Sopenharmony_ci build_by_default : false, 566bf215546Sopenharmony_ci) 567