Lines Matching refs:r300screen

78     struct r300_screen* r300screen = r300_screen(pscreen);  in r300_get_name()  local
80 return chip_families[r300screen->caps.family]; in r300_get_name()
85 struct r300_screen* r300screen = r300_screen(pscreen); in r300_get_param() local
86 boolean is_r500 = r300screen->caps.is_r500; in r300_get_param()
118 return util_format_s3tc_enabled ? r300screen->caps.dxtc_swizzle : 1; in r300_get_param()
157 return !r300screen->caps.has_tcl; in r300_get_param()
163 return r300screen->caps.has_tcl; in r300_get_param()
167 return r300screen->caps.num_tex_units; in r300_get_param()
183 struct r300_screen* r300screen = r300_screen(pscreen); in r300_get_shader_param() local
184 boolean is_r400 = r300screen->caps.is_r400; in r300_get_shader_param()
185 boolean is_r500 = r300screen->caps.is_r500; in r300_get_shader_param()
219 return r300screen->caps.num_tex_units; in r300_get_shader_param()
242 if (!r300screen->caps.has_tcl) { in r300_get_shader_param()
288 struct r300_screen* r300screen = r300_screen(pscreen); in r300_get_paramf() local
297 if (r300screen->caps.is_r500) { in r300_get_paramf()
299 } else if (r300screen->caps.is_r400) { in r300_get_paramf()
465 struct r300_screen* r300screen = r300_screen(pscreen); in r300_destroy_screen() local
471 FREE(r300screen); in r300_destroy_screen()
520 struct r300_screen *r300screen = CALLOC_STRUCT(r300_screen); in r300_screen_create() local
522 if (!r300screen) { in r300_screen_create()
523 FREE(r300screen); in r300_screen_create()
527 rws->query_info(rws, &r300screen->info); in r300_screen_create()
529 r300_init_debug(r300screen); in r300_screen_create()
530 r300_parse_chipset(r300screen->info.pci_id, &r300screen->caps); in r300_screen_create()
532 if (SCREEN_DBG_ON(r300screen, DBG_NO_ZMASK)) in r300_screen_create()
533 r300screen->caps.zmask_ram = 0; in r300_screen_create()
534 if (SCREEN_DBG_ON(r300screen, DBG_NO_HIZ)) in r300_screen_create()
535 r300screen->caps.hiz_ram = 0; in r300_screen_create()
537 if (r300screen->info.drm_minor < 8) in r300_screen_create()
538 r300screen->caps.has_us_format = FALSE; in r300_screen_create()
540 r300screen->rws = rws; in r300_screen_create()
541 r300screen->screen.destroy = r300_destroy_screen; in r300_screen_create()
542 r300screen->screen.get_name = r300_get_name; in r300_screen_create()
543 r300screen->screen.get_vendor = r300_get_vendor; in r300_screen_create()
544 r300screen->screen.get_param = r300_get_param; in r300_screen_create()
545 r300screen->screen.get_shader_param = r300_get_shader_param; in r300_screen_create()
546 r300screen->screen.get_paramf = r300_get_paramf; in r300_screen_create()
547 r300screen->screen.get_video_param = r300_get_video_param; in r300_screen_create()
548 r300screen->screen.is_format_supported = r300_is_format_supported; in r300_screen_create()
549 r300screen->screen.is_video_format_supported = vl_video_buffer_is_format_supported; in r300_screen_create()
550 r300screen->screen.context_create = r300_create_context; in r300_screen_create()
551 r300screen->screen.fence_reference = r300_fence_reference; in r300_screen_create()
552 r300screen->screen.fence_signalled = r300_fence_signalled; in r300_screen_create()
553 r300screen->screen.fence_finish = r300_fence_finish; in r300_screen_create()
555 r300_init_screen_resource_functions(r300screen); in r300_screen_create()
559 return &r300screen->screen; in r300_screen_create()