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

123456

/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/deqp/modules/gles31/functional/
H A Des31fTextureLevelStateQueryTests.cpp129 glw::GLenum internalFormat; member in struct:deqp::gles31::Functional::__anon4803::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.cpp76 TextureCubeArrayFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& renderCtxInfo, const char* name, const char* description, deUint32 internalFormat, int size, int depth);
118 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
122 , m_format (internalFormat)
248 TextureBufferFormatCase (Context& ctx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width);
269 TextureBufferFormatCase::TextureBufferFormatCase (Context& ctx, glu::RenderContext& renderCtx, const char* name, const char* description, deUint32 internalFormat, int width) argument
272 , m_format (internalFormat)
439 deUint32 internalFormat; member in struct:deqp::gles31::Functional::__anon4798
496 deUint32 internalFormat; member in struct:deqp::gles31::Functional::__anon4799
509 deUint32 internalFormat = sizedColorFormats[formatNdx].internalFormat; local
519 deUint32 internalFormat = sizedDepthStencilFormats[formatNdx].internalFormat; local
531 deUint32 internalFormat; member in struct:deqp::gles31::Functional::__anon4800
565 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);
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...]
/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::__anon4665
72 deUint32 format = texFormats[formatNdx].internalFormat;
H A Des3pTextureFormatTests.cpp53 deUint32 internalFormat; member in struct:deqp::gles3::Performance::__anon4668
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/swiftshader/src/OpenGL/libGL/
H A DRenderbuffer.cpp288 internalFormat = sw::FORMAT_A8R8G8B8;
320 return internalFormat;
336 internalFormat = renderTarget->getInternalFormat();
337 format = sw2es::ConvertBackBufferFormat(internalFormat);
363 internalFormat = requestedFormat;
395 internalFormat = depthStencil->getInternalFormat();
396 format = sw2es::ConvertDepthStencilFormat(internalFormat);
421 internalFormat = sw::FORMAT_D24S8;
/external/swiftshader/src/OpenGL/libGLES_CM/
H A DRenderbuffer.cpp256 internalFormat = sw::FORMAT_A8B8G8R8;
281 return internalFormat;
297 internalFormat = renderTarget->getInternalFormat();
298 format = sw2es::ConvertBackBufferFormat(internalFormat);
324 internalFormat = requestedFormat;
374 internalFormat = depthStencil->getInternalFormat();
375 format = sw2es::ConvertDepthStencilFormat(internalFormat);
400 internalFormat = sw::FORMAT_D24S8;
/external/swiftshader/src/OpenGL/libGLESv2/
H A DRenderbuffer.cpp426 internalFormat = sw::FORMAT_A8B8G8R8;
451 return internalFormat;
467 internalFormat = renderTarget->getInternalFormat();
468 format = sw2es::ConvertBackBufferFormat(internalFormat);
494 internalFormat = requestedFormat;
544 internalFormat = depthStencil->getInternalFormat();
545 format = sw2es::ConvertDepthStencilFormat(internalFormat);
558 internalFormat = sw::FORMAT_D24S8;
561 internalFormat = sw::FORMAT_D32FS8_TEXTURE;
564 internalFormat
[all...]
/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
/external/swiftshader/src/OpenGL/common/
H A DImage.hpp55 width(width), height(height), format(format), type(type), internalFormat(SelectInternalFormat(format, type)), depth(1),
66 width(width), height(height), format(format), type(type), internalFormat(SelectInternalFormat(format, type)), depth(depth),
77 width(width), height(height), format(format), type(type), internalFormat(SelectInternalFormat(format, type)), depth(1),
85 Image(GLsizei width, GLsizei height, sw::Format internalFormat, int multiSampleDepth, bool lockable) argument
86 : sw::Surface(nullptr, width, height, multiSampleDepth, internalFormat, lockable, true),
87 width(width), height(height), format(0 /*GL_NONE*/), type(0 /*GL_NONE*/), internalFormat(internalFormat), depth(multiSampleDepth),
123 return internalFormat;
182 const sw::Format internalFormat; member in class:egl::Image

Completed in 3148 milliseconds

123456