cell_screen.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

struct pipe_screencell_create_screen (struct pipe_winsys *winsys)
 Create a new pipe_screen object Note: we're not presently subclassing pipe_screen (no cell_screen) but that would be the place to put SPU thread/context info.


Function Documentation

struct pipe_screen* cell_create_screen ( struct pipe_winsys winsys  )  [read]

Create a new pipe_screen object Note: we're not presently subclassing pipe_screen (no cell_screen) but that would be the place to put SPU thread/context info.

..

Definition at line 150 of file cell_screen.c.

References CALLOC_STRUCT, cell_destroy_screen(), cell_get_name(), cell_get_param(), cell_get_paramf(), cell_get_vendor(), cell_init_screen_texture_funcs(), cell_is_format_supported(), pipe_screen::destroy, pipe_screen::get_name, pipe_screen::get_param, pipe_screen::get_paramf, pipe_screen::get_vendor, pipe_screen::is_format_supported, and pipe_screen::winsys.

00151 {
00152    struct pipe_screen *screen = CALLOC_STRUCT(pipe_screen);
00153 
00154    if (!screen)
00155       return NULL;
00156 
00157    screen->winsys = winsys;
00158 
00159    screen->destroy = cell_destroy_screen;
00160 
00161    screen->get_name = cell_get_name;
00162    screen->get_vendor = cell_get_vendor;
00163    screen->get_param = cell_get_param;
00164    screen->get_paramf = cell_get_paramf;
00165    screen->is_format_supported = cell_is_format_supported;
00166 
00167    cell_init_screen_texture_funcs(screen);
00168 
00169    return screen;
00170 }


Generated on Tue Sep 29 06:25:31 2009 for Gallium3D by  doxygen 1.5.4