summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
AgeCommit message (Collapse)Author
2009-02-17mesa: remove old comment as it's fixed elsewhere now.Alan Hourihane
2009-02-13gallium: Various coordinate fixups for texture transfers.Michel Dänzer
Fixes glReadPixels, gl(Copy)TexSubImage, glCopyPixels.
2009-02-12gallium: Fix GL_DEPTH CopyPixels tile coordinates.Michel Dänzer
2009-02-12gallium: Fix accumulation buffer tile coordinates.Michel Dänzer
2009-02-12mesa: use new ST_CALLOC_STRUCT() macro in gallium state trackerBrian Paul
2009-02-12mesa: consistantly use mesa memory-functions in gallium state trackerBrian Paul
Use _mesa_malloc(), _mesa_free(), etc everywhere, not malloc(), free(), etc. Still using CALLOC_STRUCT() at this point.
2009-02-10Merge commit 'origin/gallium-0.2' into gallium-master-mergeBrian Paul
2009-02-10Missing: tgsi: Fix build -- rename Size to NrTokens.Patrice Mandin
2009-02-10mesa: Compare formats using nominal bytes per pixel.José Fonseca
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.
2009-02-09mesa: merge gallium-0.2 into gallium-master-mergeBrian Paul
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
2009-02-05gallium: No longer allow CPU mapping surfaces directly.Michel Dänzer
Instead, a new pipe_transfer object has to be created and mapped for transferring data between the CPU and a texture. This gives the driver more flexibility for textures in address spaces that aren't CPU accessible. This is a first pass; softpipe/xlib builds and runs glxgears, but it only shows a black window. Looks like something's off related to the Z buffer, so the depth test always fails.
2009-02-03mesa: fix offset problem with interleaved arraysAlan Hourihane
2009-02-02gallium: remove pipe_buffer from surfacesZack Rusin
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.
2009-02-02Merge branch 'gallium-wgl-rework' into gallium-0.2Keith Whitwell
Conflicts: src/gallium/state_trackers/wgl/shared/stw_public.h
2009-01-30stw: Remove pipe_winsys references.José Fonseca
2009-01-30gallium: Don't ask winsys name -- let pipe screen do that if it wants.José Fonseca
Allows to leave screen->winsys NULL.
2009-01-30stw: Don't use the winsys.José Fonseca
2009-01-30gallium: make p_winsys internalZack Rusin
move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
2009-01-27gallium: remove redundant size from the constant bufferZack Rusin
reuse the size of the actual buffer
2009-01-27gallium: it's a reference value, not a reference numberZack Rusin
2009-01-27gallium: standardize api on the prefix "nr"Zack Rusin
2009-01-27gallium: standardize naming of masksZack Rusin
2009-01-27gallium: standardize on stride instead of pitch in the interfaceZack Rusin
2009-01-27wgl: relocate wgl code to state_trackers/wglKeith Whitwell
Similar to the GLX state trackers for DRI and xlib.
2009-01-26gallium: updated comments in st_extensions.cBrian Paul
2009-01-24mesa: declare pipe_texture in st_public.hPekka Paalanen
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 <pq@iki.fi>
2009-01-23wgl: Adapt for st_get_framebuffer_surface call change.José Fonseca
2009-01-23gallium: change the st_get_framebuffer_surface/texture functionsAlan Hourihane
to return TRUE/FALSE if the st_framebuffer is valid, and if it is return the surface/texture in the passed pointer.
2009-01-19statetracker: copy back color buffer to front buffer when neededBrian Paul
Fixes front-buffer rendering when following a SwapBuffers. See progs/tests/rubberband.c
2009-01-16stw: Dispatch to our stw_winsys::flush_front_bufferJosé Fonseca
pipe_winsys::flush_front_buffer should die someday, but this is good enough for now.
2009-01-15mesa: tweak to formattingAlan Hourihane
2009-01-15mesa: small cleanupAlan Hourihane
2009-01-15mesa: revert partial commit for 0x0 render targetsAlan Hourihane
2009-01-14mesa: handle some cases of 0x0 render targetsAlan Hourihane
2009-01-09st: build fixAlan Hourihane
2009-01-08wgl: Do not provide DllMain inside the state tracker.José Fonseca
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.
2009-01-08wgl: Ensure public symbols get the proper DLL linkage attributes.José Fonseca
2009-01-06wgl: Do not provide DllMain inside the state tracker.José Fonseca
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.
2009-01-06wgl: Ensure public symbols get the proper DLL linkage attributes.José Fonseca
2009-01-06mesa: pass shader centroid/invariant info through to the TGSI shaderBrian Paul
(cherry picked from commit c5b52b5e0e6f6e47c3953076fa788921b1c5a5e2)
2009-01-04gallium: fix MaxTextureCoordUnits initBrian Paul
Fixes Cell regression.
2009-01-02gallium: assorted state tracker fixes for > 8 texture samplersBrian Paul
2009-01-02gallium: fix texcoord loop for rasterpos attributesBrian Paul
2009-01-02gallium: clamp MaxVertexTextureImageUnits against Mesa limitBrian Paul
2008-12-30gallium: Remove unused variables.José Fonseca
2008-12-19gallium: set ST_NEW_FRAMEBUFFER when setting new surfacesAlan Hourihane
2008-12-18gallium: fix two-sided lighting test in state trackerBrian Paul
This fixes two-sided lighting for vertex shaders.
2008-12-18gallium: fix two-sided lighting test in state trackerBrian Paul
This fixes two-sided lighting for vertex shaders.
2008-12-15Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane
Conflicts: src/gallium/winsys/gdi/SConscript
2008-12-12mesa: move declarationAlan Hourihane