Home
last modified time | relevance | path

Searched refs:texture_formats (Results 1 – 25 of 149) sorted by relevance

123456

/dports/audio/ocp/ocp-0.2.90/stuff/
H A Dpoutput-sdl2.c158 for (i=0; (i<16) && info.texture_formats[i]; i++) in sdl2_dump_renderer()
163 fprintf (stderr, " Renderer.texture_formats[%d] = %d", i, info.texture_formats[i]); in sdl2_dump_renderer()
200 if (info.texture_formats[i] == SDL_PIXELFORMAT_YV12) fprintf (stderr, " (SDL_PIXELFORMAT_YV12)"); in sdl2_dump_renderer()
201 if (info.texture_formats[i] == SDL_PIXELFORMAT_IYUV) fprintf (stderr, " (SDL_PIXELFORMAT_IYUV)"); in sdl2_dump_renderer()
208 switch (SDL_PIXELTYPE (info.texture_formats[i])) in sdl2_dump_renderer()
225 switch (SDL_PIXELORDER (info.texture_formats[i])) in sdl2_dump_renderer()
235 switch (SDL_PIXELORDER (info.texture_formats[i])) in sdl2_dump_renderer()
248 switch (SDL_PIXELLAYOUT (info.texture_formats[i])) in sdl2_dump_renderer()
264 switch (SDL_PIXELORDER (info.texture_formats[i])) in sdl2_dump_renderer()
276 fprintf (stderr, " bits_per_pixel=%d", SDL_BITSPERPIXEL (info.texture_formats[i])); in sdl2_dump_renderer()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/gpu/windows/
H A Dd3d11_texture_wrapper.cc31 std::array<viz::ResourceFormat, VideoFrame::kMaxPlanes>& texture_formats) { in DXGIFormatToVizFormat() argument
35 texture_formats[0] = viz::RED_8; // Y in DXGIFormatToVizFormat()
36 texture_formats[1] = viz::RG_88; // UV in DXGIFormatToVizFormat()
42 texture_formats[0] = viz::RED_8; in DXGIFormatToVizFormat()
43 texture_formats[1] = viz::RG_88; in DXGIFormatToVizFormat()
50 texture_formats[0] = viz::BGRA_8888; in DXGIFormatToVizFormat()
57 texture_formats[0] = viz::RGBA_F16; in DXGIFormatToVizFormat()
147 std::array<viz::ResourceFormat, VideoFrame::kMaxPlanes> texture_formats; in Init() local
149 texture_formats)) { in Init()
171 textures_per_picture, texture_formats, pixel_format_, in Init()
[all …]
H A Dd3d11_texture_wrapper.h111 std::array<viz::ResourceFormat, VideoFrame::kMaxPlanes> texture_formats,
/dports/graphics/movit/movit-1.6.3/
H A Dresource_pool.cpp43 assert(texture_formats.count(free_texture_num) != 0); in ~ResourcePool()
45 glDeleteSync(texture_formats[free_texture_num].no_reuse_before); in ~ResourcePool()
46 texture_formats.erase(free_texture_num); in ~ResourcePool()
50 assert(texture_formats.empty()); in ~ResourcePool()
335 assert(format_it != texture_formats.end()); in create_2d_texture()
443 assert(texture_formats.count(texture_num) == 0); in create_2d_texture()
444 texture_formats.insert(make_pair(texture_num, texture_format)); in create_2d_texture()
454 assert(texture_formats.count(texture_num) != 0); in release_2d_texture()
461 assert(texture_formats.count(free_texture_num) != 0); in release_2d_texture()
463 glDeleteSync(texture_formats[free_texture_num].no_reuse_before); in release_2d_texture()
[all …]
H A Dresource_pool.h220 std::map<GLuint, Texture2D> texture_formats; variable
/dports/games/taisei/taisei-1.3.2/scripts/
H A Dgen-atlas.py55 texture_formats = ['png', 'webp'] variable
148 for fmt in texture_formats:
347 def gen_atlas(overrides, src, dst, binsize, atlasname, tex_format=texture_formats[0], border=1, for…
372 …if path.is_file() and path.suffix[1:].lower() in texture_formats and path.with_suffix('').suffix !…
615 choices=texture_formats,
616 default=texture_formats[0],
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/external/openglcts/modules/gl/
H A Dgl3cTextureSwizzleTests.cpp229 static const _texture_format texture_formats[] = { variable
1132 static const size_t n_texture_formats = sizeof(texture_formats) / sizeof(texture_formats[0]);
1306 const _texture_format& format = texture_formats[format_idx]; in calculate_values_from_source()
1819 if (texture_formats[i].m_internal_format == internal_format) in get_index_of_format()
2722 const _texture_format& texture_format = texture_formats[format_idx]; in fillSourceTexture()
2998 const _texture_format& format = texture_formats[format_idx]; in isTargetSuppByFormat()
3408 const _texture_format& format = texture_formats[format_idx]; in prepareOutputTexture()
3457 const _texture_format& texture_format = texture_formats[format_idx]; in prepareSourceTexture()
3777 texture_formats[format_idx].m_minimum_gl_context)) in iterate()
4031 const _texture_format& format = texture_formats[format_idx]; in iterate()
[all …]
/dports/games/openbor4432/openbor-ba1eb4f/engine/wii/
H A Dvideo.c181 static const int texture_formats[4] = {GX_TF_CI8, GX_TF_RGB565, GX_TF_RGBA8, GX_TF_RGBA8}; in video_set_mode() local
197 …texturemem_size = GX_GetTexBufferSize(textureWidth, textureHeight, texture_formats[bytes_per_pixel… in video_set_mode()
218 …GX_InitTexObj(&texture[0], texturemem[0], textureWidth, textureHeight, texture_formats[bytes_per_p… in video_set_mode()
219 …GX_InitTexObj(&texture[1], texturemem[1], textureWidth, textureHeight, texture_formats[bytes_per_p… in video_set_mode()
/dports/games/openbor/openbor-3caaddd5/engine/wii/
H A Dvideo.c181 static const int texture_formats[4] = {GX_TF_CI8, GX_TF_RGB565, GX_TF_RGBA8, GX_TF_RGBA8}; in video_set_mode() local
197 …texturemem_size = GX_GetTexBufferSize(textureWidth, textureHeight, texture_formats[bytes_per_pixel… in video_set_mode()
218 …GX_InitTexObj(&texture[0], texturemem[0], textureWidth, textureHeight, texture_formats[bytes_per_p… in video_set_mode()
219 …GX_InitTexObj(&texture[1], texturemem[1], textureWidth, textureHeight, texture_formats[bytes_per_p… in video_set_mode()
/dports/games/openbor3979/openbor-2bcf25b/engine/wii/
H A Dvideo.c177 static const int texture_formats[4] = {GX_TF_CI8, GX_TF_RGB565, GX_TF_RGBA8, GX_TF_RGBA8}; in video_set_mode() local
192 …texturemem_size = GX_GetTexBufferSize(textureWidth, textureHeight, texture_formats[bytes_per_pixel… in video_set_mode()
213 …GX_InitTexObj(&texture[0], texturemem[0], textureWidth, textureHeight, texture_formats[bytes_per_p… in video_set_mode()
214 …GX_InitTexObj(&texture[1], texturemem[1], textureWidth, textureHeight, texture_formats[bytes_per_p… in video_set_mode()
/dports/games/openbor3482/openbor-2c1ecd7/engine/wii/
H A Dvideo.c177 static const int texture_formats[4] = {GX_TF_CI8, GX_TF_RGB565, GX_TF_RGBA8, GX_TF_RGBA8}; in video_set_mode() local
192 …texturemem_size = GX_GetTexBufferSize(textureWidth, textureHeight, texture_formats[bytes_per_pixel… in video_set_mode()
213 …GX_InitTexObj(&texture[0], texturemem[0], textureWidth, textureHeight, texture_formats[bytes_per_p… in video_set_mode()
214 …GX_InitTexObj(&texture[1], texturemem[1], textureWidth, textureHeight, texture_formats[bytes_per_p… in video_set_mode()
/dports/games/openbor3711/openbor-6ec17fa/engine/wii/
H A Dvideo.c177 static const int texture_formats[4] = {GX_TF_CI8, GX_TF_RGB565, GX_TF_RGBA8, GX_TF_RGBA8}; in video_set_mode() local
192 …texturemem_size = GX_GetTexBufferSize(textureWidth, textureHeight, texture_formats[bytes_per_pixel… in video_set_mode()
213 …GX_InitTexObj(&texture[0], texturemem[0], textureWidth, textureHeight, texture_formats[bytes_per_p… in video_set_mode()
214 …GX_InitTexObj(&texture[1], texturemem[1], textureWidth, textureHeight, texture_formats[bytes_per_p… in video_set_mode()
/dports/emulators/mess/mame-mame0226/3rdparty/SDL2/src/render/
H A DSDL_render.c376 if (renderer->info.texture_formats[i] == format) { in IsSupportedFormat()
391 if (renderer->info.texture_formats[i] == format) { in GetClosestSupportedFormat()
392 return renderer->info.texture_formats[i]; in GetClosestSupportedFormat()
400 if (!SDL_ISPIXELFORMAT_FOURCC(renderer->info.texture_formats[i]) && in GetClosestSupportedFormat()
402 return renderer->info.texture_formats[i]; in GetClosestSupportedFormat()
406 return renderer->info.texture_formats[0]; in GetClosestSupportedFormat()
417 format = renderer->info.texture_formats[0]; in SDL_CreateTexture()
526 format = renderer->info.texture_formats[0]; in SDL_CreateTextureFromSurface()
528 if (!SDL_ISPIXELFORMAT_FOURCC(renderer->info.texture_formats[i]) && in SDL_CreateTextureFromSurface()
529 SDL_ISPIXELFORMAT_ALPHA(renderer->info.texture_formats[i]) == needAlpha) { in SDL_CreateTextureFromSurface()
[all …]
/dports/emulators/mame/mame-mame0226/3rdparty/SDL2/src/render/
H A DSDL_render.c376 if (renderer->info.texture_formats[i] == format) { in IsSupportedFormat()
391 if (renderer->info.texture_formats[i] == format) { in GetClosestSupportedFormat()
392 return renderer->info.texture_formats[i]; in GetClosestSupportedFormat()
400 if (!SDL_ISPIXELFORMAT_FOURCC(renderer->info.texture_formats[i]) && in GetClosestSupportedFormat()
402 return renderer->info.texture_formats[i]; in GetClosestSupportedFormat()
406 return renderer->info.texture_formats[0]; in GetClosestSupportedFormat()
417 format = renderer->info.texture_formats[0]; in SDL_CreateTexture()
526 format = renderer->info.texture_formats[0]; in SDL_CreateTextureFromSurface()
528 if (!SDL_ISPIXELFORMAT_FOURCC(renderer->info.texture_formats[i]) && in SDL_CreateTextureFromSurface()
529 SDL_ISPIXELFORMAT_ALPHA(renderer->info.texture_formats[i]) == needAlpha) { in SDL_CreateTextureFromSurface()
[all …]
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/SDL/src/render/
H A DSDL_render.c376 if (renderer->info.texture_formats[i] == format) { in IsSupportedFormat()
391 if (renderer->info.texture_formats[i] == format) { in GetClosestSupportedFormat()
392 return renderer->info.texture_formats[i]; in GetClosestSupportedFormat()
400 if (!SDL_ISPIXELFORMAT_FOURCC(renderer->info.texture_formats[i]) && in GetClosestSupportedFormat()
402 return renderer->info.texture_formats[i]; in GetClosestSupportedFormat()
406 return renderer->info.texture_formats[0]; in GetClosestSupportedFormat()
417 format = renderer->info.texture_formats[0]; in SDL_CreateTexture()
526 format = renderer->info.texture_formats[0]; in SDL_CreateTextureFromSurface()
528 if (!SDL_ISPIXELFORMAT_FOURCC(renderer->info.texture_formats[i]) && in SDL_CreateTextureFromSurface()
529 SDL_ISPIXELFORMAT_ALPHA(renderer->info.texture_formats[i]) == needAlpha) { in SDL_CreateTextureFromSurface()
[all …]
/dports/graphics/milton/milton-1.9.1/third_party/SDL2-2.0.8/src/render/
H A DSDL_render.c463 if (renderer->info.texture_formats[i] == format) { in IsSupportedFormat()
478 if (renderer->info.texture_formats[i] == format) { in GetClosestSupportedFormat()
479 return renderer->info.texture_formats[i]; in GetClosestSupportedFormat()
487 if (!SDL_ISPIXELFORMAT_FOURCC(renderer->info.texture_formats[i]) && in GetClosestSupportedFormat()
489 return renderer->info.texture_formats[i]; in GetClosestSupportedFormat()
493 return renderer->info.texture_formats[0]; in GetClosestSupportedFormat()
504 format = renderer->info.texture_formats[0]; in SDL_CreateTexture()
613 format = renderer->info.texture_formats[0]; in SDL_CreateTextureFromSurface()
615 if (!SDL_ISPIXELFORMAT_FOURCC(renderer->info.texture_formats[i]) && in SDL_CreateTextureFromSurface()
616 SDL_ISPIXELFORMAT_ALPHA(renderer->info.texture_formats[i]) == needAlpha) { in SDL_CreateTextureFromSurface()
[all …]
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/video/sdl/
H A Dsdl_screen_renderer.cpp48 log_info << " " << SDL_GetPixelFormatName(info.texture_formats[i]) << std::endl; in SDLScreenRenderer()
/dports/games/wesnoth/wesnoth-1.14.17/src/sdl/
H A Dwindow.cpp67 pixel_format_ = info.texture_formats[0]; in window()
/dports/devel/sdl20/SDL2-2.0.18/src/render/
H A DSDL_render.c1122 if (renderer->info.texture_formats[i] == format) { in IsSupportedFormat()
1137 if (renderer->info.texture_formats[i] == format) { in GetClosestSupportedFormat()
1138 return renderer->info.texture_formats[i]; in GetClosestSupportedFormat()
1146 if (!SDL_ISPIXELFORMAT_FOURCC(renderer->info.texture_formats[i]) && in GetClosestSupportedFormat()
1148 return renderer->info.texture_formats[i]; in GetClosestSupportedFormat()
1152 return renderer->info.texture_formats[0]; in GetClosestSupportedFormat()
1180 format = renderer->info.texture_formats[0]; in SDL_CreateTexture()
1237 closest_format = renderer->info.texture_formats[0]; in SDL_CreateTexture()
1337 if (renderer->info.texture_formats[i] == fmt->format) { in SDL_CreateTextureFromSurface()
1346 format = renderer->info.texture_formats[0]; in SDL_CreateTextureFromSurface()
[all …]
/dports/x11/controllermap/SDL2-2.0.18/src/render/
H A DSDL_render.c1122 if (renderer->info.texture_formats[i] == format) { in IsSupportedFormat()
1137 if (renderer->info.texture_formats[i] == format) { in GetClosestSupportedFormat()
1138 return renderer->info.texture_formats[i]; in GetClosestSupportedFormat()
1146 if (!SDL_ISPIXELFORMAT_FOURCC(renderer->info.texture_formats[i]) && in GetClosestSupportedFormat()
1148 return renderer->info.texture_formats[i]; in GetClosestSupportedFormat()
1152 return renderer->info.texture_formats[0]; in GetClosestSupportedFormat()
1180 format = renderer->info.texture_formats[0]; in SDL_CreateTexture()
1237 closest_format = renderer->info.texture_formats[0]; in SDL_CreateTexture()
1337 if (renderer->info.texture_formats[i] == fmt->format) { in SDL_CreateTextureFromSurface()
1346 format = renderer->info.texture_formats[0]; in SDL_CreateTextureFromSurface()
[all …]
/dports/multimedia/pipewire/pipewire-0.3.43/src/examples/
H A Dsdl.h173 uint32_t id = sdl_format_to_id(info->texture_formats[i]); in sdl_build_formats()
/dports/devel/emscripten/emscripten-2.0.3/system/include/SDL/
H A DSDL_render.h80 Uint32 texture_formats[16]; /**< The available texture formats */ member
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/sdl2-0.32.2/src/sdl2/
H A Drender.rs133 pub texture_formats: Vec<PixelFormatEnum>, field
169 let texture_formats: Vec<PixelFormatEnum> = in from_ll() localVariable
170 info.texture_formats[0..(info.num_texture_formats as usize)] in from_ll()
184 texture_formats: texture_formats, in from_ll()
/dports/emulators/mess/mame-mame0226/3rdparty/SDL2/src/render/opengl/
H A DSDL_render_gl.c538 renderer->info.texture_formats[renderer->info.num_texture_formats++] = SDL_PIXELFORMAT_YV12; in GL_CreateRenderer()
539 renderer->info.texture_formats[renderer->info.num_texture_formats++] = SDL_PIXELFORMAT_IYUV; in GL_CreateRenderer()
540 renderer->info.texture_formats[renderer->info.num_texture_formats++] = SDL_PIXELFORMAT_NV12; in GL_CreateRenderer()
541 renderer->info.texture_formats[renderer->info.num_texture_formats++] = SDL_PIXELFORMAT_NV21; in GL_CreateRenderer()
545 renderer->info.texture_formats[renderer->info.num_texture_formats++] = SDL_PIXELFORMAT_UYVY; in GL_CreateRenderer()
/dports/emulators/mame/mame-mame0226/3rdparty/SDL2/src/render/opengl/
H A DSDL_render_gl.c538 renderer->info.texture_formats[renderer->info.num_texture_formats++] = SDL_PIXELFORMAT_YV12; in GL_CreateRenderer()
539 renderer->info.texture_formats[renderer->info.num_texture_formats++] = SDL_PIXELFORMAT_IYUV; in GL_CreateRenderer()
540 renderer->info.texture_formats[renderer->info.num_texture_formats++] = SDL_PIXELFORMAT_NV12; in GL_CreateRenderer()
541 renderer->info.texture_formats[renderer->info.num_texture_formats++] = SDL_PIXELFORMAT_NV21; in GL_CreateRenderer()
545 renderer->info.texture_formats[renderer->info.num_texture_formats++] = SDL_PIXELFORMAT_UYVY; in GL_CreateRenderer()

123456