HomeSort by relevance Sort by last modified time
    Searched refs:BLOCK_WIDTH (Results 1 - 4 of 4) sorted by null

  /external/quake/quake/src/QW/client/
gl_rsurf.c 37 #define BLOCK_WIDTH 128
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...]
gl_draw.c 111 #define BLOCK_WIDTH 256
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/
gl_rsurf.cpp 37 #define BLOCK_WIDTH 128
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_HEIGHT, 0
    [all...]
gl_draw.cpp 423 #define BLOCK_WIDTH 256
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);
541 scrap_texels[texnum][(y+i)*BLOCK_WIDTH + x + j] = p->data[k];
544 gl->sl = (x+0.01)/(float)BLOCK_WIDTH;
545 gl->sh = (x+p->width-0.01)/(float)BLOCK_WIDTH;
546 gl->tl = (y+0.01)/(float)BLOCK_WIDTH;
547 gl->th = (y+p->height-0.01)/(float)BLOCK_WIDTH;
    [all...]

Completed in 27 milliseconds