2 * Copyright 2008 Ben Skeggs
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:
11 * The above copyright notice and this permission notice shall be included in
12 * all copies or substantial portions of the Software.
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 * 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 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
18 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
19 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23 #include "pipe/p_context.h"
25 #include "nv50_context.h"
27 static struct pipe_query
*
28 nv50_query_create(struct pipe_context
*pipe
, unsigned type
)
30 NOUVEAU_ERR("unimplemented\n");
35 nv50_query_destroy(struct pipe_context
*pipe
, struct pipe_query
*q
)
37 NOUVEAU_ERR("unimplemented\n");
41 nv50_query_begin(struct pipe_context
*pipe
, struct pipe_query
*q
)
43 NOUVEAU_ERR("unimplemented\n");
47 nv50_query_end(struct pipe_context
*pipe
, struct pipe_query
*q
)
49 NOUVEAU_ERR("unimplemented\n");
53 nv50_query_result(struct pipe_context
*pipe
, struct pipe_query
*q
,
54 boolean wait
, uint64_t *result
)
56 NOUVEAU_ERR("unimplemented\n");
62 nv50_init_query_functions(struct nv50_context
*nv50
)
64 nv50
->pipe
.create_query
= nv50_query_create
;
65 nv50
->pipe
.destroy_query
= nv50_query_destroy
;
66 nv50
->pipe
.begin_query
= nv50_query_begin
;
67 nv50
->pipe
.end_query
= nv50_query_end
;
68 nv50
->pipe
.get_query_result
= nv50_query_result
;