summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* swrast: use Map/UnmapTextureImage() in framebuffer map/unmap codeBrian Paul2012-01-241-15/+13
| | | | | | | When we're actually rendering into a texture, map the texture image instead of the corresponding renderbuffer. Before, we just copied a pointer from the texture image to the renderbuffer. This change will make the code usable by hardware drivers.
* mesa: remove ctx->Driver.Map/UnmapTexture() hooksBrian Paul2012-01-243-10/+0
| | | | No longer used anywhere.
* nouveau: stop calling ctx->Driver.Map/UnmapTexture()Brian Paul2012-01-242-40/+4
| | | | And remove unused nouveau_texture_map/unmap()
* tnl: remove ctx->Driver.Map/UnmapTexture() callsBrian Paul2012-01-241-8/+2
| | | | | | ctx->Driver.MapTexture() always points to _swrast_map_texture(). We're already reaching into swrast from t_vb_program.c anyway. This will let us remove the ctx->Driver.Map/UnmapTexture() functions.
* swrast: move some renderbuffer functions to s_renderbuffer.cBrian Paul2012-01-242-121/+121
|
* intel: remove intel_span_supports_format()Brian Paul2012-01-243-21/+0
| | | | It always returned True.
* swrast: remove a few extra _mesa_get_format_bytes() callsBrian Paul2012-01-241-4/+6
|
* mesa: update comments for gl_renderbufferBrian Paul2012-01-241-16/+9
|
* mesa/swrast/drivers: remove obsolete gl_renderbuffer fieldsBrian Paul2012-01-241-7/+0
| | | | This removes the last of the legacy fields from gl_renderbuffer.
* dri/swrast: use swrast_renderbuffer typeBrian Paul2012-01-242-35/+41
|
* swrast: use swrast_renderbuffer instead of gl_renderbufferBrian Paul2012-01-249-41/+62
|
* osmesa: use swrast_renderbufferBrian Paul2012-01-241-42/+45
|
* radeon: derive radeon_renderbuffer from swrast_renderbufferBrian Paul2012-01-2414-64/+73
|
* intel: derive intel_renderbuffer from swrast_renderbufferBrian Paul2012-01-247-49/+55
| | | | Drivers that rely on swrast need to do this, as with swrast_texture_image.
* xlib: derive xmesa_renderbuffer from swrast_renderbufferBrian Paul2012-01-244-24/+27
|
* swrast: allocate swrast_renderbuffers instead of gl_renderbuffersBrian Paul2012-01-242-7/+7
|
* swrast: new swrast_renderbuffer typeBrian Paul2012-01-241-0/+25
| | | | This will let us move the swrast-specific fields out of gl_renderbuffer.
* intel: use intel_rb_format() to get renderbuffer formatBrian Paul2012-01-2411-42/+56
| | | | This will make future changes cleaner and less invasive.
* dri/swrast: rename swrast_renderbuffer to dri_swrast_renderbufferBrian Paul2012-01-242-14/+14
| | | | | To prevent name collision with future swrast_renderbuffer in the swrast module.
* swrast: use stencil packing function in s_stencil.cBrian Paul2012-01-241-1/+3
|
* swrast: use color packing functions in s_span.cBrian Paul2012-01-241-4/+9
|
* swrast: remove s_spantemp.hBrian Paul2012-01-241-149/+0
|
* xlib: remove xm_span.c and related codeBrian Paul2012-01-246-249/+1
|
* mesa: remove gl_renderbuffer::WrappedBrian Paul2012-01-247-23/+13
| | | | There's no such thing as renderbuffer wrappers anymore.
* swrast: rewrite, simplify the the render-to-texture codeBrian Paul2012-01-241-110/+30
|
* mesa: rename gl_renderbuffer::Data to BufferBrian Paul2012-01-247-38/+41
| | | | To better indicate that this pointer to the malloc'd memory.
* mesa: move freeing of software renderbuffers into swrastBrian Paul2012-01-242-6/+16
|
* mesa: remove gl_renderbuffer::DataTypeBrian Paul2012-01-2417-249/+39
|
* mesa: remove gl_renderbuffer:RowStride fieldBrian Paul2012-01-249-16/+7
|
* mesa: finally, remove the GetRow/PutRow/etc functionsBrian Paul2012-01-241-37/+0
|
* dri: remove all the obsolete spantmp filesBrian Paul2012-01-244-1259/+0
|
* radeon: remove obsolete GetRow/PutRow codeBrian Paul2012-01-242-167/+0
|
* nouveau: remove obsolete GetRow/PutRow codeBrian Paul2012-01-241-85/+0
|
* intel: remove most of the span Get/PutRow codeBrian Paul2012-01-242-134/+1
|
* dri/swrast: remove obsolete GetRow/PutRow codeBrian Paul2012-01-244-582/+0
|
* osmesa: remove obsolete GetRow/PutRow codeBrian Paul2012-01-241-430/+1
|
* xlib: remove obsolete GetRow/PutRow codeBrian Paul2012-01-241-1594/+3
|
* mesa: remove obsolete PutRow, etc assignmentsBrian Paul2012-01-241-17/+0
|
* swrast: remove Get/PutRow()-related codeBrian Paul2012-01-242-1224/+8
|
* st/mesa: remove gl_renderbuffer::GetPointer stuffBrian Paul2012-01-241-19/+0
|
* swrast: stop using Put/GetRow/Values() in swrast codeBrian Paul2012-01-245-55/+193
| | | | | All color buffer rendering is now done by accessing mapped renderbuffer memory. We're now able to get rid of all the GetRow/PutRow stuff.
* swrast: use gl_renderbuffer::StrideInBytes in depth/stencil codeBrian Paul2012-01-242-6/+6
|
* mesa: use gl_renderbuffer::Map for all depth/stencil accessesBrian Paul2012-01-244-47/+124
| | | | | Instead of using the obsolete gl_renderbuffer::Data field. Color buffer are still accessed through GetRow/PutRow().
* intel: make intel_renderbuffer_map/unmap() staticBrian Paul2012-01-242-6/+3
|
* mesa: add new gl_renderbuffer fieldsBrian Paul2012-01-241-1/+6
| | | | | | | | | These are temporary, actually, but they'll make follow-on work easier to implement in a step-by-step manner. Eventually the Map and RowStrideBytes fields will go into a new swrast_renderbuffer type, but adding that type now would involve touching a _lot_ of code that'll eventually be removed. The fields marked as obsolete will go away completely at some point.
* swrast: flush pending rendering before unmapping buffersBrian Paul2012-01-241-2/+3
|
* swrast: new assertions in _swrast_pixel_address()Brian Paul2012-01-241-0/+8
|
* swrast: use _swrast_pixel_address() in more placesBrian Paul2012-01-242-7/+15
|
* swrast: s/Data/Map/ in swrast_texture_imageBrian Paul2012-01-2415-55/+55
| | | | To indicate that it points to mapped texture memory.
* swrast: remove gl_renderbuffer::DataType check in DrawPixels()Brian Paul2012-01-241-5/+8
| | | | The field will be going away so update this code.