Searched refs:miplevel (Results 1 – 10 of 10) sorted by relevance
/external/quake/quake/src/WinQuake/ |
D | d_surf.cpp | 264 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()
|
D | d_edge.cpp | 25 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()
|
D | gl_draw.cpp | 1654 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 …]
|
D | d_local.h | 84 surfcache_t *D_CacheSurface (msurface_t *surface, int miplevel);
|
D | r_local.h | 159 void R_AddPolygonEdges (emitpoint_t *pverts, int numverts, int miplevel);
|
/external/quake/quake/src/QW/client/ |
D | d_edge.c | 25 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()
|
D | d_surf.c | 267 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()
|
D | gl_draw.c | 1199 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()
|
D | d_local.h | 84 surfcache_t *D_CacheSurface (msurface_t *surface, int miplevel);
|
D | r_local.h | 160 void R_AddPolygonEdges (emitpoint_t *pverts, int numverts, int miplevel);
|