Brian Paul
ffb1f9bded
util: added util_same_surface() helper function
2009-08-06 09:47:13 -06:00
Alan Hourihane
8c223e8eb6
Ensure GL_EXT_blend_equation_separate is enabled when 2.0 is enabled.
2009-08-06 16:16:55 +01: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
Eric Anholt
63d7a2f53f
i965: Fix dangerous warning I let slip in.
2009-08-04 18:07:01 -07:00
Eric Anholt
78c022acd0
i965: Respect CondSwizzle in OPCODE_IF.
...
Fixes piglit glsl-vs-if-bool and progs/glsl/twoside, and will likely be
useful for the looping code.
Bug #18992
2009-08-04 18:06:34 -07:00
Eric Anholt
7007f8b352
i965: Emit conditional code updates as required for GLSL VS if statements.
...
Previously, we'd be branching based on whatever condition code happened to be
laying around.
2009-08-04 18:06:34 -07:00
Eric Anholt
011244853b
i965: Don't set pop_count in the reserved MBZ area of IF statements.
2009-08-04 18:06:34 -07:00
Eric Anholt
8288ab4518
i965: Print out ELSE and ENDIF src1 arguments like IF does.
2009-08-04 18:06:34 -07:00
Roland Scheidegger
8b9a5cfce0
r200: fix off-by-one errors causing 6th texture unit to not work
...
both for normal and cube textures, this fixes demos/multiarb
(with 6 enabled texture units) and fixes #23142 .
2009-08-05 02:33:34 +02:00
Roland Scheidegger
7c0fb3a1be
r200: fix compiler warning (unused var)
2009-08-05 02:33:34 +02:00
Roland Scheidegger
15f5f839b1
radeon: fix miptree comparison breakage
...
another case of image never matching miptree in case of compressed textures
2009-08-05 01:13:22 +02:00
Roland Scheidegger
80cab49481
intel: implement intelCompressedTexSubImage2D
...
similar to the radeon code.
passes tests/texcompsub
2009-08-05 01:13:22 +02:00
Roland Scheidegger
0abc9e7565
tests: also test xoffset in texcompsub test
...
use glCompressedTexSubImage2DARB also with xoffset by splitting into 3 calls
in total. Dunno if the top/bottom reversal is intentional but leave as is.
2009-08-05 01:13:21 +02:00
Eric Anholt
de80eeea0e
intel: Add support for EXT_provoking_vertex.
2009-08-04 15:32:18 -07:00
Eric Anholt
b010814e9c
i965: Spell "conditional" correctly.
2009-08-04 15:32:18 -07:00
Eric Anholt
1d4bace9fc
i965: Hook up the disassembler for INTEL_DEBUG={wm,vs}.
...
I was getting tired of doing the dance of INTEL_DEBUG=batch, copying it out,
and running intel-gen4disasm on it.
2009-08-04 15:32:18 -07:00
Eric Anholt
ce63e9929c
i965: Initial import of disasm code from intel-gen4asm.
...
There's a bunch of stuff from gen4asm and gpu-tools that we probably want
to make into a library instead of cargo-culting it around.
2009-08-04 15:32:18 -07:00
Eric Anholt
def85826a0
i965: warning fix
2009-08-04 15:32:17 -07:00