Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / gallium / drivers / svga / meson.build
1 # Copyright © 2017 Intel Corporation
2
3 # Permission is hereby granted, free of charge, to any person obtaining a copy
4 # of this software and associated documentation files (the "Software"), to deal
5 # in the Software without restriction, including without limitation the rights
6 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 # copies of the Software, and to permit persons to whom the Software is
8 # furnished to do so, subject to the following conditions:
9
10 # The above copyright notice and this permission notice shall be included in
11 # all copies or substantial portions of the Software.
12
13 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 # SOFTWARE.
20
21 files_svga = files(
22 'svga_cmd.c',
23 'svga_cmd_vgpu10.c',
24 'svga_context.c',
25 'svga_draw_arrays.c',
26 'svga_draw.c',
27 'svga_draw_elements.c',
28 'svga_format.c',
29 'svga_link.c',
30 'svga_pipe_blend.c',
31 'svga_pipe_blit.c',
32 'svga_pipe_clear.c',
33 'svga_pipe_constants.c',
34 'svga_pipe_depthstencil.c',
35 'svga_pipe_draw.c',
36 'svga_pipe_flush.c',
37 'svga_pipe_fs.c',
38 'svga_pipe_gs.c',
39 'svga_pipe_ts.c',
40 'svga_pipe_misc.c',
41 'svga_pipe_query.c',
42 'svga_pipe_rasterizer.c',
43 'svga_pipe_sampler.c',
44 'svga_pipe_streamout.c',
45 'svga_pipe_vertex.c',
46 'svga_pipe_vs.c',
47 'svga_resource_buffer.c',
48 'svga_resource_buffer_upload.c',
49 'svga_resource.c',
50 'svga_resource_texture.c',
51 'svga_sampler_view.c',
52 'svga_screen.c',
53 'svga_screen_cache.c',
54 'svga_shader.c',
55 'svga_state.c',
56 'svga_state_constants.c',
57 'svga_state_framebuffer.c',
58 'svga_state_fs.c',
59 'svga_state_gs.c',
60 'svga_state_ts.c',
61 'svga_state_need_swtnl.c',
62 'svga_state_rss.c',
63 'svga_state_sampler.c',
64 'svga_state_tgsi_transform.c',
65 'svga_state_tss.c',
66 'svga_state_vdecl.c',
67 'svga_state_vs.c',
68 'svga_surface.c',
69 'svga_swtnl_backend.c',
70 'svga_swtnl_draw.c',
71 'svga_swtnl_state.c',
72 'svga_tgsi.c',
73 'svga_tgsi_decl_sm30.c',
74 'svga_tgsi_insn.c',
75 'svga_tgsi_vgpu10.c',
76 'svgadump/svga_dump.c',
77 'svgadump/svga_shader_dump.c',
78 'svgadump/svga_shader_op.c',
79 )
80
81 libsvga = static_library(
82 'svga',
83 [files_svga, sha1_h],
84 c_args : [c_msvc_compat_args],
85 gnu_symbol_visibility : 'hidden',
86 include_directories : [
87 inc_src, inc_include, inc_gallium, inc_gallium_aux,
88 include_directories('include')
89 ],
90 )
91
92 driver_svga = declare_dependency(
93 compile_args : '-DGALLIUM_VMWGFX',
94 link_with : [libsvga, libsvgadrm],
95 )