Lines Matching refs:screen
91 static struct pipe_resource *noop_resource_create(struct pipe_screen *screen, in noop_resource_create() argument
103 nresource->base.screen = screen; in noop_resource_create()
114 static struct pipe_resource *noop_resource_from_handle(struct pipe_screen *screen, in noop_resource_from_handle() argument
118 struct noop_pipe_screen *noop_screen = (struct noop_pipe_screen*)screen; in noop_resource_from_handle()
124 noop_resource = noop_resource_create(screen, result); in noop_resource_from_handle()
129 static boolean noop_resource_get_handle(struct pipe_screen *screen, in noop_resource_get_handle() argument
136 static void noop_resource_destroy(struct pipe_screen *screen, in noop_resource_destroy() argument
257 static struct pipe_context *noop_create_context(struct pipe_screen *screen, void *priv) in noop_create_context() argument
263 ctx->screen = screen; in noop_create_context()
310 struct pipe_screen *screen = ((struct noop_pipe_screen*)pscreen)->oscreen; in noop_get_param() local
312 return screen->get_param(screen, param); in noop_get_param()
318 struct pipe_screen *screen = ((struct noop_pipe_screen*)pscreen)->oscreen; in noop_get_paramf() local
320 return screen->get_paramf(screen, param); in noop_get_paramf()
325 struct pipe_screen *screen = ((struct noop_pipe_screen*)pscreen)->oscreen; in noop_get_shader_param() local
327 return screen->get_shader_param(screen, shader, param); in noop_get_shader_param()
336 struct pipe_screen *screen = ((struct noop_pipe_screen*)pscreen)->oscreen; in noop_is_format_supported() local
338 return screen->is_format_supported(screen, format, target, sample_count, usage); in noop_is_format_supported()
346 static void noop_destroy_screen(struct pipe_screen *screen) in noop_destroy_screen() argument
348 struct noop_pipe_screen *noop_screen = (struct noop_pipe_screen*)screen; in noop_destroy_screen()
352 FREE(screen); in noop_destroy_screen()
358 struct pipe_screen *screen; in noop_screen_create() local
369 screen = &noop_screen->pscreen; in noop_screen_create()
371 screen->destroy = noop_destroy_screen; in noop_screen_create()
372 screen->get_name = noop_get_name; in noop_screen_create()
373 screen->get_vendor = noop_get_vendor; in noop_screen_create()
374 screen->get_param = noop_get_param; in noop_screen_create()
375 screen->get_shader_param = noop_get_shader_param; in noop_screen_create()
376 screen->get_paramf = noop_get_paramf; in noop_screen_create()
377 screen->is_format_supported = noop_is_format_supported; in noop_screen_create()
378 screen->context_create = noop_create_context; in noop_screen_create()
379 screen->resource_create = noop_resource_create; in noop_screen_create()
380 screen->resource_from_handle = noop_resource_from_handle; in noop_screen_create()
381 screen->resource_get_handle = noop_resource_get_handle; in noop_screen_create()
382 screen->resource_destroy = noop_resource_destroy; in noop_screen_create()
383 screen->flush_frontbuffer = noop_flush_frontbuffer; in noop_screen_create()
384 screen->get_timestamp = noop_get_timestamp; in noop_screen_create()
386 return screen; in noop_screen_create()