Questions about KHR_platform_gbm behaviour with multiple gbm_devices

2022-03-02 Thread Christopher James Halse Rogers
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

Re: [Mesa-dev] [PATCH] gallium/dri: Support DRI Image extension version 7 (v3)

2013-11-24 Thread Christopher James Halse Rogers
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

Re: [Mesa-dev] [PATCH 3/9] gallium/dri2: Set winsys_handle type to KMS for stride query.

2013-11-24 Thread Christopher James Halse Rogers
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

Re: [Mesa-dev] [PATCH 3/9] gallium/dri2: Set winsys_handle type to KMS for stride query.

2013-11-21 Thread Christopher James Halse Rogers
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

Re: [Mesa-dev] [PATCH 6/7] radeon: Rename bo_handles hashtable to match its actual contents.

2013-10-09 Thread Christopher James Halse Rogers
, 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'

[Mesa-dev] [PATCH 15/15] Add Mir EGL platform

2013-07-20 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 14/15] Support loading multiple EGL platforms in a single process

2013-07-20 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 13/15] gallium/dri: Handle prime fds in __DRIBuffers

2013-07-20 Thread Christopher James Halse Rogers
--- 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/

[Mesa-dev] [PATCH 12/15] intel: Use fd parameter in DRIbuffer when name is unset

2013-07-20 Thread Christopher James Halse Rogers
--- 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

[Mesa-dev] [PATCH 10/15] gbm: Create a DRI image for dumb buffers, too.

2013-07-20 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 11/15] Add fd parameter to __DRIbuffer.

2013-07-20 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 09/15] gbm: Factor out gbm_to_dri_format function

2013-07-20 Thread Christopher James Halse Rogers
--- 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

[Mesa-dev] [PATCH 07/15] Actually fill in the format of dumb buffers

2013-07-20 Thread Christopher James Halse Rogers
--- 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_

[Mesa-dev] [PATCH 08/15] gbm: Allow creating non-cursor dumb buffers.

2013-07-20 Thread Christopher James Halse Rogers
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/

[Mesa-dev] [PATCH 06/15] gbm: Support GBM_FORMAT_XBGR8888

2013-07-20 Thread Christopher James Halse Rogers
--- 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

[Mesa-dev] [PATCH 05/15] ilo: Support DRI Image 7

2013-07-20 Thread Christopher James Halse Rogers
--- 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

[Mesa-dev] [PATCH 04/15] nouveau: Support DRI Image 7 extension

2013-07-20 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 03/15] gallium/dri: Support* DRI Image extension version 7

2013-07-20 Thread Christopher James Halse Rogers
*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

[Mesa-dev] [PATCH 02/15] gallium/dri2: Set winsys_handle type to KMS for stride query.

2013-07-20 Thread Christopher James Halse Rogers
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/

[Mesa-dev] [PATCH 01/15] gallium/winsys/drm: Prepare for passing prime fds in winsys_handle

2013-07-20 Thread Christopher James Halse Rogers
--- 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

[Mesa-dev] [PATCH] Mir EGL platform

2013-07-20 Thread Christopher James Halse Rogers
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

Re: [Mesa-dev] [PATCH 1/4] gallium/dri: Allow drivers to support DRI Image v7

2013-04-22 Thread Christopher James Halse Rogers
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

Re: [Mesa-dev] [PATCH 1/4] gallium/dri: Allow drivers to support DRI Image v7

2013-04-22 Thread Christopher James Halse Rogers
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_

[Mesa-dev] [PATCH 7/7] build: Fix libdricore out-of-tree builds (v2)

2012-07-18 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 6/7] build/mapi: More killing of TOP in favour of top_srcdir

2012-07-18 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 5/7] build/glsl: fix location of generated files.

2012-07-18 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 4/7] build/glapi: fix includes for generated files

2012-07-18 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 3/7] build: fix out of tree generation of glapi_mapi_tmp.h

2012-07-18 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 2/7] build/glx: fix include paths for out-of-tree builds

2012-07-18 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 1/7] build: fix location of generated files in src/mesa (v3)

2012-07-18 Thread Christopher James Halse Rogers
-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

Re: [Mesa-dev] [PATCH 5/6] build/glsl: fix location of generated files.

2012-07-18 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 6/6] build: Fix libdricore out-of-tree builds

2012-07-17 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 5/6] build/glsl: fix location of generated files.

2012-07-17 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 4/6] build/glapi: fix includes for generated files

