summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_draw.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-09-24 13:11:25 +0800
committerChia-I Wu <[email protected]>2014-09-26 21:15:55 +0800
commit3afe30e64be7f4686398f826389159d87d8ae096 (patch)
tree99b0c56d4537cbbbb5fb397094ec4179809d88b6 /src/gallium/drivers/ilo/ilo_draw.h
parentb6443ae969f613458635f043f322ba362e671254 (diff)
ilo: remove struct ilo_3d
Move members of ilo_3d that still make sense to ilo_context. With ilo_3d gone, rename functions whose names begin with ilo_3d to something more appropriate. Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_draw.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_draw.h37
1 files changed, 7 insertions, 30 deletions
diff --git a/src/gallium/drivers/ilo/ilo_draw.h b/src/gallium/drivers/ilo/ilo_draw.h
index 2f68c5ea091..1c5388746ee 100644
--- a/src/gallium/drivers/ilo/ilo_draw.h
+++ b/src/gallium/drivers/ilo/ilo_draw.h
@@ -29,52 +29,29 @@
#define ILO_DRAW_H
#include "ilo_common.h"
-#include "ilo_cp.h"
-struct ilo_3d_pipeline;
-struct ilo_blitter;
struct ilo_context;
struct ilo_query;
-/**
- * 3D context.
- */
-struct ilo_3d {
- struct ilo_cp *cp;
- struct ilo_cp_owner owner;
-
- bool new_batch;
-
- struct list_head queries;
-
- struct ilo_3d_pipeline *pipeline;
-};
-
-struct ilo_3d *
-ilo_3d_create(struct ilo_cp *cp, const struct ilo_dev_info *dev);
-
-void
-ilo_3d_destroy(struct ilo_3d *hw3d);
-
void
-ilo_3d_cp_submitted(struct ilo_3d *hw3d);
+ilo_init_draw_functions(struct ilo_context *ilo);
void
-ilo_3d_draw_rectlist(struct ilo_3d *hw3d, const struct ilo_blitter *blitter);
+ilo_init_draw(struct ilo_context *ilo);
bool
-ilo_3d_init_query(struct pipe_context *pipe, struct ilo_query *q);
+ilo_init_draw_query(struct ilo_context *ilo, struct ilo_query *q);
void
-ilo_3d_begin_query(struct pipe_context *pipe, struct ilo_query *q);
+ilo_begin_draw_query(struct ilo_context *ilo, struct ilo_query *q);
void
-ilo_3d_end_query(struct pipe_context *pipe, struct ilo_query *q);
+ilo_end_draw_query(struct ilo_context *ilo, struct ilo_query *q);
void
-ilo_3d_process_query(struct pipe_context *pipe, struct ilo_query *q);
+ilo_process_draw_query(struct ilo_context *ilo, struct ilo_query *q);
void
-ilo_init_3d_functions(struct ilo_context *ilo);
+ilo_draw_rectlist(struct ilo_context *ilo);
#endif /* ILO_DRAW_H */