Home
last modified time | relevance | path

Searched refs:_BaseFormat (Results 1 – 25 of 50) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_fbo.c47 rb->_BaseFormat = GL_RGB; in set_renderbuffer_format()
53 rb->_BaseFormat = GL_RGBA; in set_renderbuffer_format()
58 rb->_BaseFormat = GL_RGB; in set_renderbuffer_format()
63 rb->_BaseFormat = GL_DEPTH_COMPONENT; in set_renderbuffer_format()
71 rb->_BaseFormat = GL_DEPTH_STENCIL; in set_renderbuffer_format()
Dnouveau_driver.c128 if (fb->Attachment[i].Renderbuffer->_BaseFormat == in nouveau_clear()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_generate_mipmap.c49 (tex_obj->Image[0][base_level]->_BaseFormat == GL_DEPTH_COMPONENT || in brw_generate_mipmap()
50 tex_obj->Image[0][base_level]->_BaseFormat == GL_DEPTH_STENCIL)) { in brw_generate_mipmap()
Dintel_pixel_read.c124 if (rb->_BaseFormat == GL_RGB) in intel_readpixels_tiled_memcpy()
238 if (_mesa_need_rgb_to_luminance_conversion(rb->_BaseFormat, in intel_readpixels_blorp()
243 if (irb->Base.Base._BaseFormat == GL_RGB) { in intel_readpixels_blorp()
Dbrw_surface_formats.c428 rb->_BaseFormat != GL_RGBA && in brw_render_target_supported()
429 rb->_BaseFormat != GL_RG && in brw_render_target_supported()
430 rb->_BaseFormat != GL_RED) in brw_render_target_supported()
Dbrw_wm_surface_state.c339 if (img->_BaseFormat == GL_DEPTH_COMPONENT || in brw_get_texture_swizzle()
340 img->_BaseFormat == GL_DEPTH_STENCIL) { in brw_get_texture_swizzle()
389 switch (img->_BaseFormat) { in brw_get_texture_swizzle()
507 (firstImage->_BaseFormat == GL_DEPTH_COMPONENT || in brw_update_texture_surface()
508 firstImage->_BaseFormat == GL_DEPTH_STENCIL); in brw_update_texture_surface()
513 if (firstImage->_BaseFormat == GL_DEPTH_STENCIL || in brw_update_texture_surface()
514 firstImage->_BaseFormat == GL_DEPTH_COMPONENT) { in brw_update_texture_surface()
569 if (obj->StencilSampling && firstImage->_BaseFormat == GL_DEPTH_STENCIL) { in brw_update_texture_surface()
Dintel_fbo.c296 rb->_BaseFormat = _mesa_get_format_base_format(rb->Format); in intel_alloc_private_renderbuffer_storage()
342 rb->_BaseFormat = _mesa_get_format_base_format(original_format); in fallback_rgbx_to_rgba()
343 rb->InternalFormat = rb->_BaseFormat; in fallback_rgbx_to_rgba()
Dbrw_wm.c213 (img->_BaseFormat == GL_DEPTH_COMPONENT || in brw_populate_sampler_prog_key_data()
214 img->_BaseFormat == GL_DEPTH_STENCIL); in brw_populate_sampler_prog_key_data()
/external/mesa3d/src/mesa/swrast/
Ds_span.c1359 assert(rb->_BaseFormat == GL_RGBA || in _swrast_write_rgba_span()
1360 rb->_BaseFormat == GL_RGB || in _swrast_write_rgba_span()
1361 rb->_BaseFormat == GL_RED || in _swrast_write_rgba_span()
1362 rb->_BaseFormat == GL_RG || in _swrast_write_rgba_span()
1363 rb->_BaseFormat == GL_ALPHA); in _swrast_write_rgba_span()
1464 assert(rb->_BaseFormat == GL_RGBA || in _swrast_read_rgba_span()
1465 rb->_BaseFormat == GL_RGB || in _swrast_read_rgba_span()
1466 rb->_BaseFormat == GL_RG || in _swrast_read_rgba_span()
1467 rb->_BaseFormat == GL_RED || in _swrast_read_rgba_span()
1468 rb->_BaseFormat == GL_LUMINANCE || in _swrast_read_rgba_span()
[all …]
Ds_renderbuffer.c143 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in soft_renderbuffer_storage()
147 rb->_BaseFormat == 0) { in soft_renderbuffer_storage()
152 rb->_BaseFormat = GL_RGBA; in soft_renderbuffer_storage()
156 assert(rb->_BaseFormat); in soft_renderbuffer_storage()
/external/mesa3d/src/mesa/main/
Dreadpix.c173 if (_mesa_need_rgb_to_luminance_conversion(rb->_BaseFormat, in _mesa_readpixels_needs_slow_path()
200 if (rb->_BaseFormat != _mesa_get_format_base_format(rb->Format)) { in readpixels_can_use_memcpy()
459 _mesa_need_rgb_to_luminance_conversion(rb->_BaseFormat, dstBaseFormat); in read_rgba_pixels()
476 if (rb->_BaseFormat == GL_LUMINANCE || rb->_BaseFormat == GL_INTENSITY) { in read_rgba_pixels()
482 } else if (rb->_BaseFormat == GL_LUMINANCE_ALPHA) { in read_rgba_pixels()
488 } else if (_mesa_get_format_base_format(rb_format) != rb->_BaseFormat) { in read_rgba_pixels()
490 _mesa_compute_rgba2base2rgba_component_mapping(rb->_BaseFormat, in read_rgba_pixels()
Ddebug.c309 if (rb->_BaseFormat == GL_RGB || in _mesa_write_renderbuffer_image()
310 rb->_BaseFormat == GL_RGBA) { in _mesa_write_renderbuffer_image()
314 else if (rb->_BaseFormat == GL_DEPTH_STENCIL) { in _mesa_write_renderbuffer_image()
322 rb->_BaseFormat); in _mesa_write_renderbuffer_image()
Dfbobject.c511 rb->_BaseFormat = texImage->_BaseFormat; in _mesa_update_texture_renderbuffer()
641 switch (rb->_BaseFormat) { in _mesa_validate_framebuffer()
857 if (att->Texture->_IsFloat && att->Renderbuffer->_BaseFormat == GL_RGBA) in gles_check_float_renderable()
958 baseFormat = texImage->_BaseFormat; in test_attachment_completeness()
1014 const GLenum baseFormat = att->Renderbuffer->_BaseFormat; in test_attachment_completeness()
1181 f = texImg->_BaseFormat; in _mesa_test_framebuffer_completeness()
1215 baseFormat = att->Renderbuffer->_BaseFormat; in _mesa_test_framebuffer_completeness()
2521 rb->_BaseFormat = baseFormat; in _mesa_renderbuffer_storage()
2522 assert(rb->_BaseFormat != 0); in _mesa_renderbuffer_storage()
2530 rb->_BaseFormat = GL_NONE; in _mesa_renderbuffer_storage()
[all …]
Dtexobj.h149 img->_BaseFormat == GL_DEPTH_STENCIL)) && in _mesa_is_texture_complete()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c563 if (stImage->base._BaseFormat == GL_DEPTH_COMPONENT || in allocate_full_mipmap()
564 stImage->base._BaseFormat == GL_DEPTH_STENCIL_EXT) in allocate_full_mipmap()
1519 _mesa_texstore_can_use_memcpy(ctx, texImage->_BaseFormat, in st_TexSubImage()
1563 if (texImage->_BaseFormat != in st_TexSubImage()
1735 blit.mask = st_get_blit_mask(format, texImage->_BaseFormat); in st_TexSubImage()
2013 if (texImage->_BaseFormat != in st_GetTexSubImage()
2199 blit.mask = st_get_blit_mask(texImage->_BaseFormat, format); in st_GetTexSubImage()
2442 texImage->_BaseFormat, in fallback_copy_texsubimage()
2474 if (texImage->_BaseFormat != tex_baseformat && in st_can_copyteximage_using_blit()
2475 ((texImage->_BaseFormat != GL_RGB || tex_baseformat != GL_RGBA))) { in st_can_copyteximage_using_blit()
[all …]
Dst_cb_fbo.c125 strb->Base._BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in st_renderbuffer_alloc_storage()
175 if (rb->_BaseFormat == GL_DEPTH_COMPONENT || in st_renderbuffer_alloc_storage()
176 rb->_BaseFormat == GL_DEPTH_STENCIL || in st_renderbuffer_alloc_storage()
177 rb->_BaseFormat == GL_STENCIL_INDEX) { in st_renderbuffer_alloc_storage()
338 strb->Base._BaseFormat = _mesa_get_format_base_format(strb->Base.Format); in st_new_renderbuffer_fb()
Dst_atom_sampler.c169 GLenum texBaseFormat = _mesa_base_tex_image(texobj)->_BaseFormat; in st_convert_sampler()
212 GLenum texBaseFormat = _mesa_base_tex_image(texobj)->_BaseFormat; in st_convert_sampler()
Dst_cb_eglimage.c228 strb->Base._BaseFormat = st_pipe_format_to_base_format(ps->format); in st_egl_image_target_renderbuffer_storage()
229 strb->Base.InternalFormat = strb->Base._BaseFormat; in st_egl_image_target_renderbuffer_storage()
Dst_cb_readpixels.c314 blit.mask = st_get_blit_mask(strb->Base._BaseFormat, format); in blit_to_staging()
438 if (rb->_BaseFormat != in st_ReadPixels()
Dst_sampler_view.c397 GLenum baseFormat = _mesa_base_tex_image(&stObj->base)->_BaseFormat; in get_texture_format_swizzle()
476 GLenum baseFormat = _mesa_base_tex_image(&stObj->base)->_BaseFormat; in get_sampler_view_format()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_fbo.c205 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in intel_alloc_private_renderbuffer_storage()
281 rb->_BaseFormat = _mesa_get_format_base_format(image->format); in intel_image_target_renderbuffer_storage()
338 rb->_BaseFormat = _mesa_get_format_base_format(format); in intel_create_renderbuffer()
340 rb->InternalFormat = rb->_BaseFormat; in intel_create_renderbuffer()
Dintel_tex_subimage.c96 if (!_mesa_texstore(ctx, 2, texImage->_BaseFormat, in intel_blit_texsubimage()
/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast.c439 rb->_BaseFormat = GL_RGBA; in swrast_new_renderbuffer()
445 rb->_BaseFormat = GL_RGB; in swrast_new_renderbuffer()
451 rb->_BaseFormat = GL_RGB; in swrast_new_renderbuffer()
457 rb->_BaseFormat = GL_RGB; in swrast_new_renderbuffer()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_fbo.c534 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in radeon_alloc_renderbuffer_storage()
598 rb->_BaseFormat = _mesa_base_fbo_format(&radeon->glCtx, in radeon_image_target_renderbuffer_storage()
661 rb->_BaseFormat = _mesa_get_format_base_format(format); in radeon_create_renderbuffer()
747 rb->_BaseFormat = _mesa_get_format_base_format(rb->Format); in radeon_update_wrapper()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_fbo.c534 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in radeon_alloc_renderbuffer_storage()
598 rb->_BaseFormat = _mesa_base_fbo_format(&radeon->glCtx, in radeon_image_target_renderbuffer_storage()
661 rb->_BaseFormat = _mesa_get_format_base_format(format); in radeon_create_renderbuffer()
747 rb->_BaseFormat = _mesa_get_format_base_format(rb->Format); in radeon_update_wrapper()

12