Ian Romanick
990c8a9df9
Keep indentation consistent with indent.
...
Remove code in the Python scripts that keeps the indentation of the
generated code consistent for all cases. Instead, pass the generated code
through the indent command. Unix tools for the win!
2006-10-04 21:55:55 +00:00
Ian Romanick
eaeaaf6205
Divide categories into four groups as they are processed from the XML. Add
...
an iterator to iterate over the categories in order, starting with "core"
versions, then ARB extensions, then numbered non-ARB extensions, and finally
unnumbered extensions.
Use the new iterator in a couple places to ensure that output that is
grouped by catgory is generated in a consistent order.
More changes to the scripts are coming. The generated files will be
committed one time after all the changes are in. Too bad we're not using
GIT, or this would be easy. :(
2006-10-04 20:45:59 +00:00
Ian Romanick
553b8334bb
Add utility method client_supported_for_indirect.
...
The new method client_supported_for_indirect is used to determine whether or
not the client-side library supports the function for indirect rendering.
The may or may not have associated protocol that needs to be generated
(e.g., glVertexPointer does not, but glVertex3fv does).
2006-10-04 18:58:10 +00:00
Brian Paul
25e441e8e9
in MakeContextCurrent() use old display pointer for __glXSetupForCommand(), bug 8443
2006-10-04 16:22:24 +00:00
Brian Paul
5ed4e35ba5
use _swrast_span_default_color() in the disabled code too
2006-10-04 15:22:11 +00:00
Brian Paul
9b507639ab
call _swrast_span_default_color() to simplify _swrast_Bitmap(), improved comments
2006-10-04 15:21:23 +00:00
Brian Paul
da62bcecfb
minor formatting fix
2006-10-04 15:06:27 +00:00
Felix Kuehling
3fd5aa88ea
Bugzilla 6242: [mach64] Use private DMA buffers (only)
...
https://bugs.freedesktop.org/show_bug.cgi?id=6242
Patch by George Sapountzis: https://bugs.freedesktop.org/attachment.cgi?id=6271
Update to new mach64 DRM 2.0.0 with private DMA buffers.
Handle EAGAIN in mach64FireBlitLocked: call drmCommandWrite up to
MACH64_TIMEOUT times when EAGAIN is returned.
Also handle EAGAIN in mach64FlushVerticesLocked.
2006-10-02 20:34:06 +00:00
Brian Paul
346a239f01
return null if no context
2006-10-02 15:20:23 +00:00
Brian Paul
cdb27e8242
New SWspan and SWspanarrays typedefs.
2006-10-01 16:03:05 +00:00
Michel Dänzer
46929c93d8
i915: Fix wait for scheduled swap on secondary display.
2006-09-29 10:22:54 +00:00
Brian Paul
7fa99ed3d8
updated protos for blend funcs
2006-09-29 02:15:23 +00:00
Brian Paul
d92da49bae
more changes for runtime renderbuffer depths
2006-09-29 02:12:07 +00:00
Brian Paul
0ce6a2935c
include mipmap.h
2006-09-29 01:26:55 +00:00
Brian Paul
24edd90159
Move mipmap generation functions, texture scaling functions into new
...
mipmap.c file.
2006-09-29 01:24:26 +00:00
Brian Paul
bb4b378c60
updated info about name mangling
2006-09-29 01:22:53 +00:00
Michel Dänzer
af866291da
Synchronize drawable to the pipe where the bigger part can be visible.
...
This requires the DDX driver to set the corresponding fields in the SAREA,
so check its minor version.
2006-09-28 14:10:47 +00:00
Michel Dänzer
4abf2706e9
Add new I830 SAREA fields.
2006-09-28 14:10:07 +00:00
Michel Dänzer
ebc879014c
Add helper function that returns the current vblank sequence of a drawable.
2006-09-28 14:09:20 +00:00
Michel Dänzer
638ece315f
Add helper function to calculate the area of the intersection of two rectangles.
2006-09-28 14:08:38 +00:00
Michel Dänzer
941c866739
i915: Handle DRM_VBLANK_SECONDARY when scheduling buffer swaps.
2006-09-28 14:07:56 +00:00
Michel Dänzer
c2f1a1857e
i915: Attempt to schedule buffer swap on target vertical blank when possible.
...
This has some advantages over the traditional way of first waiting for the
target vertical blank and then emitting the buffer swap, e.g.
* glXSwapBuffers returns immediately, only the next time the driver needs the
hardware lock will it block until the target vertical blank. This should
allow applications that don't intermix rendering and other processing to
start processing for the next frame right away.
* It's less likely to produce tearing.
2006-09-28 14:07:12 +00:00
Michel Dänzer
7585fc989d
Add driGetVBlankInterval() helper function.
...
This can be used by drivers to determine the current swap interval of a
drawable.
2006-09-28 14:04:19 +00:00
Michel Dänzer
7539fde334
driWaitForVBlank: Add support for secondary vertical blank.
2006-09-28 14:03:41 +00:00
Michel Dänzer
6a2f5c6752
Some restructuring of the driWaitForVBlank() code.
...
Also some minor fixes for detecting when the deadline is met or missed, in
particular wrt wraparounds of the sequence number.
2006-09-28 14:03:02 +00:00
Michel Dänzer
24bb3b3998
Make driDrawableInitVBlank() initialize the sequence number.
...
This prevents the first wait for vertical blank from timing out when the X
server has been running for a long time.
2006-09-28 14:02:05 +00:00
Brian Paul
1d914fe465
remove obsolete comment
2006-09-27 14:00:37 +00:00
Jeremy Kolb
07bacc2263
Update to use the new XCB naming convention.
2006-09-26 23:56:20 +00:00
Jeremy Kolb
3d7ee324ad
Added function convertStringForXCB. Deals with the recent XCB naming convention switch.
...
Updated the generated code to use the new XCB naming scheme.
2006-09-26 23:47:04 +00:00
Jeremy Kolb
b68788a1ca
Update linux-dr-xcb config file to use LIBDRM_CFLAGS
2006-09-26 23:45:28 +00:00
Jerome Glisse
9e82552c30
Remove r200 dependency
...
Remove r200 dependency from the code as r200 merged
driver never worked (right ?) and we want to clean
the code.
2006-09-26 17:35:41 +00:00
Jerome Glisse
c67d8678dd
Remove r200 dependency.
...
Remove r200*.h files dependency.
2006-09-26 17:28:40 +00:00
Michal Krol
ea87987dda
Prepend #extension 'MESA_shader_debug: require' to each shader.
2006-09-26 16:06:35 +00:00
Michal Krol
27f660c164
Add GLSL preprocessor.
2006-09-26 16:01:11 +00:00
Michal Krol
4303d22739
Fix Windows newlines.
2006-09-26 12:10:33 +00:00
Michal Krol
16647b739b
Add syntax files for expression and directive preprocessor.
...
Fix syntax errors in builtin library 1.2 sources.
All derivative files (*_gc.h and *_syn.h) are generated by Makefile.
2006-09-26 11:43:30 +00:00
Brian Paul
a50b7dbc3b
Initial work for supporting different renderbuffer color depths at runtime.
2006-09-25 23:57:39 +00:00
Michel Dänzer
df8632ebd8
Fix and re-enable swizzling paths for big endian platforms.
2006-09-25 16:34:40 +00:00
Keith Whitwell
cbdd7e1094
bring in active_sz mechanism from i965 driver. Fixes bug 8410
2006-09-25 09:14:26 +00:00
Keith Whitwell
f1945796ed
Fixup one place where attrsz was being used instead of active_sz
2006-09-25 09:12:25 +00:00
Brian Paul
f515c78a23
Change logicop, blend, masking functions to use the colors/indexes in the
...
sw_span object, rather than an explicit parameter.
2006-09-24 19:59:30 +00:00
Brian Paul
ba001224a1
Roll the multi_write_rgba_span() code into _swrast_write_rgba_span().
2006-09-24 19:46:42 +00:00
Brian Paul
0785b6052a
use span.array->rgba instead of local var in accum_return()
2006-09-24 16:34:56 +00:00
Brian Paul
f11508c29f
use span.arrays for color/indexes instead of a local var when doing masked clears
2006-09-24 16:31:23 +00:00
Ben Skeggs
a05db7f505
Kill all the current shader code.
2006-09-24 13:16:23 +00:00
Sean D'Epagnier
e184bd861c
corrected cursor drawing
...
added handling of SIGWINCH
fixed input of recieving SIGIO while handling SIGIO
corrected input code for return
uncommented normal calculation to models
2006-09-24 10:57:26 +00:00
Brian Paul
1ad12874b3
allocate larger TempImage, use COMBO var to choose test format/type
2006-09-23 16:09:26 +00:00
Brian Paul
7b803d649a
fix the broken fallback string/debug stuff
2006-09-22 19:28:36 +00:00
Brian Paul
5174e7c181
remove extra indentation
2006-09-22 19:09:50 +00:00
Brian Paul
43715c711d
Get rid of _swrast_mask_rgba_array() and _swrast_mask_index_array().
2006-09-22 17:44:39 +00:00