summaryrefslogtreecommitdiff
path: root/src/mesa/main/texrender.c
AgeCommit message (Collapse)Author
2010-07-30mesa: Include macros.h in files that use symbols from macros.h.Vinson Lee
Don't rely on inclusion of other files that already include macros.h.
2010-03-08mesa: add additional missing z formats for render to textureBrian Paul
Allow render to texture for X8_Z24 and Z24_X8 formats. Replace big if/else with switch, etc.
2010-03-08mesa: add render-to-texture case for MESA_FORMAT_S8_Z24Brian Paul
2010-03-08mesa: s/GL_DEPTH_STENCIL/GL_DEPTH_COMPONENT/ for MESA_FORMAT_Z16 renderbufferBrian Paul
MESA_FORMAT_Z16 has no stencil bits.
2010-02-26mesa: Remove unnecessary header.Vinson Lee
2010-02-25mesa: use simplified _BaseFormat value in render-to-texture codeBrian Paul
Fixes fd.o bug 26762.
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2009-12-22mesa: remove unnecessary store.Eric Anholt
2009-10-08mesa: remove a bunch of gl_renderbuffer fieldsBrian Paul
_ActualFormat is replaced by Format (MESA_FORMAT_x). ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are all replaced by MESA_FORMAT_x queries.
2009-10-05mesa: use FetchTexelf() instead of FetchTexelc()Brian Paul
2009-09-30mesa: move texel fetch/store into new texfetch.[ch] filesBrian Paul
2009-09-30mesa: replace gl_texture_format with gl_formatBrian Paul
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.
2009-09-27mesa: fix render buffer _BaseFormat assignmentBrian Paul
2009-09-27mesa: use more mesa format functionsBrian Paul
2009-09-27mesa: use _mesa_get_texel_store_func()Brian Paul
2009-09-24mesa: replace assertion with no-op function assignmentBrian Paul
2009-05-19mesa: assign trb->Base.StencilBits in update_wrapper().Brian Paul
When we render to a depth/stencil texture there are stencil bits.
2009-01-26mesa: add missing texture_put_row_rgb() function in texrender.cRobert Ellison
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.
2009-01-05mesa: add GLushort cases for render to texture (Z-buffers)Brian Paul
2008-09-21mesa: Silence compiler warnings on Windows.Michal Krol
2007-05-16Initial implementation of MESA_texture_arrayIan Romanick
Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
2007-04-02use _mesa_reference_renderbuffer() in a few more placesBrian
2006-04-06Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format.Brian Paul
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.
2006-03-29New code for rendering to depth/stencil textures.Brian Paul
Re-org of the renderbuffer wrapper code.
2006-03-26merge from texman branchBrian Paul
2006-03-20Lots of changes/fixes for rendering to framebuffer objects.Brian Paul
- 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.
2005-12-01Added FinishRenderTexture() device driver function to indicate whenBrian Paul
rendering to a texture has likely completed. Fixed refcount issue in texture renderbuffer wrapper.
2005-10-05In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul
_BaseFormat to be consistant with gl_renderbuffer.
2005-10-03finish up some missing codeBrian Paul
2005-06-07fix GL_ALPHA render-to-texture problem (Jon Smirl)Brian Paul
2005-05-04Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.