diff options
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl.h')
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl.h | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl.h b/source/blender/draw/intern/draw_cache_impl.h index bfb61199674..066ca9f60e0 100644 --- a/source/blender/draw/intern/draw_cache_impl.h +++ b/source/blender/draw/intern/draw_cache_impl.h @@ -26,7 +26,7 @@ #ifndef __DRAW_CACHE_IMPL_H__ #define __DRAW_CACHE_IMPL_H__ -struct Batch; +struct Gwn_Batch; struct ListBase; struct CurveCache; struct ParticleSystem; @@ -49,52 +49,52 @@ void DRW_particle_batch_cache_dirty(struct ParticleSystem *psys, int mode); void DRW_particle_batch_cache_free(struct ParticleSystem *psys); /* Curve */ -struct Batch *DRW_curve_batch_cache_get_wire_edge(struct Curve *cu, struct CurveCache *ob_curve_cache); -struct Batch *DRW_curve_batch_cache_get_normal_edge( +struct Gwn_Batch *DRW_curve_batch_cache_get_wire_edge(struct Curve *cu, struct CurveCache *ob_curve_cache); +struct Gwn_Batch *DRW_curve_batch_cache_get_normal_edge( struct Curve *cu, struct CurveCache *ob_curve_cache, float normal_size); -struct Batch *DRW_curve_batch_cache_get_overlay_edges(struct Curve *cu); -struct Batch *DRW_curve_batch_cache_get_overlay_verts(struct Curve *cu); +struct Gwn_Batch *DRW_curve_batch_cache_get_overlay_edges(struct Curve *cu); +struct Gwn_Batch *DRW_curve_batch_cache_get_overlay_verts(struct Curve *cu); -struct Batch *DRW_curve_batch_cache_get_triangles_with_normals(struct Curve *cu, struct CurveCache *ob_curve_cache); +struct Gwn_Batch *DRW_curve_batch_cache_get_triangles_with_normals(struct Curve *cu, struct CurveCache *ob_curve_cache); /* Curve (Font) */ -struct Batch *DRW_curve_batch_cache_get_overlay_cursor(struct Curve *cu); -struct Batch *DRW_curve_batch_cache_get_overlay_select(struct Curve *cu); +struct Gwn_Batch *DRW_curve_batch_cache_get_overlay_cursor(struct Curve *cu); +struct Gwn_Batch *DRW_curve_batch_cache_get_overlay_select(struct Curve *cu); /* DispList */ -struct Batch *BLI_displist_batch_calc_surface(struct ListBase *lb); +struct Gwn_Batch *BLI_displist_batch_calc_surface(struct ListBase *lb); /* Lattice */ -struct Batch *DRW_lattice_batch_cache_get_all_edges(struct Lattice *lt); -struct Batch *DRW_lattice_batch_cache_get_all_verts(struct Lattice *lt); -struct Batch *DRW_lattice_batch_cache_get_overlay_verts(struct Lattice *lt); +struct Gwn_Batch *DRW_lattice_batch_cache_get_all_edges(struct Lattice *lt); +struct Gwn_Batch *DRW_lattice_batch_cache_get_all_verts(struct Lattice *lt); +struct Gwn_Batch *DRW_lattice_batch_cache_get_overlay_verts(struct Lattice *lt); /* Mesh */ -struct Batch **DRW_mesh_batch_cache_get_surface_shaded(struct Mesh *me); -struct Batch **DRW_mesh_batch_cache_get_surface_texpaint(struct Mesh *me); -struct Batch *DRW_mesh_batch_cache_get_surface_texpaint_single(struct Mesh *me); -struct Batch *DRW_mesh_batch_cache_get_weight_overlay_edges(struct Mesh *me, bool use_wire, bool use_sel); -struct Batch *DRW_mesh_batch_cache_get_weight_overlay_faces(struct Mesh *me); -struct Batch *DRW_mesh_batch_cache_get_weight_overlay_verts(struct Mesh *me); -struct Batch *DRW_mesh_batch_cache_get_all_edges(struct Mesh *me); -struct Batch *DRW_mesh_batch_cache_get_all_triangles(struct Mesh *me); -struct Batch *DRW_mesh_batch_cache_get_triangles_with_normals(struct Mesh *me); -struct Batch *DRW_mesh_batch_cache_get_triangles_with_normals_and_weights(struct Mesh *me, int defgroup); -struct Batch *DRW_mesh_batch_cache_get_triangles_with_normals_and_vert_colors(struct Mesh *me); -struct Batch *DRW_mesh_batch_cache_get_triangles_with_select_id(struct Mesh *me, bool use_hide); -struct Batch *DRW_mesh_batch_cache_get_points_with_normals(struct Mesh *me); -struct Batch *DRW_mesh_batch_cache_get_all_verts(struct Mesh *me); -struct Batch *DRW_mesh_batch_cache_get_fancy_edges(struct Mesh *me); -struct Batch *DRW_mesh_batch_cache_get_overlay_triangles(struct Mesh *me); -struct Batch *DRW_mesh_batch_cache_get_overlay_triangles_nor(struct Mesh *me); -struct Batch *DRW_mesh_batch_cache_get_overlay_loose_edges(struct Mesh *me); -struct Batch *DRW_mesh_batch_cache_get_overlay_loose_edges_nor(struct Mesh *me); -struct Batch *DRW_mesh_batch_cache_get_overlay_loose_verts(struct Mesh *me); -struct Batch *DRW_mesh_batch_cache_get_overlay_facedots(struct Mesh *me); +struct Gwn_Batch **DRW_mesh_batch_cache_get_surface_shaded(struct Mesh *me); +struct Gwn_Batch **DRW_mesh_batch_cache_get_surface_texpaint(struct Mesh *me); +struct Gwn_Batch *DRW_mesh_batch_cache_get_surface_texpaint_single(struct Mesh *me); +struct Gwn_Batch *DRW_mesh_batch_cache_get_weight_overlay_edges(struct Mesh *me, bool use_wire, bool use_sel); +struct Gwn_Batch *DRW_mesh_batch_cache_get_weight_overlay_faces(struct Mesh *me); +struct Gwn_Batch *DRW_mesh_batch_cache_get_weight_overlay_verts(struct Mesh *me); +struct Gwn_Batch *DRW_mesh_batch_cache_get_all_edges(struct Mesh *me); +struct Gwn_Batch *DRW_mesh_batch_cache_get_all_triangles(struct Mesh *me); +struct Gwn_Batch *DRW_mesh_batch_cache_get_triangles_with_normals(struct Mesh *me); +struct Gwn_Batch *DRW_mesh_batch_cache_get_triangles_with_normals_and_weights(struct Mesh *me, int defgroup); +struct Gwn_Batch *DRW_mesh_batch_cache_get_triangles_with_normals_and_vert_colors(struct Mesh *me); +struct Gwn_Batch *DRW_mesh_batch_cache_get_triangles_with_select_id(struct Mesh *me, bool use_hide); +struct Gwn_Batch *DRW_mesh_batch_cache_get_points_with_normals(struct Mesh *me); +struct Gwn_Batch *DRW_mesh_batch_cache_get_all_verts(struct Mesh *me); +struct Gwn_Batch *DRW_mesh_batch_cache_get_fancy_edges(struct Mesh *me); +struct Gwn_Batch *DRW_mesh_batch_cache_get_overlay_triangles(struct Mesh *me); +struct Gwn_Batch *DRW_mesh_batch_cache_get_overlay_triangles_nor(struct Mesh *me); +struct Gwn_Batch *DRW_mesh_batch_cache_get_overlay_loose_edges(struct Mesh *me); +struct Gwn_Batch *DRW_mesh_batch_cache_get_overlay_loose_edges_nor(struct Mesh *me); +struct Gwn_Batch *DRW_mesh_batch_cache_get_overlay_loose_verts(struct Mesh *me); +struct Gwn_Batch *DRW_mesh_batch_cache_get_overlay_facedots(struct Mesh *me); /* Particles */ -struct Batch *DRW_particles_batch_cache_get_hair(struct ParticleSystem *psys); -struct Batch *DRW_particles_batch_cache_get_dots(struct ParticleSystem *psys); +struct Gwn_Batch *DRW_particles_batch_cache_get_hair(struct ParticleSystem *psys); +struct Gwn_Batch *DRW_particles_batch_cache_get_dots(struct ParticleSystem *psys); #endif /* __DRAW_CACHE_IMPL_H__ */ |