Home
last modified time | relevance | path

Searched refs:gl_format (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/dports/x11-toolkits/gtk40/gtk-4.4.1/gsk/ngl/
H A Dgskngliconlibrary.c86 guint gl_format; in gsk_ngl_icon_library_add() local
121 gl_format = GL_RGBA; in gsk_ngl_icon_library_add()
127 gl_format = GL_BGRA; in gsk_ngl_icon_library_add()
138 gl_format, gl_type, in gsk_ngl_icon_library_add()
144 gl_format, gl_type, in gsk_ngl_icon_library_add()
150 gl_format, gl_type, in gsk_ngl_icon_library_add()
156 gl_format, gl_type, in gsk_ngl_icon_library_add()
165 gl_format, gl_type, in gsk_ngl_icon_library_add()
171 gl_format, gl_type, in gsk_ngl_icon_library_add()
180 gl_format, gl_type, in gsk_ngl_icon_library_add()
[all …]
/dports/graphics/colmap/colmap-3.6/lib/SiftGPU/
H A DGLTexImage.h106 static int IsSimpleGlFormat(unsigned int gl_format, unsigned int gl_type) in IsSimpleGlFormat() argument
109 return (gl_format ==GL_LUMINANCE ||gl_format == GL_LUMINANCE_ALPHA|| in IsSimpleGlFormat()
110 gl_format == GL_RGB|| gl_format == GL_RGBA|| in IsSimpleGlFormat()
111 gl_format == GL_BGR || gl_format == GL_BGRA) && in IsSimpleGlFormat()
117 static int DownSamplePixelDataI(unsigned int gl_format, int width, int height,
120 static int DownSamplePixelDataI2F(unsigned int gl_format, int width, int height,
123 static int DownSamplePixelDataF(unsigned int gl_format, int width, int height,
130 unsigned int gl_format, unsigned int gl_type);
H A DGLTexImage.cpp748 switch(gl_format) in DownSamplePixelDataI()
752 step = ds * (gl_format == GL_LUMINANCE? 1: 2); in DownSamplePixelDataI()
764 step = ds * (gl_format == GL_RGB? 3: 4); in DownSamplePixelDataI()
778 step = ds * (gl_format == GL_BGR? 3: 4); in DownSamplePixelDataI()
813 switch(gl_format) in DownSamplePixelDataI2F()
829 step = ds * (gl_format == GL_RGB? 3: 4); in DownSamplePixelDataI2F()
843 step = ds * (gl_format == GL_BGR? 3: 4); in DownSamplePixelDataI2F()
867 switch(gl_format) in DownSamplePixelDataF()
883 step = ds * (gl_format == GL_RGB? 3: 4); in DownSamplePixelDataF()
895 step = ds * (gl_format == GL_BGR? 3: 4); in DownSamplePixelDataF()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/gpu/opengl/
H A Dgl_texture.cc143 GLenum gl_format = to_gl_data_format(format_); in ensure_mipmaps() local
151 glTexImage2D(target, mip, internal_format, w, h, 0, gl_format, gl_type, NULL); in ensure_mipmaps()
244 GLenum gl_format = to_gl_data_format(format_); in update_sub() local
269 target_, mip, UNPACK2(offset), UNPACK2(extent), gl_format, size, data); in update_sub()
273 target_, mip, UNPACK3(offset), UNPACK3(extent), gl_format, size, data); in update_sub()
324 GLenum gl_format = to_gl_data_format(format_); in clear() local
326 glClearTexImage(tex_id_, mip, gl_format, gl_type, data); in clear()
384 GLenum gl_format = to_gl_data_format(format_); in read() local
388 glGetTextureImage(tex_id_, mip, gl_format, gl_type, texture_size, data); in read()
400 glGetTexImage(target_, mip, gl_format, gl_type, data); in read()
[all …]
/dports/x11-toolkits/wlroots/wlroots-0.12.0/render/gles2/
H A Dpixel_format.c14 .gl_format = GL_BGRA_EXT,
22 .gl_format = GL_BGRA_EXT,
30 .gl_format = GL_RGBA,
38 .gl_format = GL_RGBA,
57 GLint gl_format, GLint gl_type, bool alpha) { in get_gles2_format_from_gl() argument
59 if (formats[i].gl_format == gl_format && in get_gles2_format_from_gl()
/dports/x11-toolkits/gtk40/gtk-4.4.1/gsk/gl/
H A Dgskgliconcache.c140 guint gl_format; in gsk_gl_icon_cache_lookup_or_add() local
171 gl_format = GL_RGBA; in gsk_gl_icon_cache_lookup_or_add()
177 gl_format = GL_BGRA; in gsk_gl_icon_cache_lookup_or_add()
186 gl_format, gl_type, in gsk_gl_icon_cache_lookup_or_add()
192 gl_format, gl_type, in gsk_gl_icon_cache_lookup_or_add()
198 gl_format, gl_type, in gsk_gl_icon_cache_lookup_or_add()
204 gl_format, gl_type, in gsk_gl_icon_cache_lookup_or_add()
213 gl_format, gl_type, in gsk_gl_icon_cache_lookup_or_add()
219 gl_format, gl_type, in gsk_gl_icon_cache_lookup_or_add()
228 gl_format, gl_type, in gsk_gl_icon_cache_lookup_or_add()
[all …]
/dports/graphics/cogl/cogl-1.22.8/cogl/driver/gl/
H A Dcogl-texture-2d-gl.c63 GLenum gl_format; in _cogl_texture_2d_gl_can_create() local
76 &gl_format, in _cogl_texture_2d_gl_can_create()
83 gl_format, in _cogl_texture_2d_gl_can_create()
117 GLenum gl_format; in allocate_with_size() local
140 &gl_format, in allocate_with_size()
188 GLenum gl_format; in allocate_from_bitmap() local
234 tex_2d->first_pixel.gl_format = gl_format; in allocate_from_bitmap()
261 gl_format, in allocate_from_bitmap()
652 GLenum gl_format; in _cogl_texture_2d_gl_copy_from_bitmap() local
682 tex_2d->first_pixel.gl_format = gl_format; in _cogl_texture_2d_gl_copy_from_bitmap()
[all …]
/dports/emulators/fs-uae-launcher/fs-uae-launcher-3.0.5/arcade/ui/
H A Dgl_widget.py36 gl_format = context.format()
37 print("[OPENGL] Version major:", gl_format.majorVersion())
38 print("[OPENGL] Version minor:", gl_format.minorVersion())
39 print("[OPENGL] Context profile:", gl_format.profile())
40 print("[OPENGL] Direct rendering:", gl_format.directRendering())
41 print("[OPENGL] Depth buffer size:", gl_format.depthBufferSize())
/dports/graphics/cogl/cogl-1.22.8/cogl/
H A Dcogl-texture-rectangle.c130 GLenum gl_format; in _cogl_texture_rectangle_can_create() local
145 &gl_format, in _cogl_texture_rectangle_can_create()
229 GLenum gl_format; in allocate_with_size() local
274 tex_rect->gl_format = gl_intformat; in allocate_with_size()
296 GLenum gl_format; in allocate_from_bitmap() local
337 gl_format, in allocate_from_bitmap()
345 tex_rect->gl_format = gl_intformat; in allocate_from_bitmap()
451 tex_rect->gl_format = gl_int_format; in allocate_from_gl_foreign()
661 GLenum gl_format; in _cogl_texture_rectangle_set_region() local
708 GLenum gl_format; in _cogl_texture_rectangle_get_data() local
[all …]
H A Dcogl-texture-3d.c362 GLenum gl_format; in allocate_with_size() local
381 &gl_format, in allocate_with_size()
395 0, gl_format, gl_type, NULL); in allocate_with_size()
404 tex_3d->gl_format = gl_intformat; in allocate_with_size()
432 GLenum gl_format; in allocate_from_bitmap() local
455 &gl_format, in allocate_from_bitmap()
472 tex_3d->first_pixel.gl_format = gl_format; in allocate_from_bitmap()
502 gl_format, in allocate_from_bitmap()
510 tex_3d->gl_format = gl_intformat; in allocate_from_bitmap()
664 tex_3d->first_pixel.gl_format, in _cogl_texture_3d_pre_paint()
[all …]
/dports/x11-wm/muffin/muffin-4.8.0/cogl/cogl/
H A Dcogl-texture-rectangle.c130 GLenum gl_format; in _cogl_texture_rectangle_can_create() local
145 &gl_format, in _cogl_texture_rectangle_can_create()
229 GLenum gl_format; in allocate_with_size() local
272 tex_rect->gl_format = gl_intformat; in allocate_with_size()
294 GLenum gl_format; in allocate_from_bitmap() local
335 gl_format, in allocate_from_bitmap()
343 tex_rect->gl_format = gl_intformat; in allocate_from_bitmap()
447 tex_rect->gl_format = gl_int_format; in allocate_from_gl_foreign()
657 GLenum gl_format; in _cogl_texture_rectangle_set_region() local
704 GLenum gl_format; in _cogl_texture_rectangle_get_data() local
[all …]
H A Dcogl-texture-3d.c362 GLenum gl_format; in allocate_with_size() local
380 &gl_format, in allocate_with_size()
393 0, gl_format, gl_type, NULL); in allocate_with_size()
402 tex_3d->gl_format = gl_intformat; in allocate_with_size()
430 GLenum gl_format; in allocate_from_bitmap() local
453 &gl_format, in allocate_from_bitmap()
470 tex_3d->first_pixel.gl_format = gl_format; in allocate_from_bitmap()
500 gl_format, in allocate_from_bitmap()
508 tex_3d->gl_format = gl_intformat; in allocate_from_bitmap()
662 tex_3d->first_pixel.gl_format, in _cogl_texture_3d_pre_paint()
[all …]
/dports/x11-wm/muffin/muffin-4.8.0/cogl/cogl/driver/gl/
H A Dcogl-texture-2d-gl.c83 GLenum gl_format; in _cogl_texture_2d_gl_can_create() local
96 &gl_format, in _cogl_texture_2d_gl_can_create()
103 gl_format, in _cogl_texture_2d_gl_can_create()
140 GLenum gl_format; in allocate_with_size() local
162 &gl_format, in allocate_with_size()
209 GLenum gl_format; in allocate_from_bitmap() local
255 tex_2d->first_pixel.gl_format = gl_format; in allocate_from_bitmap()
282 gl_format, in allocate_from_bitmap()
761 GLenum gl_format; in _cogl_texture_2d_gl_copy_from_bitmap() local
792 tex_2d->first_pixel.gl_format = gl_format; in _cogl_texture_2d_gl_copy_from_bitmap()
[all …]
/dports/x11-wm/mutter/mutter-41.1/cogl/cogl/driver/gl/
H A Dcogl-texture-2d-gl.c81 GLenum gl_format; in _cogl_texture_2d_gl_can_create() local
91 &gl_format, in _cogl_texture_2d_gl_can_create()
98 gl_format, in _cogl_texture_2d_gl_can_create()
135 GLenum gl_format; in allocate_with_size() local
157 &gl_format, in allocate_with_size()
203 GLenum gl_format; in allocate_from_bitmap() local
231 &gl_format, in allocate_from_bitmap()
246 gl_format, in allocate_from_bitmap()
546 GLenum gl_format; in _cogl_texture_2d_gl_copy_from_bitmap() local
605 GLenum gl_format; in _cogl_texture_2d_gl_get_data() local
[all …]
/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/utils/
H A Dgltools.c734 tx->gl_format = GL_LUMINANCE; in gf_gl_txw_setup()
798 tx->gl_format = GL_LUMINANCE; in gf_gl_txw_setup()
803 tx->gl_format = GL_LUMINANCE_ALPHA; in gf_gl_txw_setup()
807 tx->gl_format = GL_RGB; in gf_gl_txw_setup()
811 tx->gl_format = GL_RGB; in gf_gl_txw_setup()
817 tx->gl_format = GL_RGBA; in gf_gl_txw_setup()
823 tx->gl_format = GL_RGBA; in gf_gl_txw_setup()
829 tx->gl_format = GL_RGBA; in gf_gl_txw_setup()
835 tx->gl_format = GL_RGBA; in gf_gl_txw_setup()
1295 u32 gl_format = GL_TEXTURE_2D; in gf_gl_txw_bind() local
[all …]
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/utils/
H A Dgltools.c734 tx->gl_format = GL_LUMINANCE; in gf_gl_txw_setup()
798 tx->gl_format = GL_LUMINANCE; in gf_gl_txw_setup()
803 tx->gl_format = GL_LUMINANCE_ALPHA; in gf_gl_txw_setup()
807 tx->gl_format = GL_RGB; in gf_gl_txw_setup()
811 tx->gl_format = GL_RGB; in gf_gl_txw_setup()
817 tx->gl_format = GL_RGBA; in gf_gl_txw_setup()
823 tx->gl_format = GL_RGBA; in gf_gl_txw_setup()
829 tx->gl_format = GL_RGBA; in gf_gl_txw_setup()
835 tx->gl_format = GL_RGBA; in gf_gl_txw_setup()
1295 u32 gl_format = GL_TEXTURE_2D; in gf_gl_txw_bind() local
[all …]
/dports/graphics/libplacebo/libplacebo-4.157.0/src/opengl/
H A Dformats.c71 const struct gl_format formats_norm8[] = {
79 const struct gl_format formats_norm16[] = {
86 const struct gl_format formats_rgb16_fbo[] = {
91 const struct gl_format formats_rgb16_fallback[] = {
96 const struct gl_format formats_float[] = {
108 const struct gl_format formats_float16_fbo[] = {
124 const struct gl_format formats_uint[] = {
165 const struct gl_format formats_legacy_gl2[] = {
173 const struct gl_format formats_legacy_gles2[] = {
179 const struct gl_format formats_basic_vertex[] = {
[all …]
H A Dformats.h22 struct gl_format { struct
29 typedef void (gl_format_cb)(pl_gpu gpu, const struct gl_format *glfmt); argument
/dports/multimedia/gstreamer1-vaapi/gstreamer-vaapi-1.16.2/gst/vaapi/
H A Dgstvaapivideometa_texture.c44 guint gl_format; member
80 meta->gl_format = GL_RGBA; in meta_texture_ensure_format()
84 meta->gl_format = GL_BGRA_EXT; in meta_texture_ensure_format()
164 copy->gl_format = meta->gl_format; in meta_texture_copy()
201 GL_TEXTURE_2D, meta_texture->gl_format, meta_texture->width, in gst_vaapi_texture_upload()
/dports/multimedia/mpv/mpv-0.34.1/video/out/opengl/
H A Dformats.h6 struct gl_format { struct
42 extern const struct gl_format gl_formats[];
45 int gl_format_type(const struct gl_format *format);
/dports/multimedia/libvdpau-va-gl/libvdpau-va-gl-0.4.2/src/
H A Dapi-bitmap-surface.cc53 gl_format = GL_BGRA;
60 gl_format = GL_RGBA;
67 gl_format = GL_RGBA;
74 gl_format = GL_BGRA;
81 gl_format = GL_RED;
105 glTexImage2D(GL_TEXTURE_2D, 0, gl_internal_format, width, height, 0, gl_format, gl_type,
243 dst_surf->gl_format, dst_surf->gl_type, source_data[0]); in PutBitsNativeImpl()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/gl/
H A Dgl_gl_api_implementation.cc153 GLenum gl_format = format; in GetTexFormat() local
158 gl_format = GL_RGB; in GetTexFormat()
161 gl_format = GL_RGBA; in GetTexFormat()
168 return gl_format; in GetTexFormat()
310 GLenum gl_format = GetTexFormat(version_.get(), format); in glTexImage2DFn() local
323 height, border, gl_format, gl_type, pixels); in glTexImage2DFn()
329 border, gl_format, gl_type, pixels); in glTexImage2DFn()
341 GLenum gl_format = GetTexFormat(version_.get(), format); in glTexSubImage2DFn() local
344 gl_format, gl_type, pixels); in glTexSubImage2DFn()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/gl/
H A Dgl_gl_api_implementation.cc153 GLenum gl_format = format; in GetTexFormat() local
158 gl_format = GL_RGB; in GetTexFormat()
161 gl_format = GL_RGBA; in GetTexFormat()
168 return gl_format; in GetTexFormat()
308 GLenum gl_format = GetTexFormat(version_.get(), format); in glTexImage2DFn() local
321 height, border, gl_format, gl_type, pixels); in glTexImage2DFn()
327 border, gl_format, gl_type, pixels); in glTexImage2DFn()
339 GLenum gl_format = GetTexFormat(version_.get(), format); in glTexSubImage2DFn() local
342 gl_format, gl_type, pixels); in glTexSubImage2DFn()
/dports/www/chromium-legacy/chromium-88.0.4324.182/gpu/command_buffer/service/
H A Dshared_image_backing_gl_texture.cc130 const GLenum gl_format = viz::GLDataFormat(format); in SharedImageBackingFactoryGLTexture() local
134 validators->texture_format.IsValid(gl_format); in SharedImageBackingFactoryGLTexture()
141 info.gl_format = gl_format; in SharedImageBackingFactoryGLTexture()
144 feature_info.get(), gl_format); in SharedImageBackingFactoryGLTexture()
149 gles2::TextureManager::AdjustTexFormat(feature_info.get(), gl_format); in SharedImageBackingFactoryGLTexture()
399 estimated_size, format_info.gl_format, format_info.gl_type, in MakeEglImageBacking()
478 size.width(), size.height(), 1 /* depth */, format_info.gl_format, in CreateSharedImageInternal()
509 GLuint level_info_internal_format = format_info.gl_format; in CreateSharedImageInternal()
548 params.format = format_info.gl_format; in CreateSharedImageInternal()
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/compositor/
H A Dtexturing_gl.c83 u32 gl_format; member
321 if (((txh->tx_io->gl_format==GL_LUMINANCE)) || (txh->tx_io->gl_format==GL_LUMINANCE_ALPHA)) { in tx_bind_with_mode()
439 txh->tx_io->gl_format = 0; in tx_setup_format()
449 txh->tx_io->gl_format = GL_RGB; in tx_setup_format()
452 txh->tx_io->gl_format = GL_RGB; in tx_setup_format()
455 txh->tx_io->gl_format = GL_RGBA; in tx_setup_format()
459 txh->tx_io->gl_format = GL_RGBA; in tx_setup_format()
464 txh->tx_io->gl_format = GL_BGRA_EXT; in tx_setup_format()
488 txh->tx_io->gl_format = GL_RGB; in tx_setup_format()
501 txh->tx_io->gl_format = GL_RGBA; in tx_setup_format()
[all …]

12345678910>>...12