panfrost: Filter compressed texture formats
[mesa.git] / src / gallium / drivers / swr / swr_query.h
index 0ab034d397f7c225c8d93bfadfb811defeefa1cb..d838dc859e285c71608b647e16513b15f501f55a 100644 (file)
 
 struct swr_query_result {
    SWR_STATS core;
-   uint64_t timestamp;
+   SWR_STATS_FE coreFE;
+   uint64_t timestamp_start;
+   uint64_t timestamp_end;
 };
 
-struct swr_query {
+OSALIGNLINE(struct) swr_query {
    unsigned type; /* PIPE_QUERY_* */
    unsigned index;
 
-   struct swr_query_result *result;
-   struct swr_query_result start;
-   struct swr_query_result end;
-
+   struct swr_query_result result;
    struct pipe_fence_handle *fence;
-
-   boolean enable_stats;
 };
 
 extern void swr_query_init(struct pipe_context *pipe);
 
-extern boolean swr_check_render_cond(struct pipe_context *pipe);
+extern bool swr_check_render_cond(struct pipe_context *pipe);
 #endif