Lines Matching refs:screen
99 static struct pipe_resource *noop_resource_create(struct pipe_screen *screen, in noop_resource_create() argument
111 nresource->base.screen = screen; in noop_resource_create()
122 static struct pipe_resource *noop_resource_from_handle(struct pipe_screen *screen, in noop_resource_from_handle() argument
127 struct noop_pipe_screen *noop_screen = (struct noop_pipe_screen*)screen; in noop_resource_from_handle()
133 noop_resource = noop_resource_create(screen, result); in noop_resource_from_handle()
145 struct pipe_screen *screen = noop_screen->oscreen; in noop_resource_get_handle() local
150 tex = screen->resource_create(screen, resource); in noop_resource_get_handle()
154 result = screen->resource_get_handle(screen, NULL, tex, handle, usage); in noop_resource_get_handle()
159 static void noop_resource_destroy(struct pipe_screen *screen, in noop_resource_destroy() argument
310 static struct pipe_context *noop_create_context(struct pipe_screen *screen, in noop_create_context() argument
318 ctx->screen = screen; in noop_create_context()
381 struct pipe_screen *screen = ((struct noop_pipe_screen*)pscreen)->oscreen; in noop_get_param() local
383 return screen->get_param(screen, param); in noop_get_param()
389 struct pipe_screen *screen = ((struct noop_pipe_screen*)pscreen)->oscreen; in noop_get_paramf() local
391 return screen->get_paramf(screen, param); in noop_get_paramf()
398 struct pipe_screen *screen = ((struct noop_pipe_screen*)pscreen)->oscreen; in noop_get_shader_param() local
400 return screen->get_shader_param(screen, shader, param); in noop_get_shader_param()
408 struct pipe_screen *screen = ((struct noop_pipe_screen*)pscreen)->oscreen; in noop_get_compute_param() local
410 return screen->get_compute_param(screen, ir_type, param, ret); in noop_get_compute_param()
419 struct pipe_screen *screen = ((struct noop_pipe_screen*)pscreen)->oscreen; in noop_is_format_supported() local
421 return screen->is_format_supported(screen, format, target, sample_count, usage); in noop_is_format_supported()
429 static void noop_destroy_screen(struct pipe_screen *screen) in noop_destroy_screen() argument
431 struct noop_pipe_screen *noop_screen = (struct noop_pipe_screen*)screen; in noop_destroy_screen()
435 FREE(screen); in noop_destroy_screen()
438 static void noop_fence_reference(struct pipe_screen *screen, in noop_fence_reference() argument
444 static boolean noop_fence_finish(struct pipe_screen *screen, in noop_fence_finish() argument
456 struct pipe_screen *screen = noop_screen->oscreen; in noop_query_memory_info() local
458 screen->query_memory_info(screen, info); in noop_query_memory_info()
464 struct pipe_screen *screen; in noop_screen_create() local
475 screen = &noop_screen->pscreen; in noop_screen_create()
477 screen->destroy = noop_destroy_screen; in noop_screen_create()
478 screen->get_name = noop_get_name; in noop_screen_create()
479 screen->get_vendor = noop_get_vendor; in noop_screen_create()
480 screen->get_device_vendor = noop_get_device_vendor; in noop_screen_create()
481 screen->get_param = noop_get_param; in noop_screen_create()
482 screen->get_shader_param = noop_get_shader_param; in noop_screen_create()
483 screen->get_compute_param = noop_get_compute_param; in noop_screen_create()
484 screen->get_paramf = noop_get_paramf; in noop_screen_create()
485 screen->is_format_supported = noop_is_format_supported; in noop_screen_create()
486 screen->context_create = noop_create_context; in noop_screen_create()
487 screen->resource_create = noop_resource_create; in noop_screen_create()
488 screen->resource_from_handle = noop_resource_from_handle; in noop_screen_create()
489 screen->resource_get_handle = noop_resource_get_handle; in noop_screen_create()
490 screen->resource_destroy = noop_resource_destroy; in noop_screen_create()
491 screen->flush_frontbuffer = noop_flush_frontbuffer; in noop_screen_create()
492 screen->get_timestamp = noop_get_timestamp; in noop_screen_create()
493 screen->fence_reference = noop_fence_reference; in noop_screen_create()
494 screen->fence_finish = noop_fence_finish; in noop_screen_create()
495 screen->query_memory_info = noop_query_memory_info; in noop_screen_create()
497 return screen; in noop_screen_create()