GPUDrawList: GL backend isolation
This commit is contained in:
@@ -199,19 +199,6 @@ GPUBatch *create_BatchInGeneral(GPUPrimType, VertexBufferStuff, ElementListStuff
|
||||
|
||||
#endif /* future plans */
|
||||
|
||||
/**
|
||||
* #GPUDrawList is an API to do lots of similar draw-calls very fast using multi-draw-indirect.
|
||||
* There is a fallback if the feature is not supported.
|
||||
*/
|
||||
typedef struct GPUDrawList GPUDrawList;
|
||||
|
||||
GPUDrawList *GPU_draw_list_create(int length);
|
||||
void GPU_draw_list_discard(GPUDrawList *list);
|
||||
void GPU_draw_list_init(GPUDrawList *list, GPUBatch *batch);
|
||||
void GPU_draw_list_command_add(
|
||||
GPUDrawList *list, int v_first, int v_count, int i_first, int i_count);
|
||||
void GPU_draw_list_submit(GPUDrawList *list);
|
||||
|
||||
void gpu_batch_init(void);
|
||||
void gpu_batch_exit(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user