Younes Manton
2f41095e04
g3dvl: Zero-block optimization.
...
For blocks whose contents are derived completely from ref surfaces, don't
bother zero-ing the corresponding block in the luma/chroma textures, except
for the first such luma, chroma Cb, and chroma Cr each frame. All later
zero blocks are textured from that first zero block.
2008-09-07 15:47:44 -04:00
Younes Manton
0bfbe834d3
g3dvl: Define texcoords seperately for luma, Cb, Cr textures.
...
Need to be able to address each texture separately to do zero-block.
2008-09-07 15:47:43 -04:00
Younes Manton
7891efdac1
g3dvl: Define block texcoords for each vertex instead of reusing pos.
...
This is needed for zero-block optimization.
2008-09-07 15:47:43 -04:00
Patrice Mandin
72b90b7894
Intialize swizzled_surface object
2008-09-02 17:56:10 +02:00
Younes Manton
2ab5e69f16
g3dvl: Use consistent variable names.
2008-09-01 20:22:41 -04:00
Younes Manton
ff1a506651
g3dvl: Use one VB for all MBs, sort MBs at flush to determine placement.
2008-09-01 20:13:50 -04:00
Younes Manton
72bcb69459
g3dvl: Some clean ups.
2008-09-01 14:43:55 -04:00
Younes Manton
29f876cc90
g3dvl: Inline hint for relatively small, frequently called functions.
2008-09-01 14:43:54 -04:00
Younes Manton
e959c23a31
g3dvl: Re-enable buffer rotation, disable high quality 420->444 conversion.
...
Using linear interpolation when upscaling the chroma blocks causes some
discoloration around the edges.
2008-09-01 14:43:54 -04:00
Patrice Mandin
0c47bd0374
nv30: set fp samplers with fragprog generation
2008-08-31 11:10:08 +02:00
Patrice Mandin
248831e741
nv30: activate fp texture units when needed, to get texturing
2008-08-30 22:30:03 +02:00
Younes Manton
4d9d192672
g3dvl: Buffer the entire frame before rendering.
2008-08-28 23:25:13 -04:00
Younes Manton
7f100d04dd
g3dvl: Use rotating buffers to avoid waiting for map().
2008-08-18 00:04:29 -04:00
Stephane Marchesin
f90e50dff9
nv30: add some opcodes.
2008-08-18 03:00:25 +02:00
Younes Manton
6858dd50c9
g3dvl: Modularized rendering, refactored to accommodate VAAPI, other APIs.
2008-08-16 13:04:54 -04:00
Younes Manton
fb2732ff05
g3dvl: Merged tgsi/util and tgsi/exec moved some headers around.
2008-08-16 13:04:54 -04:00
Patrice Mandin
d4c199d056
nv30: set mipmap min/max lod accordingly
2008-08-14 17:24:06 +02:00
Patrice Mandin
a145c107c1
nv30: disable setting nv40 RECT bit, this is not the same on nv30, plus gallium does not support rectangle textures currently, only full POT or NPOT
2008-08-14 16:52:51 +02:00
Patrice Mandin
a7ea6bae4e
nv30: does not support mirror clamp, only mirror repeat
2008-08-14 16:36:52 +02:00
Ben Skeggs
dbec107c25
nv30/nv40: KIL/KILP swapped meanings
2008-08-14 00:22:49 +10:00
Ben Skeggs
56f5c0c001
Merge remote branch 'origin/gallium-0.1' into nouveau-gallium-0.1
2008-08-14 00:20:52 +10:00
Zack Rusin
d8be393cb6
fix compilation
2008-08-13 07:14:47 -04:00
Michal Krol
e7e992b12a
mesa: KIL -> KIL, KIL_NV -> KILP.
2008-08-13 11:19:24 +02:00
Michal Krol
db38708c43
i915: Swap meanings of KIL and KILP.
2008-08-13 11:13:46 +02:00
Michal Krol
e8e75c8c86
cell: KILP is a predicated discard, KIL is a conditional discard.
2008-08-13 11:10:58 +02:00
Michal Krol
f0874d1a6b
tgsi: Swap meanings of KIL and KILP opcodes.
2008-08-13 11:09:20 +02:00
Michal Krol
f633b14b92
gallivm: Translate KIL instead of KILP.
2008-08-13 10:58:54 +02:00
Michal Krol
0c8f4c25ff
draw: Use KIL instead of KILP.
2008-08-13 10:52:55 +02:00
Michal Krol
9804ab9acc
gallium: Make a note that OPCODE_KIL is a conditional kill.
...
Map OPCODE_TEXKILL to OPCODE_KIL.
2008-08-13 09:15:27 +02:00
Brian Paul
4424c66875
gallium: more context clean-up
2008-08-12 18:02:44 -06:00
Brian Paul
a6880ace4c
mesa: glsl: fix error detection of writing to read-only variables
2008-08-12 17:42:13 -06:00
Brian Paul
c01fbc7866
mesa: texture crop rect state
2008-08-12 17:41:57 -06:00
Brian Paul
5af60556ed
mesa: glsl: fix comment
2008-08-12 17:41:21 -06:00
Brian Paul
faad665594
gallium: distinguish between KIL and KILP
...
Note: KIL (unconditional) not done yet.
2008-08-12 12:00:57 -06:00
Brian Paul
8f243d6593
mesa: glsl: enable bzero() in slang_typeinfo_construct()
2008-08-12 11:47:46 -06:00
Brian Paul
ee7296d319
mesa: glsl: remove reads of output regs from fragment shaders too
2008-08-12 10:00:59 -06:00
Brian Paul
af3d9dba56
mesa: set point state
2008-08-12 10:00:36 -06:00
Brian Paul
49c2ee9d99
mesa: allow _mesa_remove_output_reads() to work on fragment programs
2008-08-12 10:00:02 -06:00
Brian Paul
0fe0dc32e4
mesa: glsl: better error messages
2008-08-12 08:53:49 -06:00
Brian Paul
ef82311b3d
mesa: glsl: regenerated files
2008-08-12 08:53:49 -06:00
Brian Paul
3e0bbd404a
mesa: glsl: additional constructors
2008-08-12 08:53:49 -06:00
Brian Paul
42b262d01a
mesa: glsl: better mod() functions
2008-08-12 08:53:49 -06:00
José Fonseca
3eea56dc93
mesa: Rename sources to sources.mak.
2008-08-12 13:00:31 +01:00
José Fonseca
0f5a2ebec4
gallium: Disable debug break by default on windows.
2008-08-12 13:00:27 +01:00
José Fonseca
80d3a653f0
tgsi: Prevent division by zero.
2008-08-12 13:00:20 +01:00
José Fonseca
3b5ee3d6de
gallium: Allow compilation inside X.
2008-08-12 13:00:18 +01:00
José Fonseca
cf16285d1b
gdi: Remove CVS keyword.
2008-08-12 13:00:13 +01:00
José Fonseca
ebb5855821
glut: Remove EOF characters.
2008-08-12 13:00:10 +01:00
José Fonseca
506b8ebdba
python: Use st_buffers instead of pipe_buffers.
2008-08-12 11:34:41 +01:00
José Fonseca
4a77fadd10
trace: More dump fixes.
2008-08-12 11:34:41 +01:00