summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_rect.h
AgeCommit message (Collapse)Author
2010-08-25util: add rectangle helpers to u_rect.hKeith Whitwell
This begins a process of repurposing this file. The existing usage is as a header file for some software blit fallbacks, which should be moved to a more appropriately named header.
2010-08-23util: fix util_fill_rect to take util_color instead of u32 paramRoland Scheidegger
util_fill_rect could not handle formats with more than 32 bits, since the fill color was a uint32_t value. Fix this by using a util_color union instead, and also expand the union so it works with formats which have up to 256 bits (the max of any format currently defined).
2010-05-03gallium: move surface utility functions into u_surface.cBrian Paul
This is a better place than in u_rect.c
2010-01-07gallium/util: make src_y unsigned like the other x/y paramsBrian Paul
2009-11-30gallium: interface cleanups, remove nblocksx/y from pipe_texture and moreRoland Scheidegger
This patch removes nblocksx, nblocksy arrays from pipe_texture (can be recalculated if needed). Furthermore, pipe_format_block struct is gone completely (again, contains just derived state). nblocksx, nblocksy, block are also removed from pipe_transfer, together with the format enum (can be obtained from the texture associated with the transfer).
2009-08-19gallium: rename copy/fill_rect utility functionsBrian Paul
2008-09-04gallium: new util_surface_copy() and util_surface_fill() helpersBrian Paul
These are plug-in fallbacks for the pipe->surface_copy() and pipe->surface_fill() functions.
2008-08-22gallium: move pipe_copy_rect(), pipe_fill_rect() protos into new u_rect.h headerBrian Paul