summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple/i915_regions.c
AgeCommit message (Collapse)Author
2007-11-29Move dimensions from struct pipe_region to struct pipe_surface.Michel Dänzer
2007-11-22Make it compile under Win32.Michal
2007-10-25Move region_alloc() and region_release() to pipe_winsys.Brian
This allows regions to be allocated w/out a rendering context.
2007-10-20In region_unmap(), check if region is mapped before decrementing refcount.Brian
2007-09-17Remove non-meaningful region_idle() interfaceKeith Whitwell
This is already handled by the semanics of map(), etc.
2007-09-10merge buffer_unreference(), buffer_reference()Brian
2007-08-13Start breaking the #include dependencies between pipe drivers and mesa.Keith Whitwell
Pipe drivers shouldn't really know much about mesa and certainly shouldn't be #including files from src/mesa/main and the like. I've also (in i915simple especially) moved over from GL types to more conventional int/unsigned usage. This probably isn't really the ultimate desired set of types to use - possibly C99 would be better. It may even be that a subset of the GL types is preferable.
2007-08-11fix invalid usage of buffer_unreference()Brian
Need to pass the address of the buffer ptr, not the buffer ptr. Before, the region->buffer type was void * so it wasn't effectively type-checked. Changing the type to pipe_buffer_object* allows the compiler to detect the error. Fixing this solves a segfault.
2007-08-10Lift common winsys functions into pipe's new p_winsys.Keith Whitwell
2007-08-10alignment/pitch/width clean-upsBrian
2007-08-10pipe->region_alloc() now takes width instead of pitch, plus a flags paramBrian
2007-08-08Hook up i915simple. Doesn't compile.Keith Whitwell
2007-08-08Checkpoint of a super-simplified i915 driver in the pipe model.Keith Whitwell
Doesn't yet compile, but when it does, it will only draw gouraud tris and even those will be as simple as possible. Needs some 'winsys' support also before that can happen.