Home
last modified time | relevance | path

Searched refs:internal_format (Results 1 – 25 of 98) 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 …]
/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.c407 GLenum internal_format, in intel_set_texture_image_mt() argument
418 0, internal_format, mt->format); in intel_set_texture_image_mt()
446 GLenum internal_format = 0; in intelSetTexBuffer2() local
466 internal_format = GL_RGB; in intelSetTexBuffer2()
474 internal_format = GL_RGBA; in intelSetTexBuffer2()
482 internal_format = GL_RGB; in intelSetTexBuffer2()
499 intel_set_texture_image_mt(brw, texImage, internal_format, mt); in intelSetTexBuffer2()
590 const GLenum internal_format = in intel_image_target_texture_2d() local
591 image->internal_format != 0 ? in intel_image_target_texture_2d()
592 image->internal_format : _mesa_get_format_base_format(mt->format); in intel_image_target_texture_2d()
[all …]
Dintel_image.h71 GLenum internal_format; member
/external/deqp/external/openglcts/modules/common/
DglcRobustBufferAccessBehaviorTests.cpp644 glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth, in CompressedImage() argument
650 gl.compressedTexImage1D(target, level, internal_format, width, 0 /* border */, image_size, data); in CompressedImage()
656 …gl.compressedTexImage2D(target, level, internal_format, width, height, 0 /* border */, image_size,… in CompressedImage()
660 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, level, internal_format, width, height, 0 /… in CompressedImage()
662 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, level, internal_format, width, height, 0 /… in CompressedImage()
664 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, level, internal_format, width, height, 0 /… in CompressedImage()
666 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, level, internal_format, width, height, 0 /… in CompressedImage()
668 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, level, internal_format, width, height, 0 /… in CompressedImage()
670 …gl.compressedTexImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, level, internal_format, width, height, 0 /… in CompressedImage()
676 …gl.compressedTexImage3D(target, level, internal_format, width, height, depth, 0 /* border */, imag… in CompressedImage()
[all …]
DglcRobustBufferAccessBehaviorTests.hpp214 glw::GLenum internal_format, glw::GLuint width, glw::GLuint height, glw::GLuint depth,
228 … Image(const glw::Functions& gl, glw::GLenum target, glw::GLint level, glw::GLenum internal_format,
232 …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/gallium/state_trackers/dri/
Ddri_drawable.c258 enum pipe_format internal_format = pt->format; in dri_set_tex_buffer2() local
262 switch (internal_format) { in dri_set_tex_buffer2()
264 internal_format = PIPE_FORMAT_B10G10R10X2_UNORM; in dri_set_tex_buffer2()
267 internal_format = PIPE_FORMAT_BGRX8888_UNORM; in dri_set_tex_buffer2()
270 internal_format = PIPE_FORMAT_XRGB8888_UNORM; in dri_set_tex_buffer2()
281 0, internal_format, pt, FALSE); in dri_set_tex_buffer2()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_screen.c204 image->internal_format = GL_RGB; in radeon_create_image_from_name()
209 image->internal_format = GL_RGB; in radeon_create_image_from_name()
214 image->internal_format = GL_RGBA; in radeon_create_image_from_name()
264 image->internal_format = rb->InternalFormat; in radeon_create_image_from_renderbuffer()
304 image->internal_format = GL_RGB; in radeon_create_image()
309 image->internal_format = GL_RGB; in radeon_create_image()
314 image->internal_format = GL_RGBA; in radeon_create_image()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_screen.c204 image->internal_format = GL_RGB; in radeon_create_image_from_name()
209 image->internal_format = GL_RGB; in radeon_create_image_from_name()
214 image->internal_format = GL_RGBA; in radeon_create_image_from_name()
264 image->internal_format = rb->InternalFormat; in radeon_create_image_from_renderbuffer()
304 image->internal_format = GL_RGB; in radeon_create_image()
309 image->internal_format = GL_RGB; in radeon_create_image()
314 image->internal_format = GL_RGBA; in radeon_create_image()
/external/mesa3d/src/mesa/main/
Dprogram_binary.c54 uint32_t internal_format; member
88 hdr->internal_format = 0; in write_program_binary()
105 if (hdr->internal_format != 0) in simple_header_checks()
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.h156 _mesa_is_es3_color_renderable(GLenum internal_format);
160 GLenum internal_format);
/external/deqp/external/openglcts/modules/gles32/
Des32cCopyImageTests.cpp62 …IntegerTexTest(deqp::Context& context, const char* name, glw::GLint internal_format, glw::GLuint t…
88 IntegerTexTest::IntegerTexTest(deqp::Context& context, const char* name, glw::GLint internal_format in IntegerTexTest() argument
94 , m_internal_format(internal_format) in IntegerTexTest()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_resource.h134 enum pipe_format internal_format; member
/external/mesa3d/include/GL/
Dmesa_glinterop.h217 unsigned internal_format; member
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_regions.h129 GLenum internal_format; member
Dintel_screen.c263 image->internal_format = _mesa_get_format_base_format(image->format); in intel_allocate_image()
357 image->internal_format = rb->InternalFormat; in intel_create_image_from_renderbuffer()
413 image->internal_format = obj->Image[face][level]->InternalFormat; in intel_create_image_from_texture()
521 image->internal_format = orig_image->internal_format; in intel_dup_image()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.h70 enum pipe_format internal_format; member

1234