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. |
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 }