Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / intel / isl / isl_tiled_memcpy_normal.c
1 /*
2 * Mesa 3-D graphics library
3 *
4 * Copyright 2012 Intel Corporation
5 * Copyright 2013 Google
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a
8 * copy of this software and associated documentation files (the
9 * "Software"), to deal in the Software without restriction, including
10 * without limitation the rights to use, copy, modify, merge, publish,
11 * distribute, sublicense, and/or sell copies of the Software, and to
12 * permit persons to whom the Software is furnished to do so, subject to
13 * the following conditions:
14 *
15 * The above copyright notice and this permission notice (including the
16 * next paragraph) shall be included in all copies or substantial portions
17 * of the Software.
18 *
19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22 * IN NO EVENT SHALL VMWARE AND/OR ITS SUPPLIERS BE LIABLE FOR
23 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
24 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
25 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26 *
27 * Authors:
28 * Chad Versace <chad.versace@linux.intel.com>
29 * Frank Henigman <fjhenigman@google.com>
30 */
31
32
33 #include "isl_tiled_memcpy.c"
34
35 void
36 _isl_memcpy_linear_to_tiled(uint32_t xt1, uint32_t xt2,
37 uint32_t yt1, uint32_t yt2,
38 char *dst, const char *src,
39 uint32_t dst_pitch, int32_t src_pitch,
40 bool has_swizzling,
41 enum isl_tiling tiling,
42 isl_memcpy_type copy_type)
43 {
44 intel_linear_to_tiled(xt1, xt2, yt1, yt2, dst, src, dst_pitch, src_pitch,
45 has_swizzling, tiling, copy_type);
46 }
47
48 void
49 _isl_memcpy_tiled_to_linear(uint32_t xt1, uint32_t xt2,
50 uint32_t yt1, uint32_t yt2,
51 char *dst, const char *src,
52 int32_t dst_pitch, uint32_t src_pitch,
53 bool has_swizzling,
54 enum isl_tiling tiling,
55 isl_memcpy_type copy_type)
56 {
57 intel_tiled_to_linear(xt1, xt2, yt1, yt2, dst, src, dst_pitch, src_pitch,
58 has_swizzling, tiling, copy_type);
59 }