Home
last modified time | relevance | path

Searched refs:allocTextureHeight (Results 1 – 6 of 6) sorted by relevance

/dports/games/openbor4432/openbor-ba1eb4f/engine/sdl/
H A Dopengl.c122 int allocTextureWidth, allocTextureHeight; in video_gl_init_texture() local
152 allocTextureHeight = height; in video_gl_init_texture()
157 allocTextureHeight = nextpowerof2(height); in video_gl_init_texture()
162 tcy = (height == 0) ? 0 : (float)height / (float)allocTextureHeight; 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 Dopengl.c144 int allocTextureWidth, allocTextureHeight; in video_gl_init_texture() local
174 allocTextureHeight = height; in video_gl_init_texture()
179 allocTextureHeight = nextpowerof2(height); in video_gl_init_texture()
184 tcy = (height == 0) ? 0 : (float)height / (float)allocTextureHeight; 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 Dopengl.c96 int allocTextureWidth, allocTextureHeight; in video_gl_init_textures() local
127 allocTextureHeight = textureHeight; in video_gl_init_textures()
132 allocTextureHeight = nextpowerof2(textureHeight); in video_gl_init_textures()
138 tcy = (textureHeight == 0) ? 0 : (textureHeight<<16) / allocTextureHeight; in video_gl_init_textures()
141 tcy = (textureHeight == 0) ? 0 : (float)textureHeight / (float)allocTextureHeight; in video_gl_init_textures()
145 …bscreen = SDL_AllocSurface(SDL_SWSURFACE, allocTextureWidth, allocTextureHeight, textureDepths[byt… in video_gl_init_textures()
152 allocTextureHeight, 0, textureColorFormat, texturePixelFormat, bscreen->pixels); in video_gl_init_textures()
/dports/games/openbor3711/openbor-6ec17fa/engine/sdl/
H A Dopengl.c96 int allocTextureWidth, allocTextureHeight; in video_gl_init_textures() local
127 allocTextureHeight = textureHeight; in video_gl_init_textures()
132 allocTextureHeight = nextpowerof2(textureHeight); in video_gl_init_textures()
138 tcy = (textureHeight == 0) ? 0 : (textureHeight<<16) / allocTextureHeight; in video_gl_init_textures()
141 tcy = (textureHeight == 0) ? 0 : (float)textureHeight / (float)allocTextureHeight; in video_gl_init_textures()
145 …bscreen = SDL_AllocSurface(SDL_SWSURFACE, allocTextureWidth, allocTextureHeight, textureDepths[byt… in video_gl_init_textures()
152 allocTextureHeight, 0, textureColorFormat, texturePixelFormat, bscreen->pixels); in video_gl_init_textures()
/dports/games/openbor3979/openbor-2bcf25b/engine/sdl/
H A Dopengl.c118 int allocTextureWidth, allocTextureHeight; in video_gl_init_textures() local
149 allocTextureHeight = textureHeight; in video_gl_init_textures()
154 allocTextureHeight = nextpowerof2(textureHeight); in video_gl_init_textures()
160 tcy = (textureHeight == 0) ? 0 : (textureHeight<<16) / allocTextureHeight; in video_gl_init_textures()
163 tcy = (textureHeight == 0) ? 0 : (float)textureHeight / (float)allocTextureHeight; in video_gl_init_textures()
167 …bscreen = SDL_CreateRGBSurface(SDL_SWSURFACE, allocTextureWidth, allocTextureHeight, textureDepths… in video_gl_init_textures()
174 allocTextureHeight, 0, textureColorFormat, texturePixelFormat, bscreen->pixels); in video_gl_init_textures()
/dports/games/openbor3979/openbor-2bcf25b/engine/android/jni/
H A Dvideo.c339 int allocTextureWidth, allocTextureHeight; in video_set_mode() local
400 allocTextureHeight = nextpowerof2(textureHeight); in video_set_mode()
403 …eateTexture(renderer, format, SDL_TEXTUREACCESS_STREAMING, allocTextureWidth, allocTextureHeight))) in video_set_mode()