Commit Graph

31074 Commits

Author SHA1 Message Date
José Fonseca a583c3ab47 wgl: Implement wglSwapMultipleBuffers. 2010-02-13 15:43:49 +00:00
José Fonseca 6b1193820f svga: Fix texture border color.
Also opposite ordering.
2010-02-13 15:43:33 +00:00
Marek Olšák 43b4d2a048 r300g: do not invalidate texture caches when only sampler state is changed 2010-02-13 15:44:43 +01:00
Marek Olšák 8eb4cd5b82 r300g: cleanup the emission of RS block state
Emit as few regs as possible.
2010-02-13 15:44:43 +01:00
Marek Olšák 67049b59fd r300g: cleanup the emission of framebuffer state
Some emits are not needed anymore.
2010-02-13 15:44:43 +01:00
Marek Olšák 8e2f9f4009 r300g: disable independent blend enables
Not supported by r300.
2010-02-13 15:44:43 +01:00
Marek Olšák 75910e96dc r300g: emit INDEPENDENT_COLORFORMAT_ENABLE only on r5xx 2010-02-13 15:44:42 +01:00
Vinson Lee bf1096a778 mesa: s/abort/sys.exit/
Python does not have the function abort.
2010-02-13 00:05:29 -08:00
Vinson Lee 672f98baf7 mesa: Remove unnecessary header. 2010-02-12 23:47:45 -08:00
Vinson Lee 1213eb6cb4 i965: Remove unnecessary headers. 2010-02-12 23:37:36 -08:00
Vinson Lee 4123df2074 st/xlib: Remove unnecessary header. 2010-02-12 23:24:22 -08:00
Vinson Lee fcd8ffe8e1 dri: Remove unnecessary headers. 2010-02-12 23:18:08 -08:00
Vinson Lee e7a53c78ae mesa: Remove unnecessary headers. 2010-02-12 23:04:20 -08:00
Vinson Lee f618641631 svga: Silence uninitialized variable warning. 2010-02-12 22:33:37 -08:00
Corbin Simpson 6a07a1738c util: Properly init memory for blitter CSOs.
Fixes misrender on r300g.
2010-02-12 20:48:46 -08:00
Brian Paul 282dafcdc7 st/mesa: restore draw rasterization stage after rasterpos
This fixes invalid calls to rastpos_point/line/tri() that can occur
when glRasterPos() is called while in feedback or selection mode.

(cherry picked from commit b3c7dc6ff232eb4c5ff6b0ddcfa90bcb56f78df1)
2010-02-12 17:22:10 -07:00
José Fonseca a4865e82ef scons: Undo bad merge from cherry-pick. 2010-02-12 23:52:18 +00:00
José Fonseca cd5d760889 svga: A few more tweaks to blend color state emission. 2010-02-12 23:48:22 +00:00
José Fonseca 6af833add2 svga: Clamp max cube texture levels to supported max 2d levels. 2010-02-12 23:46:58 +00:00
José Fonseca 2bb4d75f28 svga: Report the 2d/3d texture sizes supported by the host. 2010-02-12 23:46:55 +00:00
José Fonseca a80d988144 wgl: Go into dormant state when DLL is unloaded unclealy.
When our DLL is unloaded, even if we leave the data structures in memory
for sake of future calls, the MS CRT will destroy the heap. Instead we
make all calls no-ops by setting stw_dev to NULL.
2010-02-12 23:38:19 +00:00
José Fonseca 57617c8eba scons: Target Windows7. 2010-02-12 23:38:19 +00:00
Brian Paul ff37205f93 st/mesa: improved draw_range_elements code
Don't use pipe->draw_range_elements() if min_index=max_index=~0 since
that doesn't provide any useful info.

