Go to the source code of this file.
Functions | |
struct pipe_winsys * | u_timed_winsys_create (struct pipe_winsys *backend) |
struct pipe_winsys* u_timed_winsys_create | ( | struct pipe_winsys * | backend | ) | [read] |
Definition at line 323 of file u_timed_winsys.c.
References timed_winsys::backend, timed_winsys::base, pipe_winsys::buffer_create, pipe_winsys::buffer_destroy, pipe_winsys::buffer_map, pipe_winsys::buffer_unmap, CALLOC_STRUCT, pipe_winsys::destroy, pipe_winsys::fence_finish, pipe_winsys::fence_reference, pipe_winsys::fence_signalled, pipe_winsys::flush_frontbuffer, pipe_winsys::get_name, pipe_winsys::surface_alloc, pipe_winsys::surface_alloc_storage, pipe_winsys::surface_release, timed_buffer_create(), timed_buffer_destroy(), timed_buffer_map(), timed_buffer_unmap(), timed_fence_finish(), timed_fence_reference(), timed_fence_signalled(), timed_flush_frontbuffer(), timed_get_name(), timed_surface_alloc(), timed_surface_alloc_storage(), timed_surface_release(), timed_user_buffer_create(), timed_winsys_destroy(), and pipe_winsys::user_buffer_create.
00324 { 00325 struct timed_winsys *ws = CALLOC_STRUCT(timed_winsys); 00326 00327 ws->base.user_buffer_create = timed_user_buffer_create; 00328 ws->base.buffer_map = timed_buffer_map; 00329 ws->base.buffer_unmap = timed_buffer_unmap; 00330 ws->base.buffer_destroy = timed_buffer_destroy; 00331 ws->base.buffer_create = timed_buffer_create; 00332 ws->base.flush_frontbuffer = timed_flush_frontbuffer; 00333 ws->base.get_name = timed_get_name; 00334 ws->base.surface_alloc = timed_surface_alloc; 00335 ws->base.surface_alloc_storage = timed_surface_alloc_storage; 00336 ws->base.surface_release = timed_surface_release; 00337 ws->base.fence_reference = timed_fence_reference; 00338 ws->base.fence_signalled = timed_fence_signalled; 00339 ws->base.fence_finish = timed_fence_finish; 00340 ws->base.destroy = timed_winsys_destroy; 00341 00342 ws->backend = backend; 00343 00344 return &ws->base; 00345 }