#define PIPE_CONTEXT_H
#include "p_state.h"
-#include <stdint.h>
+
struct pipe_state_cache;
boolean (*get_query_result)(struct pipe_context *pipe,
struct pipe_query *q,
boolean wait,
- uint64_t *result);
+ uint64 *result);
/*
* State functions
#include "p_compiler.h"
#include <math.h>
-#include <stdint.h>
#ifdef WIN32
/* Counter for occlusion queries. Note this supports overlapping
* queries.
*/
- uint64_t occlusion_count;
+ uint64 occlusion_count;
/*
* Mapped vertex buffers
#include "sp_query.h"
struct softpipe_query {
- uint64_t start;
- uint64_t end;
+ uint64 start;
+ uint64 end;
};
softpipe_get_query_result(struct pipe_context *pipe,
struct pipe_query *q,
boolean wait,
- uint64_t *result )
+ uint64 *result )
{
struct softpipe_query *sq = softpipe_query(q);
*result = sq->end - sq->start;