/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()
|
/external/mesa3d/src/mesa/main/ |
D | texgetimage.c | 277 rebaseFormat = texImage->_BaseFormat; in get_tex_rgba_compressed() 349 if (texImage->_BaseFormat == GL_LUMINANCE || in get_tex_rgba_uncompressed() 350 texImage->_BaseFormat == GL_INTENSITY || in get_tex_rgba_uncompressed() 351 texImage->_BaseFormat == GL_LUMINANCE_ALPHA) { in get_tex_rgba_uncompressed() 356 rebaseFormat = texImage->_BaseFormat; in get_tex_rgba_uncompressed() 358 else if ((texImage->_BaseFormat == GL_RGBA || in get_tex_rgba_uncompressed() 359 texImage->_BaseFormat == GL_RGB || in get_tex_rgba_uncompressed() 360 texImage->_BaseFormat == GL_RG) && in get_tex_rgba_uncompressed()
|
D | debug.c | 318 if (rb->_BaseFormat == GL_RGB || in _mesa_write_renderbuffer_image() 319 rb->_BaseFormat == GL_RGBA) { in _mesa_write_renderbuffer_image() 323 else if (rb->_BaseFormat == GL_DEPTH_STENCIL) { in _mesa_write_renderbuffer_image() 331 rb->_BaseFormat); in _mesa_write_renderbuffer_image()
|
D | fbobject.c | 431 switch (rb->_BaseFormat) { in _mesa_validate_framebuffer() 749 f = texImg->_BaseFormat; in _mesa_test_framebuffer_completeness() 1480 rb->_BaseFormat = baseFormat; in renderbuffer_storage() 1481 assert(rb->_BaseFormat != 0); in renderbuffer_storage() 1489 rb->_BaseFormat = GL_NONE; in renderbuffer_storage() 1636 *params = get_component_bits(pname, rb->_BaseFormat, rb->Format); in _mesa_GetRenderbufferParameterivEXT() 2553 *params = get_component_bits(pname, texImage->_BaseFormat, in _mesa_GetFramebufferAttachmentParameterivEXT() 2561 *params = get_component_bits(pname, att->Renderbuffer->_BaseFormat, in _mesa_GetFramebufferAttachmentParameterivEXT()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_eglimage.c | 89 strb->Base._BaseFormat = st_pipe_format_to_base_format(ps->format); in st_egl_image_target_renderbuffer_storage() 90 strb->Base.InternalFormat = strb->Base._BaseFormat; in st_egl_image_target_renderbuffer_storage()
|
D | st_cb_fbo.c | 123 strb->Base._BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in st_renderbuffer_alloc_storage() 289 strb->Base._BaseFormat = _mesa_get_format_base_format(strb->Base.Format); in st_new_renderbuffer_fb() 434 rb->_BaseFormat = texImage->_BaseFormat; in st_render_texture()
|
D | st_cb_texture.c | 360 stImage->base._BaseFormat == GL_DEPTH_COMPONENT || in guess_and_alloc_texture() 361 stImage->base._BaseFormat == GL_DEPTH_STENCIL_EXT) && in guess_and_alloc_texture() 819 texImage->_BaseFormat, in fallback_copy_texsubimage() 922 const GLenum texBaseFormat = texImage->_BaseFormat; in st_CopyTexSubImage()
|
D | st_cb_clear.c | 309 ctx->DrawBuffer->_ColorDrawBuffers[0]->_BaseFormat, in clear_with_quad() 552 ctx->DrawBuffer->_ColorDrawBuffers[0]->_BaseFormat, in st_Clear()
|
D | st_atom_sampler.c | 186 teximg ? teximg->_BaseFormat : GL_RGBA, is_integer); in convert_sampler()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_span.c | 1352 ASSERT(rb->_BaseFormat == GL_RGBA || in _swrast_write_rgba_span() 1353 rb->_BaseFormat == GL_RGB || in _swrast_write_rgba_span() 1354 rb->_BaseFormat == GL_RED || in _swrast_write_rgba_span() 1355 rb->_BaseFormat == GL_RG || in _swrast_write_rgba_span() 1356 rb->_BaseFormat == GL_ALPHA); in _swrast_write_rgba_span() 1457 ASSERT(rb->_BaseFormat == GL_RGBA || in _swrast_read_rgba_span() 1458 rb->_BaseFormat == GL_RGB || in _swrast_read_rgba_span() 1459 rb->_BaseFormat == GL_RG || in _swrast_read_rgba_span() 1460 rb->_BaseFormat == GL_RED || in _swrast_read_rgba_span() 1461 rb->_BaseFormat == GL_LUMINANCE || in _swrast_read_rgba_span() [all …]
|
D | s_renderbuffer.c | 145 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in soft_renderbuffer_storage() 149 rb->_BaseFormat == 0) { in soft_renderbuffer_storage() 154 rb->_BaseFormat = GL_RGBA; in soft_renderbuffer_storage() 158 ASSERT(rb->_BaseFormat); in soft_renderbuffer_storage()
|
D | s_texrender.c | 87 rb->_BaseFormat = _mesa_get_format_base_format(format); in update_wrapper()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_fbo.c | 261 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in intel_alloc_renderbuffer_storage() 323 rb->_BaseFormat = _mesa_base_fbo_format(&intel->ctx, in intel_image_target_renderbuffer_storage() 406 rb->_BaseFormat = _mesa_get_format_base_format(format); in intel_create_renderbuffer() 408 rb->InternalFormat = rb->_BaseFormat; in intel_create_renderbuffer() 525 rb->_BaseFormat = image->_BaseFormat; in intel_renderbuffer_update_wrapper()
|
D | intel_tex_subimage.c | 119 if (!_mesa_texstore(ctx, 2, texImage->_BaseFormat, in intel_blit_texsubimage()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_fbo.c | 261 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in intel_alloc_renderbuffer_storage() 323 rb->_BaseFormat = _mesa_base_fbo_format(&intel->ctx, in intel_image_target_renderbuffer_storage() 406 rb->_BaseFormat = _mesa_get_format_base_format(format); in intel_create_renderbuffer() 408 rb->InternalFormat = rb->_BaseFormat; in intel_create_renderbuffer() 525 rb->_BaseFormat = image->_BaseFormat; in intel_renderbuffer_update_wrapper()
|
D | intel_tex_subimage.c | 119 if (!_mesa_texstore(ctx, 2, texImage->_BaseFormat, in intel_blit_texsubimage()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_fbo.c | 261 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in intel_alloc_renderbuffer_storage() 323 rb->_BaseFormat = _mesa_base_fbo_format(&intel->ctx, in intel_image_target_renderbuffer_storage() 406 rb->_BaseFormat = _mesa_get_format_base_format(format); in intel_create_renderbuffer() 408 rb->InternalFormat = rb->_BaseFormat; in intel_create_renderbuffer() 525 rb->_BaseFormat = image->_BaseFormat; in intel_renderbuffer_update_wrapper()
|
D | intel_tex_subimage.c | 119 if (!_mesa_texstore(ctx, 2, texImage->_BaseFormat, in intel_blit_texsubimage()
|
D | brw_wm.c | 456 (img->_BaseFormat == GL_DEPTH_COMPONENT || in brw_populate_sampler_prog_key_data() 457 img->_BaseFormat == GL_DEPTH_STENCIL); in brw_populate_sampler_prog_key_data()
|
D | gen7_wm_surface_state.c | 377 (firstImage->_BaseFormat == GL_DEPTH_COMPONENT || in gen7_update_texture_surface() 378 firstImage->_BaseFormat == GL_DEPTH_STENCIL); in gen7_update_texture_surface()
|
D | brw_wm_surface_state.c | 575 if ((rb->_BaseFormat != GL_RGBA && in brw_render_target_supported() 576 rb->_BaseFormat != GL_RG && in brw_render_target_supported() 577 rb->_BaseFormat != GL_RED) && _mesa_is_format_integer_color(format)) in brw_render_target_supported() 675 if (img->_BaseFormat == GL_DEPTH_COMPONENT || in brw_get_texture_swizzle() 676 img->_BaseFormat == GL_DEPTH_STENCIL) { in brw_get_texture_swizzle()
|
/external/mesa3d/src/mesa/drivers/dri/swrast/ |
D | swrast.c | 351 rb->_BaseFormat = GL_RGBA; in swrast_new_renderbuffer() 357 rb->_BaseFormat = GL_RGB; in swrast_new_renderbuffer() 363 rb->_BaseFormat = GL_RGB; in swrast_new_renderbuffer() 369 rb->_BaseFormat = GL_RGB; in swrast_new_renderbuffer()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_fbo.c | 535 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in radeon_alloc_renderbuffer_storage() 600 rb->_BaseFormat = _mesa_base_fbo_format(radeon->glCtx, in radeon_image_target_renderbuffer_storage() 692 rb->_BaseFormat = _mesa_get_format_base_format(format); in radeon_create_renderbuffer() 778 rb->_BaseFormat = _mesa_base_fbo_format(ctx, rb->InternalFormat); in radeon_update_wrapper()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_fbo.c | 535 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in radeon_alloc_renderbuffer_storage() 600 rb->_BaseFormat = _mesa_base_fbo_format(radeon->glCtx, in radeon_image_target_renderbuffer_storage() 692 rb->_BaseFormat = _mesa_get_format_base_format(format); in radeon_create_renderbuffer() 778 rb->_BaseFormat = _mesa_base_fbo_format(ctx, rb->InternalFormat); in radeon_update_wrapper()
|
D | radeon_texstate.c | 321 if (texUnit->_Current->Image[0][0]->_BaseFormat == GL_ALPHA) in radeonUpdateTextureEnv() 345 if (ctx->Texture.Unit[txunit]._Current->Image[0][0]->_BaseFormat == GL_ALPHA) in radeonUpdateTextureEnv() 366 if (texUnit->_Current->Image[0][0]->_BaseFormat == GL_LUMINANCE) in radeonUpdateTextureEnv() 390 if (ctx->Texture.Unit[txunit]._Current->Image[0][0]->_BaseFormat == GL_LUMINANCE) in radeonUpdateTextureEnv()
|