Home
last modified time | relevance | path

Searched refs:color_format (Results 1 – 25 of 34) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_screen.c159 GLenum color_format; in nouveau_create_buffer() local
165 color_format = GL_RGB5; in nouveau_create_buffer()
167 color_format = GL_RGB8; in nouveau_create_buffer()
169 color_format = GL_RGBA8; in nouveau_create_buffer()
176 rb = nouveau_renderbuffer_dri_new(color_format, drawable); in nouveau_create_buffer()
181 rb = nouveau_renderbuffer_dri_new(color_format, drawable); in nouveau_create_buffer()
/external/mesa3d/src/gallium/state_trackers/egl/x11/
Dnative_ximage.c58 enum pipe_format color_format; member
252 xsurf->color_format = xconf->base.color_format; in ximage_display_create_surface()
256 xsurf->color_format, in ximage_display_create_surface()
336 if (xdpy->configs[i].base.color_format == fmt) { in ximage_display_create_pixmap_surface()
403 xconf->base.color_format = choose_format(xconf->visual); in ximage_display_get_configs()
404 if (xconf->base.color_format == PIPE_FORMAT_NONE) in ximage_display_get_configs()
466 if (xdpy->configs[i].base.color_format == fmt) { in ximage_display_copy_to_pixmap()
Dnative_dri2.c72 enum pipe_format color_format; member
142 templ.format = dri2surf->color_format; in dri2_surface_process_drawable_buffers()
202 uint bpp = util_format_get_blocksizebits(dri2surf->color_format); in dri2_surface_get_buffers()
456 enum pipe_format color_format) in dri2_display_create_surface() argument
467 dri2surf->color_format = color_format; in dri2_display_create_surface()
494 (Drawable) win, nconf->color_format); in dri2_display_create_window_surface()
513 dri2dpy->configs[i].base.color_format); in dri2_display_create_pixmap_surface()
527 (Drawable) pix, nconf->color_format); in dri2_display_create_pixmap_surface()
599 nconf->color_format = formats[i]; in dri2_display_convert_config()
603 if (nconf->color_format == PIPE_FORMAT_NONE) in dri2_display_convert_config()
/external/mesa3d/src/gallium/state_trackers/egl/gdi/
Dnative_gdi.c54 enum pipe_format color_format; member
240 gsurf->color_format = nconf->color_format; in gdi_display_create_window_surface()
244 gsurf->color_format, in gdi_display_create_window_surface()
317 nconf->color_format = formats[i]; in gdi_display_get_configs()
/external/mesa3d/src/gallium/state_trackers/egl/android/
Dnative_android.cpp522 if (format != nconf->color_format) { in android_display_create_window_surface()
524 format, nconf->color_format); in android_display_create_window_surface()
573 enum pipe_format color_format; in android_display_init_configs() local
576 color_format = get_pipe_format(native_formats[i]); in android_display_init_configs()
577 if (color_format == PIPE_FORMAT_NONE || in android_display_init_configs()
579 color_format, PIPE_TEXTURE_2D, 0, PIPE_BIND_RENDER_TARGET)) { in android_display_init_configs()
587 aconf->base.color_format = color_format; in android_display_init_configs()
/external/mesa3d/src/gallium/state_trackers/egl/wayland/
Dnative_wayland.c106 nconf->color_format = wayland_formats[i].format; in wayland_display_get_configs()
385 surface->color_format = config->base.color_format; in wayland_create_window_surface()
399 surface->color_format, bind); in wayland_create_window_surface()
Dnative_wayland.h82 enum pipe_format color_format; member
Dnative_shm.c97 switch (surface->color_format) { in wayland_create_shm_buffer()
Dnative_drm.c111 switch (surface->color_format) { in wayland_create_drm_buffer()
/external/mesa3d/src/gallium/state_trackers/egl/drm/
Dmodeset.c108 block_bits = util_format_get_blocksizebits(drmsurf->color_format); in drm_surface_init_framebuffers()
265 drmsurf->color_format = drmconf->base.color_format; in drm_display_create_surface()
271 drmsurf->color_format, in drm_display_create_surface()
304 drmsurf->color_format = resource->format; in drm_display_create_surface_from_resource()
310 drmsurf->color_format, in drm_display_create_surface_from_resource()
Dnative_drm.h99 enum pipe_format color_format; member
Dnative_drm.c86 nconf->color_format = format; in drm_display_get_configs()
/external/mesa3d/src/mesa/state_tracker/
Dst_manager.c308 format = stfb->iface->visual->color_format; in st_framebuffer_add_renderbuffer()
352 if (visual->color_format != PIPE_FORMAT_NONE) { in st_visual_to_context_mode()
356 util_format_get_component_bits(visual->color_format, in st_visual_to_context_mode()
359 util_format_get_component_bits(visual->color_format, in st_visual_to_context_mode()
362 util_format_get_component_bits(visual->color_format, in st_visual_to_context_mode()
365 util_format_get_component_bits(visual->color_format, in st_visual_to_context_mode()
/external/mesa3d/src/gallium/state_trackers/egl/fbdev/
Dnative_fbdev.c286 nconf->color_format, in fbdev_display_create_window_surface()
437 fbdpy->config.color_format, PIPE_TEXTURE_2D, 0, in fbdev_display_init_screen()
456 nconf->color_format = vinfo_to_format(&fbdpy->config_vinfo); in fbdev_display_init_config()
457 if (nconf->color_format == PIPE_FORMAT_NONE) in fbdev_display_init_config()
/external/mesa3d/src/gallium/state_trackers/dri/sw/
Ddri_screen.c263 stvis->color_format = PIPE_FORMAT_B8G8R8A8_UNORM; in dri_fill_st_visual()
265 stvis->color_format = PIPE_FORMAT_B8G8R8X8_UNORM; in dri_fill_st_visual()
267 stvis->color_format = PIPE_FORMAT_B5G6R5_UNORM; in dri_fill_st_visual()
/external/mesa3d/src/gallium/state_trackers/dri/common/
Ddri_screen.c263 stvis->color_format = PIPE_FORMAT_B8G8R8A8_UNORM; in dri_fill_st_visual()
265 stvis->color_format = PIPE_FORMAT_B8G8R8X8_UNORM; in dri_fill_st_visual()
267 stvis->color_format = PIPE_FORMAT_B5G6R5_UNORM; in dri_fill_st_visual()
/external/mesa3d/src/gallium/state_trackers/dri/drm/
Ddri_screen.c263 stvis->color_format = PIPE_FORMAT_B8G8R8A8_UNORM; in dri_fill_st_visual()
265 stvis->color_format = PIPE_FORMAT_B8G8R8X8_UNORM; in dri_fill_st_visual()
267 stvis->color_format = PIPE_FORMAT_B5G6R5_UNORM; in dri_fill_st_visual()
/external/mesa3d/src/gallium/state_trackers/egl/common/
Degl_g3d.c237 assert(nconf->color_format != PIPE_FORMAT_NONE); in init_config_attributes()
240 rgba[i] = util_format_get_component_bits(nconf->color_format, in init_config_attributes()
355 gconf->stvis.color_format = nconf->color_format; in egl_g3d_init_config()
Dnative.h157 enum pipe_format color_format; member
Degl_g3d_st.c143 templ.format = gsurf->stvis.color_format; in pbuffer_allocate_pbuffer_texture()
/external/mesa3d/src/gallium/state_trackers/vega/
Dvg_manager.c286 stfb->strb->format != stdrawi->visual->color_format) { in vg_context_bind_framebuffers()
307 stfb->strb = create_renderbuffer(stdrawi->visual->color_format); in vg_context_bind_framebuffers()
/external/mesa3d/src/gallium/state_trackers/egl/null/
Dnative_null.c113 nconf->color_format = color_formats[i]; in null_display_init_config()
/external/mesa3d/src/gallium/include/state_tracker/
Dst_api.h224 enum pipe_format color_format; member
/external/webrtc/talk/app/webrtc/java/jni/
Dandroidmediadecoder_jni.cc617 int color_format = GetIntField(jni, *j_media_codec_video_decoder_, in DeliverPendingOutputs() local
690 if (color_format == COLOR_FormatYUV420Planar) { in DeliverPendingOutputs()
740 ". Color: " << color_format << ". TS:" << decoded_frame.timestamp() << in DeliverPendingOutputs()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_st.c96 format = stwfb->stvis.color_format; in stw_st_framebuffer_validate_locked()

12