intel_winsys_softpipe.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_contextintel_create_softpipe (struct intel_context *intel, struct pipe_winsys *winsys)
 Create rendering context which uses software rendering.


Function Documentation

struct pipe_context* intel_create_softpipe ( struct intel_context intel,
struct pipe_winsys winsys 
) [read]

Create rendering context which uses software rendering.

Definition at line 67 of file intel_winsys_softpipe.c.

References CALLOC_STRUCT, intel_softpipe_winsys::intel, intel_is_format_supported(), softpipe_winsys::is_format_supported, softpipe_create(), softpipe_create_screen(), and intel_softpipe_winsys::sws.

00069 {
00070    struct intel_softpipe_winsys *isws = CALLOC_STRUCT( intel_softpipe_winsys );
00071    struct pipe_screen *screen = softpipe_create_screen(winsys);
00072 
00073    /* Fill in this struct with callbacks that softpipe will need to
00074     * communicate with the window system, buffer manager, etc.
00075     */
00076    isws->sws.is_format_supported = intel_is_format_supported;
00077    isws->intel = intel;
00078 
00079    /* Create the softpipe context:
00080     */
00081    return softpipe_create( screen, winsys, &isws->sws );
00082 }


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