José Fonseca
077c5e62d8
progs/wgl: Quit after displaying usage for -h option.
2009-06-16 12:34:29 +01:00
José Fonseca
06075711af
progs/wgl: Use appropriate types to silence msvc warnings.
2009-06-16 12:29:58 +01:00
José Fonseca
566bdbe67d
progs/wgl: Fix assertion failure in wglthreads' texture creation.
2009-06-16 12:29:58 +01:00
Shuang He
d027e8feff
intel: Release fb backing regions in intelDestroyBuffer()
...
Fixes memory leak when destroying framebuffers.
2009-06-15 16:19:30 -06:00
José Fonseca
227d233cff
python/tests: Add is_depth_stencil_format utility function.
2009-06-15 19:22:35 +01:00
José Fonseca
7585cbffe0
python/tests: Cleanup texture_sample.
2009-06-15 19:21:58 +01:00
José Fonseca
c6af9b2947
mesa: Always return a value.
2009-06-15 19:20:25 +01:00
José Fonseca
053d8eb891
mesa: Use appropriate float/integer types.
2009-06-15 19:20:05 +01:00
José Fonseca
6214c7262f
mesa: Use type modifier for float constants.
2009-06-15 19:19:29 +01:00
José Fonseca
37f2117cd1
mesa: Use integer type with appropriate sign.
2009-06-15 19:17:07 +01:00
José Fonseca
c33ef1f7c6
rtasm: Use 32bit constant.
...
As we're only using 32bit bitmasks.
2009-06-15 19:04:04 +01:00
José Fonseca
940cb7ce16
gallium: Ensure assert macro is defined before being used in p_thread.h
2009-06-15 18:57:45 +01:00
José Fonseca
5d0cf9ebb4
softpipe: Fix softpipe_is_texture_referenced.
...
Render results are only visible when the render cache is flushed.
softpipe_is_texture_referenced must reflect that or transfers to/from the
textures bound in the framebuffer won't be proceeded of the necessary
flush, causing transfer data to be outdated/clobbered.
This fixes conform drawpix test with softpipe.
2009-06-15 18:42:13 +01:00
José Fonseca
0e1abced56
progs/tests: Use opaque colors.
...
Transparency is not relevant for this example, and leads to distraction
due to different results in alpha visuals, when capturing images to disk.
2009-06-15 15:40:10 +01:00
Thomas Hellstrom
db22b35d21
dri st: Don't require the PIPE_TEXTURE_USAGE_RENDER_TARGET property for depth- and stencil renderbuffers.
...
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-06-15 11:48:57 +02:00
Thomas Hellstrom
cbe5af766e
gallium: Fix segfault and valgrind error introduced with commit 3f2e006b75
...
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-06-15 11:22:06 +02:00
Jakob Bornecrantz
2fe65e8f14
Merge branch 'mesa_7_5_branch'
2009-06-14 16:56:34 +02:00
Dave Airlie
6791576f6c
Revert "r200: make use of DMA buffers for Elts a lot better."
...
This reverts commit 0952645fe0 .
Need to revisit where this is going wrong
2009-06-29 20:15:47 +10:00
Corbin Simpson
928a568417
r300g: YCbCr and sRGB textures.
2009-06-27 12:07:59 -07:00
Corbin Simpson
f150e05afc
r300g: Fix EXT_packed_depth_stencil functionality.
...
Allow Z24S8 to be a true texture.
2009-06-27 12:07:59 -07:00
Jakob Bornecrantz
1ac72aedb2
st/dri: Fix last depth bits logic
2009-06-27 19:55:37 +02:00
Nicolai Hähnle
dbb56687c8
radeon: Always initialize front and back renderbuffers if present
...
This fixes an assertion in glReadPixels from the front buffer.
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-06-27 18:16:49 +02:00
Nicolai Hähnle
9fa0d25c54
radeon: Update .gitignore
...
Add all source files that are symlink'ed from common radeon code to the
ignore list.
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-06-27 18:08:44 +02:00
Corbin Simpson
3f15acb7e8
r300g: EXT_provoking_vertex.
2009-06-26 21:48:09 -07:00
Corbin Simpson
6ebcdc7549
r300g: S3TC.
...
tests/texcompress2 doesn't work, but tests/texcmp does (more or less.)
2009-06-26 21:25:41 -07:00
Corbin Simpson
aac6648cd8
r300g: Use real texture formats.
...
What bugs me is that the YUV444 format somehow worked properly. :3
2009-06-26 21:25:41 -07:00
Corbin Simpson
7a3224c334
r300g: Definitively forbid unusable Z buffer/stencil formats.
2009-06-26 21:25:40 -07:00
Corbin Simpson
9e7d195fdc
r300g: Comment out assert for now.
...
Will fix with better constant refactoring later.
2009-06-26 21:25:40 -07:00
Corbin Simpson
00ffc90dd2
r300g: Be more specific on surface_copy fallbacks.
2009-06-26 21:25:40 -07:00
Corbin Simpson
6a926f9997
r300g: PIPE_CAP_TGSI_CONT_SUPPORTED.
2009-06-26 21:25:40 -07:00
Corbin Simpson
f80b7f4683
r300-gallium: Ensure that no dirty state goes unemitted.
2009-06-26 21:25:40 -07:00
Brian Paul
f57280cc73
Merge branch 'arb_vertex_array_object'
2009-06-26 17:49:14 -06:00
Brian Paul
a18e209edb
Merge branch 'mesa_7_5_branch'
...
Conflicts:
Makefile
src/gallium/drivers/softpipe/sp_screen.c
src/mesa/main/version.h
2009-06-26 17:07:07 -06:00
Roland Scheidegger
4fdc6ad41b
i965: fix fetching constants from constant buffer in glsl path
...
the driver used to overwrite grf0 then use implicit move by send instruction
to move contents of grf0 to mrf1. However, we must not overwrite grf0 since
it's still used later for fb write.
Instead, do the move directly do mrf1 (we could use implicit move from another
grf reg to mrf1 but since we need a mov to encode the data anyway it doesn't
seem to make sense).
I think the dp_READ/WRITE_16 functions may suffer from the same issue.
While here also remove unnecessary msg_reg_nr parameter from the dataport
functions since always message register 1 is used.
2009-06-26 20:39:49 +02:00
Vinson Lee
d3b46fc77f
configs/darwin: Set CXX to g++.
2009-06-26 12:36:45 -06:00
Brian Paul
b2a1ca4fcf
docs: document GL_ARB_vertex_array_object
2009-06-22 17:54:16 -06:00
Brian Paul
8affcd364b
intel: enable GL_ARB_vertex_array_object extension
2009-06-22 17:54:00 -06:00
Brian Paul
cfb8158058
mesa: plug in glBindVertexArray, glGenVertexArrays functions
2009-06-22 17:52:08 -06:00
Brian Paul
31618f1a88
tests: update bufferobj.c to test GL_ARB_vertex_array_object
2009-06-22 17:51:30 -06:00
Brian Paul
2a795ad522
st/mesa: alphabetize lines
2009-06-22 17:01:44 -06:00
Brian Paul
32220c48ad
st/mesa: enable GL_ARB_vertex_array_object
2009-06-22 17:01:00 -06:00
Brian Paul
e2b7249555
mesa: enforce the rule that arrays live in VBOs for GL_ARB_vertex_array_object
2009-06-22 16:56:35 -06:00
Brian Paul
7ebadecd87
mesa: added extension flag for ARB_vertex_array_object
2009-06-22 16:47:45 -06:00
Brian Paul
9342e6f5a9
mesa: implement _mesa_GenVertexArrays() for GL_ARB_vertex_array_object
...
This also involves adding a gl_array_object::VBOonly field. For the
ARB extension, all arrays in the object must reside in a VBO. This flag
keeps track of that requirement.
2009-06-19 18:17:25 -06:00
Brian Paul
b8000c874e
mesa: implement _mesa_BindVertexArray()
2009-06-19 18:12:11 -06:00
Brian Paul
12cf98f5fc
mesa: move vertex array objects from shared state to per-context
...
The ARB version requires VAOs to be per-context while the Apple extension
was ambiguous.
2009-06-19 18:11:52 -06:00
Brian Paul
bda551898a
mesa: regenerated files related to GL_ARB_vertex_array_object
2009-06-19 18:11:29 -06:00
Brian Paul
54b03948e0
glapi: add new information for GL_ARB_vertex_array_object
2009-06-19 18:11:18 -06:00
Michel Dänzer
dd26899ca3
intel: Fixups for 'mesa: create/destroy buffer objects via driver functions'.
...
Initialize all driver function hooks before calling _mesa_initialize_context(),
and handle all buffer objects in intel_buffer_object().
Fixes assertion failure when running glxinfo.
2009-06-19 23:55:55 +02:00
Roland Scheidegger
4d2b392a0a
radeon: fix cube maps for non-mm path
...
drm cmd checker would refuse cube emits
also fix an issue in the cs path which would calculate the register
offset off by one dword.
Only same testing done as original code (none except compile tested).
2009-06-19 22:56:32 +02:00