/external/mesa3d/src/mesa/state_tracker/ |
st_cb_fbo.c | 63 GLenum internalFormat, 74 if (internalFormat == GL_RGBA16_SNORM) { 83 format = st_choose_renderbuffer_format(screen, internalFormat, 0); 109 GLenum internalFormat, 123 strb->Base._BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); 127 return st_renderbuffer_alloc_sw_storage(ctx, rb, internalFormat, 156 format = st_choose_renderbuffer_format(screen, internalFormat, i); 164 format = st_choose_renderbuffer_format(screen, internalFormat, 0); 296 strb->Base.InternalFormat = GL_RGBA8; 301 strb->Base.InternalFormat = GL_RGB8 [all...] |
st_cb_eglimage.c | 90 strb->Base.InternalFormat = strb->Base._BaseFormat; 107 GLenum internalFormat; 112 internalFormat = GL_RGBA; 114 internalFormat = GL_RGB; 128 ps->width, ps->height, 1, 0, internalFormat,
|
st_gen_mipmap.c | 250 dstDepth, border, srcImage->InternalFormat,
|
st_atom_sampler.c | 181 is_integer = _mesa_is_enum_format_integer(teximg->InternalFormat);
|
st_cb_clear.c | 305 GLboolean is_integer = _mesa_is_enum_format_integer(rb->InternalFormat); 548 GLboolean is_integer = _mesa_is_enum_format_integer(rb->InternalFormat);
|
st_cb_texture.c | 510 texImage->InternalFormat, format, 516 texImage->InternalFormat, texFormat); 865 const GLenum srcFormat = _mesa_base_fbo_format(ctx, src->InternalFormat); 866 const GLenum dstFormat = _mesa_base_tex_format(ctx, dst->InternalFormat); [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_texrender.c | 86 rb->InternalFormat = swImage->Base.InternalFormat;
|
s_renderbuffer.c | 57 GLenum internalFormat, 63 switch (internalFormat) { 145 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); 148 internalFormat == GL_RGBA16_SNORM && 157 /* the internalFormat should have been error checked long ago */ 276 rb->InternalFormat = GL_RGBA; 315 rb->InternalFormat = GL_DEPTH_COMPONENT16; 318 rb->InternalFormat = GL_DEPTH_COMPONENT24; 321 rb->InternalFormat = GL_DEPTH_COMPONENT32; 360 rb->InternalFormat = GL_STENCIL_INDEX8 [all...] |
/external/deqp/modules/gles3/functional/ |
es3fInternalFormatQueryTests.cpp | 47 SamplesCase(Context& context, const char* name, const char* description, GLenum internalFormat, bool isIntegerInternalFormat) 49 , m_internalFormat (internalFormat) 128 SamplesBufferSizeCase(Context& context, const char* name, const char* description, GLenum internalFormat) 130 , m_internalFormat (internalFormat) 172 const struct 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]; 231 addChild(new SamplesCase(m_context, (std::string(internalFormat.name) + "_samples").c_str(), "SAMPLES and NUM_SAMPLE_COUNTS", internalFormat.format, internalFormat.isIntegerFormat)) [all...] |
/external/mesa3d/src/mesa/main/ |
renderbuffer.c | 55 rb->InternalFormat = GL_RGBA;
|
fbobject.c | 575 att_incomplete("compressed internalformat"); 615 if (!att->Renderbuffer->InternalFormat || 764 f = att->Renderbuffer->InternalFormat; 1062 * \param internalFormat as passed to glRenderbufferStorage() 1063 * \return the base internal format, or 0 if internalFormat is illegal 1066 _mesa_base_fbo_format(struct gl_context *ctx, GLenum internalFormat) 1072 switch (internalFormat) { [all...] |
teximage.c | 73 * \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) { [all...] |
debug.c | 431 _mesa_lookup_enum_by_nr(rb->InternalFormat));
|
framebuffer.c | 293 if (rb->AllocStorage(ctx, rb, rb->InternalFormat, width, height)) {
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_fbo.c | 466 GLenum internalFormat, 479 switch (internalFormat) { 535 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); 596 rb->InternalFormat = image->internal_format; 612 GLenum internalFormat, GLuint width, GLuint height) 617 rb->InternalFormat = internalFormat; 652 rb->AllocStorage(ctx, rb, rb->InternalFormat, width, height); 661 GLenum internalFormat, GLuint width, GLuint height) 693 rb->InternalFormat = _mesa_get_format_base_format(format) [all...] |
radeon_screen.c | 282 image->internal_format = rb->InternalFormat;
|
radeon_texture.c | 315 GLint internalFormat, 319 return radeonChooseTextureFormat(ctx, internalFormat, format, 324 GLint internalFormat, 336 "%s InternalFormat=%s(%d) type=%s format=%s\n", 338 _mesa_lookup_enum_by_nr(internalFormat), internalFormat, 344 switch (internalFormat) { 536 "unexpected internalFormat 0x%x in %s", 537 (int)internalFormat, __func__); 617 texImage->InternalFormat = image->internal_format [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_tex_copy.c | 57 const GLenum internalFormat = intelImage->base.Base.InternalFormat; 66 __FUNCTION__, intelImage->mt, irb, internalFormat);
|
intel_fbo.c | 225 GLenum internalFormat, 233 switch (internalFormat) { 241 internalFormat, 261 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); 266 _mesa_lookup_enum_by_nr(internalFormat), 319 rb->InternalFormat = image->internal_format; 335 GLenum internalFormat, GLuint width, GLuint height) 340 rb->InternalFormat = internalFormat; 367 rb->AllocStorage(ctx, rb, rb->InternalFormat, width, height) [all...] |
/external/mesa3d/src/mesa/drivers/dri/swrast/ |
swrast.c | 73 uint32_t internalFormat; 78 internalFormat = (texture_format == __DRI_TEXTURE_FORMAT_RGB ? 3 : 4); 95 w, h, 1, 0, internalFormat, texFormat); 285 GLenum internalFormat, GLuint width, GLuint height) 292 (void) internalFormat; 304 GLenum internalFormat, GLuint width, GLuint height) 312 swrast_alloc_front_storage(ctx, rb, internalFormat, width, height); 350 rb->InternalFormat = GL_RGBA; 356 rb->InternalFormat = GL_RGB; 362 rb->InternalFormat = GL_RGB [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_fbo.c | 38 set_renderbuffer_format(struct gl_renderbuffer *rb, GLenum internalFormat) 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))
|
/external/mesa3d/src/mesa/drivers/x11/ |
xm_buffer.c | 254 GLenum internalFormat, GLuint width, GLuint height) 268 rb->InternalFormat = internalFormat; 280 GLenum internalFormat, GLuint width, GLuint height) 290 (void) xmesa_alloc_front_storage(ctx, rb, internalFormat, width, height); 337 xrb->Base.Base.InternalFormat = GL_RGBA;
|
/external/deqp/modules/gles31/functional/ |
es31fInternalFormatQueryTests.cpp | 51 FormatSamplesCase (Context& ctx, const char* name, const char* desc, glw::GLenum texTarget, glw::GLenum internalFormat, FormatType type); 61 FormatSamplesCase::FormatSamplesCase (Context& ctx, const char* name, const char* desc, glw::GLenum target, glw::GLenum internalFormat, FormatType type) 64 , m_internalFormat (internalFormat) 372 static const struct InternalFormat
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_wm.c | 465 if (img->InternalFormat == GL_YCBCR_MESA) {
|
gen7_wm_surface_state.c | 328 firstImage->InternalFormat,
|