Home
last modified time | relevance | path

Searched refs:internal_format (Results 1 – 25 of 90) sorted by relevance

1234

/external/mesa3d/src/glx/
Dindirect_texture_compression.c77 GLenum internal_format, in CompressedTexImage1D2D() argument
103 __GLX_PUT_LONG(12, internal_format); in CompressedTexImage1D2D()
120 __GLX_PUT_LONG(16, internal_format); in CompressedTexImage1D2D()
195 GLenum internal_format, GLsizei width, in __indirect_glCompressedTexImage1D() argument
199 CompressedTexImage1D2D(target, level, internal_format, width, 0, in __indirect_glCompressedTexImage1D()
207 GLenum internal_format, in __indirect_glCompressedTexImage2D() argument
212 CompressedTexImage1D2D(target, level, internal_format, width, height, in __indirect_glCompressedTexImage2D()
220 GLenum internal_format, in __indirect_glCompressedTexImage3D() argument
237 __GLX_PUT_LONG(12, internal_format); in __indirect_glCompressedTexImage3D()
253 __GLX_PUT_LONG(16, internal_format); in __indirect_glCompressedTexImage3D()
/external/deqp/external/openglcts/modules/gl/
Dgl4cStencilTexturingTests.cpp54 …createAndFill2DTexture(deqp::Context& context, GLuint width, GLuint height, GLenum internal_format,
267 …createAndFill2DTexture(deqp::Context& context, GLuint width, GLuint height, GLenum internal_format, in createAndFill2DTexture() argument
281 …gl.texImage2D(GL_TEXTURE_2D, 0 /* level */, internal_format, width, height, 0 /* border */, format… in createAndFill2DTexture()
663 GLenum internal_format = GL_R8UI; in dispatch() local
669 internal_format = GL_R32F; in dispatch()
681 GL_WRITE_ONLY, internal_format); in dispatch()
817 GLenum internal_format = 0; in prepareDestinationTexture() local
828 internal_format = GL_R8UI; in prepareDestinationTexture()
835 internal_format = GL_R32F; in prepareDestinationTexture()
849 …Utils::createAndFill2DTexture(m_context, m_width, m_height, internal_format, format, type, &textur… in prepareDestinationTexture()
[all …]
Dgl4cCopyImageTests.cpp93 static void maskPixelForFormat(glw::GLenum internal_format, glw::GLubyte* pixel);
95 static glw::GLdouble getEpsilon(glw::GLenum internal_format);
96 static glw::GLuint getPixelSizeForFormat(glw::GLenum internal_format);
97 static glw::GLenum getFormat(glw::GLenum internal_format);
98 static glw::GLuint getNumberOfChannels(glw::GLenum internal_format);
100 static std::string getPixelString(glw::GLenum internal_format, const glw::GLubyte* pixel);
102 static glw::GLenum getType(glw::GLenum internal_format);
106 …uint prepareCompressedTex(deqp::Context& context, glw::GLenum target, glw::GLenum internal_format);
110 static glw::GLuint prepareRenderBuffer(deqp::Context& context, glw::GLenum internal_format);
112 …::GLuint prepareTex16x16x6(deqp::Context& context, glw::GLenum target, glw::GLenum internal_format,
[all …]
Dgl4cStencilTexturingTests.hpp70 glw::GLuint prepareSourceTexture(glw::GLenum internal_format, bool is_stencil,
73 …void prepareSourceTextureData(glw::GLenum internal_format, std::vector<glw::GLubyte>& texture_data…
78 bool test(glw::GLenum internal_format, bool is_stencil);
Dgl4cMultiBindTests.cpp333 void InitBuffer(deqp::Context& context, glw::GLenum internal_format, glw::GLuint buffer_id);
335 …orage(deqp::Context& context, glw::GLenum target, glw::GLsizei levels, glw::GLenum internal_format,
345 glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth,
356 … Image(const glw::Functions& gl, glw::GLenum target, glw::GLint level, glw::GLenum internal_format,
360 …age(const glw::Functions& gl, glw::GLenum target, glw::GLsizei levels, glw::GLenum internal_format,
985 void Texture::InitBuffer(deqp::Context& context, glw::GLenum internal_format, glw::GLuint buffer_id) in InitBuffer() argument
995 gl.texBuffer(GL_TEXTURE_BUFFER, internal_format, buffer_id); in InitBuffer()
1009 …orage(deqp::Context& context, glw::GLenum target, glw::GLsizei levels, glw::GLenum internal_format, in InitStorage() argument
1018 Storage(gl, target, levels, internal_format, width, height, depth, allow_error); in InitStorage()
1061 glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth, in CompressedImage() argument
[all …]
Dgl4cBufferStorageTests.cpp313 glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth,
324 … Image(const glw::Functions& gl, glw::GLenum target, glw::GLint level, glw::GLenum internal_format,
328 …age(const glw::Functions& gl, glw::GLenum target, glw::GLsizei levels, glw::GLenum internal_format,
1338 glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth, in CompressedImage() argument
1344 gl.compressedTexImage1D(target, level, internal_format, width, 0 /* border */, image_size, data); in CompressedImage()
1350 …gl.compressedTexImage2D(target, level, internal_format, width, height, 0 /* border */, image_size,… in CompressedImage()
1354 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, level, internal_format, width, height, 0 /… in CompressedImage()
1356 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, level, internal_format, width, height, 0 /… in CompressedImage()
1358 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, level, internal_format, width, height, 0 /… in CompressedImage()
1360 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, level, internal_format, width, height, 0 /… in CompressedImage()
[all …]
Dgl4cTextureGatherTests.cpp436 GLenum internal_format = GL_RGB32F; in CreateTexture2DRgb() local
447 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, 0); in CreateTexture2DRgb()
469 GLenum internal_format = GL_RG32F; in CreateTexture2DRg() local
480 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, 0); in CreateTexture2DRg()
502 GLenum internal_format = GL_R32F; in CreateTexture2DR() local
513 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, 0); in CreateTexture2DR()
534 GLenum internal_format = InternalFormat(); in CreateTexture2DInt() local
545 glTexImage2D(target, i, internal_format, size, size, 0, GL_RGBA_INTEGER, GL_INT, 0); in CreateTexture2DInt()
550 glTexImage2D(target, 0, internal_format, size, size, 0, GL_RGBA_INTEGER, GL_INT, 0); in CreateTexture2DInt()
572 GLenum internal_format = InternalFormat(); in CreateTexture2DArrayInt() local
[all …]
Dgl3cTextureSizePromotion.cpp308 …gl.texImage1D(target, 0, descriptor.internal_format, s_source_texture_size, 0, source_format, sour… in prepareSourceTexture()
315 …gl.texImage2D(target, 0, descriptor.internal_format, s_source_texture_size, s_source_texture_size,… in prepareSourceTexture()
321 gl.texImage3D(target, 0, descriptor.internal_format, s_source_texture_size, s_source_texture_size, in prepareSourceTexture()
386 glw::GLenum internal_format = getDestinationFormatForChannel(descriptor); in prepareDestinationTextureAndFramebuffer() local
423 …gl.texImage2D(target, 0, internal_format, s_source_texture_size, s_source_texture_size, 0, destina… in prepareDestinationTextureAndFramebuffer()
434 …gl.texImage2DMultisample(target, m_max_samples - 1, descriptor.internal_format, s_source_texture_s… in prepareDestinationTextureAndFramebuffer()
443 …gl.texImage3DMultisample(target, m_max_samples - 1, descriptor.internal_format, s_source_texture_s… in prepareDestinationTextureAndFramebuffer()
/external/deqp/external/openglcts/modules/gles31/
Des31cTextureGatherTests.cpp352 bool IsFloatingPointTexture(GLenum internal_format) in IsFloatingPointTexture() argument
354 switch (internal_format) in IsFloatingPointTexture()
369 GLenum internal_format = GL_RGB32F; in CreateTexture2DRgb() local
381 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, &pixels[0]); in CreateTexture2DRgb()
397 if (IsFloatingPointTexture(internal_format)) in CreateTexture2DRgb()
406 GLenum internal_format = GL_RG32F; in CreateTexture2DRg() local
417 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, 0); in CreateTexture2DRg()
419 glTexImage2D(target, i, internal_format, size, size, 0, format, tex_type, &pixels[0]); in CreateTexture2DRg()
435 if (IsFloatingPointTexture(internal_format)) in CreateTexture2DRg()
444 GLenum internal_format = GL_R32F; in CreateTexture2DR() local
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_image.c180 GLenum internal_format, in intel_set_texture_image_mt() argument
190 0, internal_format, mt->format); in intel_set_texture_image_mt()
306 GLenum internal_format = 0; in intelSetTexBuffer2() local
326 internal_format = GL_RGB; in intelSetTexBuffer2()
330 internal_format = GL_RGBA; in intelSetTexBuffer2()
334 internal_format = GL_RGB; in intelSetTexBuffer2()
351 intel_set_texture_image_mt(brw, texImage, internal_format, mt); in intelSetTexBuffer2()
444 const GLenum internal_format = in intel_image_target_texture_2d() local
445 image->internal_format != 0 ? in intel_image_target_texture_2d()
446 image->internal_format : _mesa_get_format_base_format(mt->format); in intel_image_target_texture_2d()
[all …]
Dintel_image.h70 GLenum internal_format; member
/external/deqp/external/openglcts/modules/common/
DglcRobustBufferAccessBehaviorTests.cpp668 glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth, in CompressedImage() argument
674 gl.compressedTexImage1D(target, level, internal_format, width, 0 /* border */, image_size, data); in CompressedImage()
680 …gl.compressedTexImage2D(target, level, internal_format, width, height, 0 /* border */, image_size,… in CompressedImage()
684 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, level, internal_format, width, height, 0 /… in CompressedImage()
686 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, level, internal_format, width, height, 0 /… in CompressedImage()
688 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, level, internal_format, width, height, 0 /… in CompressedImage()
690 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, level, internal_format, width, height, 0 /… in CompressedImage()
692 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, level, internal_format, width, height, 0 /… in CompressedImage()
694 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, level, internal_format, width, height, 0 /… in CompressedImage()
700 …gl.compressedTexImage3D(target, level, internal_format, width, height, depth, 0 /* border */, imag… in CompressedImage()
[all …]
DglcRobustBufferAccessBehaviorTests.hpp215 glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth,
229 … Image(const glw::Functions& gl, glw::GLenum target, glw::GLint level, glw::GLenum internal_format,
233 …age(const glw::Functions& gl, glw::GLenum target, glw::GLsizei levels, glw::GLenum internal_format,
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayColorDepthAttachments.cpp693 glw::GLenum internal_format = GL_NONE; in prepareImmutableTextureObject() local
698 internal_format = m_color_internal_format; in prepareImmutableTextureObject()
702 internal_format = m_depth_internal_format; in prepareImmutableTextureObject()
711 internal_format, texture_size, texture_size, n_cubemaps * 6 /* layer-faces per cube-map */); in prepareImmutableTextureObject()
734 glw::GLenum internal_format = GL_NONE; in prepareMutableTextureObject() local
740 internal_format = m_color_internal_format; in prepareMutableTextureObject()
746 internal_format = m_depth_internal_format; in prepareMutableTextureObject()
756 …gl.texImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, 0 /* mipmap_level */, internal_format, texture_size, text… in prepareMutableTextureObject()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_screen.c212 image->internal_format = GL_RGB; in radeon_create_image_from_name()
217 image->internal_format = GL_RGB; in radeon_create_image_from_name()
222 image->internal_format = GL_RGBA; in radeon_create_image_from_name()
272 image->internal_format = rb->InternalFormat; in radeon_create_image_from_renderbuffer()
312 image->internal_format = GL_RGB; in radeon_create_image()
317 image->internal_format = GL_RGB; in radeon_create_image()
322 image->internal_format = GL_RGBA; in radeon_create_image()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_screen.c212 image->internal_format = GL_RGB; in radeon_create_image_from_name()
217 image->internal_format = GL_RGB; in radeon_create_image_from_name()
222 image->internal_format = GL_RGBA; in radeon_create_image_from_name()
272 image->internal_format = rb->InternalFormat; in radeon_create_image_from_renderbuffer()
312 image->internal_format = GL_RGB; in radeon_create_image()
317 image->internal_format = GL_RGB; in radeon_create_image()
322 image->internal_format = GL_RGBA; in radeon_create_image()
/external/mesa3d/src/mesa/main/
Dtextureview.c120 GLenum internal_format; member
257 if (compatible_internal_formats[i].internal_format == internalformat) in _mesa_texture_view_lookup_view_class()
264 if (s3tc_compatible_internal_formats[i].internal_format in _mesa_texture_view_lookup_view_class()
272 if (gles_etc2_compatible_internal_formats[i].internal_format in _mesa_texture_view_lookup_view_class()
279 if (gles_astc_compatible_internal_formats[i].internal_format in _mesa_texture_view_lookup_view_class()
287 if (gles_astc_3d_compatible_internal_formats[i].internal_format in _mesa_texture_view_lookup_view_class()
Dglformats.h152 _mesa_is_es3_color_renderable(GLenum internal_format);
156 GLenum internal_format);
/external/mesa3d/src/gallium/state_trackers/dri/
Ddri_drawable.c229 enum pipe_format internal_format = pt->format; in dri_set_tex_buffer2() local
233 switch (internal_format) { in dri_set_tex_buffer2()
235 internal_format = PIPE_FORMAT_BGRX8888_UNORM; in dri_set_tex_buffer2()
238 internal_format = PIPE_FORMAT_XRGB8888_UNORM; in dri_set_tex_buffer2()
249 0, internal_format, pt, FALSE); in dri_set_tex_buffer2()
/external/deqp/external/openglcts/modules/gles32/
Des32cRobustBufferAccessBehaviorTests.cpp333 GLenum internal_format = 0; in prepareTexture() local
342 internal_format = GL_R8; in prepareTexture()
345 internal_format = GL_RG8_SNORM; in prepareTexture()
348 internal_format = GL_RGBA32F; in prepareTexture()
352 internal_format = GL_R32UI; in prepareTexture()
357 internal_format = GL_R32UI; in prepareTexture()
367 Texture::Storage(gl, target, n_levels, internal_format, width, height, 0); in prepareTexture()
/external/mesa3d/src/mesa/drivers/common/
Dmeta_tex_subimage.c76 GLenum internal_format; in create_texture_for_pbo() local
145 internal_format = _mesa_get_format_base_format(pbo_format); in create_texture_for_pbo()
156 0, internal_format, pbo_format); in create_texture_for_pbo()
/external/mesa3d/include/GL/
Dmesa_glinterop.h213 unsigned internal_format; member
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_screen.c254 image->internal_format = _mesa_get_format_base_format(image->format); in intel_allocate_image()
349 image->internal_format = rb->InternalFormat; in intel_create_image_from_renderbuffer()
405 image->internal_format = obj->Image[face][level]->InternalFormat; in intel_create_image_from_texture()
513 image->internal_format = orig_image->internal_format; in intel_dup_image()
Dintel_regions.h134 GLenum internal_format; member
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.h70 enum pipe_format internal_format; member

1234