Brian Paul
da62bcecfb
minor formatting fix
il y a 19 ans
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.
il y a 19 ans
Brian Paul
346a239f01
return null if no context
il y a 19 ans
Brian Paul
cdb27e8242
New SWspan and SWspanarrays typedefs.
il y a 19 ans
Michel Dänzer
46929c93d8
i915: Fix wait for scheduled swap on secondary display.
il y a 19 ans
Brian Paul
7fa99ed3d8
updated protos for blend funcs
il y a 19 ans
Brian Paul
d92da49bae
more changes for runtime renderbuffer depths
il y a 19 ans
Brian Paul
0ce6a2935c
include mipmap.h
il y a 19 ans
Brian Paul
24edd90159
Move mipmap generation functions, texture scaling functions into new
mipmap.c file.
il y a 19 ans
Brian Paul
bb4b378c60
updated info about name mangling
il y a 19 ans
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.
il y a 19 ans
Michel Dänzer
4abf2706e9
Add new I830 SAREA fields.
il y a 19 ans
Michel Dänzer
ebc879014c
Add helper function that returns the current vblank sequence of a drawable.
il y a 19 ans
Michel Dänzer
638ece315f
Add helper function to calculate the area of the intersection of two rectangles.
il y a 19 ans
Michel Dänzer
941c866739
i915: Handle DRM_VBLANK_SECONDARY when scheduling buffer swaps.
il y a 19 ans
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.
il y a 19 ans
Michel Dänzer
7585fc989d
Add driGetVBlankInterval() helper function.
This can be used by drivers to determine the current swap interval of a
drawable.
il y a 19 ans
Michel Dänzer
7539fde334
driWaitForVBlank: Add support for secondary vertical blank.
il y a 19 ans
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.
il y a 19 ans
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.
il y a 19 ans
Brian Paul
1d914fe465
remove obsolete comment
il y a 19 ans
Jeremy Kolb
07bacc2263
Update to use the new XCB naming convention.
il y a 19 ans
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.
il y a 19 ans
Jeremy Kolb
b68788a1ca
Update linux-dr-xcb config file to use LIBDRM_CFLAGS
il y a 19 ans
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.
il y a 19 ans
Jerome Glisse
c67d8678dd
Remove r200 dependency.
Remove r200*.h files dependency.
il y a 19 ans
Michal Krol
ea87987dda
Prepend #extension 'MESA_shader_debug: require' to each shader.
il y a 19 ans
Michal Krol
27f660c164
Add GLSL preprocessor.
il y a 19 ans
Michal Krol
4303d22739
Fix Windows newlines.
il y a 19 ans
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.
il y a 19 ans
Brian Paul
a50b7dbc3b
Initial work for supporting different renderbuffer color depths at runtime.
il y a 19 ans
Michel Dänzer
df8632ebd8
Fix and re-enable swizzling paths for big endian platforms.
il y a 19 ans
Keith Whitwell
cbdd7e1094
bring in active_sz mechanism from i965 driver. Fixes bug 8410
il y a 19 ans
Keith Whitwell
f1945796ed
Fixup one place where attrsz was being used instead of active_sz
il y a 19 ans
Brian Paul
f515c78a23
Change logicop, blend, masking functions to use the colors/indexes in the
sw_span object, rather than an explicit parameter.
il y a 19 ans
Brian Paul
ba001224a1
Roll the multi_write_rgba_span() code into _swrast_write_rgba_span().
il y a 19 ans
Brian Paul
0785b6052a
use span.array->rgba instead of local var in accum_return()
il y a 19 ans
Brian Paul
f11508c29f
use span.arrays for color/indexes instead of a local var when doing masked clears
il y a 19 ans
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
il y a 19 ans
Brian Paul
1ad12874b3
allocate larger TempImage, use COMBO var to choose test format/type
il y a 19 ans
Brian Paul
7b803d649a
fix the broken fallback string/debug stuff
il y a 19 ans
Brian Paul
5174e7c181
remove extra indentation
il y a 19 ans
Brian Paul
43715c711d
Get rid of _swrast_mask_rgba_array() and _swrast_mask_index_array().
il y a 19 ans
Roland Scheidegger
9f819dc014
fix up access to vertex attrib components which don't really exist but are defined to some default value by the spec (fogcoord yzw, normal w, secondary color w), by replacing those components with zero/one respectively using swizzling.
il y a 19 ans
Keith Whitwell
9c5d75e592
Explicit test for +ve pitches in intelEmitCopyBlit()
il y a 19 ans
Roland Scheidegger
8a0fb128c3
don't skip user clip plane clipping when the current vertex program is position invariant.
il y a 19 ans
Keith Whitwell
7e9799ac3d
Use _Enabled rather than _Active when checking for fragment shaders
il y a 19 ans
Keith Whitwell
df058298e1
Flush driver, not just tnl module.
il y a 19 ans
Keith Whitwell
f9bfdb1ce4
resize buffers in MakeCurrent
il y a 19 ans
Keith Whitwell
f118b9b40d
Remove unused variable.
il y a 19 ans