Commit graph

27608 commits

Author SHA1 Message Date
Jakob Bornecrantz
3da77b33bb i915: Improved the not used tile code 2008-06-13 20:46:14 +02:00
Jakob Bornecrantz
d1397fd779 i915: Fix offsets not being used for surface targets 2008-06-13 19:07:29 +02:00
Jakob Bornecrantz
c341094921 i915: Fix most of the clear problems
trivial/clear-undefined still fails
2008-06-13 19:03:51 +02:00
Michal Krol
62f03a9ecc gallium: Fix PIPE_FORMAT_A2B10G10R10_UNORM definition.
Whoops!
2008-06-13 15:21:11 +02:00
Michal Krol
b03a0373a2 gallium: Add PIPE_FORMAT_A2B10G10R10_UNORM. 2008-06-13 14:58:24 +02:00
Michal Krol
6f548c88e2 gallium: Allow pipe format component sizes to be specified
with finer granularity.

This will allow us to define A2R10G10B10 format.
2008-06-13 14:50:29 +02:00
Jakob Bornecrantz
de35bf5bdc i915: Messed up lineloop now works 2008-06-13 14:11:20 +02:00
Jakob Bornecrantz
e9b8df69b4 i915: Support all primtive types in vbuf path 2008-06-13 12:21:58 +02:00
Brian Paul
20ee00754d gallium: disable the codegen for TGSI_OPCODE_EXPBASE2 for now.
The x86 code seems to fail for exponents of 4 or larger.
See glean's vertProg1/EX2 test.
2008-06-12 16:01:43 -06:00
Keith Whitwell
08f1b8ac70 gallium: fix SSE codegen for instructions that use both a CONSTANT and IMMEDIATE
Fixes codegen for instructions like MUL dst, CONST[0], IMM[0];  the two operands
would up getting aliased in the x86/sse code.

