Home
last modified time | relevance | path

Searched refs:internalFormat (Results 1 – 25 of 157) sorted by relevance

1234567

/external/deqp/modules/gles31/functional/
Des31fTextureLevelStateQueryTests.cpp129 glw::GLenum internalFormat; member
137 , internalFormat (GL_RGBA) in TextureLevelSpec()
275 static bool isColorRenderableFormat (glw::GLenum internalFormat) in isColorRenderableFormat() argument
277 return internalFormat == GL_RGB565 || in isColorRenderableFormat()
278 internalFormat == GL_RGBA4 || in isColorRenderableFormat()
279 internalFormat == GL_RGB5_A1 || in isColorRenderableFormat()
280 internalFormat == GL_RGB10_A2 || in isColorRenderableFormat()
281 internalFormat == GL_RGB10_A2UI || in isColorRenderableFormat()
282 internalFormat == GL_SRGB8_ALPHA8 || in isColorRenderableFormat()
283 internalFormat == GL_R8 || in isColorRenderableFormat()
[all …]
Des31fTextureFormatTests.cpp97 …& renderCtxInfo, const char* name, const char* description, deUint32 internalFormat, int size, int…
138 …& renderCtxInfo, const char* name, const char* description, deUint32 internalFormat, int size, int… in TextureCubeArrayFormatCase() argument
142 , m_format (internalFormat) in TextureCubeArrayFormatCase()
270 …Context& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width);
291 …rContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width) in TextureBufferFormatCase() argument
294 , m_format (internalFormat) in TextureBufferFormatCase()
463 deUint32 internalFormat; in init() member
521 deUint32 internalFormat; in init() member
534 deUint32 internalFormat = sizedColorFormats[formatNdx].internalFormat; in init() local
536 string descriptionBase = glu::getTextureFormatName(internalFormat); in init()
[all …]
Des31fTextureSpecificationTests.cpp321 …Case (Context& context, const char* name, const char* desc, deUint32 internalFormat, int size, int… in BasicTexImageCubeArrayCase() argument
322 …: TextureCubeArraySpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, n… in BasicTexImageCubeArrayCase()
323 , m_internalFormat (internalFormat) in BasicTexImageCubeArrayCase()
359 …Case (Context& context, const char* name, const char* desc, deUint32 internalFormat, int size, int… in BasicTexStorageCubeArrayCase() argument
360 …: TextureCubeArraySpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, n… in BasicTexStorageCubeArrayCase()
361 , m_internalFormat (internalFormat) in BasicTexStorageCubeArrayCase()
404 deUint32 internalFormat, in TexImageCubeArrayBufferCase() argument
414 …: TextureCubeArraySpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, d… in TexImageCubeArrayBufferCase()
415 , m_internalFormat (internalFormat) in TexImageCubeArrayBufferCase()
485 deUint32 internalFormat, in TexSubImageCubeArrayBufferCase() argument
[all …]
/external/mesa3d/src/mesa/main/
Dglformats.c830 is_astc_2d_format(GLenum internalFormat) in is_astc_2d_format() argument
832 switch (internalFormat) { in is_astc_2d_format()
871 is_astc_3d_format(GLenum internalFormat) in is_astc_3d_format() argument
873 switch (internalFormat) { in is_astc_3d_format()
904 _mesa_is_astc_format(GLenum internalFormat) in _mesa_is_astc_format() argument
906 return is_astc_2d_format(internalFormat) || in _mesa_is_astc_format()
907 is_astc_3d_format(internalFormat); in _mesa_is_astc_format()
914 _mesa_is_etc2_format(GLenum internalFormat) in _mesa_is_etc2_format() argument
916 switch (internalFormat) { in _mesa_is_etc2_format()
2287 _mesa_base_tex_format(const struct gl_context *ctx, GLint internalFormat) in _mesa_base_tex_format() argument
[all …]
Dexternalobjects.c291 GLenum internalFormat, GLsizei width, GLsizei height, in texstorage_memory() argument
314 levels, internalFormat, in texstorage_memory()
320 GLenum internalFormat, GLsizei width, GLsizei height, in texstorage_memory_ms() argument
343 internalFormat, width, height, depth, in texstorage_memory_ms()
352 GLenum internalFormat, GLsizei width, GLsizei height, in texturestorage_memory() argument
375 levels, internalFormat, in texturestorage_memory()
381 GLenum internalFormat, GLsizei width, GLsizei height, in texturestorage_memory_ms() argument
404 samples, internalFormat, width, height, in texturestorage_memory_ms()
411 GLenum internalFormat, in _mesa_TexStorageMem2DEXT() argument
417 texstorage_memory(2, target, levels, internalFormat, width, height, 1, in _mesa_TexStorageMem2DEXT()
[all …]
Dteximage.c844 GLint border, GLenum internalFormat, in _mesa_init_teximage_fields_ms() argument
855 img->_BaseFormat = _mesa_base_tex_format( ctx, internalFormat ); in _mesa_init_teximage_fields_ms()
857 img->InternalFormat = internalFormat; in _mesa_init_teximage_fields_ms()
950 GLint border, GLenum internalFormat, in _mesa_init_teximage_fields() argument
954 internalFormat, format, 0, GL_TRUE); in _mesa_init_teximage_fields()
1699 GLenum target, GLenum internalFormat) in _mesa_legal_texture_base_format_for_target() argument
1701 if (_mesa_base_tex_format(ctx, internalFormat) == GL_DEPTH_COMPONENT in _mesa_legal_texture_base_format_for_target()
1702 || _mesa_base_tex_format(ctx, internalFormat) == GL_DEPTH_STENCIL in _mesa_legal_texture_base_format_for_target()
1703 || _mesa_base_tex_format(ctx, internalFormat) == GL_STENCIL_INDEX) { in _mesa_legal_texture_base_format_for_target()
1746 texture_formats_agree(GLenum internalFormat, in texture_formats_agree() argument
[all …]
Dexternalobjects.h92 GLenum internalFormat,
101 GLenum internalFormat,
111 GLenum internalFormat,
121 GLenum internalFormat,
132 GLenum internalFormat,
141 GLenum internalFormat,
151 GLenum internalFormat,
161 GLenum internalFormat,
172 GLenum internalFormat,
180 GLenum internalFormat,
Dtexcompress_cpal.c108 _mesa_cpal_compressed_size(int level, GLenum internalFormat, in _mesa_cpal_compressed_size() argument
116 if (internalFormat < GL_PALETTE4_RGB8_OES in _mesa_cpal_compressed_size()
117 || internalFormat > GL_PALETTE8_RGB5_A1_OES) { in _mesa_cpal_compressed_size()
121 info = &formats[internalFormat - GL_PALETTE4_RGB8_OES]; in _mesa_cpal_compressed_size()
122 assert(info->cpal_format == internalFormat); in _mesa_cpal_compressed_size()
149 GLenum internalFormat, in _mesa_cpal_compressed_teximage2d() argument
161 assert(internalFormat >= GL_PALETTE4_RGB8_OES in _mesa_cpal_compressed_teximage2d()
162 && internalFormat <= GL_PALETTE8_RGB5_A1_OES); in _mesa_cpal_compressed_teximage2d()
164 info = &formats[internalFormat - GL_PALETTE4_RGB8_OES]; in _mesa_cpal_compressed_teximage2d()
Dconvolve.h36 _mesa_ConvolutionFilter1D(GLenum target, GLenum internalFormat, GLsizei width,
39 _mesa_ConvolutionFilter2D(GLenum target, GLenum internalFormat, GLsizei width,
52 _mesa_CopyConvolutionFilter1D(GLenum target, GLenum internalFormat, GLint x,
55 _mesa_CopyConvolutionFilter2D(GLenum target, GLenum internalFormat, GLint x,
76 _mesa_SeparableFilter2D(GLenum target, GLenum internalFormat, GLsizei width,
Dconvolve.c41 _mesa_ConvolutionFilter1D(GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenu… in _mesa_ConvolutionFilter1D() argument
49 _mesa_ConvolutionFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLen… in _mesa_ConvolutionFilter2D() argument
94 _mesa_CopyConvolutionFilter1D(GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width) in _mesa_CopyConvolutionFilter1D() argument
103 _mesa_CopyConvolutionFilter2D(GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width… in _mesa_CopyConvolutionFilter2D() argument
169 _mesa_SeparableFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLenum… in _mesa_SeparableFilter2D() argument
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_formatquery.c32 GLenum internalFormat, int samples[16]) in brw_query_samples_for_format() argument
38 (void) internalFormat; in brw_query_samples_for_format()
56 if (internalFormat == GL_RGBA32F && _mesa_is_gles(ctx)) { in brw_query_samples_for_format()
88 GLenum internalFormat, GLenum pname, GLint *params) in brw_query_internal_format() argument
97 brw_query_samples_for_format(ctx, target, internalFormat, params); in brw_query_internal_format()
104 num_samples = brw_query_samples_for_format(ctx, target, internalFormat, in brw_query_internal_format()
114 _mesa_query_internal_format_default(ctx, target, internalFormat, pname, in brw_query_internal_format()
/external/deqp/framework/opengl/simplereference/
DsglrContext.cpp35 void Context::texImage2D (deUint32 target, int level, deUint32 internalFormat, const tcu::Surface& … in texImage2D() argument
39 …texImage2D(target, level, internalFormat, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, src.getAcce… in texImage2D()
42 void Context::texImage2D (deUint32 target, int level, deUint32 internalFormat, int width, int heigh… in texImage2D() argument
47 switch (internalFormat) in texImage2D()
54 format = internalFormat; in texImage2D()
60 …glu::TransferFormat transferFmt = glu::getTransferFormat(glu::mapGLInternalFormat(internalFormat)); in texImage2D()
67 texImage2D(target, level, internalFormat, width, height, 0, format, dataType, DE_NULL); in texImage2D()
DsglrContextWrapper.cpp119 void ContextWrapper::glTexImage1D (deUint32 target, int level, int internalFormat, int width, int b… in glTexImage1D() argument
121 m_curCtx->texImage1D(target, level, (deUint32)internalFormat, width, border, format, type, data); in glTexImage1D()
124 void ContextWrapper::glTexImage2D (deUint32 target, int level, int internalFormat, int width, int h… in glTexImage2D() argument
126 …m_curCtx->texImage2D(target, level, (deUint32)internalFormat, width, height, border, format, type,… in glTexImage2D()
129 void ContextWrapper::glTexImage3D (deUint32 target, int level, int internalFormat, int width, int h… in glTexImage3D() argument
131 …m_curCtx->texImage3D(target, level, (deUint32)internalFormat, width, height, depth, border, format… in glTexImage3D()
149 void ContextWrapper::glCopyTexImage1D (deUint32 target, int level, deUint32 internalFormat, int x, … in glCopyTexImage1D() argument
151 m_curCtx->copyTexImage1D(target, level, internalFormat, x, y, width, border); in glCopyTexImage1D()
154 void ContextWrapper::glCopyTexImage2D (deUint32 target, int level, deUint32 internalFormat, int x, … in glCopyTexImage2D() argument
156 m_curCtx->copyTexImage2D(target, level, internalFormat, x, y, width, height, border); in glCopyTexImage2D()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_format.c2052 find_exact_format(GLint internalFormat, GLenum format, GLenum type) in find_exact_format() argument
2060 switch (internalFormat) { in find_exact_format()
2099 st_choose_format(struct st_context *st, GLenum internalFormat, in st_choose_format() argument
2122 if (_mesa_is_compressed_format(st->ctx, internalFormat) in st_choose_format()
2128 pf = find_exact_format(internalFormat, format, type); in st_choose_format()
2138 if (mapping->glFormats[j] == internalFormat) { in st_choose_format()
2159 GLenum internalFormat, unsigned sample_count) in st_choose_renderbuffer_format() argument
2162 if (_mesa_is_depth_or_stencil_format(internalFormat)) in st_choose_renderbuffer_format()
2166 return st_choose_format(st, internalFormat, GL_NONE, GL_NONE, in st_choose_renderbuffer_format()
2219 GLint internalFormat, in st_ChooseTextureFormat() argument
[all …]
Dst_format.h54 st_choose_format(struct st_context *st, GLenum internalFormat,
61 GLenum internalFormat, unsigned sample_count);
69 GLint internalFormat,
74 GLenum internalFormat, GLenum pname, GLint *params);
/external/deqp/modules/gles3/functional/
Des3fTextureSpecificationTests.cpp66 tcu::TextureFormat mapGLUnsizedInternalFormat (deUint32 internalFormat) in mapGLUnsizedInternalFormat() argument
69 switch (internalFormat) in mapGLUnsizedInternalFormat()
77 …lError(string("Can't map GL unsized internal format (") + tcu::toHex(internalFormat).toString() + … in mapGLUnsizedInternalFormat()
646 …BasicTexImage2DCase (Context& context, const char* name, const char* desc, deUint32 internalFormat in BasicTexImage2DCase() argument
647 …: Texture2DSpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), width, height,… in BasicTexImage2DCase()
648 , m_internalFormat (internalFormat) in BasicTexImage2DCase()
701 …eCubeCase (Context& context, const char* name, const char* desc, deUint32 internalFormat, int size) in BasicTexImageCubeCase() argument
702 …: TextureCubeSpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, deLog2… in BasicTexImageCubeCase()
703 , m_internalFormat (internalFormat) in BasicTexImageCubeCase()
750 …Case (Context& context, const char* name, const char* desc, deUint32 internalFormat, int width, in… in BasicTexImage2DArrayCase() argument
[all …]
Des3fInternalFormatQueryTests.cpp47 …SamplesCase(Context& context, const char* name, const char* description, GLenum internalFormat, bo… in SamplesCase() argument
49 , m_internalFormat (internalFormat) in SamplesCase()
128 …sBufferSizeCase(Context& context, const char* name, const char* description, GLenum internalFormat) in SamplesBufferSizeCase() argument
130 , m_internalFormat (internalFormat) in SamplesBufferSizeCase()
229 const InternalFormat internalFormat = internalFormats[ndx]; in init() local
231 …text, (std::string(internalFormat.name) + "_samples").c_str(), "SAMPLES and NUM_SAMPLE_COUNTS", in… in init()
Des3fPolygonOffsetTests.cpp259 …(Context& context, const char* name, const char* description, GLenum internalFormat, const char* i…
270 …(Context& context, const char* name, const char* description, GLenum internalFormat, const char* i… in PolygonOffsetTestCase() argument
272 , m_internalFormat (internalFormat) in PolygonOffsetTestCase()
343 …(Context& context, const char* name, const char* description, GLenum internalFormat, const char* i…
348 …(Context& context, const char* name, const char* description, GLenum internalFormat, const char* i… in UsageTestCase() argument
349 : PolygonOffsetTestCase(context, name, description, internalFormat, internalFormatName, 200) in UsageTestCase()
459 …(Context& context, const char* name, const char* description, GLenum internalFormat, const char* i…
466 …(Context& context, const char* name, const char* description, GLenum internalFormat, const char* i… in UsageDisplacementTestCase() argument
467 : PolygonOffsetTestCase(context, name, description, internalFormat, internalFormatName, 200) in UsageDisplacementTestCase()
584 …(Context& context, const char* name, const char* description, GLenum internalFormat, const char* i…
[all …]
Des3fTextureFormatTests.cpp72 void checkSupport (const glu::ContextInfo& info, deUint32 internalFormat) in checkSupport() argument
74 if (internalFormat == GL_SR8_EXT && !info.isExtensionSupported("GL_EXT_texture_sRGB_R8")) in checkSupport()
86 …ontext& context, const char* name, const char* description, deUint32 internalFormat, int width, in…
122 …ontext& context, const char* name, const char* description, deUint32 internalFormat, int width, in… in Texture2DFormatCase() argument
126 , m_format (internalFormat) in Texture2DFormatCase()
247 …ontext& context, const char* name, const char* description, deUint32 internalFormat, int width, in…
290 …ontext& context, const char* name, const char* description, deUint32 internalFormat, int width, in… in TextureCubeFormatCase() argument
294 , m_format (internalFormat) in TextureCubeFormatCase()
447 …ontext& context, const char* name, const char* description, deUint32 internalFormat, int width, in…
490 …ontext& context, const char* name, const char* description, deUint32 internalFormat, int width, in… in Texture2DArrayFormatCase() argument
[all …]
/external/deqp/framework/opengl/
DgluTexture.hpp47 Texture1D (const RenderContext& context, deUint32 internalFormat, int width);
74 Texture2D (const RenderContext& context, deUint32 internalFormat, int width, int height);
106 …ImmutableTexture2D (const RenderContext& context, deUint32 internalFormat, int width, int height);
127 TextureCube (const RenderContext& context, deUint32 internalFormat, int size);
162 …Texture2DArray (const RenderContext& context, deUint32 internalFormat, int width, int height, in…
196 …Texture1DArray (const RenderContext& context, deUint32 internalFormat, int width, int numLayers);
225 …Texture3D (const RenderContext& context, deUint32 internalFormat, int width, int height, int dep…
258 … TextureCubeArray (const RenderContext& context, deUint32 internalFormat, int size, int numLayers);
287 TextureBuffer (const RenderContext& context, deUint32 internalFormat, size_t bufferSize);
288 …TextureBuffer (const RenderContext& context, deUint32 internalFormat, size_t bufferSize, size_t o…
[all …]
/external/deqp/modules/gles2/functional/
Des2fPolygonOffsetTests.cpp256 …(Context& context, const char* name, const char* description, GLenum internalFormat, const char* i…
267 …(Context& context, const char* name, const char* description, GLenum internalFormat, const char* i… in PolygonOffsetTestCase() argument
269 , m_internalFormat (internalFormat) in PolygonOffsetTestCase()
340 …(Context& context, const char* name, const char* description, GLenum internalFormat, const char* i…
345 …(Context& context, const char* name, const char* description, GLenum internalFormat, const char* i… in UsageTestCase() argument
346 : PolygonOffsetTestCase(context, name, description, internalFormat, internalFormatName, 200) in UsageTestCase()
456 …(Context& context, const char* name, const char* description, GLenum internalFormat, const char* i…
463 …(Context& context, const char* name, const char* description, GLenum internalFormat, const char* i… in UsageDisplacementTestCase() argument
464 : PolygonOffsetTestCase(context, name, description, internalFormat, internalFormatName, 200) in UsageDisplacementTestCase()
581 …(Context& context, const char* name, const char* description, GLenum internalFormat, const char* i…
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_fbo.c37 set_renderbuffer_format(struct gl_renderbuffer *rb, GLenum internalFormat) in set_renderbuffer_format() argument
41 rb->InternalFormat = internalFormat; in set_renderbuffer_format()
43 switch (internalFormat) { in set_renderbuffer_format()
85 GLenum internalFormat, in nouveau_renderbuffer_storage() argument
90 if (!set_renderbuffer_format(rb, internalFormat)) in nouveau_renderbuffer_storage()
173 GLenum internalFormat, in nouveau_renderbuffer_dri_storage() argument
176 if (!set_renderbuffer_format(rb, internalFormat)) in nouveau_renderbuffer_dri_storage()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp249 const FloatFormat& internalFormat, in calcUnnormalizedCoordRange() argument
258 coordInterval = internalFormat.roundOut(coordInterval, false); in calcUnnormalizedCoordRange()
261 unnormalizedCoordInterval = internalFormat.roundOut(unnormalizedCoordInterval, false); in calcUnnormalizedCoordRange()
619 FloatFormat internalFormat, in convertFP16() argument
624 const Interval fpInterval = internalFormat.roundOut(Interval(fp16.asDouble()), false); in convertFP16()
633 FloatFormat internalFormat, in convertNormalizedInt() argument
648 resultInterval = internalFormat.roundOut(resultInterval, false); in convertNormalizedInt()
774 FloatFormat internalFormat, in convertNormalizedFormat() argument
881 …convertNormalizedInt(chanVal, chanBits, isSigned, internalFormat, resultMin[compNdx], resultMax[co… in convertNormalizedFormat()
888 FloatFormat internalFormat, in convertFloatFormat() argument
[all …]
/external/deqp/modules/glshared/
DglsFboUtil.cpp331 const TransferFormat format = transferImageFormat(cfg.internalFormat); in glInitFlat()
336 gl.texImage2D(target, level, cfg.internalFormat.format, w, h, 0, in glInitFlat()
346 const TransferFormat format = transferImageFormat(cfg.internalFormat); in glInitLayered()
352 gl.texImage3D(glTarget(cfg), level, cfg.internalFormat.format, w, h, depth, 0, in glInitLayered()
397 gl.renderbufferStorage(GL_RENDERBUFFER, rbo->internalFormat.format, in glCreate()
401 GL_RENDERBUFFER, rbo->numSamples, rbo->internalFormat.format, in glCreate()
501 if (db.isKnownFormat(image->internalFormat)) in checkAttachmentCompleteness()
503 const FormatFlags flags = db.getFormatInfo(image->internalFormat); in checkAttachmentCompleteness()
583 if (m_formats.isKnownFormat(it->second->internalFormat)) in validStatusCodes()
585 const FormatFlags flags = m_formats.getFormatInfo(it->second->internalFormat); in validStatusCodes()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_fbo.c156 intel_renderbuffer_format(struct gl_context * ctx, GLenum internalFormat) in intel_renderbuffer_format() argument
160 switch (internalFormat) { in intel_renderbuffer_format()
168 internalFormat, in intel_renderbuffer_format()
191 GLenum internalFormat, in intel_alloc_private_renderbuffer_storage() argument
201 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in intel_alloc_private_renderbuffer_storage()
206 _mesa_enum_to_string(internalFormat), in intel_alloc_private_renderbuffer_storage()
226 GLenum internalFormat, in intel_alloc_renderbuffer_storage() argument
229 rb->Format = intel_renderbuffer_format(ctx, internalFormat); in intel_alloc_renderbuffer_storage()
230 return intel_alloc_private_renderbuffer_storage(ctx, rb, internalFormat, width, height); in intel_alloc_renderbuffer_storage()
291 GLenum internalFormat, GLuint width, GLuint height) in intel_alloc_window_storage() argument
[all …]

1234567