Searched refs:BLOCK_WIDTH (Results 1 – 4 of 4) sorted by relevance
/external/quake/quake/src/QW/client/ |
D | gl_rsurf.c | 37 #define BLOCK_WIDTH 128 macro 51 int allocated[MAX_LIGHTMAPS][BLOCK_WIDTH]; 55 byte lightmaps[4*MAX_LIGHTMAPS*BLOCK_WIDTH*BLOCK_HEIGHT]; 451 BLOCK_WIDTH, theRect->h, gl_lightmap_format, GL_UNSIGNED_BYTE, in R_DrawSequentialPoly() 452 lightmaps+(i* BLOCK_HEIGHT + theRect->t) *BLOCK_WIDTH*lightmap_bytes); in R_DrawSequentialPoly() 453 theRect->l = BLOCK_WIDTH; in R_DrawSequentialPoly() 553 BLOCK_WIDTH, theRect->h, gl_lightmap_format, GL_UNSIGNED_BYTE, in R_DrawSequentialPoly() 554 lightmaps+(i* BLOCK_HEIGHT + theRect->t) *BLOCK_WIDTH*lightmap_bytes); in R_DrawSequentialPoly() 555 theRect->l = BLOCK_WIDTH; in R_DrawSequentialPoly() 734 BLOCK_WIDTH, theRect->h, gl_lightmap_format, GL_UNSIGNED_BYTE, in R_BlendLightmaps() [all …]
|
D | gl_draw.c | 111 #define BLOCK_WIDTH 256 macro 114 int scrap_allocated[MAX_SCRAPS][BLOCK_WIDTH]; 115 byte scrap_texels[MAX_SCRAPS][BLOCK_WIDTH*BLOCK_HEIGHT*4]; 130 for (i=0 ; i<BLOCK_WIDTH-w ; i++) in Scrap_AllocBlock() 167 GL_Upload8 (scrap_texels[0], BLOCK_WIDTH, BLOCK_HEIGHT, false, true); in Scrap_Upload() 210 scrap_texels[texnum][(y+i)*BLOCK_WIDTH + x + j] = p->data[k]; in Draw_PicFromWad() 213 gl->sl = (x+0.01)/(float)BLOCK_WIDTH; in Draw_PicFromWad() 214 gl->sh = (x+p->width-0.01)/(float)BLOCK_WIDTH; in Draw_PicFromWad() 215 gl->tl = (y+0.01)/(float)BLOCK_WIDTH; in Draw_PicFromWad() 216 gl->th = (y+p->height-0.01)/(float)BLOCK_WIDTH; in Draw_PicFromWad()
|
/external/quake/quake/src/WinQuake/ |
D | gl_rsurf.cpp | 37 #define BLOCK_WIDTH 128 macro 51 int allocated[MAX_LIGHTMAPS][BLOCK_WIDTH]; 55 byte lightmaps[4*MAX_LIGHTMAPS*BLOCK_WIDTH*BLOCK_HEIGHT]; 448 BLOCK_WIDTH, theRect->h, gl_lightmap_format, GL_UNSIGNED_BYTE, in R_DrawSequentialPoly() 449 lightmaps+(i* BLOCK_HEIGHT + theRect->t) *BLOCK_WIDTH*lightmap_bytes); in R_DrawSequentialPoly() 450 theRect->l = BLOCK_WIDTH; in R_DrawSequentialPoly() 575 BLOCK_WIDTH, theRect->h, gl_lightmap_format, GL_UNSIGNED_BYTE, in R_DrawSequentialPoly() 576 lightmaps+(i* BLOCK_HEIGHT + theRect->t) *BLOCK_WIDTH*lightmap_bytes); in R_DrawSequentialPoly() 577 theRect->l = BLOCK_WIDTH; in R_DrawSequentialPoly() 806 BLOCK_WIDTH, theRect->h, gl_lightmap_format, GL_UNSIGNED_BYTE, in R_BlendLightmaps() [all …]
|
D | gl_draw.cpp | 423 #define BLOCK_WIDTH 256 macro 426 int scrap_allocated[MAX_SCRAPS][BLOCK_WIDTH]; 427 byte scrap_texels[MAX_SCRAPS][BLOCK_WIDTH*BLOCK_HEIGHT*4]; 443 for (i=0 ; i<BLOCK_WIDTH-w ; i++) in Scrap_AllocBlock() 484 GL_Upload8 (scrap_texels[texnum], BLOCK_WIDTH, BLOCK_HEIGHT, false, true); in Scrap_Upload() 543 scrap_texels[texnum][(y+i)*BLOCK_WIDTH + x + j] = p->data[k]; in Draw_PicFromWad() 546 gl->sl = (x+0.01)/(float)BLOCK_WIDTH; in Draw_PicFromWad() 547 gl->sh = (x+p->width-0.01)/(float)BLOCK_WIDTH; in Draw_PicFromWad() 548 gl->tl = (y+0.01)/(float)BLOCK_WIDTH; in Draw_PicFromWad() 549 gl->th = (y+p->height-0.01)/(float)BLOCK_WIDTH; in Draw_PicFromWad()
|