/dports/games/openbor4432/openbor-ba1eb4f/engine/sdl/ |
H A D | opengl.c | 31 static GLint textureColorFormat[3]; variable 129 textureColorFormat[index] = GL_RED; in video_gl_init_texture() 133 textureColorFormat[index] = GL_RGB; in video_gl_init_texture() 137 textureColorFormat[index] = GL_RGBA; in video_gl_init_texture() 171 glTexImage2D(GL_TEXTURE_2D, 0, textureColorFormat[index], allocTextureWidth, allocTextureHeight, in video_gl_init_texture() 172 0, textureColorFormat[index], texturePixelFormat[index], surface->pixels); in video_gl_init_texture() 357 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, textureWidth, textureHeight, textureColorFormat[0], in video_gl_copy_screen() 437 textureColorFormat[0], texturePixelFormat[0], frame->lum); in video_gl_prepare_yuv_frame() 443 textureColorFormat[1], texturePixelFormat[1], frame->cr); in video_gl_prepare_yuv_frame() 449 textureColorFormat[2], texturePixelFormat[2], frame->cb); in video_gl_prepare_yuv_frame()
|
/dports/games/openbor/openbor-3caaddd5/engine/sdl/ |
H A D | opengl.c | 30 static GLint textureColorFormat[3]; variable 151 textureColorFormat[index] = GL_RED; in video_gl_init_texture() 155 textureColorFormat[index] = GL_RGB; in video_gl_init_texture() 159 textureColorFormat[index] = GL_RGBA; in video_gl_init_texture() 193 glTexImage2D(GL_TEXTURE_2D, 0, textureColorFormat[index], allocTextureWidth, allocTextureHeight, in video_gl_init_texture() 194 0, textureColorFormat[index], texturePixelFormat[index], surface->pixels); in video_gl_init_texture() 382 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, textureWidth, textureHeight, textureColorFormat[0], in video_gl_copy_screen() 449 textureColorFormat[0], texturePixelFormat[0], frame->lum); in video_gl_prepare_yuv_frame() 455 textureColorFormat[1], texturePixelFormat[1], frame->cr); in video_gl_prepare_yuv_frame() 461 textureColorFormat[2], texturePixelFormat[2], frame->cb); in video_gl_prepare_yuv_frame()
|
/dports/games/openbor3482/openbor-2c1ecd7/engine/sdl/ |
H A D | opengl.c | 44 static GLint textureColorFormat; variable 101 textureColorFormat = (bytesPerPixel == 4) ? GL_RGBA : GL_RGB; in video_gl_init_textures() 102 textureInternalColorFormat = textureColorFormat; in video_gl_init_textures() 152 allocTextureHeight, 0, textureColorFormat, texturePixelFormat, bscreen->pixels); in video_gl_init_textures() 366 glTexSubImage2D(textureTarget, 0, 0, 0, textureWidth, textureHeight, textureColorFormat, in video_gl_copy_screen()
|
/dports/games/openbor3711/openbor-6ec17fa/engine/sdl/ |
H A D | opengl.c | 44 static GLint textureColorFormat; variable 101 textureColorFormat = (bytesPerPixel == 4) ? GL_RGBA : GL_RGB; in video_gl_init_textures() 102 textureInternalColorFormat = textureColorFormat; in video_gl_init_textures() 152 allocTextureHeight, 0, textureColorFormat, texturePixelFormat, bscreen->pixels); in video_gl_init_textures() 371 glTexSubImage2D(textureTarget, 0, 0, 0, textureWidth, textureHeight, textureColorFormat, in video_gl_copy_screen()
|
/dports/games/openbor3979/openbor-2bcf25b/engine/sdl/ |
H A D | opengl.c | 56 static GLint textureColorFormat; variable 123 textureColorFormat = (bytesPerPixel == 4) ? GL_RGBA : GL_RGB; in video_gl_init_textures() 124 textureInternalColorFormat = textureColorFormat; in video_gl_init_textures() 174 allocTextureHeight, 0, textureColorFormat, texturePixelFormat, bscreen->pixels); in video_gl_init_textures() 416 glTexSubImage2D(textureTarget, 0, 0, 0, textureWidth, textureHeight, textureColorFormat, in video_gl_copy_screen()
|