i915_clear.c File Reference

Include dependency graph for i915_clear.c:

Go to the source code of this file.

Functions

void i915_clear (struct pipe_context *pipe, struct pipe_surface *ps, unsigned clearValue)
 Clear the given surface to the specified value.


Function Documentation

void i915_clear ( struct pipe_context pipe,
struct pipe_surface ps,
unsigned  clearValue 
)

Clear the given surface to the specified value.

No masking, no scissor (clear entire buffer).

Definition at line 43 of file i915_clear.c.

References pipe_surface::height, PIPE_SURFACE_STATUS_DEFINED, pipe_surface::status, pipe_context::surface_fill, and pipe_surface::width.

00045 {
00046    pipe->surface_fill(pipe, ps, 0, 0, ps->width, ps->height, clearValue);
00047    ps->status = PIPE_SURFACE_STATUS_DEFINED;
00048 }


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