José Fonseca
fb4361a93d
scons: Fix typo.
2008-06-27 12:35:18 +09:00
José Fonseca
cb09d1ef60
mesa: Use the appropriate relocation.
...
I don't fully understand this, but this matches the assembly code gcc
generates glapi.c and fixes following error on x86-64 with assembly:
relocation R_X86_64_PC32 against `_gl_DispatchTSD' can not be used when making a shared object
2008-06-27 12:34:57 +09:00
Eric Anholt
f059a33022
intel: Fix locking when doing intel_region_cow().
...
This was broken in the merge of 965 blit support. It tried to lock only
when things were already locked.
2008-06-26 15:34:27 -07:00
Eric Anholt
93f701bc36
intel: Replace sprinkled intel_batchbuffer_flush with MI_FLUSH or nothing.
...
Most of these were to ensure that caches got synchronized between 2d (or meta)
rendering and later use of the target as a source, such as for texture
miptree setup. Those are replaced with intel_batchbuffer_emit_mi_flush(),
which just drops an MI_FLUSH. Most of the remainder were to ensure that
REFERENCES_CLIPRECTS batchbuffers got flushed before the lock was dropped.
Those are now replaced by automatically flushing those when dropping the lock.
2008-06-26 15:29:28 -07:00
Alan Hourihane
3b132b297f
Check in SwapBuffers for any new pending dri2 events
2008-06-26 22:53:29 +01:00
José Fonseca
38d779a3e6
gallium: Describe pixel block.
...
Chars-per-pixel paradigm is not enough to represent compressed and yuv
pixel formats.
2008-06-26 23:39:13 +09:00
Brian Paul
d378f7b3df
mesa: point size arrays
2008-06-25 08:45:14 -06:00
Eric Anholt
f6abe8f0f2
Merge commit 'origin/master' into drm-gem
2008-06-24 14:08:08 -07:00
Eric Anholt
5174b85a0c
intel: Fix glCopyPixels when x or y are < 0 in hw coordinates.
...
Nothing would get drawn as the negative coordinates broke the rectangle
intersection code that used unsigned ints. Tested with copypix demo and
sliding the copy to the upper left.
2008-06-24 14:04:11 -07:00
Eric Anholt
9a0d773116
i965: Use the shared intel_pixel_copy.c.
...
This disables the textured copy implementation on 965, which didn't appear
to work (mesa copypix demo, disable the blit path, move so that regions don't
overlap and textured is used, and you get garbage). If we resurrect this for
i965, I'd rather it used the 915-style metaops instead. Current metaops code
left in place so that whoever picks it up has a reference.
2008-06-24 13:18:40 -07:00
Patrice Mandin
b831aa06dc
nv30: add context value
2008-06-24 21:04:37 +02:00
Eric Anholt
744357e29c
intel: Same pixel function init for everyone now.
2008-06-24 11:49:21 -07:00
Eric Anholt
f5eb62a116
intel: Avoid glBitmap software fallback for blending when no blending occurs.
...
Mesa demos tend to leave blending on but in GL_ONE/GL_ZERO, or
GL_SRC_ALPHA/GL_ONE_MINUS_SRC_ALPHA with a source alpha of 1.0.
2008-06-24 11:44:42 -07:00
Eric Anholt
f23adc504d
intel: Merge check_blit_fragment_ops between i915/i965.
...
Both had some useful bits for the other.
2008-06-24 11:34:42 -07:00
Ben Skeggs
bb10891925
nouveau: major thinko
2008-06-25 04:08:17 +10:00
Ben Skeggs
b40ed6a0b5
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
2008-06-25 04:05:11 +10:00
Eric Anholt
90d33edf37
intel: Note reasons for blit pixel op fallbacks under INTEL_DEBUG=pix.
2008-06-24 10:50:10 -07:00
Eric Anholt
eda68cccc0
i915: Add support for accelerated glBitmap, shared from 965.
2008-06-24 10:26:57 -07:00
Eric Anholt
5989098779
i915: Fix read != draw drawable for glCopyPixels.
...
Taken from commit bad6e175cf .
2008-06-24 10:25:19 -07:00
Eric Anholt
98fa0aec36
i915: Allow accelerated pixel ops to be disabled with INTEL_NO_BLIT.
...
This matches 965.
2008-06-24 10:24:32 -07:00
Brian Paul
0561a293b6
gallium: remove some old dispatch code
2008-06-24 08:47:15 -06:00
Brian Paul
2b69233510
gallium: remove bad assertion
2008-06-24 08:45:59 -06:00
Jakob Bornecrantz
62fd280c52
gallium: Fix whole source being used in u_blit
2008-06-24 16:14:46 +02:00
José Fonseca
fd6676c249
Fix CRLF line endings.
2008-06-24 22:26:19 +09:00
José Fonseca
67262c82a1
Allow CRLF automatic conversion on MSVC project files.
...
MSVC doesn't really care, and it is frequently causing merge conflicts.
2008-06-24 22:25:52 +09:00
Jakob Bornecrantz
e95697758e
i915: Create a texture and surface for shared frontbuffer
2008-06-24 14:42:12 +02:00
Jakob Bornecrantz
19dad109bb
i915: Added texture_blanket function
2008-06-24 14:33:28 +02:00
Jakob Bornecrantz
2d11411b19
i915: Moved screen creation to intel_be_device
2008-06-24 14:33:18 +02:00
Jakob Bornecrantz
e8af160b24
gallium: Fix warning in u_blit.h
2008-06-24 14:33:07 +02:00
Jakob Bornecrantz
72edcd1711
egl: Stdint was missing from eglconfigutil.h
2008-06-24 14:32:53 +02:00
José Fonseca
8c90148cb9
mesa: Fix Windows GDI winsys build.
2008-06-24 20:44:47 +09:00
José Fonseca
9dfa6063be
gallium: Avoid double arithmetic.
2008-06-24 14:22:09 +09:00
José Fonseca
a148025d94
mesa: Use standard integer types.
...
Especially get rid of the non-portable long long.
2008-06-24 14:18:07 +09:00
José Fonseca
b6f053739f
mesa: Replace deprecated __MSC__ macro.
2008-06-24 14:02:24 +09:00
José Fonseca
4802a687a7
dri/intel: Use standard integer types.
2008-06-24 14:00:10 +09:00
José Fonseca
e8b52b3f56
gallium: Drop deprecated __MSC__ macro.
2008-06-24 13:56:41 +09:00
José Fonseca
0d94767430
egl: Use standard integer types.
2008-06-24 13:55:38 +09:00
José Fonseca
2e328dcde2
mesa/dri: User standard integer types.
2008-06-24 13:51:52 +09:00
José Fonseca
5c1a78b7a8
mesa: More signed/unsigned float/integer fixes.
2008-06-24 13:12:41 +09:00
José Fonseca
0b3d1b1ea4
mesa: WGL is not part of the WinCE API.
...
Although it would be interesting having the GDI winsys running on WinCE
several Windows GDI API functions and data structures are missing from
WinCE headers, making this far from a trivial endeavor.
2008-06-24 13:00:03 +09:00
José Fonseca
b750b5326d
gdi: Update for surface_alloc_storage changes.
2008-06-24 11:40:25 +09:00
José Fonseca
18ec140ef2
mesa: Use appropriate unsigned/signed, float/integer types.
2008-06-24 11:34:46 +09:00
José Fonseca
80b359f574
mesa: Use _mesa_bsearch.
2008-06-24 11:33:03 +09:00
José Fonseca
182b644c71
mesa: bsearch implementation for WinCE.
2008-06-24 11:00:01 +09:00
José Fonseca
c921a29b3a
mesa: Replace abort by asserts.
2008-06-24 11:00:01 +09:00
José Fonseca
c47248bdf8
mesa: Move variable declarations to the scope top.
2008-06-24 11:00:01 +09:00
José Fonseca
543bba6ee3
mesa: Don't include sys/types.h on WinCE.
...
We probably shouldn't be including sys/types.h at all, but let's leave that
for another time.
2008-06-24 11:00:01 +09:00
Brian Paul
89e9d6b6db
gallium: added support for fixed-point formats, drawing
2008-06-23 17:13:14 -06:00
Eric Anholt
a42dac1879
i915: Accumulate the VB into a local buffer and subdata it in.
...
This lets GEM use pwrite, for an additional 4% or so speedup.
2008-06-23 15:44:10 -07:00
Jonathan White
dc73d15a9a
gallium: code for PIPE_SUBSYSTEM_WINDOWS_USER
2008-06-23 16:25:26 -06:00