Brian Paul
7bf6efe780
mesa: use _mesa_bufferobj_mapped()
2009-08-07 09:50:38 -06:00
Brian Paul
67153a4518
mesa: new _mesa_bufferobj_mapped() helper function
2009-08-07 09:50:38 -06:00
Brian Paul
f738b913e6
mesa: use valid_fragment_program() helper
2009-08-07 09:50:38 -06:00
Brian Paul
94504be63a
mesa: test DrawBuffer, not ReadBuffer in _mesa_dest_buffer_exists()
...
Also, update comments.
2009-08-07 09:50:38 -06:00
Brian Paul
2dec62405f
mesa: fix some incorrect error checks in _mesa_error_check_format_type()
...
Plus, simplify the code a bit.
2009-08-07 09:50:38 -06:00
Brian Paul
3335b847bf
mesa: do error checking on glCopyPixels() type parameter
...
Plus, move some other error checks before state validation and update
some comments.
2009-08-07 09:50:38 -06:00
Brian Paul
28cfd37bb3
mesa: use a more logical flag in _mesa_set_vp_override()
2009-08-07 09:50:38 -06:00
Brian Paul
b28854088b
mesa: new _mesa_copy_client_array() function
2009-08-07 09:50:38 -06:00
Brian Paul
692c50b388
i965: minor context comments
2009-08-07 09:50:38 -06:00
Brian Paul
922ef4a119
intel: minor context comments
2009-08-07 09:50:38 -06:00
Brian Paul
6e0be1cc34
intel: move blit call out of assert()
2009-08-07 09:50:38 -06:00
Brian Paul
4d24feddff
intel: fix typo: s/softare/software/
2009-08-07 09:50:37 -06:00
Brian Paul
3105fd760b
mesa: fix comment
2009-08-07 09:50:37 -06:00
Dave Airlie
239c8bfb10
radeon: enable tiling fallbacks in 3D driver.
...
Only really got good testing on r500 so far, need to enable in
DDX and play some more.
2009-08-07 19:40:59 +10:00
Dave Airlie
2dc3fb7803
radeon span: add r200 depth/stencil span read/writing
...
this should only really affect DRI2 since we mostly have a surface in DRI1.
I don't think this is perfect yet, but it is a better start than nothing.
2009-08-07 16:16:08 +10:00
Dave Airlie
eaf87e84c3
r200: fix scissor emission for r200 under kms
2009-08-07 14:13:19 +10:00
Ian Romanick
3cb6f3bf21
GL_ARB_vertex_array_bgra is (basically) a synonym for the EXT version
2009-08-06 15:26:35 -05:00
Alan Hourihane
45b12edcbe
Ensure GL_EXT_blend_equation_separate is enabled when 2.0 is enabled.
2009-08-06 15:56:05 +01:00
Chia-I Wu
e179ab2815
progs/egl: Add xeglbindtex, really.
...
Missed this file in the earlier commit.
2009-08-06 08:40:03 -06:00
Jakob Bornecrantz
8fdda95162
mesa: Ignores
...
Got tired of seeing these files in git status all the time
2009-08-06 13:59:48 +01:00
Jakob Bornecrantz
8662f2c542
i915g: Compile with scons
2009-08-06 13:50:46 +01:00
Jakob Bornecrantz
c818efd0b3
identity: Use the correct texture
2009-08-06 13:20:49 +01:00
Eric Anholt
f44916414e
i965: Fix source depth reg setting for FSes reading and writing to depth.
...
For some IZ setups, we'd forget to account for the source depth register
being present, so we'd both read the wrong reg, and write output depth to
the wrong reg.
Bug #22603 .
2009-08-05 20:20:02 -07:00
Jakob Bornecrantz
b6c6551686
st/xorg: If we have DRI2 we should also have some sort of hw support
2009-08-06 00:52:13 +01:00
Jakob Bornecrantz
b6c9401f13
i915g: Always run in sync with the HW
2009-08-06 00:52:13 +01:00
Jakob Bornecrantz
901b87547e
i915g: The i915 seems more happier with sampler domain so lets use that
2009-08-06 00:52:13 +01:00
Jakob Bornecrantz
7a20f50c60
i915g: Dirty fix for VBO module double flush assert
2009-08-06 00:52:13 +01:00
Jakob Bornecrantz
66b00380a2
i915g: Switch to mapping the batch buffer instead of using subdata
2009-08-06 00:52:13 +01:00
Chia-I Wu
246f58d922
progs/egl: Add xeglbindtex.
...
This is a simple demo for eglBindTexImage. It uses a OpenGL context,
instead of the required OpenGL ES one. But it still suffices the demo
and test purpose.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-05 16:08:48 -06:00
Chia-I Wu
6f97a41964
egl_softpipe: Add support for pbuffer binding.
...
This adds support for eglBindTexImage and eglReleaseTexImage. They rely
on the state tracker to do the real work.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-05 16:08:07 -06:00
Chia-I Wu
0153614cb0
egl_softpipe: Flush when switching current context.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-05 16:07:39 -06:00
Chia-I Wu
54a7115fc2
mesa/st: Add support for binding pipe surface to texture.
...
This commit adds functions to bind a pipe surface to a texture. This
allows texturing directly from the surface.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-05 16:07:19 -06:00
Chia-I Wu
42b6b067ac
mesa/main: Add functions to clear and dirty texture objects.
...
This commit adds a function to clear a texture object such that there is
no image data associated with it, and a function to dirty it so that it
will be re-tested for completeness.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-05 16:06:50 -06:00
Brian Paul
1f71305993
Merge branch 'mesa_7_5_branch'
...
Conflicts:
src/mesa/main/state.c
2009-08-05 14:13:48 -06:00
Brian Paul
5b3428d745
docs:fix glBlitFramebuffer() for Gallium
2009-08-05 13:50:21 -06:00
Brian Paul
a59579c983
st/mesa: implement BlitFramebuffer() for depth/stencil (incomplete)
...
We now handle the case of blitting Z+stencil to/from combined Z/stencil
surfaces. But Z-only or stencil-only and separate depth/stencil surfaces
are not yet implemented.
2009-08-05 13:46:47 -06:00
Brian Paul
dcebe220f4
mesa: generate GL_INVALID_OPERATION for missing z/stencil when blitting
...
If glBlitFramebuffer() is called with GL_DEPTH_BUFFER_BIT or
GL_STENCIL_BUFFER_BIT and the src/dst depth/stencil buffers are absent,
report an error.
2009-08-05 13:44:59 -06:00
Brian Paul
f792137593
st/mesa: fix Y inversion and optimize st_BlitFramebuffer()
...
Need to check for Y inversion separately for src/dest buffers.
If both the src and dest regions are upside down, make them right-side
up for a better chance at a fast path.
progs/tests/copypixrate -blit is much faster now.
2009-08-05 13:26:19 -06:00
Brian Paul
2cd33afa00
util: added comment/question about blit clipping
2009-08-05 13:22:26 -06:00
Brian Paul
727b2d747e
mesa: make _mesa_clip_blit() a shared function
2009-08-05 13:21:59 -06:00
Brian Paul
4f36164024
util: added util_blit_pixels() overlap test
...
A comment alluded to this. Now it's checked.
2009-08-05 13:19:03 -06:00
Brian Paul
05d393f59f
util: fix util_blit_pixels() test for surface_copy() path
...
For the surface_copy() path require same format, no flipping and no stretching.
Fixes progs/tests/copypixrate -blit
2009-08-05 13:09:15 -06:00
Brian Paul
854ea483d4
util: reformatting and comments
2009-08-05 13:08:19 -06:00
Jakob Bornecrantz
3905119b47
st/xorg: Make it work again
2009-08-05 19:29:31 +01:00
Jakob Bornecrantz
8ccec83e63
st/egl: Create primary texture not display target
2009-08-05 19:29:30 +01:00
Jakob Bornecrantz
0500404cdf
i915g: Treat primary textures as scanout buffers
2009-08-05 19:29:30 +01:00
Jakob Bornecrantz
ec269c198a
i915g: Link with trace on EGL and Xorg
2009-08-05 19:29:30 +01:00
Jakob Bornecrantz
1f9ee623d1
trace: Use correct texture in drm_api wrapper
2009-08-05 19:29:29 +01:00
Jakob Bornecrantz
6160c8be57
softpipe: Also defere primary textures to backend
2009-08-05 19:29:29 +01:00
Dave Airlie
ac3de85eb6
r200: emit colorpitch
2009-08-05 11:26:29 +10:00