mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-02 09:31:12 +00:00
[model] Move visframe out of msurface_t
One more step towards BSP thread-safety. This one brought with it a very noticeable speed boost (ie, not lost in the noise) thanks to the face visframes being in tightly packed groups instead of 128 bytes apart, though the sw render's boost is lost in the noise (but it's very fill-rate limited).
This commit is contained in:
parent
d40769c21d
commit
c8472755d1
13 changed files with 36 additions and 23 deletions
|
@ -75,9 +75,10 @@ struct animation_s;
|
|||
void R_DrawAliasModel (struct entity_s *e);
|
||||
|
||||
void R_MarkLeaves (struct mleaf_s *viewleaf, int *node_visframes,
|
||||
int *leaf_visframes);
|
||||
int *leaf_visframes, int *face_visframes);
|
||||
extern int *r_node_visframes;
|
||||
extern int *r_leaf_visframes;
|
||||
extern int *r_face_visframes;
|
||||
|
||||
void GL_SetPalette (void *data, const byte *palette);
|
||||
void GLSL_SetPalette (void *data, const byte *palette);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue