summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_cb_fbo.c
AgeCommit message (Collapse)Author
2007-12-13add missing code for PIPE_FORMAT_S8_UNORM renderbufferBrian
2007-12-12Re-org of st_create_framebuffer() and renderbuffer format selection.Brian
st_create_framebuffer() now takes pipe_formats for the color, depth, stencil buffers. This avoids a round-about chain of calls to pipe->is_format_supported() for window renderbuffers (their format never changes). Renderbuffer format selection code in st_format.c is simpler now too.
2007-12-11Add surface storage allocation function to winsys interface.José Fonseca
2007-12-10XXX comments about some hard-coded values that need to be fixedBrian
2007-12-10Add 'type' parameter to is_format_supported() to specify texture vs. drawing ↵Brian
surface, etc. Additional types may be added in the future.
2007-12-10Fix up some confusion wrt winsys->buffer_create alignment / flags parameters.Michel Dänzer
intel_winsys works again.
2007-12-09Adapt for winsys interface changes.José Fonseca
2007-12-07Define PIPE_FORMAT_ tokens as an enum set, rather than #defines.Brian
This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM.
2007-12-07move surface pitch calculation so it always gets updatedBrian
2007-12-07Eliminate struct pipe_region.Michel Dänzer
Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping.
2007-12-06Hide texture layout details from the state tracker.Michel Dänzer
pipe->get_tex_surface() has to be used for access to texture image data.
2007-11-29Move dimensions from struct pipe_region to struct pipe_surface.Michel Dänzer
2007-11-08new init_renderbuffer_bits() helperBrian
2007-11-07Add winsys->surface_release() to complement winsys->surface_alloc().Brian
pipe_surface now has a pointer to the winsys which create/owns the surface. This allows clean surface deallocation w/out a rendering context.
2007-11-06realloc surface if format changes, remove dead codeBrian
2007-10-29Make it compile under linux.Michal Krol
Move pipe_region/surface_reference functions to pipe/p_inlines.h. Remove #include "p_util.h" from pipe/p_context.h.
2007-10-27Use PIPE_FORMAT in state tracker.michal
Fix PIPE_FORMAT field encoding. Re-implement st_get_format_info.
2007-10-26surface_alloc() is now a winsys function.Brian
This allows surfaces to be allocated without a rendering context. A few loose ends to resolve, but in working condition.
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-23Don't pad renderbuffers to multiple of two pixels anymore.Brian
This was only needed to avoid out-of-bounds memory accesses with the 2x2 quad_read/write() functions which no longer exist.
2007-10-20unmap regions when reallocating renderbuffer storageBrian
2007-10-1416-bit rgba surface/format for accumBrian
2007-10-10use correct mipmap level in st_render_texture()Brian
2007-10-10fix width/height padding that caused failed assertion upon window resizeBrian
2007-09-19Pad surface dimensions to multiples of 2.Michel Dänzer
Avoids an assertion failure with softpipe if requested width or height is odd.
2007-08-23added GL_STENCIL_INDEX8_EXTBrian
2007-08-22Improved pipe_region/surface_reference() functionsBrian
Now dereferences the old object first. Target object may be NULL to clear the pointer.
2007-08-17added assertions, disable debug outputBrian
2007-08-13set renderbuffer Width/Height = texture sizeBrian
2007-08-13fix up some render-to-texture code ... almost thereBrian
2007-08-13check for ctx==NULL in st_renderbuffer_delete()Brian
2007-08-10pipe->region_alloc() now takes width instead of pitch, plus a flags paramBrian
2007-08-10more render to texture workBrian
2007-08-10sketch out some render-to-texture codeBrian
2007-08-10rename st_cb_teximage.h st_format.hBrian
2007-08-10code movementBrian
2007-08-09init strb->Base.DataType appropriately, clean-upsBrian
2007-08-09assertionsBrian
2007-08-09Checkpoint intel_renderbuffer removal.Brian
Remove surface ptr from gl_renderbuffer. Use st_renderbuffer in most places. More clean-up.
2007-08-09checkpoint: no longer using intel_fbo.cBrian
2007-08-06New st_init_*_functions() to initialize the driver functions table.Brian
We need to do these initializations before initializing the Mesa context because context init involves creating texture/program/etc objects.
2007-08-03framebuffer object functionsBrian