pipe_context Struct Reference

Gallium rendering context. More...

Collaboration diagram for pipe_context:

Collaboration graph
[legend]

Data Fields

struct pipe_winsyswinsys
struct pipe_screenscreen
void * priv
 context private data (for DRI for example)
void * draw
 private, for draw module (temporary?)
void(* destroy )(struct pipe_context *)
void(* set_edgeflags )(struct pipe_context *, const unsigned *bitfield)
void(* flush )(struct pipe_context *pipe, unsigned flags, struct pipe_fence_handle **fence)
 Flush rendering (flags = bitmask of PIPE_FLUSH_x tokens).
boolean(* draw_arrays )(struct pipe_context *pipe, unsigned mode, unsigned start, unsigned count)
 VBO drawing (return false on fallbacks (temporary??)).
boolean(* draw_elements )(struct pipe_context *pipe, struct pipe_buffer *indexBuffer, unsigned indexSize, unsigned mode, unsigned start, unsigned count)
boolean(* draw_range_elements )(struct pipe_context *pipe, struct pipe_buffer *indexBuffer, unsigned indexSize, unsigned minIndex, unsigned maxIndex, unsigned mode, unsigned start, unsigned count)
struct pipe_query *(* create_query )(struct pipe_context *pipe, unsigned query_type)
 Query objects.
void(* destroy_query )(struct pipe_context *pipe, struct pipe_query *q)
void(* begin_query )(struct pipe_context *pipe, struct pipe_query *q)
void(* end_query )(struct pipe_context *pipe, struct pipe_query *q)
boolean(* get_query_result )(struct pipe_context *pipe, struct pipe_query *q, boolean wait, uint64 *result)
void *(* create_blend_state )(struct pipe_context *, const struct pipe_blend_state *)
 State functions (create/bind/destroy state objects).
void(* bind_blend_state )(struct pipe_context *, void *)
void(* delete_blend_state )(struct pipe_context *, void *)
void *(* create_sampler_state )(struct pipe_context *, const struct pipe_sampler_state *)
void(* bind_sampler_states )(struct pipe_context *, unsigned num, void **)
void(* delete_sampler_state )(struct pipe_context *, void *)
void *(* create_rasterizer_state )(struct pipe_context *, const struct pipe_rasterizer_state *)
void(* bind_rasterizer_state )(struct pipe_context *, void *)
void(* delete_rasterizer_state )(struct pipe_context *, void *)
void *(* create_depth_stencil_alpha_state )(struct pipe_context *, const struct pipe_depth_stencil_alpha_state *)
void(* bind_depth_stencil_alpha_state )(struct pipe_context *, void *)
void(* delete_depth_stencil_alpha_state )(struct pipe_context *, void *)
void *(* create_fs_state )(struct pipe_context *, const struct pipe_shader_state *)
void(* bind_fs_state )(struct pipe_context *, void *)
void(* delete_fs_state )(struct pipe_context *, void *)
void *(* create_vs_state )(struct pipe_context *, const struct pipe_shader_state *)
void(* bind_vs_state )(struct pipe_context *, void *)
void(* delete_vs_state )(struct pipe_context *, void *)
void(* set_blend_color )(struct pipe_context *, const struct pipe_blend_color *)
 Parameter-like state (or properties).
void(* set_clip_state )(struct pipe_context *, const struct pipe_clip_state *)
void(* set_constant_buffer )(struct pipe_context *, uint shader, uint index, const struct pipe_constant_buffer *buf)
void(* set_framebuffer_state )(struct pipe_context *, const struct pipe_framebuffer_state *)
void(* set_polygon_stipple )(struct pipe_context *, const struct pipe_poly_stipple *)
void(* set_scissor_state )(struct pipe_context *, const struct pipe_scissor_state *)
void(* set_viewport_state )(struct pipe_context *, const struct pipe_viewport_state *)
void(* set_sampler_textures )(struct pipe_context *, unsigned num_textures, struct pipe_texture **)
void(* set_vertex_buffers )(struct pipe_context *, unsigned num_buffers, const struct pipe_vertex_buffer *)
void(* set_vertex_elements )(struct pipe_context *, unsigned num_elements, const struct pipe_vertex_element *)
void(* surface_copy )(struct pipe_context *pipe, boolean do_flip, struct pipe_surface *dest, unsigned destx, unsigned desty, struct pipe_surface *src, unsigned srcx, unsigned srcy, unsigned width, unsigned height)
 Surface functions.
void(* surface_fill )(struct pipe_context *pipe, struct pipe_surface *dst, unsigned dstx, unsigned dsty, unsigned width, unsigned height, unsigned value)
void(* clear )(struct pipe_context *pipe, struct pipe_surface *ps, unsigned clearValue)

Detailed Description

Gallium rendering context.

Basically:

Definition at line 51 of file p_context.h.


Field Documentation

struct pipe_winsys* pipe_context::winsys [read]

Definition at line 52 of file p_context.h.

struct pipe_screen* pipe_context::screen [read]

Definition at line 53 of file p_context.h.

void* pipe_context::priv

context private data (for DRI for example)

Definition at line 55 of file p_context.h.

void* pipe_context::draw

private, for draw module (temporary?)

