summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
AgeCommit message (Collapse)Author
2009-04-08gallium: when using gl_PointCoord ensure we use the correct attribute.Alan Hourihane
2009-04-07st: implement glCopyTexImage() for GL_DEPTH24_STENCIL8 internal formatBrian Paul
2009-04-07st: implement GL_DEPTH_STENCIL format for glReadPixels and DrawPixels()Brian Paul
2009-04-06st: as with swrast, interpret texture border color according to texture formatBrian Paul
Depending on the hardware driver this might not be needed, but it will cause no harm.
2009-04-06st: rename a helper functionBrian Paul
2009-04-06mesa: Fix orientation adjustment for reading stencil pixels.José Fonseca
Fixes conform spcorner.c & spclear.c failure.
2009-04-04gallium: Clean up driver clear() interface.Michel Dänzer
Only allows clearing currently bound buffers, but colour and depth/stencil in a single call.
2009-04-04gallium: Add utility helper for packing combined depth/stencil values.Michel Dänzer
2009-04-03mesa: move glGetTexImage(), glGetCompresssedTexImage() code into new fileBrian Paul
2009-04-03mesa: remove the noClamp parameter to _mesa_pack_rgba_span_float()Brian Paul
It was only set to GL_TRUE in one place where it isn't really needed (glGetTexImage(sRGB format)).
2009-04-03mesa: ensure pbo stencil buffers are mapped before useAlan Hourihane
2009-03-31gallium: Move pf_is_depth_stencil to p_format.h.José Fonseca
2009-03-28mesa: add new signed rgba texture formatRoland Scheidegger
This is a (partial) backport of the signed texture format support in OGL 3.1. Since it wasn't promoted from an existing extension roll our own.
2009-03-27mesa: Support Z24S8 wherever S8Z24 is supported.José Fonseca
2009-03-26st: init the default texture to (0,0,0,1)Brian Paul
The default texture is used when a sampler uses an incomplete texture. This change fixes the piglit fp-incomplete test.
2009-03-26gallium: Remove some little-used fields from struct pipe_surface.Michel Dänzer
2009-03-24mesa/st: bump gallium version to 0.3Keith Whitwell
To distinguish from the -0.2 version still being maintained on the gallium-mesa-7.4 branch. There are already greater interface changes between these two branches than there were between -0.2 and -0.1. Also stop injecting Tungsten into the vendor string - the Gallium in the renderer string should be sufficient.
2009-03-23gallium: Remove remnants of reference counting internals outside of p_refcnt.h.Michel Dänzer
2009-03-21gallium: remove remaining references to origin_lower_leftKeith Whitwell
2009-03-21st: Silence compiler warnings.Michal Krol
2009-03-20gallium: remove use of origin_lower_leftBrian Paul
This was used to indicate OpenGL's lower-left origin for fragment window coordinates for polygon stipple and gl_FragCoord. Now: - fragment coordinate origin is always upper-left corner - GL polygon stipple is inverted and shifted before given to gallium - GL fragment programs that use INPUT[WPOS] are modified to use an inverted window coord which is placed in a temp register. Note: the origin_lower_left field still exists in pipe_rasterizer_state. Remove it when all the drivers, etc. no longer reference it.
2009-03-19mesa: check renderbuffer is defined before use.Alan Hourihane
2009-03-19st/gl: Only transfer needed parts in st_TexSubimageJakob Bornecrantz
2009-03-18st: call _glapi_check_multithread from st_make_currentKeith Whitwell
This function is called from many OS-dependent versions of MakeCurrent. Move the check for multithreading to this central location to avoid having to make this check from all the callers.
2009-03-18st: need to free/realloc pipe texture when we're handed image level > last_levelBrian Paul
Fixes progs/tests/tri-fbo-tex-mip.c
2009-03-18st: clean up some if-statment codeBrian Paul
2009-03-18st: update texture commentsBrian Paul
2009-03-16gallium: Use struct pipe_atomic for pipe refcounts.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-03-13gallium: consolidate bypass_vs and bypass_clipping flagsKeith Whitwell
The draw module provides a similar interface to the driver which is retained as various bits of hardware may be able to take on incremental parts of the vertex pipeline. However, there's no need to advertise all this complexity to the state tracker. There are basically two modes now - normal and passthrough/screen-coords.
2009-03-13gallium: no need to keep a copy of shader tokens in state trackerKeith Whitwell
Any driver who needs a copy of the shader tokens must organize to do so itself. This has been the case for a long time, but there was still defensive code in the state tracker, which is now removed. Any bugs resulting from this need to be fixed in the offending driver...
2009-03-13mesa/st: add check for null front renderbufferKeith Whitwell
Not sure if this indicates a problem elsewhere, but without this check trivial/tri-fbo.c segfaults on resize. With the patch, it renders correctly.
2009-03-13mesa/st: don't call finish in st_glFlush()Keith Whitwell
It is not the state tracker's responsibilty to inject sleeps and pessimize performance in the hope of avoiding buffer synchronization issues in buggy drivers. Calling finish() here will just hide problems that need to be fixed elsewhere.
2009-03-13gallium: Remove do_flip argument from surface_copyJakob Bornecrantz
I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
2009-03-09st: silence warningBrian Paul
2009-03-09st: remove unused DrawPixels codeBrian Paul
2009-03-09st: use pointer_to_offset() cast wrapper to convert pointers to uintBrian Paul
Silences warnings with 64-bit builds. See comments for details.
2009-03-09st: also check for a8 texture support in bitmap codeKeith Whitwell
2009-03-07gallium: use unsigned long to silence warnings with 64-bit buildBrian Paul
2009-03-07mesa: move glViewport and glDepthRange functions into new viewport.c fileBrian Paul
A bit of refactoring with an eye toward ES2 and GL 3.1
2009-03-07mesa: gl_register_file enum typedefBrian Paul
2009-03-07mesa: remove last of _mesa_unreference_framebuffer() callsBrian Paul
2009-03-04mesa: Follow ARB_map_buffer_range more stricly.José Fonseca
Namelly, FlushMappedBufferRange takes a subrange relative to the original range.
2009-03-04mesa: Clear cache->trans after destroying the transfer.José Fonseca
2009-03-04Merge commit 'origin/master' into gallium-map-rangeJosé Fonseca
2009-03-04mesa: Implement and use FlushMappedBufferRange.José Fonseca
2009-03-04gallium: Remove some superfluous instances of #include "p_inlines.h".Michel Dänzer
2009-03-04gallium: Unify reference counting.Michel Dänzer
The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
2009-03-03gallium: remove old state tracker renderbuffer attachment assertionBrian Paul
Not needed since renderbuffers are ref-counted. Fixes progs/demos/shadowtex.
2009-03-03mesa: Massage the interface to more closely resemble ARB_map_buffer_rangeJosé Fonseca
2009-03-03Merge commit 'origin/gallium-0.1'Keith Whitwell
Conflicts: scons/gallium.py src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/include/pipe/p_defines.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_exec_draw.c