Also, implement the loop around pipe->draw_range_elements() when
nr_prims > 1.
2010-02-12 15:42:12 -07:00
Brian Paul b9b4e7724e st/mesa: rename state -> tgsi, updated comments 2010-02-12 15:42:10 -07:00
Brian Paul cd0a32924d st/mesa: remove unused var 2010-02-12 15:42:10 -07:00
Vinson Lee 4be324386c intel: Remove unused variable. 2010-02-12 14:37:07 -08:00
Brian Paul 2d6f5dd62b cell: fix-up C, CPP flags
Flags like -Wmissing-prototypes don't apply to g++.
2010-02-12 15:25:12 -07:00
Brian Paul 3798cc8157 cell: implement PIPE_CAP_MAX_COMBINED_SAMPLERS query 2010-02-12 15:24:24 -07:00
Brian Paul 8a61690e84 cell: remove -mcpu=cell from CFLAGS
This reverts part of commit ebe2f76095
and allows things to build here.
2010-02-12 15:16:44 -07:00
Kristian Høgsberg 2f517b8e5a intel: Avoid dri_bo_flink() in intel_update_renderbuffers()
Now that we track the global name in struct intel_region, we can just
look it up there.
2010-02-12 16:30:39 -05:00
Kristian Høgsberg 2d99588b35 intel: Track named regions and make sure we only have one region per named bo 2010-02-12 16:30:39 -05:00
Kristian Høgsberg 93931d9e68 dri: Store the loader private passed in at dri context creation
We just threw it away before, but we haven't had a use for it yet.
2010-02-12 16:30:38 -05:00
Zack Rusin fd40b9ff32 st/dri: don't expose visuals we'll have trouble supporting
without getBuffersWithFormat some visuals will just cause headaches (crashes),
so if we're running on an older system simply don't advertise them.
2010-02-12 16:00:45 -05:00
Zack Rusin 59b4146a5d st/dri, st/xorg: fix buffers that have attachements of different depth
we actually need to specify the formats for different attachements, otherwise
if the color buffer is 24bpp and the app asks for 16bpp depth buffer than
we end up fetching the depth from the drawable which is 24bpp and end up
creating the wrong depth buffer. use the new getBuffersWithFormat extension
to pass the depth correctly.
2010-02-12 16:00:22 -05:00
Roland Scheidegger 7082c47d14 svga: enable code to emit blend color 2010-02-12 21:43:45 +01:00
Roland Scheidegger 6602889d82 Merge branch 'gallium-dynamicstencilref' 2010-02-12 21:39:29 +01:00
Vinson Lee af1052e280 progs/tests: Add checks for GL_NV_vertex_program. 2010-02-12 11:59:37 -08:00
Jerome Glisse 3a916b0e81 Revert "r600c: substract vbo offset to vbo size"
This reverts commit 325614a882.
Ok this was already fixed this commit actualy broke things
2010-02-12 19:26:09 +01:00
Patrice Mandin 536ae20f80 nouveau: nv30: it may have 8 texture samplers (not 4), but shader engine has 16 texture units
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
2010-02-12 19:22:41 +01:00
Brian Paul 0087f9dc06 cell: adjust structure padding
The size of some core Gallium state structures has changed so the
padding on some cell structs needed to be adjusted to keep them
a multiple of 16 bytes.
2010-02-12 11:07:51 -07:00
Brian Paul e4afe725ee cell: remove unused var 2010-02-12 11:06:19 -07:00
Brian Paul 6c35e178d3 cell: include cell_context.h 2010-02-12 11:06:04 -07:00
Brian Paul 0ad0d8125a cell: re-fix undeclared var 2010-02-12 09:47:34 -07:00
Brian Paul 8a92c2b23c cell: declare stencil_value variable 2010-02-12 09:43:18 -07:00
Jerome Glisse 325614a882 r600c: substract vbo offset to vbo size
To avoid kernel complaining and to set proper boundary on
vbo, substract the vbo offset to the vbo size.
2010-02-12 17:06:19 +01:00
Andre Maasikas 08545799e3 r600: be more exact in vb size calculation
to make kernel cs checker happier, last attribs don't need full stride of
space. Calculate as count-1*stride + size of attrib
2010-02-12 16:23:49 +02:00
Andre Maasikas eeb49d3ad8 r600: support GL_SHORT attributes
normalized seems to work with this setting.
2010-02-12 16:23:49 +02:00
Michal Krol 69dd99ba86 Revert "util: Fix descriptors for R32_FLOAT and R32G32_FLOAT formats."
This reverts commit aa0b671422.
2010-02-12 14:45:51 +01:00
Michal Krol aa0b671422 util: Fix descriptors for R32_FLOAT and R32G32_FLOAT formats.
Fill in ones for missing components.
2010-02-12 13:32:35 +01:00
Patrice Mandin 1dd6e0b673 nouveau: nv30: Define number of texture samplers
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
2010-02-12 13:23:48 +01:00