Searched refs:BLOCK_WIDTH (Results 1 - 4 of 4) sorted by relevance

/external/quake/quake/src/QW/client/
H A Dgl_rsurf.c37 #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,
452 lightmaps+(i* BLOCK_HEIGHT + theRect->t) *BLOCK_WIDTH*lightmap_bytes);
453 theRect->l = BLOCK_WIDTH;
553 BLOCK_WIDTH, theRect->h, gl_lightmap_format, GL_UNSIGNED_BYTE,
554 lightmaps+(i* BLOCK_HEIGHT + theRect->t) *BLOCK_WIDTH*lightmap_bytes);
555 theRect->l = BLOCK_WIDTH;
725 // theRect->w = BLOCK_WIDTH;
[all...]
H A Dgl_draw.c111 #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++)
167 GL_Upload8 (scrap_texels[0], BLOCK_WIDTH, BLOCK_HEIGHT, false, true);
210 scrap_texels[texnum][(y+i)*BLOCK_WIDTH + x + j] = p->data[k];
213 gl->sl = (x+0.01)/(float)BLOCK_WIDTH;
214 gl->sh = (x+p->width-0.01)/(float)BLOCK_WIDTH;
215 gl->tl = (y+0.01)/(float)BLOCK_WIDTH;
216 gl->th = (y+p->height-0.01)/(float)BLOCK_WIDTH;
[all...]
/external/quake/quake/src/WinQuake/
H A Dgl_rsurf.cpp37 #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,
449 lightmaps+(i* BLOCK_HEIGHT + theRect->t) *BLOCK_WIDTH*lightmap_bytes);
450 theRect->l = BLOCK_WIDTH;
575 BLOCK_WIDTH, theRect->h, gl_lightmap_format, GL_UNSIGNED_BYTE,
576 lightmaps+(i* BLOCK_HEIGHT + theRect->t) *BLOCK_WIDTH*lightmap_bytes);
577 theRect->l = BLOCK_WIDTH;
800 // , BLOCK_WIDTH, BLOCK_HEIGH
[all...]
H A Dgl_draw.cpp423 #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++)
484 GL_Upload8 (scrap_texels[texnum], BLOCK_WIDTH, BLOCK_HEIGHT, false, true);
543 scrap_texels[texnum][(y+i)*BLOCK_WIDTH + x + j] = p->data[k];
546 gl->sl = (x+0.01)/(float)BLOCK_WIDTH;
547 gl->sh = (x+p->width-0.01)/(float)BLOCK_WIDTH;
548 gl->tl = (y+0.01)/(float)BLOCK_WIDTH;
549 gl->th = (y+p->height-0.01)/(float)BLOCK_WIDTH;
[all...]

Completed in 45 milliseconds