Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/mesa
Path: blob/21.2-virgl/src/gallium/drivers/crocus/crocus_genx_protos.h
4570 views
1
/*
2
* Copyright © 2019 Intel Corporation
3
*
4
* Permission is hereby granted, free of charge, to any person obtaining a
5
* copy of this software and associated documentation files (the "Software"),
6
* to deal in the Software without restriction, including without limitation
7
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
8
* and/or sell copies of the Software, and to permit persons to whom the
9
* Software is furnished to do so, subject to the following conditions:
10
*
11
* The above copyright notice and this permission notice shall be included
12
* in all copies or substantial portions of the Software.
13
*
14
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20
* DEALINGS IN THE SOFTWARE.
21
*/
22
23
/* GenX-specific function declarations.
24
*
25
* Don't include this directly, it will be included by crocus_context.h.
26
*
27
* NOTE: This header can be included multiple times, from the same file.
28
*/
29
30
/* crocus_state.c */
31
void genX(crocus_init_state)(struct crocus_context *ice);
32
void genX(crocus_init_screen_state)(struct crocus_screen *screen);
33
void genX(crocus_upload_urb)(struct crocus_batch *batch,
34
unsigned vs_size,
35
bool gs_present,
36
unsigned gs_size);
37
void genX(crocus_update_pma_fix)(struct crocus_context *ice,
38
struct crocus_batch *batch,
39
bool enable);
40
/* crocus_blorp.c */
41
void genX(crocus_init_blorp)(struct crocus_context *ice);
42
43
/* crocus_query.c */
44
void genX(crocus_init_query)(struct crocus_context *ice);
45
void genX(crocus_init_screen_query)(struct crocus_screen *screen);
46
47
/* crocus_blt.c */
48
void genX(crocus_init_blt)(struct crocus_screen *screen);
49
50