Hey all.
I've got some questions about the behaviour of KHR_platform_gbm in the
presence of multiple devices. Particularly: the spec as-written doesn't
mandate that the gbm_surface passed in to
eglCreatePlatformWindowSurface must have been created from the
gbm_device used to create the EGLDis
On Mon, 2013-11-25 at 14:38 +1000, Ben Skeggs wrote:
> On Mon, Nov 25, 2013 at 1:57 PM,
> wrote:
> > From: Christopher James Halse Rogers
> >
> http://cgit.freedesktop.org/~keithp/mesa/log/?h=dri3
>
Sure, why not? I don't really mind which series goes in - althou
On Thu, 2013-11-21 at 14:12 +0100, Thomas Hellstrom wrote:
> On 11/21/2013 05:11 AM, christopher.halse.rog...@canonical.com wrote:
> > From: Christopher James Halse Rogers
> >
> > Otherwise the default is TYPE_SHARED, which will flink the bo. This seems
> > rather unne
On Thu, 2013-11-21 at 14:12 +0100, Thomas Hellstrom wrote:
> On 11/21/2013 05:11 AM, christopher.halse.rog...@canonical.com wrote:
> > From: Christopher James Halse Rogers
> >
> > Otherwise the default is TYPE_SHARED, which will flink the bo. This seems
> > rather unne
, but this seems like a bit of
busywork.
Alternatively, if you can suggest a better name for ‘the mutex that
protects the GEM name→bo and GEM handle→bo maps’, I'd be happy to
use that instead.
Marek
On Tue, Oct 8, 2013 at 12:48 AM,
wrote:
From: Christopher James Halse Rogers
It'
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR
Change EGLModule to have an EGLDriver per supported platform and cache
based on EGLModule-platform pair rather than just EGLModule.
---
src/egl/main/egldisplay.c | 3 +--
src/egl/main/egldriver.c | 55 +++
2 files changed, 33 insertions(+), 25 deletion
---
src/gallium/state_trackers/dri/drm/dri2.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c
b/src/gallium/state_trackers/dri/drm/dri2.c
index edbf801..f5e8bec 100644
--- a/src/gallium/state_trackers/dri/drm/dri2.c
+++ b/src/
---
src/mesa/drivers/dri/i915/intel_context.c | 31 +++-
src/mesa/drivers/dri/i965/intel_context.c | 34 +--
2 files changed, 44 insertions(+), 21 deletions(-)
diff --git a/src/mesa/drivers/dri/i915/intel_context.c
b/src/mesa/drivers/dri/i915/i
We want this so we can hand out CPU-mappable buffers to clients, but still
use EGL in the server to composite said buffers.
---
src/gbm/backends/dri/gbm_dri.c | 23 +--
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backe
This allows platforms which want to do PRIME fd passing rather than
flink, such as Wayland and Mir, to do so without having to uselessly
allocate a world-visible name for internal mesa use
Signed-off-by: Christopher James Halse Rogers
---
include/GL/internal/dri_interface.h | 4 +++-
1 file
---
src/gbm/backends/dri/gbm_dri.c | 53 +-
1 file changed, 32 insertions(+), 21 deletions(-)
diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c
index c19d378..8b71cca 100644
--- a/src/gbm/backends/dri/gbm_dri.c
+++ b/src/gbm/backe
---
src/gbm/backends/dri/gbm_dri.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c
index 07d7145..8797069 100644
--- a/src/gbm/backends/dri/gbm_dri.c
+++ b/src/gbm/backends/dri/gbm_dri.c
@@ -480,6 +480,7 @@ create_dumb(struct gbm_
This allows display-server/compositors to use gbm buffers for both accelerated
and
software-rendered clients, rather than having a separate out-of-band SHM
interface.
---
src/gbm/backends/dri/gbm_dri.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/gbm/backends/dri/
---
src/gbm/backends/dri/gbm_dri.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c
index a3a0530..07d7145 100644
--- a/src/gbm/backends/dri/gbm_dri.c
+++ b/src/gbm/backends/dri/gbm_dri.c
@@ -348,6 +348,9 @@ gbm_dri_to_gbm_fo
---
src/gallium/winsys/intel/drm/intel_drm_winsys.c | 4
1 file changed, 4 deletions(-)
diff --git a/src/gallium/winsys/intel/drm/intel_drm_winsys.c
b/src/gallium/winsys/intel/drm/intel_drm_winsys.c
index 521762d..d9aa6a9 100644
--- a/src/gallium/winsys/intel/drm/intel_drm_winsys.c
+++ b/sr
From: Maarten Lankhorst
---
src/gallium/drivers/nouveau/nouveau_screen.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/nouveau/nouveau_screen.c
b/src/gallium/drivers/nouveau/nouveau_screen.c
index 3f64dc7..f05cb5b 100644
--- a/src/gallium/dr
*ish
---
src/gallium/state_trackers/dri/drm/dri2.c | 118 +++---
1 file changed, 108 insertions(+), 10 deletions(-)
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c
b/src/gallium/state_trackers/dri/drm/dri2.c
index 74e14af..edbf801 100644
--- a/src/gallium/state_tra
Otherwise the default is TYPE_SHARED, which will flink the bo. This seems
rather unnecessary for a simple stride query.
---
src/gallium/state_trackers/dri/drm/dri2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c
b/src/gallium/state_trackers/dri/drm/
---
src/gallium/drivers/freedreno/freedreno_screen.c | 5 +
src/gallium/drivers/nouveau/nouveau_screen.c | 6 ++
src/gallium/include/state_tracker/drm_driver.h| 9 ++---
src/gallium/state_trackers/dri/drm/dri2.c | 2 ++
src/gallium/state_trackers/egl/c
This is the Mir EGL platform patch.
It's three roughly independed branches - gbm changes, gallium DRI Image 7
support (minus radeon, as that wants a kernel patch I'm hacking on), and
prime-in-DRIbuffer - then the EGL platform itself.
If it's easier to review I can post those branches separately
On Mon, 22 Apr, 2013 at 4:38 PM, christopher.halse.rog...@canonical.com
wrote:
From: Christopher James Halse Rogers
This is only exposed by drivers wich support the new PIPE_CAP_PRIME
parameter,
for PRIME import/export.
---
This stubs out texture_from_renderbuffer, which I don't
On Mon, 2013-04-22 at 21:38 +1000, Dave Airlie wrote:
> On Mon, Apr 22, 2013 at 9:09 PM, Jose Fonseca wrote:
> > - Original Message -
> >> From: Christopher James Halse Rogers
> >>
> >> This is only exposed by drivers wich support the new PIPE_CAP_
v2: Add both top_srcdir and top_builddir to mesa asm include dirs.
These require both in-tree and build-time-generated files.
Signed-off-by: Christopher James Halse Rogers
---
src/mesa/libdricore/Makefile.am | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a
Signed-off-by: Christopher James Halse Rogers
---
src/mapi/es1api/Makefile|4
src/mapi/glapi/gen/glapi_gen.mk | 14 +++---
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/src/mapi/es1api/Makefile b/src/mapi/es1api/Makefile
index a9c9123..6f4c35a 100644
Like in src/mesa, use GLSL_BUILDDIR/GLSL_SRCDIR to unambiguously
distinguish between in-tree and generated files.
Signed-off-by: Christopher James Halse Rogers
---
src/glsl/Makefile.am |4
src/glsl/Makefile.sources | 15 ---
src/glsl/glcpp/Makefile.am |4
Signed-off-by: Christopher James Halse Rogers
---
src/mapi/glapi/Makefile.am |1 +
1 file changed, 1 insertion(+)
diff --git a/src/mapi/glapi/Makefile.am b/src/mapi/glapi/Makefile.am
index 668d7fa..181a28a 100644
--- a/src/mapi/glapi/Makefile.am
+++ b/src/mapi/glapi/Makefile.am
@@ -27,6
Signed-off-by: Christopher James Halse Rogers
---
src/mapi/glapi/gen/Makefile.am |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/Makefile.am b/src/mapi/glapi/gen/Makefile.am
index 52aeb3a..499ec09 100644
--- a/src/mapi/glapi/gen/Makefile.am
+++ b/src
Signed-off-by: Christopher James Halse Rogers
---
src/glx/Makefile.am |2 ++
1 file changed, 2 insertions(+)
diff --git a/src/glx/Makefile.am b/src/glx/Makefile.am
index bb23998..23d5753 100644
--- a/src/glx/Makefile.am
+++ b/src/glx/Makefile.am
@@ -37,6 +37,8 @@ AM_CFLAGS = \
-I
-generated includes.
Signed-off-by: Christopher James Halse Rogers
---
src/glx/apple/Makefile |4
src/mesa/Makefile.am| 13 ++---
src/mesa/Makefile.old |5 -
src/mesa/libdricore/Makefile.am |3 ---
src/mesa/sources.mak| 34
On Wed, 2012-07-18 at 10:38 -0700, Ian Romanick wrote:
> On 07/17/2012 10:08 PM, Christopher James Halse Rogers wrote:
> > Like in src/mesa, use GLSL_BUILDDIR/GLSL_SRCDIR to unambiguously
> > distinguish between in-tree and generated files.
>
> There's a bunch of stuf
Signed-off-by: Christopher James Halse Rogers
---
src/mesa/libdricore/Makefile.am |8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/mesa/libdricore/Makefile.am b/src/mesa/libdricore/Makefile.am
index 7e1c22a..e46d5bd 100644
--- a/src/mesa/libdricore/Makefile.am
Like in src/mesa, use GLSL_BUILDDIR/GLSL_SRCDIR to unambiguously
distinguish between in-tree and generated files.
Signed-off-by: Christopher James Halse Rogers
---
src/glsl/Makefile.am|4
src/glsl/Makefile.sources | 15 ---
src/glsl/glcpp/Makefile.am
Signed-off-by: Christopher James Halse Rogers
---
src/mapi/glapi/Makefile.am |1 +
1 file changed, 1 insertion(+)
diff --git a/src/mapi/glapi/Makefile.am b/src/mapi/glapi/Makefile.am
index 668d7fa..181a28a 100644
--- a/src/mapi/glapi/Makefile.am
+++ b/src/mapi/glapi/Makefile.am
@@ -27,6
Signed-off-by: Christopher James Halse Rogers
---
src/mapi/glapi/gen/Makefile.am |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/Makefile.am b/src/mapi/glapi/gen/Makefile.am
index 52aeb3a..499ec09 100644
--- a/src/mapi/glapi/gen/Makefile.am
+++ b/src
Signed-off-by: Christopher James Halse Rogers
---
src/glx/Makefile.am |2 ++
1 file changed, 2 insertions(+)
diff --git a/src/glx/Makefile.am b/src/glx/Makefile.am
index bb23998..23d5753 100644
--- a/src/glx/Makefile.am
+++ b/src/glx/Makefile.am
@@ -37,6 +37,8 @@ AM_CFLAGS = \
-I
Also fix include paths for the generated headers.
v2: Switch to using self-explanatory BUILDDIR/SRCDIR defined from
top_builddir/top_srcdir rather than the ambiguous TOP.
Signed-off-by: Christopher James Halse Rogers
---
src/glx/apple/Makefile |4
src/mesa/Makefile.am
On Sun, 2012-07-08 at 19:39 -0700, Kenneth Graunke wrote:
> On 07/08/2012 04:14 PM, Christopher James Halse Rogers wrote:
> > Signed-off-by: Christopher James Halse Rogers
> >
> > ---
> > src/mesa/sources.mak |9 +
> > 1 file changed, 5 insertions
Signed-off-by: Christopher James Halse Rogers
---
src/mesa/libdricore/Makefile.am |9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/mesa/libdricore/Makefile.am b/src/mesa/libdricore/Makefile.am
index 4637bf2..f3ea4a3 100644
--- a/src/mesa/libdricore/Makefile.am
This series fixes out-of-tree builds as perpetrated by the Debian mesa
packaging. Almost. The linker gets confused on llvmpipe's test programs,
only in out-of-tree builds, but this gets all the important bits building.
___
mesa-dev mailing list
mesa-dev@
Signed-off-by: Christopher James Halse Rogers
---
src/mapi/glapi/gen/Makefile.am |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/Makefile.am b/src/mapi/glapi/gen/Makefile.am
index df3e82d..62ea1aa 100644
--- a/src/mapi/glapi/gen/Makefile.am
+++ b/src
Signed-off-by: Christopher James Halse Rogers
---
src/glsl/Makefile |9 ++---
src/glsl/Makefile.sources | 12 ++--
2 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/src/glsl/Makefile b/src/glsl/Makefile
index 3cf9fc9..872677e 100644
--- a/src/glsl
In some of the automake files TOP is set to top_srcdir, in some
top_builddir. Since the build looks for generated files under TOP,
top_builddir correct.
Signed-off-by: Christopher James Halse Rogers
---
src/mapi/shared-glapi/Makefile.am |2 +-
src/mesa/Makefile.am |4
Signed-off-by: Christopher James Halse Rogers
---
src/mesa/sources.mak |9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak
index 16b1c39..87191fd 100644
--- a/src/mesa/sources.mak
+++ b/src/mesa/sources.mak
@@ -4,8 +4,8
s set in the destination
> writemask, as it will have values much larger than 3. Clearly this is
> supposed to be 'j'.
>
> Found by inspection.
>
> Cc: Eric Anholt
> Cc: Matt Turner
> Cc: Christopher James Halse Rogers
> Signed-off-by: Kenneth Graunke
&
On Wed, 2011-10-05 at 10:39 +0100, Keith Whitwell wrote:
> On Wed, 2011-10-05 at 20:14 +1100, Christopher James Halse Rogers wrote:
> > On Wed, 2011-10-05 at 09:24 +0200, Joakim Sindholt wrote:
> > > On Tue, 2011-10-04 at 17:58 +0200, Fabio wrote:
> > > > C
On Wed, 2011-10-05 at 09:24 +0200, Joakim Sindholt wrote:
> On Tue, 2011-10-04 at 17:58 +0200, Fabio wrote:
> > Can the patches at
> > http://lists.freedesktop.org/archives/mesa-dev/2011-August/011099.html
> > be considered for merging?
> >
> > Sharing libgallium should save some MB of installed s
On Sat, 2011-08-27 at 14:02 +0800, Chia-I Wu wrote:
> On Fri, Aug 26, 2011 at 4:03 PM, Christopher James Halse Rogers
> wrote:
> > Eric was wondering why the --enable-shared-dricore option also built
> > libglsl.so.
> > This provided the activation energy to fix it, an
This is enabled iff libdricore is enabled.
Signed-off-by: Christopher James Halse Rogers
---
This could also be folded into libdricore, if that's considered more
appropriate.
configs/autoconf.in |3 +++
configure.ac |8 +++-
src/ga
Signed-off-by: Christopher James Halse Rogers
---
configs/autoconf.in |2 +-
configure.ac | 10 --
src/glsl/Makefile|9 +++--
src/mesa/Makefile|3 ++-
src/mesa/sources.mak |2 ++
5 files changed, 12 insertions(+), 14 deletions(-)
diff --git a
Fixes warning:
mv: `../../lib/libdricore.so' and `../../lib/libdricore.so' are the same file
Signed-off-by: Christopher James Halse Rogers
---
src/mesa/Makefile |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
ind
Eric was wondering why the --enable-shared-dricore option also built libglsl.so.
This provided the activation energy to fix it, and also extend dricore to the
gallium drivers.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesk
This is useful for building convenience libraries before combining them into
shared libraries, like dricore
Signed-off-by: Christopher James Halse Rogers
---
bin/mklib | 32
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/bin/mklib b/bin/mklib
r the stable release branches.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=28125
Signed-off-by: Christopher James Halse Rogers
---
This has been sitting on the list for a while; resending to prod it back into
attention.
src/glx/dri2.c |9 +
1 files changed, 9 insertions(
KDEP_OPTIONS) -p$(MESA_OBJ_DIR)/ $(MESA_CPPFLAGS) \
> $(ALL_SOURCES) > /dev/null 2>/dev/null
> + @$(MKDEP) $(MKDEP_OPTIONS) -a -p$(DRICORE_OBJ_DIR)/ $(MESA_CPPFLAGS) \
> + $(ALL_SOURCES) > /dev/null 2>/dev/null
>
> #
I see the tarballs, but there doesn't seem to be a mesa-7.11-rc3 tag in
git and 7.11 branch doesn't seem to have had a version bump commit.
Has someone forgotten to push?
signature.asc
Description: This is a digitally signed message part
___
mesa-dev m
https://bugs.freedesktop.org/show_bug.cgi?id=28125
Signed-off-by: Christopher James Halse Rogers
---
This seems to have died a quiet death without actually getting applied.
Kristian, was this what you had in mind?
src/glx/dri2.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/sr
On Wed, 2011-03-30 at 16:21 -0400, Jerome Glisse wrote:
> On Thu, Mar 24, 2011 at 2:32 AM, Christopher James Halse Rogers
> wrote:
> > On Thu, 2011-03-24 at 16:07 +1100, Christopher James Halse Rogers wrote:
> >> On Wed, 2011-03-23 at 17:48 -0700, Eric Anholt wrote:
> >
On Thu, 2011-03-24 at 16:07 +1100, Christopher James Halse Rogers wrote:
> On Wed, 2011-03-23 at 17:48 -0700, Eric Anholt wrote:
> > On Thu, 24 Mar 2011 10:33:36 +1100, christopher.halse.rog...@canonical.com
> > wrote:
> > > From: Christopher James Halse Rogers
> &g
On Wed, 2011-03-23 at 17:48 -0700, Eric Anholt wrote:
> On Thu, 24 Mar 2011 10:33:36 +1100, christopher.halse.rog...@canonical.com
> wrote:
> > From: Christopher James Halse Rogers
> >
> >
> > The initial-exec static TLS model is inappropriate for libraries
> &
On Sat, 2011-02-12 at 15:19 +0100, Sedat Dilek wrote:
> Hi,
>
> here on radeon RV250 I can only use swrast DRI driver.
>
> [ Xorg.log ]
> ...
> [ 3354.432] (EE) AIGLX error: Calling driver entry point failed
> [ 3354.432] (EE) AIGLX: reverting to software rendering
> ...
>
> My autogen-line lo
-compatible compiler that handles rpath
Handle DRI_CFLAGS without filter-out magic
Build shared libraries with the full mklib voodoo
Fix typos
v3: Resolve conflicts with talloc removal patches
Signed-off-by: Christopher James Halse Rogers
---
configs/autoconf.in| 14
-compatible compiler that handles rpath
Handle DRI_CFLAGS without filter-out magic
Build shared libraries with the full mklib voodoo
Fix typos
Signed-off-by: Christopher James Halse Rogers
---
configs/autoconf.in| 14 ++--
configs/default|3
: https://bugs.freedesktop.org/show_bug.cgi?id=33360
Signed-off-by: Christopher James Halse Rogers
---
src/mesa/drivers/osmesa/Makefile |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/drivers/osmesa/Makefile b/src/mesa/drivers/osmesa/Makefile
index 50dd452
On Tue, 2010-12-21 at 06:30 -0800, Dan Nicholson wrote:
> On Mon, Dec 20, 2010 at 8:34 PM, Christopher James Halse Rogers
> wrote:
> > This an adds --enable-shared-dricore option to configure. When enabled,
> > DRI modules will link against a shared copy of the common mesa r
difficult
to make optional.
> Keith
>
> On Mon, 2010-12-20 at 20:34 -0800, Christopher James Halse Rogers wrote:
> > This an adds --enable-shared-dricore option to configure. When enabled,
> > DRI modules will link against a shared copy of the common mesa routines
>
This an adds --enable-shared-dricore option to configure. When enabled,
DRI modules will link against a shared copy of the common mesa routines
rather than statically linking these.
This saves about 30MB on disc with a full complement of classic DRI
drivers.
---
Resending as it seems to have bee
This an adds --enable-shared-dricore option to configure. When enabled,
DRI modules will link against a shared copy of the common mesa routines
rather than statically linking these.
This saves about 30MB on disc with a full complement of classic DRI
drivers.
---
configs/autoconf.in
68 matches
Mail list logo