/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_fbo.c | 47 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()
|
D | nouveau_driver.c | 128 if (fb->Attachment[i].Renderbuffer->_BaseFormat == in nouveau_clear()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_generate_mipmap.c | 49 (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()
|
D | intel_pixel_read.c | 124 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()
|
D | brw_surface_formats.c | 428 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()
|
D | brw_wm_surface_state.c | 339 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()
|
D | intel_fbo.c | 296 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()
|
D | brw_wm.c | 213 (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/ |
D | s_span.c | 1359 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 …]
|
D | s_renderbuffer.c | 143 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/ |
D | readpix.c | 173 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()
|
D | debug.c | 309 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()
|
D | fbobject.c | 511 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 …]
|
D | texobj.h | 149 img->_BaseFormat == GL_DEPTH_STENCIL)) && in _mesa_is_texture_complete()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_texture.c | 563 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 …]
|
D | st_cb_fbo.c | 125 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()
|
D | st_atom_sampler.c | 169 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()
|
D | st_cb_eglimage.c | 228 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()
|
D | st_cb_readpixels.c | 314 blit.mask = st_get_blit_mask(strb->Base._BaseFormat, format); in blit_to_staging() 438 if (rb->_BaseFormat != in st_ReadPixels()
|
D | st_sampler_view.c | 397 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/ |
D | intel_fbo.c | 205 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()
|
D | intel_tex_subimage.c | 96 if (!_mesa_texstore(ctx, 2, texImage->_BaseFormat, in intel_blit_texsubimage()
|
/external/mesa3d/src/mesa/drivers/dri/swrast/ |
D | swrast.c | 439 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/ |
D | radeon_fbo.c | 534 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/ |
D | radeon_fbo.c | 534 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()
|