Searched refs:allocTextureWidth (Results 1 – 6 of 6) sorted by relevance
/dports/games/openbor4432/openbor-ba1eb4f/engine/sdl/ |
H A D | opengl.c | 122 int allocTextureWidth, allocTextureHeight; in video_gl_init_texture() local 151 allocTextureWidth = width; in video_gl_init_texture() 156 allocTextureWidth = nextpowerof2(width); in video_gl_init_texture() 161 tcx = (width == 0) ? 0 : (float)width / (float)allocTextureWidth; in video_gl_init_texture() 165 …surface = SDL_CreateRGBSurface(0, allocTextureWidth, allocTextureHeight, bytesPerPixel * 8, 0,0,0,… in video_gl_init_texture() 171 glTexImage2D(GL_TEXTURE_2D, 0, textureColorFormat[index], allocTextureWidth, allocTextureHeight, in video_gl_init_texture()
|
/dports/games/openbor/openbor-3caaddd5/engine/sdl/ |
H A D | opengl.c | 144 int allocTextureWidth, allocTextureHeight; in video_gl_init_texture() local 173 allocTextureWidth = width; in video_gl_init_texture() 178 allocTextureWidth = nextpowerof2(width); in video_gl_init_texture() 183 tcx = (width == 0) ? 0 : (float)width / (float)allocTextureWidth; in video_gl_init_texture() 187 …surface = SDL_CreateRGBSurface(0, allocTextureWidth, allocTextureHeight, bytesPerPixel * 8, 0,0,0,… in video_gl_init_texture() 193 glTexImage2D(GL_TEXTURE_2D, 0, textureColorFormat[index], allocTextureWidth, allocTextureHeight, in video_gl_init_texture()
|
/dports/games/openbor3482/openbor-2c1ecd7/engine/sdl/ |
H A D | opengl.c | 96 int allocTextureWidth, allocTextureHeight; in video_gl_init_textures() local 126 allocTextureWidth = textureWidth; in video_gl_init_textures() 131 allocTextureWidth = nextpowerof2(textureWidth); in video_gl_init_textures() 137 tcx = (textureWidth == 0) ? 0 : (textureWidth<<16) / allocTextureWidth; in video_gl_init_textures() 140 tcx = (textureWidth == 0) ? 0 : (float)textureWidth / (float)allocTextureWidth; in video_gl_init_textures() 145 …bscreen = SDL_AllocSurface(SDL_SWSURFACE, allocTextureWidth, allocTextureHeight, textureDepths[byt… in video_gl_init_textures() 151 glTexImage2D(textureTarget, 0, textureInternalColorFormat, allocTextureWidth, in video_gl_init_textures()
|
/dports/games/openbor3711/openbor-6ec17fa/engine/sdl/ |
H A D | opengl.c | 96 int allocTextureWidth, allocTextureHeight; in video_gl_init_textures() local 126 allocTextureWidth = textureWidth; in video_gl_init_textures() 131 allocTextureWidth = nextpowerof2(textureWidth); in video_gl_init_textures() 137 tcx = (textureWidth == 0) ? 0 : (textureWidth<<16) / allocTextureWidth; in video_gl_init_textures() 140 tcx = (textureWidth == 0) ? 0 : (float)textureWidth / (float)allocTextureWidth; in video_gl_init_textures() 145 …bscreen = SDL_AllocSurface(SDL_SWSURFACE, allocTextureWidth, allocTextureHeight, textureDepths[byt… in video_gl_init_textures() 151 glTexImage2D(textureTarget, 0, textureInternalColorFormat, allocTextureWidth, in video_gl_init_textures()
|
/dports/games/openbor3979/openbor-2bcf25b/engine/sdl/ |
H A D | opengl.c | 118 int allocTextureWidth, allocTextureHeight; in video_gl_init_textures() local 148 allocTextureWidth = textureWidth; in video_gl_init_textures() 153 allocTextureWidth = nextpowerof2(textureWidth); in video_gl_init_textures() 159 tcx = (textureWidth == 0) ? 0 : (textureWidth<<16) / allocTextureWidth; in video_gl_init_textures() 162 tcx = (textureWidth == 0) ? 0 : (float)textureWidth / (float)allocTextureWidth; in video_gl_init_textures() 167 …bscreen = SDL_CreateRGBSurface(SDL_SWSURFACE, allocTextureWidth, allocTextureHeight, textureDepths… in video_gl_init_textures() 173 glTexImage2D(textureTarget, 0, textureInternalColorFormat, allocTextureWidth, in video_gl_init_textures()
|
/dports/games/openbor3979/openbor-2bcf25b/engine/android/jni/ |
H A D | video.c | 339 int allocTextureWidth, allocTextureHeight; in video_set_mode() local 399 allocTextureWidth = nextpowerof2(textureWidth); in video_set_mode() 403 … = SDL_CreateTexture(renderer, format, SDL_TEXTUREACCESS_STREAMING, allocTextureWidth, allocTextur… in video_set_mode()
|