Definition at line 56 of file p_context.h.

void(* pipe_context::destroy)(struct pipe_context *)

void(* pipe_context::set_edgeflags)(struct pipe_context *, const unsigned *bitfield)

boolean(* pipe_context::draw_arrays)(struct pipe_context *pipe, unsigned mode, unsigned start, unsigned count)

VBO drawing (return false on fallbacks (temporary??)).

boolean(* pipe_context::draw_elements)(struct pipe_context *pipe, struct pipe_buffer *indexBuffer, unsigned indexSize, unsigned mode, unsigned start, unsigned count)

boolean(* pipe_context::draw_range_elements)(struct pipe_context *pipe, struct pipe_buffer *indexBuffer, unsigned indexSize, unsigned minIndex, unsigned maxIndex, unsigned mode, unsigned start, unsigned count)

struct pipe_query*(* pipe_context::create_query)(struct pipe_context *pipe, unsigned query_type) [read]

Query objects.

void(* pipe_context::destroy_query)(struct pipe_context *pipe, struct pipe_query *q)

void(* pipe_context::begin_query)(struct pipe_context *pipe, struct pipe_query *q)

void(* pipe_context::end_query)(struct pipe_context *pipe, struct pipe_query *q)

boolean(* pipe_context::get_query_result)(struct pipe_context *pipe, struct pipe_query *q, boolean wait, uint64 *result)

void*(* pipe_context::create_blend_state)(struct pipe_context *, const struct pipe_blend_state *)

State functions (create/bind/destroy state objects).

void(* pipe_context::bind_blend_state)(struct pipe_context *, void *)

void(* pipe_context::delete_blend_state)(struct pipe_context *, void *)

void*(* pipe_context::create_sampler_state)(struct pipe_context *, const struct pipe_sampler_state *)

void(* pipe_context::bind_sampler_states)(struct pipe_context *, unsigned num, void **)

void(* pipe_context::delete_sampler_state)(struct pipe_context *, void *)

void*(* pipe_context::create_rasterizer_state)(struct pipe_context *, const struct pipe_rasterizer_state *)

void(* pipe_context::bind_rasterizer_state)(struct pipe_context *, void *)

void(* pipe_context::delete_rasterizer_state)(struct pipe_context *, void *)

void*(* pipe_context::create_depth_stencil_alpha_state)(struct pipe_context *, const struct pipe_depth_stencil_alpha_state *)

void(* pipe_context::bind_depth_stencil_alpha_state)(struct pipe_context *, void *)

void(* pipe_context::delete_depth_stencil_alpha_state)(struct pipe_context *, void *)

void*(* pipe_context::create_fs_state)(struct pipe_context *, const struct pipe_shader_state *)

void(* pipe_context::bind_fs_state)(struct pipe_context *, void *)

void(* pipe_context::delete_fs_state)(struct pipe_context *, void *)

void*(* pipe_context::create_vs_state)(struct pipe_context *, const struct pipe_shader_state *)

void(* pipe_context::bind_vs_state)(struct pipe_context *, void *)

void(* pipe_context::delete_vs_state)(struct pipe_context *, void *)

void(* pipe_context::set_blend_color)(struct pipe_context *, const struct pipe_blend_color *)

Parameter-like state (or properties).

void(* pipe_context::set_clip_state)(struct pipe_context *, const struct pipe_clip_state *)

void(* pipe_context::set_constant_buffer)(struct pipe_context *, uint shader, uint index, const struct pipe_constant_buffer *buf)

void(* pipe_context::set_framebuffer_state)(struct pipe_context *, const struct pipe_framebuffer_state *)

void(* pipe_context::set_polygon_stipple)(struct pipe_context *, const struct pipe_poly_stipple *)

void(* pipe_context::set_scissor_state)(struct pipe_context *, const struct pipe_scissor_state *)

void(* pipe_context::set_viewport_state)(struct pipe_context *, const struct pipe_viewport_state *)

void(* pipe_context::set_sampler_textures)(struct pipe_context *, unsigned num_textures, struct pipe_texture **)

void(* pipe_context::set_vertex_buffers)(struct pipe_context *, unsigned num_buffers, const struct pipe_vertex_buffer *)

void(* pipe_context::set_vertex_elements)(struct pipe_context *, unsigned num_elements, const struct pipe_vertex_element *)

void(* pipe_context::surface_copy)(struct pipe_context *pipe, boolean do_flip, struct pipe_surface *dest, unsigned destx, unsigned desty, struct pipe_surface *src,unsigned srcx, unsigned srcy, unsigned width, unsigned height)

Surface functions.

void(* pipe_context::surface_fill)(struct pipe_context *pipe, struct pipe_surface *dst, unsigned dstx, unsigned dsty, unsigned width, unsigned height, unsigned value)

void(* pipe_context::clear)(struct pipe_context *pipe, struct pipe_surface *ps, unsigned clearValue)

void(* pipe_context::flush)(struct pipe_context *pipe, unsigned flags, struct pipe_fence_handle **fence)

Flush rendering (flags = bitmask of PIPE_FLUSH_x tokens).


The documentation for this struct was generated from the following file:
Generated on Tue Sep 29 06:26:04 2009 for Gallium3D by  doxygen 1.5.4