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

12345

/external/mesa3d/src/mesa/main/
H A Dtexcompress_cpal.h33 GLenum internalFormat,
38 _mesa_cpal_compressed_size(int level, GLenum internalFormat,
42 _mesa_cpal_compressed_format_type(GLenum internalFormat, GLenum *format,
H A Dtexformat.h36 GLint internalFormat, GLenum format, GLenum type);
H A Dtexcompress_cpal.c111 _mesa_cpal_compressed_size(int level, GLenum internalFormat, argument
119 if (internalFormat < GL_PALETTE4_RGB8_OES
120 || internalFormat > GL_PALETTE8_RGB5_A1_OES) {
124 info = &formats[internalFormat - GL_PALETTE4_RGB8_OES];
125 ASSERT(info->cpal_format == internalFormat);
146 _mesa_cpal_compressed_format_type(GLenum internalFormat, GLenum *format, argument
151 if (internalFormat < GL_PALETTE4_RGB8_OES
152 || internalFormat > GL_PALETTE8_RGB5_A1_OES) {
156 info = &formats[internalFormat - GL_PALETTE4_RGB8_OES];
162 * Convert a call to glCompressedTexImage2D() where internalFormat i
166 _mesa_cpal_compressed_teximage2d(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei imageSize, const void *palette) argument
[all...]
H A Dtexformat.c50 * internalFormat parameters passed to glTexImage().
53 * \param internalFormat user's prefered internal texture format.
65 GLint internalFormat, GLenum format, GLenum type)
70 switch (internalFormat) {
208 switch (internalFormat) {
225 switch (internalFormat) {
274 switch (internalFormat) {
284 if (internalFormat == GL_YCBCR_MESA) {
294 switch (internalFormat) {
309 switch (internalFormat) {
64 _mesa_choose_tex_format(struct gl_context *ctx, GLenum target, GLint internalFormat, GLenum format, GLenum type) argument
[all...]
H A Dteximage.c73 * \param internalFormat the internal texture format token or 1, 2, 3, or 4.
82 _mesa_base_tex_format( struct gl_context *ctx, GLint internalFormat )
84 switch (internalFormat) {
142 switch (internalFormat) {
151 switch (internalFormat) {
160 switch (internalFormat) {
171 switch (internalFormat) {
189 switch (internalFormat) {
200 switch (internalFormat) {
213 switch (internalFormat) {
1138 _mesa_init_teximage_fields(struct gl_context *ctx, struct gl_texture_image *img, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum internalFormat, gl_format format) argument
1277 _mesa_test_proxy_teximage(struct gl_context *ctx, GLenum target, GLint level, GLint internalFormat, GLenum format, GLenum type, GLint width, GLint height, GLint depth, GLint border) argument
1738 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 ) argument
1969 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) argument
2325 copytexture_error_check( struct gl_context *ctx, GLuint dimensions, GLenum target, GLint level, GLint internalFormat, GLint width, GLint height, GLint border ) argument
2752 override_internal_format(GLenum internalFormat, GLint width, GLint height) argument
2803 _mesa_choose_texture_format(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLenum internalFormat, GLenum format, GLenum type) argument
2917 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
3107 _mesa_TexImage1D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) argument
3118 _mesa_TexImage2D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) argument
3134 _mesa_TexImage3D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) argument
3147 _mesa_TexImage3DEXT( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) argument
3363 copyteximage(struct gl_context *ctx, GLuint dims, GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) argument
3454 _mesa_CopyTexImage1D( GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border ) argument
3466 _mesa_CopyTexImage2D( GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) argument
3734 _mesa_CompressedTexImage1DARB(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) argument
3746 _mesa_CompressedTexImage2DARB(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) argument
3758 _mesa_CompressedTexImage3DARB(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) argument
3850 get_texbuffer_format(const struct gl_context *ctx, GLenum internalFormat) argument
4002 validate_texbuffer_format(const struct gl_context *ctx, GLenum internalFormat) argument
4033 _mesa_TexBuffer(GLenum target, GLenum internalFormat, GLuint buffer) argument
[all...]
H A Dconvolve.c47 _mesa_ConvolutionFilter1D(GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) argument
55 _mesa_ConvolutionFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) argument
100 _mesa_CopyConvolutionFilter1D(GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width) argument
109 _mesa_CopyConvolutionFilter2D(GLenum target, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height) argument
175 _mesa_SeparableFilter2D(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) argument
/external/mesa3d/src/mesa/state_tracker/
H A Dst_format.h51 st_choose_format(struct pipe_screen *screen, GLenum internalFormat,
58 GLenum internalFormat, unsigned sample_count);
62 st_ChooseTextureFormat_renderable(struct gl_context *ctx, GLint internalFormat,
67 GLint internalFormat,
H A Dst_cb_eglimage.c107 GLenum internalFormat; local
112 internalFormat = GL_RGBA;
114 internalFormat = GL_RGB;
128 ps->width, ps->height, 1, 0, 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);
H A DsglrContextWrapper.cpp119 void ContextWrapper::glTexImage1D (deUint32 target, int level, int internalFormat, int width, int border, deUint32 format, deUint32 type, const void* data) argument
121 m_curCtx->texImage1D(target, level, (deUint32)internalFormat, width, border, format, type, data);
124 void ContextWrapper::glTexImage2D (deUint32 target, int level, int internalFormat, int width, int height, int border, deUint32 format, deUint32 type, const void* data) argument
126 m_curCtx->texImage2D(target, level, (deUint32)internalFormat, width, height, border, format, type, data);
129 void ContextWrapper::glTexImage3D (deUint32 target, int level, int internalFormat, int width, int height, int depth, int border, deUint32 format, deUint32 type, const void* data) argument
131 m_curCtx->texImage3D(target, level, (deUint32)internalFormat, width, height, depth, border, format, type, data);
149 void ContextWrapper::glCopyTexImage1D (deUint32 target, int level, deUint32 internalFormat, int x, int y, int width, int border) argument
151 m_curCtx->copyTexImage1D(target, level, internalFormat, x, y, width, border);
154 void ContextWrapper::glCopyTexImage2D (deUint32 target, int level, deUint32 internalFormat, int x, int y, int width, int height, int border) argument
156 m_curCtx->copyTexImage2D(target, level, internalFormat,
169 glTexStorage2D(deUint32 target, int levels, deUint32 internalFormat, int width, int height) argument
174 glTexStorage3D(deUint32 target, int levels, deUint32 internalFormat, int width, int height, int depth) argument
[all...]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
H A DGLOnlyTextureData.java37 int internalFormat; field in class:GLOnlyTextureData
42 * @param internalFormat Specifies the internal format of the texture. Must be one of the following symbolic constants:
51 public GLOnlyTextureData (int width, int height, int mipMapLevel, int internalFormat, int format, int type) { argument
55 this.internalFormat = internalFormat;
78 Gdx.gl.glTexImage2D(target, mipLevel, internalFormat, width, height, 0, format, type, null);
/external/deqp/modules/gles31/functional/
H A Des31fTextureLevelStateQueryTests.cpp129 glw::GLenum internalFormat; member in struct:deqp::gles31::Functional::__anon4736::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.cpp74 TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 internalFormat, int size, int depth);
116 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
120 , m_format (internalFormat)
246 TextureBufferFormatCase (Context& ctx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width);
267 TextureBufferFormatCase::TextureBufferFormatCase (Context& ctx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width) argument
270 , m_format (internalFormat)
437 deUint32 internalFormat; member in struct:deqp::gles31::Functional::__anon4731
494 deUint32 internalFormat; member in struct:deqp::gles31::Functional::__anon4732
507 deUint32 internalFormat = sizedColorFormats[formatNdx].internalFormat; local
517 deUint32 internalFormat = sizedDepthStencilFormats[formatNdx].internalFormat; local
529 deUint32 internalFormat; member in struct:deqp::gles31::Functional::__anon4733
563 deUint32 internalFormat = bufferColorFormats[formatNdx].internalFormat; local
[all...]
H A Des31fTextureSpecificationTests.cpp319 BasicTexImageCubeArrayCase (Context& context, const char* name, const char* desc, deUint32 internalFormat, int size, int numLayers) argument
320 : TextureCubeArraySpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, numLayers, maxLevelCount(size))
321 , m_internalFormat (internalFormat)
357 BasicTexStorageCubeArrayCase (Context& context, const char* name, const char* desc, deUint32 internalFormat, int size, int numLayers, int numLevels) argument
358 : TextureCubeArraySpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, numLayers, numLevels)
359 , m_internalFormat (internalFormat)
402 deUint32 internalFormat,
412 : TextureCubeArraySpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), size, depth, 1)
413 , m_internalFormat (internalFormat)
483 deUint32 internalFormat,
399 TexImageCubeArrayBufferCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int size, int depth, int imageHeight, int rowLength, int skipImages, int skipRows, int skipPixels, int alignment, int offset) argument
480 TexSubImageCubeArrayBufferCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int size, int depth, int subX, int subY, int subZ, int subW, int subH, int subD, int imageHeight, int rowLength, int skipImages, int skipRows, int skipPixels, int alignment, int offset) argument
590 TexImageCubeArrayDepthCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int imageSize, int numLayers) argument
635 TexSubImageCubeArrayDepthCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int imageSize, int numLayers) argument
704 TexImageCubeArrayDepthBufferCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int imageSize, int numLayers) argument
776 deUint32 internalFormat; member in struct:deqp::gles31::Functional::__anon4740
833 deUint32 internalFormat; member in struct:deqp::gles31::Functional::__anon4741
1047 deUint32 internalFormat = colorFormats[formatNdx].internalFormat; local
1059 deUint32 internalFormat = depthStencilFormats[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);
114 TextureCube (const RenderContext& context, deUint32 internalFormat, int size);
149 Texture2DArray (const RenderContext& context, deUint32 internalFormat, int width, int height, int numLayers);
183 Texture1DArray (const RenderContext& context, deUint32 internalFormat, int width, int numLayers);
212 Texture3D (const RenderContext& context, deUint32 internalFormat, int width, int height, int depth);
245 TextureCubeArray (const RenderContext& context, deUint32 internalFormat, int size, int numLayers);
274 TextureBuffer (const RenderContext& context, deUint32 internalFormat, size_t bufferSize);
275 TextureBuffer (const RenderContext& context, deUint32 internalFormat, size_t bufferSize, size_t offset, size_t size, const void* data = DE_NULL);
297 void init (deUint32 internalFormat, size_
[all...]
H A DgluTextureUtil.hpp61 tcu::TextureFormat mapGLInternalFormat (deUint32 internalFormat);
63 bool isGLInternalColorFormatFilterable (deUint32 internalFormat);
88 bool isCompressedFormat (deUint32 internalFormat);
H A DgluPixelTransfer.cpp68 void texImage2D (const RenderContext& context, deUint32 target, int level, deUint32 internalFormat, const tcu::ConstPixelBufferAccess& src) argument
80 gl.texImage2D(target, level, internalFormat, width, height, 0, format.format, format.dataType, src.getDataPtr());
87 void texImage3D (const RenderContext& context, deUint32 target, int level, deUint32 internalFormat, const tcu::ConstPixelBufferAccess& src) argument
100 gl.texImage3D(target, level, internalFormat, width, height, depth, 0, format.format, format.dataType, src.getDataPtr());
/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::__anon4555
72 deUint32 format = texFormats[formatNdx].internalFormat;
H A Des3pTextureFormatTests.cpp53 deUint32 internalFormat; member in struct:deqp::gles3::Performance::__anon4558
109 deUint32 format = texFormats[formatNdx].internalFormat;
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dradeon_texture.h62 GLint internalFormat,
67 GLint internalFormat,
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_texture.h62 GLint internalFormat,
67 GLint internalFormat,
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnouveau_fbo.c38 set_renderbuffer_format(struct gl_renderbuffer *rb, GLenum internalFormat) argument
42 rb->InternalFormat = internalFormat;
44 switch (internalFormat) {
86 GLenum internalFormat,
91 if (!set_renderbuffer_format(rb, internalFormat))
174 GLenum internalFormat,
177 if (!set_renderbuffer_format(rb, internalFormat))
85 nouveau_renderbuffer_storage(struct gl_context *ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) argument
173 nouveau_renderbuffer_dri_storage(struct gl_context *ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) argument

Completed in 1382 milliseconds

12345