aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
Commit message (Collapse)AuthorAgeFilesLines
* util: Move p_debug.h into util module.José Fonseca2009-02-181-1/+1
| | | | | The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
* mesa: remove old comment as it's fixed elsewhere now.Alan Hourihane2009-02-171-9/+0
|
* mesa: use new ST_CALLOC_STRUCT() macro in gallium state trackerBrian Paul2009-02-1212-15/+19
|
* mesa: consistantly use mesa memory-functions in gallium state trackerBrian Paul2009-02-1214-37/+37
| | | | | Use _mesa_malloc(), _mesa_free(), etc everywhere, not malloc(), free(), etc. Still using CALLOC_STRUCT() at this point.
* Merge commit 'origin/gallium-0.2' into gallium-master-mergeBrian Paul2009-02-102-4/+2
|\
| * Missing: tgsi: Fix build -- rename Size to NrTokens.Patrice Mandin2009-02-101-1/+1
| |
| * mesa: Compare formats using nominal bytes per pixel.José Fonseca2009-02-101-3/+1
| | | | | | | | | | | | | | This is a temporary fix which works for the formats we care so far. The real fix would be abandon the concept "nominal bytes per pixel" entirely in Mesa, and use macropixels instead, as done in gallium interfaces already.
* | mesa: merge gallium-0.2 into gallium-master-mergeBrian Paul2009-02-092-2/+4
|/ | | | | | | | | | | | | | | | | | Merge commit 'origin/gallium-0.2' into gallium-master-merge Conflicts: Makefile docs/relnotes-7.4.html docs/relnotes.html src/mesa/drivers/dri/i965/brw_wm.h src/mesa/main/imports.c src/mesa/main/mtypes.h src/mesa/main/texcompress.c src/mesa/main/texenvprogram.c src/mesa/main/version.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_draw.c
* mesa: fix offset problem with interleaved arraysAlan Hourihane2009-02-031-1/+1
|
* gallium: remove pipe_buffer from surfacesZack Rusin2009-02-022-7/+6
| | | | | | | this change disassociates, at least from the driver perspective, the surface from buffer. surfaces are technically now views on the textures so make it so by hiding the buffer in the internals of textures.
* Merge branch 'gallium-wgl-rework' into gallium-0.2Keith Whitwell2009-02-0225-4483/+0
|\ | | | | | | | | | | Conflicts: src/gallium/state_trackers/wgl/shared/stw_public.h
| * wgl: relocate wgl code to state_trackers/wglKeith Whitwell2009-01-2725-4488/+0
| | | | | | | | Similar to the GLX state trackers for DRI and xlib.
* | stw: Remove pipe_winsys references.José Fonseca2009-01-302-2/+1
| |
* | gallium: Don't ask winsys name -- let pipe screen do that if it wants.José Fonseca2009-01-301-5/+2
| | | | | | | | Allows to leave screen->winsys NULL.
* | stw: Don't use the winsys.José Fonseca2009-01-303-9/+5
| |
* | gallium: make p_winsys internalZack Rusin2009-01-306-10/+10
| | | | | | | | | | move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
* | gallium: remove redundant size from the constant bufferZack Rusin2009-01-271-2/+0
| | | | | | | | reuse the size of the actual buffer
* | gallium: it's a reference value, not a reference numberZack Rusin2009-01-271-1/+1
| |
* | gallium: standardize api on the prefix "nr"Zack Rusin2009-01-271-3/+3
| |
* | gallium: standardize naming of masksZack Rusin2009-01-272-6/+6
| |
* | gallium: standardize on stride instead of pitch in the interfaceZack Rusin2009-01-272-4/+4
|/
* gallium: updated comments in st_extensions.cBrian Paul2009-01-261-7/+12
|
* mesa: declare pipe_texture in st_public.hPekka Paalanen2009-01-241-0/+1
| | | | | | | | | | | | | | Fixes: In file included from nouveau_context_dri.c:6: ../../../../../../src/mesa/state_tracker/st_public.h:87: warning: 'struct pipe_texture' declared inside parameter list ../../../../../../src/mesa/state_tracker/st_public.h:87: warning: its scope is only this definition or declaration, which is probably not what you want ../../../../../../src/mesa/state_tracker/st_public.h:104: warning: 'struct pipe_texture' declared inside parameter list Signed-off-by: Pekka Paalanen <[email protected]>
* wgl: Adapt for st_get_framebuffer_surface call change.José Fonseca2009-01-231-1/+1
|
* gallium: change the st_get_framebuffer_surface/texture functionsAlan Hourihane2009-01-233-19/+26
| | | | | to return TRUE/FALSE if the st_framebuffer is valid, and if it is return the surface/texture in the passed pointer.
* statetracker: copy back color buffer to front buffer when neededBrian Paul2009-01-191-1/+13
| | | | | Fixes front-buffer rendering when following a SwapBuffers. See progs/tests/rubberband.c
* stw: Dispatch to our stw_winsys::flush_front_bufferJosé Fonseca2009-01-162-0/+27
| | | | | pipe_winsys::flush_front_buffer should die someday, but this is good enough for now.
* mesa: tweak to formattingAlan Hourihane2009-01-151-2/+2
|
* mesa: small cleanupAlan Hourihane2009-01-151-6/+5
|
* mesa: revert partial commit for 0x0 render targetsAlan Hourihane2009-01-151-5/+4
|
* mesa: handle some cases of 0x0 render targetsAlan Hourihane2009-01-143-8/+15
|
* st: build fixAlan Hourihane2009-01-091-1/+0
|
* wgl: Do not provide DllMain inside the state tracker.José Fonseca2009-01-085-24/+19
| | | | | | MS CRT libraries already provide a default DllMain entrypoint, and MS Linker will complain if it finds the same symbol in two different libraries. Therefore the DllMain has to be in (each) winsys.
* wgl: Ensure public symbols get the proper DLL linkage attributes.José Fonseca2009-01-0813-36/+52
|
* gallium: fix MaxTextureCoordUnits initBrian Paul2009-01-041-2/+3
| | | | Fixes Cell regression.
* gallium: assorted state tracker fixes for > 8 texture samplersBrian Paul2009-01-025-7/+13
|
* gallium: fix texcoord loop for rasterpos attributesBrian Paul2009-01-021-1/+1
|
* gallium: clamp MaxVertexTextureImageUnits against Mesa limitBrian Paul2009-01-021-1/+2
|
* gallium: Remove unused variables.José Fonseca2008-12-301-1/+0
|
* gallium: set ST_NEW_FRAMEBUFFER when setting new surfacesAlan Hourihane2008-12-191-0/+11
|
* gallium: fix two-sided lighting test in state trackerBrian Paul2008-12-181-3/+6
| | | | This fixes two-sided lighting for vertex shaders.
* Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane2008-12-1514-253/+392
|\ | | | | | | | | | | Conflicts: src/gallium/winsys/gdi/SConscript
| * gallium: fix refcount bug introduced in eb20e2984Keith Whitwell2008-12-121-4/+5
| |
| * gallium: avoid mapping same vertex buffer in subsequent framesKeith Whitwell2008-12-1210-25/+99
| | | | | | | | | | | | | | | | | | | | | | Quite a few util modules were maintaining a single vertex buffer over multiple frames, and potentially reusing it in subsequent frames. Unfortunately that would force us into syncrhonous rendering as the buffer manager would be forced to wait for the previous rendering to complete prior to allowing the map. This resolves that issue, but requires the state tracker to issue a few new flush() calls at the end of each frame.
| * st: reduce unnecessary calls to pipe->set_vertex_buffers()Keith Whitwell2008-12-121-5/+14
| |
| * st: move feedback draw function to new fileKeith Whitwell2008-12-123-226/+275
| |
| * st: don't unilaterally ABS the argument to RSQKeith Whitwell2008-12-121-3/+9
| |
| * mesa: Bring in new mesa sub-statetracker.José Fonseca2008-12-1225-0/+4450
| | | | | | | | Some code cleanup is still in order.
* | mesa: move declarationAlan Hourihane2008-12-121-1/+2
| |
* | mesa: when we have interleaved arrays, check bounds for bothAlan Hourihane2008-12-121-9/+8
| | | | | | | | VBO's and user space objects