Michel Dänzer
b0ddfe8a3d
st/xorg: Use generic semantic for Composite mask coordinates.
2009-09-25 20:38:49 +02:00
Michel Dänzer
ac2e0ddcd8
st/xorg: Flesh out EXA PrepareComposite hook a little.
...
Check that the formats are supported, and don't crash with source-only
pictures.
2009-09-25 20:38:49 +02:00
Michel Dänzer
b97547027e
st/xorg: Use I8 format instead of A8 for depth 8 pixmaps.
...
Seems to work better for Composite acceleration.
2009-09-25 20:38:49 +02:00
Michel Dänzer
67fb13ba68
st/xorg: Bind rasterizer state for copies.
2009-09-25 20:38:49 +02:00
Michel Dänzer
7edda9350a
st/xorg: Source-only pictures always have format PICT_a8r8g8b8.
...
See xserver/render/picture.c:createSourcePicture(). This both simplifies the
code and avoids a crash because pFormat is NULL.
2009-09-25 20:38:49 +02:00
Michel Dänzer
07f107467e
st/xorg: Better checks for unsupported component alpha pictures.
2009-09-25 20:38:49 +02:00
Michal Krol
69c7fc128c
softpipe: Grab fs output z from the correct file.
2009-09-25 18:52:13 +02:00
Michal Krol
a0fbc01cea
softpipe: Do not advertise support for L16 and YCBCR formats.
2009-09-25 18:52:12 +02:00
Michal Krol
02b81187dc
radeon: Fix newlines.
2009-09-25 18:51:55 +02:00
Brian Paul
ecf3091cc7
Merge branch 'mesa_7_6_branch'
...
Conflicts:
src/mesa/drivers/dri/intel/intel_clear.c
2009-09-25 09:00:19 -06:00
Vinson Lee
46da1f2c9b
mesa: move declaration before code
2009-09-25 08:51:57 -06:00
Christoph Bumiller
5f4f7ad965
nv50: fix TEX for WriteMask not equal 0xf
...
If you e.g. only need alpha, it ends up in the first reg,
not the last, as it would when reading rgb too.
2009-09-25 11:01:45 +02:00
Christoph Bumiller
513cadf5af
nv50: actually enable view volume clipping
...
Until now, only primitives wholly outside the view volume
were not drawn.
This was only visibile when using a viewport smaller than
the window size, naturally.
2009-09-25 11:01:45 +02:00
Christoph Bumiller
001daf78c8
nv50: RCP and RSQ cannot load from VP inputs
2009-09-25 11:01:45 +02:00
Christoph Bumiller
ef6805710d
nv50: fix CEIL and TRUNC
...
Separated the integer rounding mode flag for cvt.
2009-09-25 11:01:45 +02:00
Christoph Bumiller
e2b8dc3e38
nv50: implement BGNLOOP, BRK, ENDLOOP
...
There's a good chance a loop won't execute correctly
though since our TEMP allocation assumes programs to
be executed linearly. Will fix later.
2009-09-25 11:01:44 +02:00
Christoph Bumiller
1196f9fbd6
nv50: implement IF, ELSE, ENDIF opcodes
2009-09-25 11:01:44 +02:00
Cooper Yuan
16a6ca9b2b
r300g: add texture format for xvmc
2009-09-25 15:15:20 +08:00
Chia-I Wu
5a1e25afac
mesa/main: Make FEATURE_convolve follow feature conventions.
...
As shown in mfeatures.h, this allows users of convolve.h to work without
knowing if the feature is available.
2009-09-24 21:48:39 -06:00
Chia-I Wu
cb4f24e51d
mesa/main: Make FEATURE_colortable follow feature conventions.
...
As shown in mfeatures.h, this allows users of colortab.h to work
without knowing if the feature is available.
2009-09-24 21:48:22 -06:00
Chia-I Wu
dbb8fb8de9
mesa/main: Make FEATURE_pixel_transfer follow feature conventions.
...
As shown in mfeatures.h, this allows users of pixel.h to work without
knowing if the feature is available.
2009-09-24 21:48:05 -06:00
Chia-I Wu
17099f5e19
mesa/main: Add comments to mfeatures.h.
...
The comments document the conventions that a feature may follow.
2009-09-24 21:47:45 -06:00
Brian Paul
c9ddd6f810
progs/perf: glGenerateMipmap() test
2009-09-24 19:38:04 -06:00
Brian Paul
0876618a8d
mesa: _mesa_meta_GenerateMipmap() now working
...
Handles GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP.
But GL_TEXTURE_3D and texture borders not supported yet.
2009-09-24 19:36:20 -06:00
Brian Paul
e33ea11c14
mesa: remove: unused gl_vertex_program::TnlData field
2009-09-24 19:34:19 -06:00
Eric Anholt
cc8084932c
intel: Flush the batch when we're about to subdata into a VBO.
...
This fixes the clears in openarena with the new metaops clear code, and
the new piglit vbo-subdata-sync test.
Bug #23857 .
2009-09-24 16:24:46 -07:00
Eric Anholt
54107a0979
i965: Clean up some mess with the batch cache.
...
Its flagging of extra state that's already flagged by the vtbl new_batch
when appropriate was confusing my tracking down of the OA clear bug.
2009-09-24 16:24:46 -07:00
Zack Rusin
228aa45fcb
st/xorg: start working on the Xv acceleration code
2009-09-24 19:20:41 -04:00
Zack Rusin
80965fca74
st/xorg: fills are supported plussome minor clenups
2009-09-24 19:20:41 -04:00
Zack Rusin
53d2fa46e7
st/xorg: add easier way of disabling/enabling acceleration
2009-09-24 19:20:41 -04:00
Brian Paul
01249c6d56
llvmpipe: add missing __FUNCTION__ parameter to debug_printf() calls
2009-09-24 16:08:47 -06:00
Brian Paul
a665a3416e
llvmpipe: increase max 3D texture size to 256
2009-09-24 16:07:45 -06:00
Brian Paul
29d27229a9
Merge branch 'mesa_7_6_branch'
...
Conflicts:
src/mesa/vbo/vbo_exec_array.c
2009-09-24 16:06:21 -06:00
Brian Paul
940ca2e837
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch
2009-09-24 16:01:26 -06:00
Vinson Lee
1730b8db12
softpipe: Increase GL_MAX_3D_TEXTURE_SIZE to 256.
2009-09-24 15:59:57 -06:00
Eric Anholt
726a04a2cd
i965: Emit zero initialization for NV VP temporaries as required.
...
This is similar to what r300 does inside the driver, but I've added it as
a generic option since it seems most hardware will want it.
Fixes piglit nv-init-zero-reg.vpfp and nv-init-zero-addr.vpfp.
2009-09-24 13:34:06 -07:00
Eric Anholt
a9a47afe7e
i965: Remove assert about NV_vp now that it somewhat works.
2009-09-24 13:34:06 -07:00
Eric Anholt
9018a7dd17
i965: Load NV program matrices when required.
2009-09-24 13:34:06 -07:00
Eric Anholt
601769a2c0
mesa: Initialize NV_vertex_program fields for the parameter lists and such.
...
This helps let drivers treat NV_vp like ARB_vp.
2009-09-24 13:34:06 -07:00
Brian Paul
60b152a1b3
mesa: remove glEnable(GL_DEPTH_BOUNDS_TEST_EXT) check/warning
...
At the time of the enable there may not be a Z buffer, but one
may be attached to the FBO later.
2009-09-24 14:24:14 -06:00
Brian Paul
adfa778c8e
mesa: remove rgbMode check in enable_texture()
...
If the currently bound FBO isn't yet validated it's possible for
rgbMode to be zero so we'll lose the texture enable.
This could fix some FBO rendering glitches, but I don't know of
any specific instances.
2009-09-24 14:19:06 -06:00
Brian Paul
b849c6f1b3
intel: use default array/element buffers in intel_generate_mipmap()
...
If there happened to be a bound VBO when intel_generate_mipmap() was
called we blew up because of a bad vertex array pointer.
Fixes regnumonline, bug 23859.
2009-09-24 12:41:14 -06:00
Brian Paul
f0339f502c
mesa: replace assertion with no-op function assignment
2009-09-24 12:37:34 -06:00
Brian Paul
964792b025
mesa: added comment
2009-09-24 12:37:06 -06:00
Brian Paul
1a81611725
vbo: limit number of warnings to 10
...
Otherwise some apps will emit tons of warnings.
2009-09-24 12:36:05 -06:00
Pauli Nieminen
fd56bee6c4
Merge branch 'mesa_7_6_branch'
2009-09-24 20:39:16 +03:00
Pauli Nieminen
1d2dca194c
radeon: Fix scissors for r600 KMS.
...
Radeon generic scissors code had problem that some of code was using exclusive
and some inclusive bottom right corner. Only r600 driver is using exclusive
coordinate so changed generic code to pass inclusive coordinate and r600 driver
changes BR coordinate to be exclusive.
2009-09-24 20:37:55 +03:00
Brian Paul
c9f7a23ef0
Merge branch 'mesa_7_6_branch'
...
Conflicts:
src/mesa/drivers/dri/r600/r700_assembler.c
src/mesa/drivers/dri/r600/r700_chip.c
src/mesa/drivers/dri/r600/r700_render.c
src/mesa/drivers/dri/r600/r700_vertprog.c
src/mesa/drivers/dri/r600/r700_vertprog.h
src/mesa/drivers/dri/radeon/radeon_span.c
2009-09-24 11:03:16 -06:00
Brian Paul
7549a8397b
Merge branch 'mesa_7_5_branch' into mesa_7_6_branch
2009-09-24 10:52:15 -06:00
Brian Paul
6be2bc56af
gallium/trace: casts to silence warnings
2009-09-24 10:47:42 -06:00