Fixes glean/vertProg1/fogparams test.
2008-06-12 16:01:05 -06:00
Zack Rusin
68ef8e89a5 glsl: implement variable array indexes 2008-06-12 14:15:37 -04:00
Keith Whitwell
23d340c9ed pb: don't assert(0) on failure to allocate - this is a normal condition in many drivers 2008-06-12 14:41:25 +01:00
José Fonseca
2fed8d8496 gallium: Support L16 pixel format. 2008-06-12 10:56:19 +09:00
José Fonseca
0f552f500c pipebuffer: Fix improper memory free. 2008-06-12 10:56:16 +09:00
José Fonseca
23422d603a gallium: Implement debug_get_num_option.
For numeric options.
2008-06-12 10:56:04 +09:00
Alan Hourihane
6f7ed99b30 revert the DRI2 commits 2008-06-12 00:11:54 +01:00
Keith Whitwell
2161b0fafc draw: don't assume vertex position is in data[0] 2008-06-11 23:48:45 +01:00
Keith Whitwell
807f8f177b draw: preserve specular alpha when flatshading -- may be FOGC 2008-06-11 18:47:43 +01:00
Alan Hourihane
d45e99060d fix card_extensions 2008-06-11 15:50:07 +01:00
Alan Hourihane
f851ba705a fix legacy DRI 2008-06-11 15:35:12 +01:00
Alan Hourihane
1bcb817167 Hook gallium i915 up to DRI2 2008-06-11 14:52:55 +01:00
Alan Hourihane
4dd1917e4b small optimization 2008-06-11 14:51:41 +01:00
Alan Hourihane
4566b006f1 Bring in DRI2 changes 2008-06-11 14:10:08 +01:00
Keith Whitwell
bd92642100 draw: remove another debug assert on failover to generic vs varient 2008-06-11 09:36:58 +01:00
Keith Whitwell
ab399b555c draw: remove debug assert on failover to generic vs varient 2008-06-11 09:19:48 +01:00
Keith Whitwell
aa7c21a45b Revert "draw: no need to rearrange most primitives in vcache for flatshade-first"
This reverts commit ad44e68706.
2008-06-10 16:56:32 +01:00
Keith Whitwell
ad44e68706 draw: no need to rearrange most primitives in vcache for flatshade-first
The driver/pipeline will still be applying flatshade-first state to the
triangles emitted from vcache, so there's no need to rotate the vertices
of most primitives.  The only exception is POLYGON, as explained in the
code.
2008-06-10 14:48:57 +01:00
Keith Whitwell
14a13e3767 draw: fix edgeflags on clipped poly emit 2008-06-10 14:48:57 +01:00
Keith Whitwell
061e1c6c57 draw: rework splitting of fan/loop prims in varray.c, fix flatshade issues 2008-06-10 09:23:45 +01:00
José Fonseca
7d3bab537c softpipe: Replace GETENV by debug_get_bool_option. 2008-06-10 08:52:10 +09:00
José Fonseca
3531c5284b gallium: Detect buffer overflows in the homegrown memory debugger. 2008-06-10 08:38:31 +09:00
José Fonseca
0c5b1a8ffb pipebuffer: Alternative buffer manager.
For situations where one has a reserve memory pool, or
a faster/slower pool.
2008-06-10 08:38:24 +09:00
José Fonseca
4b52f4df1b pipebuffer: Be more lenient when matching cached buffer sizes.
Reuse cached buffers up to twice as big a requested.
2008-06-10 08:37:38 +09:00
José Fonseca
a70684bf25 gallium: Deprecate GETENV. Replace by debug_get_bool_option.
debug_get_bool_option will interpret "n", "no", "0", "f", or
"false" as FALSE; and everything else as TRUE. The default value
(used when the variable is not set) is received as a parameter.
2008-06-10 08:33:21 +09:00
Brian Paul
6420a62cf0 egl: s/softpipe_egl.so/egl_softpipe.so/ 2008-06-09 12:28:07 -06:00
Brian Paul
1c316f1e82 gallium: disable a tgsi_dump() call 2008-06-09 09:27:52 -06:00
Jakob Bornecrantz
cfc23bc54c i915: Disable color buffer writes if no color buffer is attached 2008-06-09 16:33:28 +02:00
Younes Manton
d785a0c8b2 Merge branch 'gallium-0.1' of ssh://ymanton@git.freedesktop.org/git/nouveau/mesa into gallium-0.1 2008-06-08 20:24:13 -04:00
Younes Manton
f5a3768c4e g3dvl: Reduce number of input vert streams by copying, reusing in shaders.
Reduce number of input vertex streams by using same texcoord stream for
chroma textures, reusing pos stream when calculating texcoords for P, B
macroblocks.
2008-06-08 14:46:21 -04:00
Younes Manton
c11a7ec821 Initial commit for g3dvl.
Initial commit for g3dvl, contains support for basic XvMC features.

- Context, surface, block, macroblock creation and deletion
- Surface rendering
  - Frame pictures
  - Frame based motion compensation
  - Intra-coded macroblocks
  - Predicted macroblocks
  - Bi-directionally predicted macroblocks
- Surface display
  - Color conversion
  - Scaling
2008-06-08 03:04:14 -04:00
Ben Skeggs
edea59e8e5 nouveau: kill off surface_alloc_storage() 2008-06-08 12:51:04 +10:00
Keith Whitwell
a47c222803 draw: fix temp vs output buffer typo in vsvg_run_elts 2008-06-07 13:28:22 +01:00
Brian Paul
ab102d5a9f egl: clean-ups 2008-06-06 15:52:47 -06:00
Brian Paul
f0fdf0c23a gallium: additional comment 2008-06-06 15:52:47 -06:00
Keith Whitwell
463a47bf59 draw: fix intermediate buffer confusion in draw_vs_varient.c
The final output buffer can't be used to hold intermediate results
as the intermediate vertex size may be greater than the final vertex
size, and in any case the output buffer may be uncached in hw drivers.
2008-06-06 18:11:01 +01:00
Brian Paul
0a84d327de egl: open X display if needed 2008-06-06 10:42:13 -06:00
Keith Whitwell
0931b421d6 draw: make sure middle-end primitive is uptodate in vcache 2008-06-06 15:08:05 +01:00
Jakob Bornecrantz
1a2c445baf i915: Moved EGL_i915 to the common code 2008-06-06 14:51:11 +02:00
Jakob Bornecrantz
adbdabb85a i915: Moved pipe_buffer and i915_winsys functions to a common folder 2008-06-06 14:49:02 +02:00
José Fonseca
f27c7729a9 draw: Compile draw_vs_aos only on x86. 2008-06-06 14:49:44 +09:00