Similar to what was done for Surface9, track the dirty region
only in VolumeTexture9.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/basetexture9.c | 9 +--
src/gallium/state_trackers/nine/volume9.c | 82 ++
src/gallium/state_trackers
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/basetexture9.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/state_trackers/nine/basetexture9.c
b/src/gallium/state_trackers/nine/basetexture9.c
index cc74cc9..728aafd 100644
--- a/src/gallium
For sw cursor we do not tell wine the cursor position (the app
tells us directly). We shouldn't use ID3DPresent_GetCursorPos.
device-cursor.pos already contains the coordinates the app
gave us.
Signed-off-by: Axel Davy axel.d...@ens.fr
Reviewed-by: David Heidelberg da...@ixit.cz
---
src/gallium
From: Patrick Rudolph s...@das-labor.org
Add support for multiple cards and fill in Windows like card name, driver name
and version info.
Use fallback for unknown vendors and unknown card names.
Reviewed-by: Axel Davy axel.d...@ens.fr
Signed-off-by: Patrick Rudolph s...@das-labor.org
---
src
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/cubetexture9.c | 6 --
src/gallium/state_trackers/nine/surface9.c | 4 ++--
src/gallium/state_trackers/nine/texture9.c | 10 ++
src/gallium/state_trackers/nine/volumetexture9.c | 8
Signed-off-by: Axel Davy axel.d...@ens.fr
Reviewed-by: David Heidelberg da...@ixit.cz
---
src/gallium/state_trackers/nine/device9.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/nine/device9.c
b/src/gallium/state_trackers/nine/device9.c
index
From: Patrick Rudolph s...@das-labor.org
Align texture memory on 32 byte boundry to allow SSE/AVX memcpy to work on
locked rects.
This fixes issue #88.
Reviewed-by: David Heidelberg da...@ixit.cz
Reviewed-by: Axel Davy axel.d...@ens.fr
Signed-off-by: Patrick Rudolph s...@das-labor.org
---
src
Signed-off-by: Axel Davy axel.d...@ens.fr
Reviewed-by: David Heidelberg da...@ixit.cz
---
src/gallium/state_trackers/nine/device9.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/gallium/state_trackers/nine/device9.c
b/src/gallium/state_trackers/nine/device9
From: Patrick Rudolph s...@das-labor.org
Set all values to 0 after allocation. Found using valgrind.
Reviewed-by: Axel Davy axel.d...@ens.fr
Signed-off-by: Patrick Rudolph s...@das-labor.org
---
src/gallium/state_trackers/nine/device9.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion
Signed-off-by: Axel Davy axel.d...@ens.fr
Reviewed-by: David Heidelberg da...@ixit.cz
---
src/gallium/state_trackers/nine/device9.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/gallium/state_trackers/nine/device9.c
b/src/gallium/state_trackers/nine/device9
If the texture is bound and dirty_mip is true,
BASETEX_REGISTER_UPDATE adds the texture to the list
of things to update before the next draw call.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/cubetexture9.c | 4 +++-
src/gallium/state_trackers/nine/texture9.c
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/surface9.c | 10 ++
src/gallium/state_trackers/nine/volume9.c | 9 +
2 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/src/gallium/state_trackers/nine/surface9.c
b/src/gallium
From: Patrick Rudolph s...@das-labor.org
Mimic WindowsXp behaviour and allow negative values in the rectangle passed.
Add comment to point out behaviour used.
Reviewed-by: Axel Davy axel.d...@ens.fr
Signed-off-by: Patrick Rudolph s...@das-labor.org
---
src/gallium/state_trackers/nine/surface9.c
Both Points and Point Sprites are rasterized like quads,
according to d3d9 doc and gallium rasterizer doc.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/nine_pipe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/nine
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/cubetexture9.c | 6 +-
src/gallium/state_trackers/nine/texture9.c | 3 +++
src/gallium/state_trackers/nine/volumetexture9.c | 3 +++
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/gallium
IT is better check if the surface was created with RT flag,
instead of checking capability (llvmpipe was complaining)
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/device9.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/gallium
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/basetexture9.c | 15 +++
src/gallium/state_trackers/nine/basetexture9.h | 3 +++
src/gallium/state_trackers/nine/device9.c | 12
3 files changed, 26 insertions(+), 4 deletions(-)
diff
From: Patrick Rudolph s...@das-labor.org
Tests showed, that in case of errors, the pBits pointer is set to NULL.
The pBits field isn't set to NULL in case of an already locked object.
Reviewed-by: Axel Davy axel.d...@ens.fr
Signed-off-by: Patrick Rudolph s...@das-labor.org
---
src/gallium
From: David Heidelberg da...@ixit.cz
Fixes bug: fdo #89978
Signed-off-by: David Heidelberg da...@ixit.cz
Cc: 10.4 10.5 10.6 mesa-sta...@lists.freedesktop.org
---
configure.ac | 4
1 file changed, 4 insertions(+)
diff --git a/configure.ac b/configure.ac
index 4e751e3..c355092 100644
---
hesitated to send them, but I'd still like have them
in.
Patches 61-67 are some more fixes or improvements
Patches 68-71 do silent some compilation warnings
Axel Davy (55):
st/nine: Fix Swizzle for ATI2 format
st/nine: Always set point_quad_rasterization to 1
st/nine: fix
On 09/07/2015 15:33, Emil Velikov wrote :
Yakes forgot about that one. From a quick look we can (I know it feels
durty) use readlink(
/sys/dev/char/$(major):$(minor)).
Everything seems to be there - bus type and exact location of the
device on the bus. It's limited to sysfs users, but they are
by udev with the device.
Perhaps there is another way to compute that tag though.
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
), and then you don't
have to authenticate.
In case render-nodes are not available, then it's ok not to advertise
the extension.
Yours,
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa
the DRI2 implementation. It was
misnamed.
Thus the answer to your question is yes.
Yours,
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
having a zero copy mechanism for wayland swrast.
Yours,
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
If one side is NaN, then
!(x == y) is true, whereas x != y is false
On 25/05/2015 21:01, Ilia Mirkin wrote :
On Mon, May 25, 2015 at 2:53 PM, Matt Turner matts...@gmail.com wrote:
It's that the compiler thinks that (!x == y) is a typo for !(x == y).
I have to say, I think the first does look
Le 11/05/2015 17:42, Matt Turner a écrit :
On Sat, May 9, 2015 at 4:20 AM, Axel Davy axel.d...@ens.fr wrote:
for drmGetNodeTypeFromFd, it looks like a very recent libdrm function, and
we would require libdrm 2.4.60, which is quite recent. Currently mesa
requires 2.4.38, when libdrm is needed. I
On Fri, 8 May 2015, Emil Velikov wrote:
Shouldn't we authenticate with the correct gpu or master/render node ?
This implementation will auth with GPU1, and then use GPU2 which seems
a bit odd. I might be missing something ?
The original patches did do differently: when GPU1 was discovered
a very recent libdrm function,
and we would require libdrm 2.4.60, which is quite recent. Currently
mesa requires 2.4.38, when libdrm is needed. I guess we cannot require
2.4.60 for now.
Yours,
Axel Davy
___
mesa-dev mailing list
mesa-dev
It is possible the server advertises a render-node.
In that case no authentication is needed,
and Gem names are forbidden.
Reviewed-by: Dave Airlie airl...@redhat.com
Reviewed-by: Daniel Stone dani...@collabora.com
Signed-off-by: Axel Davy axel.d...@ens.fr
v2: do not check
Le 06/05/2015 03:00, Dave Airlie a écrit :
On 2 May 2015 at 20:15, Axel Davy axel.d...@ens.fr wrote:
Only EGL_WINDOW_BIT is supported. Remove tests related.
Is this there no plans to support pixmap/pbuffer/ or any of the other bits?
Seems like a step in the wrong direction if we really should
a LIBGL_DRI3_DISABLE env var.
Does this one bring something different ?
Yours,
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
be avoided by upgrading this API.
There doesn't seem to be interest in doing this work for a small
gain for something that's not as efficient as hw rendering anyway.
Axel Davy (9):
egl/wayland: properly destroy wayland objects
doc/egl: Remove depreciated EGL_SOFTWARE
glx/dri3: Add additional check
Only EGL_WINDOW_BIT is supported. Remove tests related.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/egl/drivers/dri2/platform_wayland.c | 38 +++--
1 file changed, 13 insertions(+), 25 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_wayland.c
b/src/egl
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/egl/drivers/dri2/egl_dri2.c | 5 +-
src/egl/drivers/dri2/egl_dri2.h | 4 +
src/egl/drivers/dri2/platform_wayland.c | 704 +++-
3 files changed, 696 insertions(+), 17 deletions(-)
diff --git a/src
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/egl/drivers/dri2/egl_dri2_fallbacks.h | 9 +
src/egl/drivers/dri2/platform_x11.c | 11 +--
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/egl/drivers/dri2/egl_dri2_fallbacks.h
b/src/egl/drivers/dri2
It is possible the server advertises a render-node.
In that case no authentication is needed,
and Gem names are forbidden.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/egl/drivers/dri2/egl_dri2.h | 1 +
src/egl/drivers/dri2/platform_wayland.c | 58
the wl_registry and the wl_queue allocated weren't destroyed.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/egl/drivers/dri2/egl_dri2.c | 2 ++
src/egl/drivers/dri2/platform_wayland.c | 5 -
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/egl/drivers/dri2
Enables to use dri config for swrast, like vblank_mode.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/egl/drivers/dri2/egl_dri2.c| 21 ++---
src/gallium/state_trackers/dri/drisw.c | 1 +
src/mesa/drivers/dri/swrast/swrast.c | 1 +
3 files changed, 12 insertions
EGL_SOFTWARE is not supported anywhere in the code,
whereas LIBGL_ALWAYS_SOFTWARE is.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
docs/egl.html | 8
1 file changed, 8 deletions(-)
diff --git a/docs/egl.html b/docs/egl.html
index d946bb0..3ab1a60 100644
--- a/docs/egl.html
+++ b/docs
Checks blitImage is implemented.
Initially having the __DRIimageExtension extension
at version 9 at least meant blitImage was supported.
However some implementations do advertise version = 9
without implementing it.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/glx/dri3_glx.c | 5 +
1
that we share with the server.
This is similar to the glx dri3 DRI_PRIME implementation.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/egl/drivers/dri2/egl_dri2.h | 3 +
src/egl/drivers/dri2/platform_wayland.c | 105 +++-
2 files changed, 93 insertions
On 27/04/2015 15:52, Brian Paul wrote :
On 04/26/2015 03:23 PM, Axel Davy wrote:
*/
#include svga3d_reg.h
+#include util/macros.h
Actually, it looks like this #include may not be needed.
We get ARRAY_SIZE via including svga3d_reg.h, which includes
svga_types.h, which includes
Some applications assume the memory for multilevel
textures is allocated per continuous blocks.
This patch implements that behaviour.
v2: cache offsets
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/cubetexture9.c | 46 ++-
src/gallium
On 25/04/2015 22:53, Ilia Mirkin wrote :
On Fri, Apr 24, 2015 at 4:11 PM, Axel Davy axel.d...@ens.fr wrote:
+if (damaged) {
+box = *damaged;
+box.z = This-layer;
+box.depth = 1;
+} else {
+box.x = 0;
+box.y = 0;
+box.z = This-layer
Le 25/04/2015 00:21, Ilia Mirkin a écrit :
On Fri, Apr 24, 2015 at 6:13 PM, Axel Davy axel.d...@ens.fr wrote:
Le 25/04/2015 00:02, Ilia Mirkin a écrit :
I'm having trouble understanding what you're changing here... perhaps
a better commit description could go a ways to clearing things up
On 24/04/2015 23:40, Ilia Mirkin wrote :
On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy axel.d...@ens.fr wrote:
From: Xavier Bouchoux xavi...@gmail.com
Was sometimes too large for PS.
Reviewed-by: Axel Davy axel.d...@ens.fr
Signed-off-by: Xavier Bouchoux xavi...@gmail.com
---
src/gallium
On 24/04/2015 23:26, Ilia Mirkin wrote :
From
https://msdn.microsoft.com/en-us/library/windows/desktop/bb172594%28v=vs.85%29.aspx
D3DQUERYTYPE_TIMESTAMPFREQ
This query result is TRUE if the values from D3DQUERYTYPE_TIMESTAMP
queries cannot be guaranteed to be continuous throughout the duration
Le 24/04/2015 23:19, Ilia Mirkin a écrit :
On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy axel.d...@ens.fr wrote:
Might I suggest either describing the bug or the solution to the bug? e.g.
boolean shift_viewport;
Perhaps there's another different buggy barycentric problem which is
solved
From: Tiziano Bacocco tizb...@gmail.com
As on wined3d and windows, when D3DCREATE_FPU_PRESERVE is not
specified, change the fpu control word to all exceptions masked,
single precision, round to nearest.
Signed-off-by: Axel Davy axel.d...@ens.fr
Signed-off-by: Tiziano Bacocco tizb...@gmail.com
From: Xavier Bouchoux xavi...@gmail.com
Ignore D3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING when
D3DUSAGE_RENDERTARGET is not specified.
This behaviour matches windows drivers.
Reviewed-by: Axel Davy axel.d...@ens.fr
Signed-off-by: Xavier Bouchoux xavi...@gmail.com
---
v2: fix commit message
src
On 26/04/2015 23:23, Axel Davy wrote :
Move DIV_ROUND_UP to a shared location accessible everywhere
Signed-off-by: Axel Davy axel.d...@ens.fr
---
I want to use DIV_ROUND_UP in a galliumm nine patch
src/gallium/auxiliary/util/u_math.h | 1 -
src/gallium/drivers/svga/include
Move DIV_ROUND_UP to a shared location accessible everywhere
Signed-off-by: Axel Davy axel.d...@ens.fr
---
I want to use DIV_ROUND_UP in a galliumm nine patch
src/gallium/auxiliary/util/u_math.h | 1 -
src/gallium/drivers/svga/include/svga3d_surfacedefs.h | 3 +--
src/mesa/main
This is already declared in util/macros.h
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/drivers/svga/include/svga3d_surfacedefs.h | 4
1 file changed, 4 deletions(-)
diff --git a/src/gallium/drivers/svga/include/svga3d_surfacedefs.h
b/src/gallium/drivers/svga/include
Le 24/04/2015 23:42, Henri Verbeet a écrit :
On 24 April 2015 at 22:09, Axel Davy axel.d...@ens.fr wrote:
+static void nine_setup_fpu(void)
+{
+#if defined(__GNUC__) (defined(__i386__) || defined(__x86_64__))
+WORD cw;
+__asm__ volatile (fnstcw %0 : =m (cw));
+cw = (cw ~0xf3f
Le 25/04/2015 10:15, Henri Verbeet a écrit :
The comment is misleading, because the code does more than that.
(Hint: What happens to rounding and precision control?)
But really, please either explicitly tell people they can't look at
Wine (D3D related) source if they want to contribute to
Le 25/04/2015 00:02, Ilia Mirkin a écrit :
I'm having trouble understanding what you're changing here... perhaps
a better commit description could go a ways to clearing things up?
Were you allocating it a level at a time before? How did that work, I
don't see a per-level structure... I'm
This code was supposed to be removed, but a rebase seems to have
made it stay.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/nine_state.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_state.c
b/src/gallium
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/nine_state.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_state.c
b/src/gallium/state_trackers/nine/nine_state.c
index 6c7eab3..27800c6 100644
--- a/src
From: Tiziano Bacocco tizb...@gmail.com
Signed-off-by: Tiziano Bacocco tizb...@gmail.com
---
src/gallium/state_trackers/nine/device9.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/src/gallium/state_trackers/nine/device9.c
b/src/gallium/state_trackers/nine/device9.c
index
util_gen_mipmap uses pipe-blit, and thus doesn't need
we restore all states after using it.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/basetexture9.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/gallium/state_trackers/nine/basetexture9.c
b/src
should be harder to review, while the 16 independent patches
should be easier to review.
Axel Davy (9):
st/nine: Handle special LIT case
st/nine: Fix wrong assert in nine_shader
st/nine: Workaround barycentrics issue on some cards
st/nine: Fix comment in update_viewport
st/nine: Do
From: Xavier Bouchoux xavi...@gmail.com
render_condition_enable was uninitialized.
Reviewed-by: Axel Davy axel.d...@ens.fr
Signed-off-by: Xavier Bouchoux xavi...@gmail.com
---
src/gallium/state_trackers/nine/device9.c| 2 ++
src/gallium/state_trackers/nine/swapchain9.c | 2 ++
2 files
calling set_vertex_buffers
on a buffer with vtxbuf-buffer = NULL. It works on some drivers,
but not on all of them, because it isn't in Gallium spec.
This patch fixes that.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/nine_state.c | 15 ---
1 file changed, 4
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/nine_shader.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/nine/nine_shader.c
b/src/gallium/state_trackers/nine/nine_shader.c
index 2ba625e..0fd3d37
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/device9.c | 14 +-
src/gallium/state_trackers/nine/surface9.c | 2 +-
src/gallium/state_trackers/nine/surface9.h | 3 +++
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/src/gallium
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/volume9.c| 3 ---
src/gallium/state_trackers/nine/volumetexture9.c | 14 +-
2 files changed, 1 insertion(+), 16 deletions(-)
diff --git a/src/gallium/state_trackers/nine/volume9.c
b/src/gallium
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/device9.c| 4 +++-
src/gallium/state_trackers/nine/device9.h| 4
src/gallium/state_trackers/nine/nine_state.c | 24
3 files changed, 31 insertions(+), 1 deletion(-)
diff --git
No major vendor advertises it, and we weren't supporting it.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/adapter9.c | 2 +-
src/gallium/state_trackers/nine/device9.c | 10 ++
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/src/gallium
For D3DUSAGE_AUTOGENMIPMAP textures, applications can only
lock/copy from/get surface descriptor for/etc the first level.
Thus it makes sense to restrict the LOD to 0, and use only the first
level to generate the sublevels.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/basetexture9.c | 82
src/gallium/state_trackers/nine/basetexture9.h | 19 +++---
src/gallium/state_trackers/nine/cubetexture9.c | 2 +-
src/gallium/state_trackers/nine/device9.c
It wasn't uploading the texture when the lod
had changed.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/basetexture9.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/state_trackers/nine/basetexture9.c
b/src/gallium/state_trackers
From: Xavier Bouchoux xavi...@gmail.com
This behaviour matches windows drivers.
Reviewed-by: Axel Davy axel.d...@ens.fr
Signed-off-by: Xavier Bouchoux xavi...@gmail.com
---
src/gallium/state_trackers/nine/adapter9.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src
at which
PIPE_QUERY_TIMESTAMP value is updated. It isn't always
10.
Reviewed-by: Axel Davy axel.d...@ens.fr
Signed-off-by: Xavier Bouchoux xavi...@gmail.com
---
src/gallium/state_trackers/nine/query9.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/src
.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/basetexture9.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/gallium/state_trackers/nine/basetexture9.c
b/src/gallium/state_trackers/nine/basetexture9.c
index b868019..17a8f44 100644
The sampler src index was wrong for texldl and texldd
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/nine_shader.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/gallium/state_trackers/nine/nine_shader.c
b/src/gallium
From: Xavier Bouchoux xavi...@gmail.com
Avoid blocking when retrieving D3DQUERYTYPE_TIMESTAMP result with
NineQuery9_GetData(), when D3DGETDATA_FLUSH is not specified.
This mimics Win behaviour and gives slightly better performance
for some games.
Reviewed-by: Axel Davy axel.d...@ens.fr
Signed
From: Xavier Bouchoux xavi...@gmail.com
Was sometimes too large for PS.
Reviewed-by: Axel Davy axel.d...@ens.fr
Signed-off-by: Xavier Bouchoux xavi...@gmail.com
---
src/gallium/state_trackers/nine/nine_shader.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src
Copying to/from a Managed texture is forbidden.
Rendering to a Managed texture is forbidden.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/surface9.c | 23 +--
src/gallium/state_trackers/nine/volume9.c | 19 +++
2 files changed
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/cubetexture9.c | 4
src/gallium/state_trackers/nine/texture9.c | 3 +++
src/gallium/state_trackers/nine/volumetexture9.c | 9 +
3 files changed, 16 insertions(+)
diff --git a/src/gallium
That part of the code was quite obscure.
This new implementation tries to make it clearer
by separating the differents parts, and commenting more.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/basetexture9.c | 221 ++---
1 file changed, 125
Some applications assume the memory for multilevel
textures is allocated per continuous blocks.
This patch implements that behaviour.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/cubetexture9.c | 42 --
src/gallium/state_trackers/nine
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/cubetexture9.c | 3 +++
src/gallium/state_trackers/nine/device9.c| 5 +
src/gallium/state_trackers/nine/indexbuffer9.c | 14 --
src/gallium/state_trackers/nine/texture9.c | 5
updates in corner cases.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/basetexture9.c | 15 ++--
src/gallium/state_trackers/nine/nine_pipe.h| 11 ---
src/gallium/state_trackers/nine/surface9.c | 108 ++---
src/gallium/state_trackers/nine
-buffer intact.
This fixes failing WINE test visual.c:depth_buffer_test()
Signed-off-by: Patrick Rudolph s...@das-labor.org
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/device9.c | 17 +
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git
Le 24/04/2015 23:04, Ilia Mirkin a écrit :
On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy axel.d...@ens.fr wrote:
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine/nine_shader.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git
Le 24/04/2015 23:10, Ilia Mirkin a écrit :
What if the depth buffer is smaller than the color RT? I'd assume that
the fb would be reduced in that case as well... or does
This-state.fb.width/height only represent the min of the color RT's
sizes?
It is forbidden by the spec to have depth buffer
:09 PM, Axel Davy axel.d...@ens.fr wrote:
From: Xavier Bouchoux xavi...@gmail.com
This behaviour matches windows drivers.
Reviewed-by: Axel Davy axel.d...@ens.fr
Signed-off-by: Xavier Bouchoux xavi...@gmail.com
---
src/gallium/state_trackers/nine/adapter9.c | 3 ++-
1 file changed, 2
-by: Tobias Jakobi tjak...@math.uni-bielefeld.de
Signed-off-by: Axel Davy axel.d...@ens.fr
v2: use xcb_connection_has_error to check if connection failed, instead
of comparing to NULL (xcb_connect never returns NULL)
v3: put the xcb_connection in dri3_screen, instead of dri3_context
v4: add XSync before
Le 20/04/2015 03:58, Michel Dänzer a écrit :
On 19.04.2015 06:17, Axel Davy wrote:
v3: put the xcb_connection in dri3_screen, instead of dri3_context
What's the rationale for that? Couldn't that result in the same
xcb_connection being used in several threads again (for several GLX
contexts
-by: Tobias Jakobi tjak...@math.uni-bielefeld.de
Signed-off-by: Axel Davy axel.d...@ens.fr
v2: use xcb_connection_has_error to check if connection failed, instead
of comparing to NULL (xcb_connect never returns NULL)
v3: put the xcb_connection in dri3_screen, instead of dri3_context
---
There's a strange
to)
This patch creates a per-context xcb connection to solve these issues.
Solves: https://bugs.freedesktop.org/show_bug.cgi?id=84252
Tested-by: Tobias Jakobi tjak...@math.uni-bielefeld.de
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/glx/dri3_glx.c | 56
Hi,
you may be interesting look at this related bug report:
https://bugs.freedesktop.org/show_bug.cgi?id=87452#c5
Yours,
Axel Davy
On 02/04/2015 11:58, Volker Vogelhuber wrote :
We currently want to stream OpenGL output to an FPGA that does not
provide
a SG controller and should manage
GL_RGBA should corresponds to ABGR.
Try GL_BGRA, which is ARGB.
Note: Actually it is possible intel vs gallium drivers GL_RGBA and
GL_BGRA have different argb ordering. So perhaps try both so that all
drivers are happy.
Le 28/03/2015 14:57, x414e54 a écrit :
I am attempting to pass
Yes.
I imagine putting it into MakeContextCurrent is not a solution, since it
means GLXBadContext will be returned instead of GLXBadDrawable.
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman
On 24/03/2015 08:33, Zhang, Xiong Y wrote :
Yes.
I imagine putting it into MakeContextCurrent is not a solution, since it means
GLXBadContext will be returned instead of GLXBadDrawable.
[Zhang, Xiong Y] Yes, I agree with you.
But it is strange that both macro GLXBadContext and Success are
You seem to miss the case when one is None and not the other.
It should return BadDrawable too.
This particular case seems not handled by the dri2 code either,
and the gallium state tracker seems to handle it in bindContext,
but not the intel code for example.
Axel Davy
On 23/03/2015 08:07
It works fine.
Since no state tracker need it currently,
why do you want to backport it to older mesa versions ?
In all cases,
Reviewed-by: Axel Davy axel.d...@ens.fr
(btw: missing signoff)
Axel Davy
On 15/02/2015 18:21, Marek Olšák wrote :
From: Marek Olšák marek.ol...@amd.com
+ minor
for some drivers ?
Axel
On 31/01/2015 07:04, Axel Davy wrote :
The patch modifies the code used to check for format support.
It needs to test for these flags for render targets because we create
the back buffers
with these. Probably these flags are not required for back buffers,
I'll investigate
for old vs and ps
versions. The restrictions were fixed, unlike for the number of vertex
shader constants for later versions. Likely apps use the correct number,
and it's not a problem for us if it wants use more.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/nine
701 - 800 of 1075 matches
Mail list logo