Add cap PIPE_CAP_BUFFER_TRANSFER_EXTERNAL_CONTEXT.
See commit for detailed description of the flag.
Signed-off-by: Axel Davy
---
src/gallium/docs/source/screen.rst | 9 +
src/gallium/drivers/freedreno/freedreno_screen.c | 1 +
src/gallium/drivers/i915/i915_screen.c
Add flag indicating if the driver is thread safe or not.
See commit for documentation on the meaning of the flag.
Signed-off-by: Axel Davy
---
src/gallium/docs/source/screen.rst | 3 +++
src/gallium/drivers/freedreno/freedreno_screen.c | 1 +
src/gallium/drivers/i915
what is allowed.
Please comment.
Yours,
Axel Davy
Axel Davy (3):
gallium: add PIPE_CAP_THREAD_SAFE
radeon: enable PIPE_CAP_THREAD_SAFE
gallium: add flag for transfers in a different context than draw call
src/gallium/docs/source/screen.rst | 12
src/gallium/dr
Add cap PIPE_CAP_BUFFER_TRANSFER_EXTERNAL_CONTEXT.
See commit for detailed description of the flag.
v2: Explicit flush behaviour.
Signed-off-by: Axel Davy
---
src/gallium/docs/source/screen.rst | 11 +++
src/gallium/drivers/freedreno/freedreno_screen.c | 1 +
src
On 18/12/2016 16:57, Nicolai Hähnle wrote:
On 18.12.2016 13:38, Axel Davy wrote:
Currently there is no real specification on what is allowed for
using different contexts in several threads, or when you
map/unmap a resource in a thread, but uses it in another for
draw calls.
For the gallium
On 18/12/2016 16:57, Nicolai Hähnle wrote:
I'm happy to be convinced otherwise if I missed something, but using
multiple contexts from different threads, or using Map/UnmapBuffer
from one context but sourcing the buffer from draw calls in another
context are all perfectly supported OpenGL us
On 18/12/2016 18:34, Nicolai Hähnle wrote:
On 18.12.2016 17:37, Axel Davy wrote:
On 18/12/2016 16:57, Nicolai Hähnle wrote:
On 18.12.2016 13:38, Axel Davy wrote:
Currently there is no real specification on what is allowed for
using different contexts in several threads, or when you
map/unmap
On 18/12/2016 18:34, Nicolai Hähnle wrote:
Then again, why not just call flush unconditionally? If the flush was
unnecessary, it should be a no-op, and the driver should already have
a fast path for that anyway.
I just looked at radeon source with amdgpu, and it looks like to me a flush
wil
Avoid synchronization by using the secondary context
for uploading the vertex data for Draw*Up.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/device9.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/src/gallium/state_trackers/nine/device9
Add documentation for the requirements related to threading
for screens and contexts.
Signed-off-by: Axel Davy
---
src/gallium/docs/source/screen.rst | 10 ++
1 file changed, 10 insertions(+)
diff --git a/src/gallium/docs/source/screen.rst
b/src/gallium/docs/source/screen.rst
index
This is a new RFC to replace "New gallium flags for using different
contexts in several threads".
Please comment.
Yours,
Axel Davy
Axel Davy (2):
gallium-docs: Add documentation for threading requirements
gallium-docs: Add documentation for when using several contexts
src/ga
Add documentation to explicit what can be expected and what is allowed
when using several contexts.
Signed-off-by: Axel Davy
---
src/gallium/docs/source/context.rst | 23 +++
1 file changed, 23 insertions(+)
diff --git a/src/gallium/docs/source/context.rst
b/src/gallium
e resource content is copied to the
new resource used.
v5: flush for safety after unmap (not sure it is really required
here, but safer to flush).
v6: Do not use the path if persistent coherent mapping is unavailable.
Fix buffer creation flags.
v7: Do not flush since it is not needed.
Signed-off-by:
Avoid synchronization by using the secondary context
for uploading the vertex data for Draw*Up.
v2: Rely on u_upload_mgr to use persistent coherent
buffers. Do not flush.
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/nine/device9.c | 23 +++
1 file changed, 15
_NINE_FF_H_
#define _NINE_FF_H_
diff --git a/src/gallium/state_trackers/nine/nine_flags.h
b/src/gallium/state_trackers/nine/nine_flags.h
index 61686a7..d6dd698 100644
--- a/src/gallium/state_trackers/nine/nine_flags.h
+++ b/src/gallium/state_trackers/nine/nine_flags.h
@@ -1,4 +1,24 @@
-
+
All the patches look fine.
I think they are ready for merging (there are few trailing whitespace
errors when applying, but nothing bad).
We want these patches for Wayland Prime support, and it should be useful
too for X Dri3.
Axel Davy
___
mesa
We must send to the compositor buffer it is able to read.
Since tiling modes are different on graphic cards, we have
to disable tiling when creating the buffers if we render
with a different graphic card than the compositor.
Signed-off-by: Axel Davy
---
src/egl/drivers/dri2/platform_wayland.c
te, this Prime support suffers too from the
lack of dma-buf fences (glitches when the client is still writing
on the buffer when the compositor's card reads it).
Using an embedded compositor suppress all the glitches when
it doesn't take (1/refresh_rate) seconds for it to render a fram
This patch moves the code to open the graphic device in the Wayland backend,
removes the authentication request when we are on a render-node,
and has a few fixes.
Signed-off-by: Axel Davy
---
src/egl/drivers/dri2/egl_dri2.h | 1 +
src/egl/drivers/dri2/platform_wayland.c | 93
to find the desired card ( no render-nodes,
render-nodes not advertising ID_PATH_TAG, invalid ID_PATH_TAG),
then the compositor card is used.
Signed-off-by: Axel Davy
---
src/egl/drivers/dri2/platform_wayland.c | 168 ++--
1 file changed, 160 insertions(+), 8 deletions
two formats are supported: DRI_PRIME="1" will tell Mesa
to choose an other card than the compositor card if possible,
while setting DRI_PRIME to the id_path_tag of a device (like
"pci-_02_00_0") tells Mesa to take the device with this
id_path_tag.
Signed-off-by: Axe
I forgot to test the capabilities to know if we can use render-nodes.
Being able to do that was the goal of patch 1.
I send a better patch 3.
Axel Davy (1):
Implement choosing the device to use with DRI_PRIME
src/egl/drivers/dri2/platform_wayland.c | 180 ++--
1
t);
This part doesn't work either: it doesn't give the correct format.
Getting this function right would really help to write glamor dri3 helpers
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
(stderr, "radeon: Failed to find initial domain for imported
bo\n");
+radeon_bo_destroy(&bo->base);
+return NULL;
+}
the ioctl should be called again until it doesn't return -EBUSY.
Axel Davy
___
mesa-dev ma
>A dri_context can be converted to a st_context.
Sorry for the typo. It should be "A dri_context can't be converted to a
st_context".
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.or
d )
All these arguments can be put in short in: "more flexibility"
For an heavy game < 60 fps, I agree it makes much more sense to do the
copy inside Mesa, than using a nested compositor.
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
__DRIimageDriverExtension is used by GLX DRI3 and Wayland.
This patch is a rewrite of
http://lists.freedesktop.org/archives/mesa-dev/2014-May/060318.html
and
http://lists.freedesktop.org/archives/mesa-dev/2014-May/060317.html
Signed-off-by: Axel Davy
Reviewed-by: Marek Olšák
Previous patches
V3: call flush_resource before flush
V4: Add new flags
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/dri/drm/dri2.c | 55 +--
1 file changed, 52 insertions(+), 3 deletions(-)
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c
b/src/gallium
contains:
Then glmark2 will use if possible the render-node of
ID_PATH_TAG pci-_01_00_0.
v2: Fix compilation issue
v3: Add "-lm" and rebase.
Signed-off-by: Axel Davy
---
src/Makefile.am | 4 +++-
src/loader/M
This doesn't change anything to the intel DRI3 implementation,
but enables the gallium implementation to use dri2.stamp instead
of relying on the stamp shared with the st backend.
Signed-off-by: Axel Davy
---
src/glx/dri3_glx.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/sr
Signed-off-by: Axel Davy
---
src/mesa/drivers/dri/common/xmlconfig.c | 29 +
src/mesa/drivers/dri/common/xmlconfig.h | 7 ++-
2 files changed, 35 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/common/xmlconfig.c
b/src/mesa/drivers/dri/common
This improves GLX DRI3 GPU offloading significantly on CPU
bound benchmarks particularly.
No performance impact for DRI2 GPU offloading.
v2: Add missing tests
Signed-off-by: Axel Davy
Reviewed-by: Marek Olšák
---
src/gallium/drivers/radeonsi/si_blit.c | 19 +++
1 file changed
that the tag
is not advertised for render-nodes, then
ones need to add a file containing:
SUBSYSTEM=="drm", IMPORT{builtin}="path_id"
in /etc/udev/rules.d/
Signed-off-by: Axel Davy
---
src/loader/loader.c | 185
src/loader
It allows to blit two __DRIimages.
Signed-off-by: Axel Davy
---
include/GL/internal/dri_interface.h | 24 +++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/include/GL/internal/dri_interface.h
b/include/GL/internal/dri_interface.h
index 4d57d0b..300156e
ary card.
V4: Fixes some piglit tests
Signed-off-by: Axel Davy
---
src/glx/dri3_glx.c | 236 +++-
src/glx/dri3_priv.h | 2 +
2 files changed, 198 insertions(+), 40 deletions(-)
diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx.c
index b309cd4..f14
From: Dave Airlie
We need to place shared buffers into GART.
Signed-off-by: Dave Airlie
Reviewed-by: Axel Davy
---
src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c
b/src
the compositor.
Signed-off-by: Axel Davy
---
src/egl/drivers/dri2/egl_dri2.h | 5 +-
src/egl/drivers/dri2/platform_wayland.c | 171 ++--
2 files changed, 142 insertions(+), 34 deletions(-)
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2
a GLX extension is advertised whenever the client supports it.
Signed-off-by: Axel Davy
---
src/glx/glxextensions.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c
index ce5d66d..34cb6d0 100644
--- a/src/glx/glxextensions.c
into gart. nv84+ are
all fine.]
On Wed, Jun 18, 2014 at 11:27 PM, Axel Davy wrote:
From: Dave Airlie
We need to place shared buffers into GART.
Signed-off-by: Dave Airlie
Reviewed-by: Axel Davy
---
src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c | 2 +-
1 file changed, 1 insertion(+), 1
urces with a
certain format/bind combo, you need to check first with
->is_format_supported. For example pre-NVA0 nv50 cards don't support
Z16.
This is git format-patch noise.
I don't change anything to dri2_allocate_buffer, if you see what is
added h
t set createImageFromName and CreateImageFromNames to NULL,
and add checks for that (instead of checking the capability ?
It's what is done to check if we can import dma-bufs (check if
createImageFromFds is not NULL).
Axel Davy
___
mesa-dev mailing lis
specific
things for indirect rendering (instead of DRI2).
This patch is just a workaround because it's not done yet.
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
I've just noted
I forgot to update the blitImage flags on this patch,
when I use 1 as flush_flag argument it should be replaced by
__BLIT_FLAG_FLUSH.
Axel Davy
On 18/06/2014 23:27, Axel Davy wrote :
The differences with DRI2 GPU offloading are:
. There's no logic for GPU offloading
On 19/06/2014 15:56, Giovanni Campagna wrote :
2014-06-19 16:16 GMT+02:00 Axel Davy :
On 15/06/2014 07:49, Giovanni Campagna wrote :
From: Giovanni Campagna
The kms-dri swrast driver cannot share buffers using the GEM,
so it must tell the loader to disable extensions relying on
that
translates Present in mesa.
At the same time, also modify the structure for the event to make sure
that clients don't make the same mistake. This is not an API or ABI
break, as GLXDrawable and Drawable are both typedefs for XID.
Signed-off-by: Jasper St. Pierre
Reviewed-by: Axel Davy
Mesa takes care of the driver capabilities for the GLX visuals and
fbconfigs,
and you have an intersection of what the server advertises and what you can
actually have.
The only constraint in the spec seems to be that there must be a GLX
fbconfig supporting
RGBA and some
In src/loader/Makefile.am,
the test 'if NEED_OPENGL_COMMON' should probably be more restrictive,
I'm looking at it.
Axel
On 01/07/2014 10:22, Brian Paul wrote :
I configured with:
./autogen.sh CFLAGS="-g -O0" CXXFLAGS="-g -O0" --enable-debug
--enable-xlib-glx --disable-driglx-direct --disabl
Hi,
This path should resolve the problem.
Axel
On 01/07/2014 10:53, Axel Davy wrote :
In src/loader/Makefile.am,
the test 'if NEED_OPENGL_COMMON' should probably be more restrictive,
I'm looking at it.
Axel
On 01/07/2014 10:22, Brian Paul wrote :
I configured with:
./au
I don't have push access.
Could you push it ?
On 01/07/2014 11:22, Brian Paul wrote :
That works.
Tested-by: Brian Paul
On 07/01/2014 09:19 AM, Axel Davy wrote:
Hi,
This path should resolve the problem.
Axel
On 01/07/2014 10:53, Axel Davy wrote :
In src/loader/Makefile.am,
the
Signed-off-by: Axel Davy
---
include/GL/internal/dri_interface.h | 1 +
src/gallium/drivers/i915/i915_resource.c| 8 ++--
src/gallium/drivers/ilo/ilo_resource.c | 2 +-
src/gallium/drivers/nv50/nv50_miptree.c | 3 +++
src/gallium/drivers/nvc0/nvc0_miptree.c | 3
Signed-off-by: Axel Davy
---
include/GL/internal/dri_interface.h | 1 +
src/gallium/drivers/i915/i915_resource.c| 8 ++--
src/gallium/drivers/ilo/ilo_resource.c | 2 +-
src/gallium/drivers/nv50/nv50_miptree.c | 3 +++
src/gallium/drivers/nvc0/nvc0_miptree.c | 3
dedicated device on
use the buffer on the integrated device in multi-gpu laptops.
Axel Davy
On 15/08/2013 12:47, Axel Davy wrote :
Signed-off-by: Axel Davy
---
include/GL/internal/dri_interface.h | 1 +
src/gallium/drivers/i915/i915_resource.c| 8 ++--
src/gallium/d
img->dri_format == MESA_FORMAT_NONE) {
I assume you meant __DRI_IMAGE_FORMAT_NONE
+ *error = __DRI_IMAGE_ERROR_BAD_PARAMETER;
+ free(img);
+ return NULL;
+ }
+
+ *error = __DRI_IMAGE_ERROR_SUCCESS;
+ return img;
+}
+
Axel Davy
a resource on SI.
But ideally, if it makes a performance difference, we would like to be
able to control that
with Wayland when allocating the buffers.
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org
args.tiling_flags &
RADEON_TILING_R600_NO_SCANOUT);
Would make scanout set to 1 when the card is inferior to SI.
I think the correct calculus is:
*scanout = (bo->rws->gen >= DRV_SI) && !(args.tiling_flags &
RADEON_TILING_R600_NO_SCANOUT);
Thank you for having fixed this iss
log/?h=dri3
<http://cgit.freedesktop.org/%7Ekeithp/mesa/log/?h=dri3>,
and the ilo part looks ok,
I suggest to merge this last series of patches, which seems ready.
Thanks,
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists
ike that outside of this patch.
Is this acceptable to use drirc like that? Could there be some issues?
patch 4: what are the alternatives to set a __BLIT_FLAG_FINISH flag here?
But other comments are welcome!
Axel Davy (6):
EGL/Wayland: DRI_PRIME support
drirc: Add string support
EGL/Wayland
This may require changes to the driconf gui.
Signed-off-by: Axel Davy
---
src/mesa/drivers/dri/common/xmlconfig.c | 24
src/mesa/drivers/dri/common/xmlconfig.h | 7 ++-
2 files changed, 30 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/common
which
is unlikely), so we fail here. It's in the specification.
Signed-off-by: Axel Davy
---
src/egl/drivers/dri2/egl_dri2.c | 5 +
src/egl/drivers/dri2/egl_dri2.h | 1 +
src/egl/drivers/dri2/platform_wayland.c | 255
3 files changed, 232
Signed-off-by: Axel Davy
---
include/GL/internal/dri_interface.h | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/include/GL/internal/dri_interface.h
b/include/GL/internal/dri_interface.h
index 81f7e60..19f3c93 100644
--- a/include/GL/internal
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/dri/drm/dri2.c | 49 +--
1 file changed, 47 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c
b/src/gallium/state_trackers/dri/drm/dri2.c
index 2a5b7b4..89d9040 100644
--- a
Signed-off-by: Axel Davy
---
src/egl/drivers/dri2/egl_dri2.h | 2 +
src/egl/drivers/dri2/platform_wayland.c | 98 ++---
2 files changed, 79 insertions(+), 21 deletions(-)
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h
index
add to drirc a parameter "wanted_device_id_path_tag", and check
its value to choose which gpu to use, if DRI_PRIME isn't set.
Signed-off-by: Axel Davy
---
configure.ac| 1 +
src/egl/drivers/dri2/Makefile.am| 12 +++
with additional
checks.
Also add a check to dri2_create_image_wayland_wl_buffer to fail
if we forbid to use tiling (which now means we use another gpu
than the compositor). We can't check the buffer is untiled (which
is unlikely), so we fail here. It's in the specification.
Signed-of
On 06/01/2014, Marek Olšák wrote :
On Sun, Jan 5, 2014 at 10:26 PM, Axel Davy wrote:
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/dri/drm/dri2.c | 49 +--
1 file changed, 47 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/dri
Implements DRI_PRIME support.
Signed-off-by: Axel Davy
---
v3: add a check in dri2_create_wayland_buffer_from_image_wl to fail
if we are on a different device than the compositor, and then can't
use tiling. This is in the spec. The patch has been rebased.
v2: bug fix
src/egl/drivers
dri2_dup_image was not copying the dri_format field.
This was causing some bugs, for example:
. we create an gbm_bo.
. we get an EGLImage from the gbm_bo.
. Bug: impossible to get again the gbm_bo from the EGLImage by importing. (gbm
dri2 backend)
Signed-off-by: Axel Davy
---
src/gallium
ed to use the driImageDriverExtension.
It'll avoid using GEM names, GEM open, etc.
Keithp wrote patches to implement it for gallium:
http://cgit.freedesktop.org/~keithp/mesa/log/?h=dri3%2Bgallium
<http://cgit.freedesktop.org/%7Ekeithp/mesa/log/?h=dri3%2Bgallium>
Y
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/dri/drm/dri2.c | 43 ---
1 file changed, 40 insertions(+), 3 deletions(-)
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c
b/src/gallium/state_trackers/dri/drm/dri2.c
index b5bc16b..f01257a 100644
--- a
Signed-off-by: Axel Davy
---
src/Makefile.am | 4 +++-
src/loader/Makefile.am | 21 ---
src/loader/loader.c | 27 +
src/mesa/drivers/dri/common/xmlconfig.h | 2
From: Keith Packard
Upper levels of the stack use base.stamp to tell when a drawable needs to be
revalidated, but the dri state tracker was using dPriv->lastStamp. Those two,
along with dri2.stamp, all get simultaneously incremented when a dri2
invalidate event was delivered, and so end up contai
Signed-off-by: Axel Davy
---
src/egl/drivers/dri2/egl_dri2.h | 5 +-
src/egl/drivers/dri2/platform_wayland.c | 171 ++--
2 files changed, 142 insertions(+), 34 deletions(-)
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h
index
From: Keith Packard
Provide the hook to pull textures out of __DRIimage structures and use them as
renderbuffers.
Signed-off-by: Keith Packard
---
src/gallium/state_trackers/dri/drm/dri2.c | 238 +-
1 file changed, 230 insertions(+), 8 deletions(-)
diff --git a/src
From: Ben Skeggs
Signed-off-by: Ben Skeggs
Signed-off-by: Keith Packard
---
src/gallium/state_trackers/dri/drm/dri2.c | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c
b/src/gallium/state_trackers/dri/drm/dri
Signed-off-by: Axel Davy
---
src/glx/dri3_glx.c | 235 +++-
src/glx/dri3_priv.h | 2 +
2 files changed, 200 insertions(+), 37 deletions(-)
diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx.c
index 3d8a662..54030bb 100644
--- a/src/glx
Signed-off-by: Axel Davy
---
src/loader/loader.c | 188
src/loader/loader.h | 7 ++
2 files changed, 195 insertions(+)
diff --git a/src/loader/loader.c b/src/loader/loader.c
index 666d015..3d504f7 100644
--- a/src/loader/loader.c
+++ b/src
This improves GLX DRI3 Gpu offloading significantly on cpu
bound benchmarks particularly.
No performance impact for DRI2 Gpu offloading.
Signed-off-by: Axel Davy
---
src/gallium/drivers/radeonsi/si_blit.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/src/gallium/drivers
nce than Dri2, but since the copy is on the
server card, it won't affect the performance of Gpu offloading.
One proposition would be to add basic DRI3 support to the DDXs (without
Present support for now), but Mesa would use it only when DRI2 fails,
or if we want to use DRI3 Gpu offloadin
It allows to blit two __DRIimages.
Signed-off-by: Axel Davy
---
include/GL/internal/dri_interface.h | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/include/GL/internal/dri_interface.h
b/include/GL/internal/dri_interface.h
index 4d57d0b..2ee3164 100644
--- a
Signed-off-by: Axel Davy
---
src/mesa/drivers/dri/common/xmlconfig.c | 29 +
src/mesa/drivers/dri/common/xmlconfig.h | 7 ++-
2 files changed, 35 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/common/xmlconfig.c
b/src/mesa/drivers/dri/common
** [libloader_la-loader.lo] Error 1
make[2]: Leaving directory
'/home/daenzer/src/mesa-git/mesa/build-amd64/src/loader'
Replacing
-I$(top_srcdir)/src/mesa/drivers/dri/common/ \
by
-I$(top_builddir)/src/mesa/drivers/dri/common \
in the patch should solv
On 28/05/2014 04:40, Michel Dänzer wrote :
On 28.05.2014 09:55, Axel Davy wrote:
This improves GLX DRI3 Gpu offloading significantly on cpu
bound benchmarks particularly.
No performance impact for DRI2 Gpu offloading.
Signed-off-by: Axel Davy
---
src/gallium/drivers/radeonsi/si_blit.c | 15
On 28/05/2014 03:47, Michel Dänzer wrote :
On 28.05.2014 09:55, Axel Davy wrote:
From: Keith Packard
Provide the hook to pull textures out of __DRIimage structures and use them as
renderbuffers.
Signed-off-by: Keith Packard
This patch breaks a number of piglit tests with DRI2, see the
On 28/05/2014 08:33, Emil Velikov wrote :
Hi Axel,
AFAICS we're leaking device_name.
That's true, I'll send a patch with the fix.
FYI I'm about to push a few patches for non libudev users which may cause
merge conflicts when applying this series.
Thanks for the information.
Cheers
Emil
A
On 28/05/2014 08:40, Emil Velikov wrote :
On 28/05/14 01:55, Axel Davy wrote:
Signed-off-by: Axel Davy
Hi Axel
Can you give the scons build a try. I suspect that this patch will leave it in
somewhat broken state.
I'll give a try.
---
src/Makefile.am
s always set for glBlitFrameBuffer.
Thanks,
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
On 28/05/2014 08:12, Axel Davy a écrit :
On 27/05/2014 23:46, Michel Dänzer wrote :
This breaks the build for me, see below. That's an out-of-tree build
FWIW.
Replacing
-I$(top_srcdir)/src/mesa/drivers/dri/common/ \
by
-I$(top_builddir)/src/mesa/drivers/dri/common \
in the patch s
Signed-off-by: Axel Davy
---
src/mesa/drivers/dri/common/xmlconfig.c | 29 +
src/mesa/drivers/dri/common/xmlconfig.h | 7 ++-
2 files changed, 35 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/common/xmlconfig.c
b/src/mesa/drivers/dri/common
From: Keith Packard
Provide the hook to pull textures out of __DRIimage structures and use them as
renderbuffers.
Signed-off-by: Keith Packard
---
v2: Added the image->flushFrontBuffer fix.
src/gallium/state_trackers/dri/drm/dri2.c | 238 +-
1 file changed, 230 ins
From: Ben Skeggs
Signed-off-by: Ben Skeggs
Signed-off-by: Keith Packard
---
src/gallium/state_trackers/dri/drm/dri2.c | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c
b/src/gallium/state_trackers/dri/drm/dri
Signed-off-by: Axel Davy
---
I've tested to build with scons too, and it seems to work.
src/Makefile.am | 4 +++-
src/loader/Makefile.am | 22 +---
src/loader/loader.c
Signed-off-by: Axel Davy
---
src/gallium/state_trackers/dri/drm/dri2.c | 43 ---
1 file changed, 40 insertions(+), 3 deletions(-)
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c
b/src/gallium/state_trackers/dri/drm/dri2.c
index eefbe42..f4db3d8 100644
--- a
Signed-off-by: Axel Davy
---
src/glx/dri3_glx.c | 235 +++-
src/glx/dri3_priv.h | 2 +
2 files changed, 200 insertions(+), 37 deletions(-)
diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx.c
index 3d8a662..54030bb 100644
--- a/src/glx
v2: Fix the leak of device_name
Signed-off-by: Axel Davy
---
src/loader/loader.c | 189
src/loader/loader.h | 7 ++
2 files changed, 196 insertions(+)
diff --git a/src/loader/loader.c b/src/loader/loader.c
index 666d015..7a4015c 100644
It allows to blit two __DRIimages.
Signed-off-by: Axel Davy
---
include/GL/internal/dri_interface.h | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/include/GL/internal/dri_interface.h
b/include/GL/internal/dri_interface.h
index 4d57d0b..2ee3164 100644
--- a
From: Keith Packard
Upper levels of the stack use base.stamp to tell when a drawable needs to be
revalidated, but the dri state tracker was using dPriv->lastStamp. Those two,
along with dri2.stamp, all get simultaneously incremented when a dri2
invalidate event was delivered, and so end up contai
Signed-off-by: Axel Davy
---
src/egl/drivers/dri2/egl_dri2.h | 5 +-
src/egl/drivers/dri2/platform_wayland.c | 171 ++--
2 files changed, 142 insertions(+), 34 deletions(-)
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h
index
This improves GLX DRI3 Gpu offloading significantly on cpu
bound benchmarks particularly.
No performance impact for DRI2 Gpu offloading.
v2: Add missing tests
Signed-off-by: Axel Davy
---
src/gallium/drivers/radeonsi/si_blit.c | 20
1 file changed, 20 insertions(+)
diff
On 29/05/2014 04:58, Michel Dänzer wrote :
On 29.05.2014 12:22, Axel Davy wrote:
DRI_PRIME is not very handy, because you have to launch the executable
with it set, which is not always easy to do.
By using drirc, the user specifies the target executable
and the device to use. After that the
eight.
You don't have to check if the box depth equals 1. You just need to
make sure the box depths are equal to each other, like widths and
heights.
Ok, thanks
Marek
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
401 - 500 of 1092 matches
Mail list logo