Searched refs:internalFormat (Results 1 - 25 of 147) sorted by relevance

123456

/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_formatquery.c32 GLenum internalFormat, int samples[16])
37 (void) internalFormat;
54 if (internalFormat == GL_RGBA32F && _mesa_is_gles(ctx)) {
86 GLenum internalFormat, GLenum pname, GLint *params)
95 brw_query_samples_for_format(ctx, target, internalFormat, params);
102 num_samples = brw_query_samples_for_format(ctx, target, internalFormat,
112 _mesa_query_internal_format_default(ctx, target, internalFormat, pname,
31 brw_query_samples_for_format(struct gl_context *ctx, GLenum target, GLenum internalFormat, int samples[16]) argument
85 brw_query_internal_format(struct gl_context *ctx, GLenum target, GLenum internalFormat, GLenum pname, GLint *params) argument
/external/mesa3d/src/mesa/main/
H A Dtexcompress_cpal.h33 GLenum internalFormat,
38 _mesa_cpal_compressed_size(int level, GLenum internalFormat,
H A Dtexformat.h36 GLint internalFormat, GLenum format, GLenum type);
H A Dformatquery.h33 GLenum internalFormat, int samples[16]);
37 GLenum internalFormat, GLenum pname,
H A Dglformats.c830 is_astc_2d_format(GLenum internalFormat) argument
832 switch (internalFormat) {
871 is_astc_3d_format(GLenum internalFormat) argument
873 switch (internalFormat) {
904 _mesa_is_astc_format(GLenum internalFormat) argument
906 return is_astc_2d_format(internalFormat) ||
907 is_astc_3d_format(internalFormat);
914 _mesa_is_etc2_format(GLenum internalFormat) argument
916 switch (internalFormat) {
2277 * \param internalFormat th
2286 _mesa_base_tex_format(const struct gl_context *ctx, GLint internalFormat) argument
2785 _mesa_es3_error_check_format_and_type(const struct gl_context *ctx, GLenum format, GLenum type, GLenum internalFormat) argument
[all...]
H A Dtexcompress_cpal.c108 _mesa_cpal_compressed_size(int level, GLenum internalFormat, argument
116 if (internalFormat < GL_PALETTE4_RGB8_OES
117 || internalFormat > GL_PALETTE8_RGB5_A1_OES) {
121 info = &formats[internalFormat - GL_PALETTE4_RGB8_OES];
122 assert(info->cpal_format == internalFormat);
144 * Convert a call to glCompressedTexImage2D() where internalFormat is a
149 GLenum internalFormat,
159 /* By this point, the internalFormat should have been validated.
161 assert(internalFormat >= GL_PALETTE4_RGB8_OES
162 && internalFormat <
148 _mesa_cpal_compressed_teximage2d(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei imageSize, const void *palette) argument
[all...]
H A Dmultisample.h52 GLenum internalFormat, GLsizei samples);
H A 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,
H A Dmultisample.c144 * for a particular (target, internalFormat) pair. The limit imposed,
152 GLenum internalFormat, GLsizei samples)
163 _mesa_is_enum_format_integer(internalFormat)
181 ctx->Driver.QueryInternalFormat(ctx, target, internalFormat,
215 if (_mesa_is_enum_format_integer(internalFormat))
222 if (_mesa_is_depth_or_stencil_format(internalFormat))
151 _mesa_check_sample_count(struct gl_context *ctx, GLenum target, GLenum internalFormat, GLsizei samples) argument
H A Dteximage.c799 * \param internalFormat internal format.
811 GLint border, GLenum internalFormat,
822 img->_BaseFormat = _mesa_base_tex_format( ctx, internalFormat );
824 img->InternalFormat = internalFormat;
920 GLint border, GLenum internalFormat,
924 internalFormat, format, 0, GL_TRUE);
1632 * \param internalFormat Internal format of the texture image
1638 GLenum target, GLenum internalFormat)
1640 if (_mesa_base_tex_format(ctx, internalFormat) == GL_DEPTH_COMPONENT
1641 || _mesa_base_tex_format(ctx, internalFormat)
808 init_teximage_fields_ms(struct gl_context *ctx, struct gl_texture_image *img, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum internalFormat, mesa_format format, GLuint numSamples, GLboolean fixedSampleLocations) argument
917 _mesa_init_teximage_fields(struct gl_context *ctx, struct gl_texture_image *img, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum internalFormat, mesa_format format) argument
1637 _mesa_legal_texture_base_format_for_target(struct gl_context *ctx, GLenum target, GLenum internalFormat) argument
1685 texture_formats_agree(GLenum internalFormat, GLenum format) argument
1737 texture_format_error_check_gles(struct gl_context *ctx, GLenum format, GLenum type, GLenum internalFormat, GLuint dimensions, const char *callerName) argument
1794 texture_error_check( struct gl_context *ctx, GLuint dimensions, GLenum target, GLint level, GLint internalFormat, GLenum format, GLenum type, GLint width, GLint height, GLint depth, GLint border, const GLvoid *pixels ) argument
1974 compressed_texture_error_check(struct gl_context *ctx, GLint dimensions, GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) argument
2244 copytexture_error_check( struct gl_context *ctx, GLuint dimensions, GLenum target, GLint level, GLint internalFormat, GLint width, GLint height, GLint border ) argument
2708 override_internal_format(GLenum internalFormat, GLint width, GLint height) argument
2759 _mesa_choose_texture_format(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLenum internalFormat, GLenum format, GLenum type) argument
2876 teximage(struct gl_context *ctx, GLboolean compressed, GLuint dims, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei imageSize, const GLvoid *pixels) argument
3088 _mesa_TexImage1D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) argument
3099 _mesa_TexImage2D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) argument
3115 _mesa_TexImage3D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) argument
3128 _mesa_TexImage3DEXT( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) argument
3581 can_avoid_reallocation(const struct gl_texture_image *texImage, GLenum internalFormat, mesa_format texFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) argument
3603 copyteximage(struct gl_context *ctx, GLuint dims, GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) argument
3757 _mesa_CopyTexImage1D( GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border ) argument
3769 _mesa_CopyTexImage2D( GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) argument
4021 GLenum internalFormat = texImage->InternalFormat; local
4480 _mesa_CompressedTexImage1D(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) argument
4492 _mesa_CompressedTexImage2D(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) argument
4504 _mesa_CompressedTexImage3D(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) argument
4818 get_texbuffer_format(const struct gl_context *ctx, GLenum internalFormat) argument
4998 _mesa_validate_texbuffer_format(const struct gl_context *ctx, GLenum internalFormat) argument
5042 texture_buffer_range(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum internalFormat, struct gl_buffer_object *bufObj, GLintptr offset, GLsizeiptr size, const char *caller) argument
5171 _mesa_TexBuffer(GLenum target, GLenum internalFormat, GLuint buffer) argument
5202 _mesa_TexBufferRange(GLenum target, GLenum internalFormat, GLuint buffer, GLintptr offset, GLsizeiptr size) argument
5247 _mesa_TextureBuffer(GLuint texture, GLenum internalFormat, GLuint buffer) argument
5274 _mesa_TextureBufferRange(GLuint texture, GLenum internalFormat, GLuint buffer, GLintptr offset, GLsizeiptr size) argument
[all...]
H A Dglformats.h61 _mesa_is_astc_format(GLenum internalFormat);
64 _mesa_is_etc2_format(GLenum internalFormat);
144 GLenum internalFormat);
146 _mesa_base_tex_format(const struct gl_context *ctx, GLint internalFormat );
/external/deqp/framework/opengl/simplereference/
H A DsglrContext.cpp35 void Context::texImage2D (deUint32 target, int level, deUint32 internalFormat, const tcu::Surface& src) argument
39 texImage2D(target, level, internalFormat, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, src.getAccess().getDataPtr());
42 void Context::texImage2D (deUint32 target, int level, deUint32 internalFormat, int width, int height) argument
47 switch (internalFormat)
54 format = internalFormat;
60 glu::TransferFormat transferFmt = glu::getTransferFormat(glu::mapGLInternalFormat(internalFormat));
67 texImage2D(target, level, internalFormat, width, height, 0, format, dataType, DE_NULL);
/external/mesa3d/src/mesa/state_tracker/
H A Dst_format.h55 st_choose_format(struct st_context *st, GLenum internalFormat,
62 GLenum internalFormat, unsigned sample_count);
70 GLint internalFormat,
75 GLenum internalFormat, GLenum pname, GLint *params);
H A Dst_cb_eglimage.c104 GLenum internalFormat; local
109 internalFormat = GL_RGBA;
111 internalFormat = GL_RGB;
143 ps->width, ps->height, 1, 0, internalFormat,
H A Dst_format.c2034 find_exact_format(GLint internalFormat, GLenum format, GLenum type) argument
2042 switch (internalFormat) {
2063 * Given an OpenGL internalFormat value for a texture or surface, return
2071 * \param internalFormat the user value passed to glTexImage2D
2075 * only matters when internalFormat names a generic or
2080 st_choose_format(struct st_context *st, GLenum internalFormat, argument
2103 if (_mesa_is_compressed_format(st->ctx, internalFormat)
2109 pf = find_exact_format(internalFormat, format, type);
2115 /* search table for internalFormat */
2119 if (mapping->glFormats[j] == internalFormat) {
2139 st_choose_renderbuffer_format(struct st_context *st, GLenum internalFormat, unsigned sample_count) argument
2199 st_ChooseTextureFormat(struct gl_context *ctx, GLenum target, GLint internalFormat, GLenum format, GLenum type) argument
2319 st_QuerySamplesForFormat(struct gl_context *ctx, GLenum target, GLenum internalFormat, int samples[16]) argument
2361 st_QueryInternalFormat(struct gl_context *ctx, GLenum target, GLenum internalFormat, GLenum pname, GLint *params) argument
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fTextureLevelStateQueryTests.cpp129 glw::GLenum internalFormat; member in struct:deqp::gles31::Functional::__anon5469::TextureGenerationSpec::TextureLevelSpec
137 , internalFormat (GL_RGBA)
275 static bool isColorRenderableFormat (glw::GLenum internalFormat) argument
277 return internalFormat == GL_RGB565 ||
278 internalFormat == GL_RGBA4 ||
279 internalFormat == GL_RGB5_A1 ||
280 internalFormat == GL_RGB10_A2 ||
281 internalFormat == GL_RGB10_A2UI ||
282 internalFormat == GL_SRGB8_ALPHA8 ||
283 internalFormat
307 isRenderableFormat(glw::GLenum internalFormat) argument
317 isTextureBufferFormat(glw::GLenum internalFormat) argument
381 getPixelSize(glw::GLenum internalFormat) argument
387 generateColorTextureGenerationGroup(std::vector<TextureGenerationSpec>& group, glw::GLenum target, int maxSamples, glw::GLenum internalFormat) argument
892 getFormatSamples(glw::GLenum internalFormat, std::vector<int>& samples) argument
996 const glw::GLenum internalFormat = GL_RGBA8; local
1240 getMinimumComponentResolution(glw::GLenum internalFormat) argument
1362 getComponentType(glw::GLenum internalFormat) argument
[all...]
H A Des31fTextureFormatTests.cpp97 TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 internalFormat, int size, int depth);
138 TextureCubeArrayFormatCase::TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 internalFormat, int size, int depth) argument
142 , m_format (internalFormat)
270 TextureBufferFormatCase (Context& ctx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width);
291 TextureBufferFormatCase::TextureBufferFormatCase (Context& ctx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width) argument
294 , m_format (internalFormat)
463 deUint32 internalFormat; member in struct:deqp::gles31::Functional::__anon5464
521 deUint32 internalFormat; member in struct:deqp::gles31::Functional::__anon5465
534 deUint32 internalFormat = sizedColorFormats[formatNdx].internalFormat; local
544 deUint32 internalFormat = sizedDepthStencilFormats[formatNdx].internalFormat; local
556 deUint32 internalFormat; member in struct:deqp::gles31::Functional::__anon5466
590 deUint32 internalFormat = bufferColorFormats[formatNdx].internalFormat; local
[all...]
/external/deqp/framework/opengl/
H A DgluPixelTransfer.hpp43 void texImage2D (const RenderContext& context, deUint32 target, int level, deUint32 internalFormat, const tcu::ConstPixelBufferAccess& src);
44 void texImage3D (const RenderContext& context, deUint32 target, int level, deUint32 internalFormat, const tcu::ConstPixelBufferAccess& src);
H A 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, int numLayers);
196 Texture1DArray (const RenderContext& context, deUint32 internalFormat, int width, int numLayers);
225 Texture3D (const RenderContext& context, deUint32 internalFormat, int width, int height, int depth);
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_
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fInternalFormatQueryTests.cpp47 SamplesCase(Context& context, const char* name, const char* description, GLenum internalFormat, bool isIntegerInternalFormat) argument
49 , m_internalFormat (internalFormat)
128 SamplesBufferSizeCase(Context& context, const char* name, const char* description, GLenum internalFormat) argument
130 , m_internalFormat (internalFormat)
180 // \note These unsized formats seem to allowed by the spec, but they are not useful in any way. (You can't create a renderbuffer with such internalFormat)
229 const InternalFormat internalFormat = internalFormats[ndx]; local
231 addChild(new SamplesCase(m_context, (std::string(internalFormat.name) + "_samples").c_str(), "SAMPLES and NUM_SAMPLE_COUNTS", internalFormat.format, internalFormat.isIntegerFormat));
/external/deqp/modules/gles3/performance/
H A Des3pTextureCases.hpp45 deUint32 internalFormat,
H A Des3pTextureCountTests.cpp55 deUint32 internalFormat; member in struct:deqp::gles3::Performance::__anon5318
72 deUint32 format = texFormats[formatNdx].internalFormat;
H A Des3pTextureFormatTests.cpp53 deUint32 internalFormat; member in struct:deqp::gles3::Performance::__anon5321
109 deUint32 format = texFormats[formatNdx].internalFormat;
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dradeon_texture.h56 GLint internalFormat,
61 GLint internalFormat,
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_texture.h56 GLint internalFormat,
61 GLint internalFormat,

Completed in 1911 milliseconds

123456