Brian
59e56ee3e5
fix comment
2007-02-27 11:09:48 -07:00
Brian
f30e312763
assert that fb->RefCount==0 in _mesa_free_framebuffer_data()
2007-02-27 11:09:28 -07:00
Brian
e21096b07c
fix mem leak
2007-02-26 17:05:52 -07:00
Brian
928a70e435
Rewrite code related to buffer destruction.
...
Do proper reference counting so that we don't wind up with dangling
references to deleted windows/framebuffers. Should help with bug 7205.
2007-02-26 11:39:17 -07:00
Brian
f30e8a4bdf
if renderbuffer ptr is null, just return
2007-02-26 11:37:52 -07:00
Brian
e6a9381f78
Do proper framebuffer refcounting in _mesa_make_current().
...
Also, added DeletePending field to gl_framebuffer used when a window has been
deleted, but there still may be rendering contexts attached to the
gl_framebuffer object.
2007-02-26 11:37:37 -07:00
Brian
344c3f7379
updated version with new Khronos license/copyright
2007-02-26 09:19:32 -07:00
Panagiotis Papadakos
1a72c8ed3f
s/pdp/prp/ in DoBindContext()
2007-02-26 07:59:14 -07:00
Panagiotis Papadakos
3528d61820
add missing param to _mesa_warning()
2007-02-26 07:57:31 -07:00
Brian
46d4880201
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
2007-02-26 07:56:43 -07:00
Aapo Tahkola
c080123998
Fix #10071 - wrong max_index in vbo draw_prims. (Papadakos Panagiotis)
2007-02-26 01:51:39 +02:00
Brian
9d8df47996
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
2007-02-24 18:29:57 -07:00
Brian
d9fb113e05
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
2007-02-24 18:15:45 -07:00
Brian
53170942e3
Fix broken cubemap mipmap layout (the cubemap.c demo was segfaulting).
...
In i915_miptree_layout() change the width, height parameters that are passed
to intel_miptree_set_level_info(). As it was, the width, height values were
larger than the source image dimensions and we segfaulted in memcpy() when
copying the original texture data into the texture buffer region.
This fix should probably be checked by someone more familiar with the code (Keith?)
2007-02-24 18:14:53 -07:00
Brian
aeaad937b9
clean-up, comment code
2007-02-24 18:11:09 -07:00
Brian
5cd30a2b20
make src ptr const
2007-02-24 18:10:41 -07:00
Ian Romanick
3f8c5969ff
Fix GLAPIENTRYP for OS X.
...
Fix build problems related to incorrect define of GLAPIENTRYP on OS X.
Reported by bushing on IRC.
2007-02-23 15:15:50 -08:00
Roland Scheidegger
5e66843733
r200 fix broken (by new input handling) fogcoord
2007-02-23 01:45:19 +01:00
Brian
53bcdedc32
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
2007-02-22 08:57:36 -07:00
Dave Airlie
4a1d7d6641
r300: get rid of CB_DPATH legacy
2007-02-22 19:33:50 +11:00
Ian Romanick
a4b344baa2
Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/mesa/mesa
2007-02-20 15:19:23 -08:00
Ian Romanick
f0bcee5db0
Delete two invalid assertions.
...
These two assertions are invalid for a couple reasons. Primarily,
when this code is compiled into the X-server, the symbols
"glSecondaryColor3fEXT" and "glPointParameterivNV" do not exist.
2007-02-20 15:18:53 -08:00
Patrice Mandin
440759c2cd
nouveau: nv10: grr, ctx->DrawBuffer invalid?
2007-02-20 23:17:09 +01:00
Patrice Mandin
79870d100f
nouveau: nv10: also check ctx->DrawBuffer in nv10ViewportScale
2007-02-20 23:13:48 +01:00
Patrice Mandin
102ad2e066
nouveau: nv10: keep 24/8 depth/stencil value, don't check for depth bits
2007-02-20 23:04:21 +01:00
Adam Jackson
d44027dbbd
Fix parallel make in r300 driver.
2007-02-20 12:48:50 -05:00
Brian
18e9ca5fb0
more branch info
2007-02-20 09:24:06 -07:00
Brian
906fd23e1d
glxext.h version 18
2007-02-20 08:41:15 -07:00
Brian
45b1f169b4
updated to version 18
2007-02-20 08:40:55 -07:00
Brian
d2ffe4ca07
glext.h version 39
2007-02-20 08:38:46 -07:00
Brian
c226e44437
updated to version 39
2007-02-20 08:38:29 -07:00
Christian Neumair
20e851bb9a
set log level w/ env var
2007-02-20 08:11:11 -07:00
Thomas Hellstrom
d2b06403c6
i915tex: Fix performance regression with new vbo code and latest drm.
...
With current memory preferences, vbos ended up in AGP space
where reading from them got a bit slow.
Make sure buffer objects are initially created in system memory.
2007-02-19 19:57:30 +01:00
Sean D'Epagnier
43c6b2f67f
Merge branch 'master' of git+ssh://geckosenator@git.freedesktop.org/git/mesa/mesa
2007-02-16 17:46:11 -07:00
Sean D'Epagnier
7ae8f388cf
Commiting a few minor fixes to glut fbdev (segfault on a separate stack)
...
Updated all drivers that used the old _ac_ functions to use
the new _vbo_ functions. I know this fixed the fbdev driver,
it looks like it might fix some other drivers too.
2007-02-16 17:44:13 -07:00
Jerome Glisse
515f495f4e
doxygen: update doxygen project number to 6.5
...
doxygen number was laggin behind a bit.
2007-02-16 23:22:04 +01:00
Jerome Glisse
c2e0570831
Update doxygen doc to reflet vbo changes.
...
Update doxygen doc, array_cache no longuer exist,
new shiny vbo modules is there. Tested on unix,
but i think i didn't broke that bat :).
2007-02-16 23:19:05 +01:00
Patrice Mandin
21f2f7f26b
nouveau: nv50: update
2007-02-16 22:39:28 +01:00
Patrice Mandin
4cc4a753fa
nouveau: nv10,20: wrong viewport clip setup
2007-02-16 22:39:12 +01:00
Patrice Mandin
0fccb646e0
nouveau: nv20: texture matrix
2007-02-16 22:09:42 +01:00
Patrice Mandin
66d8e55184
nouveau: nv20: update
2007-02-16 22:03:31 +01:00
Patrice Mandin
f942dc5522
nouveau: nv10: set clear value for 16 and 24 bits depth
2007-02-16 20:26:57 +01:00
Patrice Mandin
9131536f00
nouveau: nv10: rescale depth near and far
2007-02-16 19:54:55 +01:00
Patrice Mandin
252d1de054
nouveau: nv10: fix viewport scale and origin
2007-02-16 19:46:54 +01:00
Rune Peterson
e4c772bead
r300: Fix cos & add scs to fragment program.
...
So this do :
- Fixes COS.
- Does range reductions for SIN & COS.
- Adds SCS.
- removes the optimized version of SIN & COS.
- tweaked weight (should help on precision).
- fixed a copy paste typo in emit_arith().
2007-02-14 23:10:52 +01:00
Etienne Clement
1e2b469635
test for POT before using sample_2d_linear_repeat()
2007-02-14 13:21:12 -07:00
Roland Scheidegger
7d8ed0f5f5
fix typo preventing generic arrays from working with ARB_vp (bug #9952 )
2007-02-14 20:36:29 +01:00
Patrice Mandin
83cf4ce6e4
nouveau: nv10: there are 8 clipping regions
2007-02-14 20:28:31 +01:00
Roland Scheidegger
99dfca1e7f
fix stupid bug in the optimized per-vertex fog generation code
2007-02-14 16:38:32 +01:00
Thomas Hellstrom
bc82b44db9
i915tex: Take into account various mapping states when dropping the
...
batch buffer after a resolution / rotation switch.
2007-02-14 11:11:37 +01:00