2012-07-17 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 3/6] build: fix out of tree generation of glapi_mapi_tmp.h

2012-07-17 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 2/6] bulid/glx: fix include paths for out-of-tree builds

2012-07-17 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 1/6] build: fix location of generated files in src/mesa (v2)

2012-07-17 Thread Christopher James Halse Rogers
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

Re: [Mesa-dev] [PATCH 3/5] build: fix location of generated files in src/mesa

2012-07-08 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 5/5] build: Fix libdricore out-of-tree builds

2012-07-08 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH] Fix the build, Debian style

2012-07-08 Thread Christopher James Halse Rogers
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@

[Mesa-dev] [PATCH 2/5] build: fix out of tree generation of glapi_mapi_tmp.h

2012-07-08 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 4/5] build: Fix glsl out-of-tree builds

2012-07-08 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 1/5] build: fix top_srcdir/top_builddir confusion.

2012-07-08 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 3/5] build: fix location of generated files in src/mesa

2012-07-08 Thread Christopher James Halse Rogers
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

Re: [Mesa-dev] [PATCH 1/3] i965/vs: Fix incorrect subscript when resetting copy propagation records.

2011-12-23 Thread Christopher James Halse Rogers
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 &

Re: [Mesa-dev] libgallium.so and miscelaneous buildsystem patches

2011-10-05 Thread Christopher James Halse Rogers
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

Re: [Mesa-dev] libgallium.so and miscelaneous buildsystem patches

2011-10-05 Thread Christopher James Halse Rogers
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

Re: [Mesa-dev] [PATCH 0/4] Miscelaneous buildsystem patches

2011-08-28 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 3/4] build: Factor out common gallium code into libgallium.so mirroring libdricore.

2011-08-26 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 2/4] build: Use new -whole-archive support to fold libglsl.so into libdricore.so

2011-08-26 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 4/4] build: Fix harmless warning when building libdricore.so

2011-08-26 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 0/4] Miscelaneous buildsystem patches

2011-08-26 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH 1/4] mklib: Add support for -whole-archive/-no-whole-archive.

2011-08-26 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH resend] glx/dri2: Paper over errors in DRI2Connect when indirect

2011-08-03 Thread Christopher James Halse Rogers
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(

Re: [Mesa-dev] [PATCH] Add dependency generation for Mesa and GLSL dricore objects.

2011-07-27 Thread Christopher James Halse Rogers
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 > > #

Re: [Mesa-dev] Mesa 7.11 release candidate 3

2011-07-25 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH] glx/dri2: Paper over errors in DRI2Connect when indirect

2011-06-09 Thread Christopher James Halse Rogers
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

Re: [Mesa-dev] [PATCH 1/4] dispatch: Use general-dynamic TLS model rather than initial-exec.

2011-03-30 Thread Christopher James Halse Rogers
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: > >

Re: [Mesa-dev] [PATCH 1/4] dispatch: Use general-dynamic TLS model rather than initial-exec.

2011-03-23 Thread Christopher James Halse Rogers
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

Re: [Mesa-dev] [PATCH 1/4] dispatch: Use general-dynamic TLS model rather than initial-exec.

2011-03-23 Thread Christopher James Halse Rogers
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 > &

Re: [Mesa-dev] [PATCH v3] mesa: Optionally build a dricore support library (v3)

2011-02-13 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH v3] mesa: Optionally build a dricore support library (v3)

2011-02-02 Thread Christopher James Halse Rogers
-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

[Mesa-dev] [PATCH] mesa: Optionally build a dricore support library (v2)

2011-01-23 Thread Christopher James Halse Rogers
-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

[Mesa-dev] [PATCH] osmesa: mklib requires arguments before objects

2011-01-23 Thread Christopher James Halse Rogers
: 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

Re: [Mesa-dev] [PATCH Resend] mesa: Optionally build a dricore support library.

2010-12-23 Thread Christopher James Halse Rogers
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

Re: [Mesa-dev] [PATCH Resend] mesa: Optionally build a dricore support library.

2010-12-23 Thread Christopher James Halse Rogers
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 >

[Mesa-dev] [PATCH Resend] mesa: Optionally build a dricore support library.

2010-12-20 Thread Christopher James Halse Rogers
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

[Mesa-dev] [PATCH] mesa: Optionally build a dricore support library.

2010-12-09 Thread Christopher James Halse Rogers
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