Roland Scheidegger
cc9cf90b09
fix resize bugs (fb size updated too late), fix typos, cleanups...
пре 18 година
Roland Scheidegger
5fc7973d54
small cleanups
пре 18 година
Roland Scheidegger
894557d625
get rid of more cliprects...
пре 18 година
Roland Scheidegger
56cbdfd7d5
more cliprect elimination (swrast span)
пре 18 година
Roland Scheidegger
6104044f6b
get rid of more fake cliprects (drawpixel), and enable blit draw with scissor
пре 18 година
Roland Scheidegger
8b93d9238e
get rid of more cliprects (readpixel)...
пре 18 година
Roland Scheidegger
d69cae95a0
allow blit path for read pixels if pack->alignment isn't 1.
pack->alignment doesn't matter usually if the image is sufficiently aligned
anyway. Speeds up some tests/readrate cases by a factor of 100 (since
the pack->alignment default which noone ever bothers to change is 4).
пре 18 година
Roland Scheidegger
99c7e38d83
change back driver change from previous commit
пре 18 година
Roland Scheidegger
a1ec23a30f
fix bogus fb/drawable information (fixes xdemos/wincopy)
the framebuffer objects attached to drawables can have invalidate state
associated with them, since for the window framebuffer this is per-context
state and not per-fbo state. Since drivers may rely on that information
(otherwise would need to check if currently the window-framebuffer is
bound in a lot of places) fix it up in _mesa_make_current (ugly).
пре 18 година
Roland Scheidegger
8172f50419
fix the texture copypixels path
пре 18 година
Roland Scheidegger
cd3afa2a95
begin getting rid of fake clip rects (copy_pixel)
пре 18 година
Roland Scheidegger
a04056d313
fix assertion, z/stencil swarst readback, (still looks suspicious) copyTexSubimage
пре 18 година
Roland Scheidegger
f022bff5aa
bugfixes (wrt fb updates), cleanups
move drawable validation back to where it was now that the driDrawable
information isn't used directly anymore.
Fix bogus fb updates (the context we get for SwapBuffer processing
may not have the drawable being processed attached!)
glthreads behaves a bit better but still not correct.
пре 18 година
Roland Scheidegger
8b6517abfc
don't use driDrawable information directly, don't resize at makecurrent
driDrawable information now isn't used in most parts of the driver.
makecurrent only updates fb information when the context is new
(driDrawable is still updated by the dri common code).
пре 18 година
Roland Scheidegger
9870f7bccc
restrict blitted area to size of rendered area
пре 18 година
Keith Whitwell
20cf13e03b
Fix screen corruption on resize.
Move buffer resize check to immediately after swapbuffers.
Update cliprects inside the locked region of swapbuffers.
пре 18 година
Roland Scheidegger
fb67b1609e
remove bogus assertion, change drawable updates
don't update driDrawable information until later at all
(blit needs fixing).
пре 18 година
Roland Scheidegger
eb2a896f68
drop some more code no longer needed
пре 18 година
Roland Scheidegger
43e24ff507
some fixes, fake frontbuffer
still doesn't work quite right (resize).
Fake frontbuffer doesn't copy in real frontbuffer.
Don't even think about doing rotation/page flip/triple buffering for now...
More cleanups needed (fake cliprects etc.)
пре 18 година
Roland Scheidegger
1278514ff4
copybuffer/cliprect fixups
пре 18 година
Roland Scheidegger
d348a48ac3
First attempt at using private back/z buffers.
Allocate and use private back and z/stencil buffers.
This is still very broken.
пре 18 година
Dave Airlie
5657fc5b4c
r300: only init swtcl on tcl-less cards
пре 18 година
Brian
7ff4359a3b
added vec2(vec4) constructor, bug 11404
пре 18 година
Brian
a36b5c6d47
add code for stpq, rgba writemasks in make_writemask(), bug 11404
пре 18 година
Brian
3d04682b7a
fix StepX/StepY typo
пре 18 година
Brian
f9b53f648d
use _mesa_unpack_stencil_span() in draw_stencil_pixels(), bug 11457
пре 18 година
Roland Scheidegger
9a45176dd8
fix GL_DOT3_RGBA texture combiner mode in generated fragment programs (bug #11030)
пре 18 година
Brian
9220255d75
add const to wglSetPixelFormat() to match .h declaration
пре 18 година
Brian
06542019a8
avoid unnecessary clamping of depth values (bug 11448)
пре 18 година
Dave Airlie
6257ed8663
r300: fix compiz crash on swtcl - doesn't fix compiz though.
Compiz for some reason looks like ass, everything with textures
looks like it has a 2x width/height multiplier on the texture coords...
пре 18 година
Claudio Ciccani
a49570794a
Compute the amount of time to sleep on idle event using timers as reference.
пре 18 година
Claudio Ciccani
33da6cb133
Fixed initialization of render buffer and deinitialization of context.
пре 18 година
Dave Airlie
ad19038080
r300: oops wrong logic for swtcl
пре 18 година
Dave Airlie
0caee6b006
r300: oops turn back off cmd buf debugging
пре 18 година
Dave Airlie
f556b7f84c
Merge branch 'r300-swtcl'
пре 18 година
Dave Airlie
646ed82e6b
fix tabbing
пре 18 година
Dave Airlie
6564e4bffa
r300: add authorship
пре 18 година
Dave Airlie
2d5313db72
r300: remove some unused code
пре 18 година
Dave Airlie
b691d46046
r300: cleanup some of the swtcl code
пре 18 година
Dave Airlie
8f7478e5cb
r300: fixup manytex, we needed to emit the vic/vir/vof every time
пре 18 година
Dave Airlie
885c1326c3
r300: fix tabbing
пре 18 година
Brian
f4b103dc99
simplify INIT_SPAN code
пре 18 година
Brian
fcc77d3ece
s/SPAN_RGBA/SPAN_INDEX/ in clear_ci_buffer_with_masking()
пре 18 година
Brian
9dca42a4a1
Undo some prev glDraw/CopyPixel changes which fixed a bug in which colors were overwritten by interpolating attributes.
Now just set the span->arrayAttribs mask in glDraw/CopyPixels and be sure
we don't overwrite the values in interpolate_active_attribs().
пре 18 година
Brian
fb4f4e2d18
Obsolete
пре 18 година
Brian
fc5bf53644
overhaul point rasterization, no longer use s_pointtemp.h
пре 18 година
Brian
66d0784f13
regenerated
пре 18 година
Ben Skeggs
5e4a0f42f2
nouveau: match drm changes (0.0.7)
пре 18 година
Ben Skeggs
17e81bda6e
nouveau: NV30_TCL viewport/scissor fixes
пре 18 година
Brian
02dd2221b6
bring over 7.0 doc changes
пре 18 година