Home | History | Annotate | Download | only in llvmpipe

Lines Matching full:scene

61 /* Scene temporary storage is clamped to this size:
65 /* The maximum amount of texture storage referenced by a scene is
105 * within a scene.
111 * initiate a scene without relying on malloc succeeding.
132 /* The queries still active at end of scene */
151 /** the framebuffer to render the scene into */
154 /** list of resources referenced by the scene commands */
157 /** Total memory used by the scene (in bytes). This sums all the
159 * other random allocations within the scene.
163 /** Sum of sizes of all resources referenced by the scene. Sums
164 * all the textures read by the scene:
187 void lp_scene_destroy(struct lp_scene *scene);
189 boolean lp_scene_is_empty(struct lp_scene *scene );
190 boolean lp_scene_is_oom(struct lp_scene *scene );
193 struct data_block *lp_scene_new_data_block( struct lp_scene *scene );
195 struct cmd_block *lp_scene_new_cmd_block( struct lp_scene *scene,
198 boolean lp_scene_add_resource_reference(struct lp_scene *scene,
202 boolean lp_scene_is_resource_referenced(const struct lp_scene *scene,
211 lp_scene_alloc( struct lp_scene *scene, unsigned size)
213 struct data_block_list *list = &scene->data;
222 scene->scene_size, LP_SCENE_MAX_SIZE);
225 block = lp_scene_new_data_block( scene );
244 lp_scene_alloc_aligned( struct lp_scene *scene, unsigned size,
247 struct data_block_list *list = &scene->data;
256 scene->scene_size, LP_SCENE_MAX_SIZE);
259 block = lp_scene_new_data_block( scene );
276 lp_scene_putback_data( struct lp_scene *scene, unsigned size)
278 struct data_block_list *list = &scene->data;
286 lp_scene_get_bin(struct lp_scene *scene, unsigned x, unsigned y)
288 return &scene->tile[x][y];
294 lp_scene_bin_reset(struct lp_scene *scene, unsigned x, unsigned y);
300 lp_scene_bin_command( struct lp_scene *scene,
305 struct cmd_bin *bin = lp_scene_get_bin(scene, x, y);
308 assert(x < scene->tiles_x);
309 assert(y < scene->tiles_y);
313 tail = lp_scene_new_cmd_block( scene, bin );
332 lp_scene_bin_cmd_with_state( struct lp_scene *scene,
338 struct cmd_bin *bin = lp_scene_get_bin(scene, x, y);
342 if (!lp_scene_bin_command(scene, x, y,
348 if (!lp_scene_bin_command( scene, x, y, cmd, arg ))
358 lp_scene_bin_everywhere( struct lp_scene *scene,
363 for (i = 0; i < scene->tiles_x; i++) {
364 for (j = 0; j < scene->tiles_y; j++) {
365 if (!lp_scene_bin_command( scene, i, j, cmd, arg ))
375 lp_scene_get_num_bins( const struct lp_scene *scene )
377 return scene->tiles_x * scene->tiles_y;
382 lp_scene_bin_iter_begin( struct lp_scene *scene );
385 lp_scene_bin_iter_next( struct lp_scene *scene, int *x, int *y );
389 /* Begin/end binning of a scene
392 lp_scene_begin_binning( struct lp_scene *scene,
397 lp_scene_end_binning( struct lp_scene *scene );
400 /* Begin/end rasterization of a scene
403 lp_scene_begin_rasterization(struct lp_scene *scene);
406 lp_scene_end_rasterization(struct lp_scene *scene );