summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texrender.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: use simplified _BaseFormat value in render-to-texture codeBrian Paul2010-02-251-1/+4
| | | | Fixes fd.o bug 26762.
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-191-1/+1
|
* mesa: remove unnecessary store.Eric Anholt2009-12-221-3/+0
|
* mesa: remove a bunch of gl_renderbuffer fieldsBrian Paul2009-10-081-12/+5
| | | | | | _ActualFormat is replaced by Format (MESA_FORMAT_x). ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are all replaced by MESA_FORMAT_x queries.
* mesa: use FetchTexelf() instead of FetchTexelc()Brian Paul2009-10-051-3/+8
|
* mesa: move texel fetch/store into new texfetch.[ch] filesBrian Paul2009-09-301-1/+1
|
* mesa: replace gl_texture_format with gl_formatBrian Paul2009-09-301-5/+5
| | | | | | Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
* mesa: fix render buffer _BaseFormat assignmentBrian Paul2009-09-271-7/+1
|
* mesa: use more mesa format functionsBrian Paul2009-09-271-6/+9
|
* mesa: use _mesa_get_texel_store_func()Brian Paul2009-09-271-1/+1
|
* mesa: replace assertion with no-op function assignmentBrian Paul2009-09-241-1/+12
|
* mesa: assign trb->Base.StencilBits in update_wrapper().Brian Paul2009-05-191-0/+1
| | | | When we render to a depth/stencil texture there are stencil bits.
* mesa: add missing texture_put_row_rgb() function in texrender.cRobert Ellison2009-01-261-0/+54
| | | | | | The wrap_texture() function doesn't set the renderbuffer PutRowRGB() method, which is used to implement DrawPixels(). This fix adds an implementation of this method.
* mesa: add GLushort cases for render to texture (Z-buffers)Brian Paul2009-01-051-2/+50
|
* mesa: Silence compiler warnings on Windows.Michal Krol2008-09-211-4/+4
|
* Initial implementation of MESA_texture_arrayIan Romanick2007-05-161-13/+32
| | | | | Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
* use _mesa_reference_renderbuffer() in a few more placesBrian2007-04-021-1/+1
|
* Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format.Brian Paul2006-04-061-3/+74
| | | | | | | This allows render to depth texture (we don't support floating pt. Z buffers). Rename MESA_FORMAT_DEPTH_COMPONENT16/32 as MESA_FORMAT_Z16/32. Software fallback for glCopyTexImage now uses integer temporary image instead of float, eliminates a lot of float/int conversions.
* New code for rendering to depth/stencil textures.Brian Paul2006-03-291-68/+178
| | | | Re-org of the renderbuffer wrapper code.
* merge from texman branchmesa_20060325Brian Paul2006-03-261-5/+15
|
* Lots of changes/fixes for rendering to framebuffer objects.Brian Paul2006-03-201-15/+34
| | | | | | | - When deleting texture objects, unbind from FBOs if necessary. - Changed driver hooks for starting/ending render to texture. - Now properly handle case where gl[Copy]TexImage() is called after glFramebufferTexture[123]D(). That didn't work before.
* Added FinishRenderTexture() device driver function to indicate whenBrian Paul2005-12-011-2/+4
| | | | | rendering to a texture has likely completed. Fixed refcount issue in texture renderbuffer wrapper.
* In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul2005-10-051-1/+1
| | | | _BaseFormat to be consistant with gl_renderbuffer.
* finish up some missing codeBrian Paul2005-10-031-2/+24
|
* fix GL_ALPHA render-to-texture problem (Jon Smirl)Brian Paul2005-06-071-0/+3
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-0/+197
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.