Commit Graph

35159 Commits

Author SHA1 Message Date
Eric Anholt
6f77b751b6 Make TLS EGL dri2 driver search path behavior match TLS GLX dri2 behavior. 2010-05-20 14:44:43 -07:00
Eric Anholt
111dce90c1 Fix a substitution in glesv1_cm.pc 2010-05-20 13:57:10 -07:00
Eric Anholt
f716063ad1 i965: remove disabled code for cycling through MRF registers in clipping.
The idea would be that you could have multiple send messages going on
if nothing depended on the previous message's results and you used a
different send message.  The problem is that the later send requires
the VUE handle returned by the first send's allocate anyway.
2010-05-20 13:42:27 -07:00
Xavier Chantry
f2b80e5679 nv50: fixed other void pointer arithmetic errors 2010-05-20 19:47:12 +02:00
Xavier Chantry
828053726b nv50: fix too long shader uploads by splitting them 2010-05-20 19:47:09 +02:00
Christoph Bumiller
9886293eb8 nv50: fill in shader limits 2010-05-20 19:47:01 +02:00
Brian Paul
6ca6189e09 scons: add comments and whitespace 2010-05-20 10:27:12 -06:00
Brian Paul
5c682485b8 scons: fix llvm detection
The test for env['platform'] caused an exception since 'env' is not
defined at that point.  Instead, determine the target platform by
scanning sys.argv[].
2010-05-20 10:27:12 -06:00
Brian Paul
846b2fccc2 gallivm: rename a var: s/val/array_size/ 2010-05-20 10:27:12 -06:00
Brian Paul
3b7914c364 gallivm: fix spelling in comment 2010-05-20 10:27:12 -06:00
Brian Paul
9226d427c3 gallivm: handle pointer types in lp_dump_llvmtype() 2010-05-20 10:27:11 -06:00
Brian Paul
d574ffbb4d llvmpipe: more tweaks to dump_fs_variant_key() 2010-05-20 10:27:11 -06:00
Brian Paul
b2119e4b2f gallium: fix/update tex target dumping 2010-05-20 10:27:11 -06:00
Brian Paul
75189ef960 llvmpipe: use util_dump_logicop() 2010-05-20 10:27:11 -06:00
Brian Paul
df61404dae gallium: added util_dump_logicop() 2010-05-20 10:27:11 -06:00
Brian Paul
c2a036d4ef llvmpipe: put variant print/debug code into separate function 2010-05-20 10:27:11 -06:00
Kristian Høgsberg
e67c338b41 intel: Throttle after doing copyregion/swapbuffers round trip
Before we would throttle in the flush callback prior to round-tripping
to the server to do copyregion or swapbuffer.  Now, instead just note
that we need to throttle and do it in intel_prepare_render(), which
will be called after receiving the response from the server but before
we start rendering the next frame.  Even if the server also throttles
us in swapbuffer, this just makes the throttling a no-op when we hit
intel_prepare_render().  With that we can drop the
using_dri2_swapbuffers hack and just always throttle.
2010-05-20 11:39:28 -04:00
Vinson Lee
f490525685 graw-null: Remove unnecessary header. 2010-05-20 07:36:53 -07:00
Roland Scheidegger
ce65caba84 util: fix obvious util_blitter_copy bugs... 2010-05-19 18:34:01 +02:00
Brian Paul
23808f1b5e nv50: fix typo: s/_/./ 2010-05-19 09:30:35 -06:00
Roland Scheidegger
5be35de0fb util: util_blitter_fill no longer needs to handle overlap 2010-05-19 17:20:26 +02:00
Roland Scheidegger
1adbe2c82d i915g: remove unused flip parameter 2010-05-19 17:14:06 +02:00
Roland Scheidegger
db0ddb7c01 docs: update differences to d3d11 2010-05-18 21:42:09 +02:00
Roland Scheidegger
f4ad68a528 util: fix some leftover util_surface_fill/copy calls 2010-05-18 21:41:15 +02:00
Roland Scheidegger
6f3721a8ec st/mesa: fix wrong argument order 2010-05-18 18:03:37 +02:00
Roland Scheidegger
43234cee40 gallium: implement set_sample_mask() in all drivers
prevents segfault when state trackers try to set default mask.
Other option would be to make this required only for drivers
supporting multisampling, but this seems more clean.
Only dummy implementations (for normal drivers) provided (no driver
supports multisampling yet neither).
2010-05-18 16:20:44 +02:00
Roland Scheidegger
2a15553e43 st/egl: adapt to interface changes 2010-05-17 21:34:30 +02:00
Roland Scheidegger
bf3c8ed481 st/dri: adapt to interface changes 2010-05-17 21:34:03 +02:00
Roland Scheidegger
685bb69416 st/glx: adapt to interface changes 2010-05-17 21:33:53 +02:00
Roland Scheidegger
a127e4709d st/wgl: adapt to interface changes 2010-05-17 21:33:45 +02:00
Roland Scheidegger
c36c3d86b6 st/vega: adapt to interface changes 2010-05-17 21:33:37 +02:00
Roland Scheidegger
48780ec9f9 st/xorg: adapt to interface changes 2010-05-17 21:33:27 +02:00
Roland Scheidegger
8bd87b662f st/python: adapt to interface changes
compile tested only.
Should probably change the python surface_copy/fill functions
also into resource_copy/fill_region functions and adapt the code
using them.
2010-05-17 21:32:41 +02:00
Roland Scheidegger
eb2b668b37 svga: adapt to interface changes
might need further cleanup. Using surfaces internally just to be able to use
the existing code might cause unnecessary copies afaict.
2010-05-17 21:30:01 +02:00
Roland Scheidegger
39b4bf71b5 r300g: adapt to interface changes
might need further cleanup. Using surfaces internally for the u_blitter code
seems nonoptimal.
2010-05-17 21:29:17 +02:00
Roland Scheidegger
b59b23a51d nouveau: adapt to interface changes
this probably needs further cleanup (just getting a surface for the resource
seems quite nonoptimal and potentially cause unnecessary copies I think)
2010-05-17 21:28:14 +02:00
Roland Scheidegger
433701a721 fo: adapt to interface changes 2010-05-17 21:25:27 +02:00
Roland Scheidegger
fd578be828 identity: adapt to interface changes 2010-05-17 21:25:16 +02:00
Roland Scheidegger
bd771cda8e trace: adapt to interface changes 2010-05-17 21:25:07 +02:00
Roland Scheidegger
a02ddd48c5 i965g: adapt to interface changes 2010-05-17 21:24:50 +02:00
Roland Scheidegger
bccf31bf5f i915g: adapt to interface changes 2010-05-17 21:24:04 +02:00
Roland Scheidegger
6c32670706 softpipe: adapt to interface changes 2010-05-17 21:23:46 +02:00
Roland Scheidegger
e121a73d62 llvmpipe: adapt to interface changes 2010-05-17 21:23:31 +02:00
Roland Scheidegger
57a0171225 cell: adapt to interface changes
not even compile tested but fairly trivial
2010-05-17 21:22:23 +02:00
Roland Scheidegger
127328bfad mesa/st: adapt to interface changes
adapt to blit changes, and also handle a bit more msaa state in theory
(incomplete, doesn't handle resolves in any way for now).
2010-05-17 21:19:03 +02:00
Roland Scheidegger
815b75705f gallium/util: adapt util code to interface changes
The util blit functions change their interface (apart from some rename) too
(in particular util_blit_pixels now also takes a pipe_resource as the src blit
argument instead of a surface, as it might just call resource_copy_region).
Maybe the blit util code might need a bit more cleanup, it still doesn't feel
very clean. In particular it seems that util_blit_pixels_tex should probably
disappear, and I think it would be great if the code called by drivers for
blitting (u_blitter.c, which isn't really touched by this change) could somehow
be merged with the u_blit code.
2010-05-17 21:15:20 +02:00
Roland Scheidegger
379db6a36b gallium: clean up resource_copy_region function
Previously, surface_copy was said to allow overlapping blits, and it was
"optional". However, some state trackers actually assumed it is always present,
and quite some code (like in u_blit) assumed overlapping isn't allowed.
Hence, resource_copy_region (and in the same spirit, resource_fill_region) is
now mandatory, but overlapping blits are no longer allowed. A driver can plug
in the cpu fallback util_resource_copy_region if it does not want to provide its
own implementation, though this is not optimal.
2010-05-17 21:02:24 +02:00
Roland Scheidegger
6272d7632a gallium: another interface change for multisampling
due to popular request, use nr_samples parameter in is_format_supported()
instead of new is_msaa_supported() query.
This makes it easily possible to query if a format with a given sample count
is also supported not only as render target, but for sampler views (note that
texture sampling from multisampled resources isn't supported yet).
It is not quite how dx10 format msaa queries work, but we might need to revisit
format queries completely in the future anyway.
2010-05-17 20:52:08 +02:00
Brian Paul
e5ee8b4fae llvmpipe: fix front/back tri culling mix-up 2010-05-17 11:43:43 -06:00
Keith Whitwell
5ebd2fa7da draw: fix front/back error in unfilled pipeline stage 2010-05-14 23:47:05 +01:00