Home
last modified time | relevance | path

Searched refs:miplevel (Results 1 – 10 of 10) sorted by relevance

/external/quake/quake/src/WinQuake/
Dd_surf.cpp264 surfcache_t *D_CacheSurface (msurface_t *surface, int miplevel) in D_CacheSurface() argument
280 cache = surface->cachespots[miplevel]; in D_CacheSurface()
293 surfscale = 1.0 / (1<<miplevel); in D_CacheSurface()
294 r_drawsurf.surfmip = miplevel; in D_CacheSurface()
295 r_drawsurf.surfwidth = surface->extents[0] >> miplevel; in D_CacheSurface()
297 r_drawsurf.surfheight = surface->extents[1] >> miplevel; in D_CacheSurface()
306 surface->cachespots[miplevel] = cache; in D_CacheSurface()
307 cache->owner = &surface->cachespots[miplevel]; in D_CacheSurface()
332 return surface->cachespots[miplevel]; in D_CacheSurface()
Dd_edge.cpp25 static int miplevel; variable
133 mipscale = 1.0 / (float)(1 << miplevel); in D_CalcGradients()
155 ((pface->texturemins[0] << 16) >> miplevel) in D_CalcGradients()
158 ((pface->texturemins[1] << 16) >> miplevel) in D_CalcGradients()
164 bbextents = ((pface->extents[0] << 16) >> miplevel) - 1; in D_CalcGradients()
165 bbextentt = ((pface->extents[1] << 16) >> miplevel) - 1; in D_CalcGradients()
239 miplevel = 0; in D_DrawSurfaces()
296 miplevel = D_MipLevelForScale (s->nearzi * scale_for_mip in D_DrawSurfaces()
300 pcurrentcache = D_CacheSurface (pface, miplevel); in D_DrawSurfaces()
Dgl_draw.cpp1654 int miplevel; in GL_Upload32() local
1656 miplevel = 0; in GL_Upload32()
1666 miplevel++; in GL_Upload32()
1667 …glTexImage2DHelper (GL_TEXTURE_2D, miplevel, samples, scaled_width, scaled_height, 0, GL_RGBA, GL_… in GL_Upload32()
1696 int miplevel = 0; in GL_Upload8_EXT() local
1774 miplevel = 0; in GL_Upload8_EXT()
1782 miplevel = 1; in GL_Upload8_EXT()
1795 miplevel++; in GL_Upload8_EXT()
1803 glCompressedTexImage2D (GL_TEXTURE_2D, -miplevel, internalFormat, in GL_Upload8_EXT()
1882 int miplevel; in GL_Upload8_EXT() local
[all …]
Dd_local.h84 surfcache_t *D_CacheSurface (msurface_t *surface, int miplevel);
Dr_local.h159 void R_AddPolygonEdges (emitpoint_t *pverts, int numverts, int miplevel);
/external/quake/quake/src/QW/client/
Dd_edge.c25 static int miplevel; variable
133 mipscale = 1.0 / (float)(1 << miplevel); in D_CalcGradients()
155 ((pface->texturemins[0] << 16) >> miplevel) in D_CalcGradients()
158 ((pface->texturemins[1] << 16) >> miplevel) in D_CalcGradients()
164 bbextents = ((pface->extents[0] << 16) >> miplevel) - 1; in D_CalcGradients()
165 bbextentt = ((pface->extents[1] << 16) >> miplevel) - 1; in D_CalcGradients()
243 miplevel = 0; in D_DrawSurfaces()
301 miplevel = D_MipLevelForScale (s->nearzi * scale_for_mip in D_DrawSurfaces()
305 pcurrentcache = D_CacheSurface (pface, miplevel); in D_DrawSurfaces()
Dd_surf.c267 surfcache_t *D_CacheSurface (msurface_t *surface, int miplevel) in D_CacheSurface() argument
283 cache = surface->cachespots[miplevel]; in D_CacheSurface()
296 surfscale = 1.0 / (1<<miplevel); in D_CacheSurface()
297 r_drawsurf.surfmip = miplevel; in D_CacheSurface()
298 r_drawsurf.surfwidth = surface->extents[0] >> miplevel; in D_CacheSurface()
300 r_drawsurf.surfheight = surface->extents[1] >> miplevel; in D_CacheSurface()
309 surface->cachespots[miplevel] = cache; in D_CacheSurface()
310 cache->owner = &surface->cachespots[miplevel]; in D_CacheSurface()
335 return surface->cachespots[miplevel]; in D_CacheSurface()
Dgl_draw.c1199 int miplevel; in GL_Upload32() local
1201 miplevel = 0; in GL_Upload32()
1211 miplevel++; in GL_Upload32()
1212 …glTexImage2DHelper (GL_TEXTURE_2D, miplevel, samples, scaled_width, scaled_height, 0, GL_RGBA, GL_… in GL_Upload32()
1298 int miplevel; in GL_Upload8_EXT() local
1300 miplevel = 0; in GL_Upload8_EXT()
1310 miplevel++; in GL_Upload8_EXT()
1312 …glCompressedTexImage2D (GL_TEXTURE_2D, miplevel, GL_PALETTE8_RGB8_OES, scaled_width, scaled_height… in GL_Upload8_EXT()
1314 …glTexImage2D (GL_TEXTURE_2D, miplevel, GL_COLOR_INDEX8_EXT, scaled_width, scaled_height, 0, GL_COL… in GL_Upload8_EXT()
Dd_local.h84 surfcache_t *D_CacheSurface (msurface_t *surface, int miplevel);
Dr_local.h160 void R_AddPolygonEdges (emitpoint_t *pverts, int numverts, int miplevel);