A current incomplete framebuffer was incorrectly used as a
st_framebuffer. When accessing st_framebuffer childs bad things happen:
e.g. st_framebuffer::iface was used to check whether its an incomplete
fb, instead we need to compare st_framebuffer::Base against
mesa_get_incomplete_framebuffer.
Bug
So we can use the wayland scanner makro, which is way
better than our previous runtime-pkgconfig hack.
---
configs/autoconf.in |7 ---
configs/default |7 ---
configure.ac | 24 +++--
src/egl/dri
-lxcb-glx... no
>> checking expat.h usability... yes
>> checking expat.h presence... yes
>> checking for expat.h... yes
>> checking for XML_ParserCreate in -lexpat... yes
>> checking for mincore... yes
>> checking for LIBUDEV... yes
>> checking
Thanks, commited.
2012/1/29 :
> From: Juan Zhao
>
> to fix the header file missing when building wayland-egl
> ---
> src/egl/wayland/wayland-egl/Makefile.am | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/src/egl/wayland/wayland-egl/Makefile.am
> b/src/egl/wayla
Prior commit 576161289df68eedade591fbca4013329c9e5ded,
the parameter format was bpp, thus both 24bit and 32bit formats were
requested with format set to 32. Handle 24bit seperately now.
Fixes RGBX formats in wayland platform for egl_dri2 (EGL_ALPHA_SIZE=0).
Note: This is a candidate for the 8.0 b
The patch has autogenerated and manual changes mixed, that should
always be avoided.
Changes done by "make de.po" should be a first commit, then as a
second your changes.
Additionally options.h needs to be regenerated, use make
PYTHON2=python options.h
(of course as another commit again, but that
It looks like this should be converted to a new dri_drawable hook
(like allocate_textures),
so the the drisw specific bits would be in sw/drisw.c (the hook in
drm/dri2.c would just be a noop).
This is the way the other stuff in st/dri is implemented and
dri_drawable.c wouldnt need to be cloned.
20
In preparation for wayland ALPHA_FORMAT usage,
see commit 7b1d94e5d1f53ac5f59000176aea1d02fc9a1181.
Changes:
- New native_config surface_type bit: alpha_format_pre_bit
- Introduction of native_surface_attribs
(as new parameter in create_{window,pixmap}_surface)
- New attrib alpha_format in n
2011/9/2 Chia-I Wu :
> On Thu, Sep 1, 2011 at 5:53 PM, Benjamin Franzke
> wrote:
>> In preparation for wayland ALPHA_FORMAT usage,
>> see commit 7b1d94e5d1f53ac5f59000176aea1d02fc9a1181.
>>
>> Changes:
>> - New native_config surface_type bit: alpha_
gs = MALLOC(2 * sizeof(*configs));
+ configs = MALLOC(display->num_configs * sizeof(*configs));
if (configs) {
- configs[0] = &display->config[0].base;
- configs[1] = &display->config[1].base;
+ for (i = 0; i < display->num_configs; ++i)
+
2011/9/8 Chia-I Wu :
> From: Chia-I Wu
>
> Return true for NATIVE_PARAM_PREMULTIPLIED_ALPHA when all formats with
> alpha support premultiplied alpha. Currently, it means when argb32 and
> argb32_pre are both supported.
> ---
> .../state_trackers/egl/wayland/native_drm.c | 8 ++--
>
2011/9/8 Chia-I Wu :
> On Thu, Sep 8, 2011 at 3:11 PM, Benjamin Franzke
> wrote:
>> First thanks for taking this on.
>>
>> There are some things I'd like to have addtionally/differently:
>>
>> Supported shm formats are exposed via a "format" ev
2011/9/8 Chia-I Wu :
> On Thu, Sep 8, 2011 at 3:13 PM, Benjamin Franzke
> wrote:
>> 2011/9/8 Chia-I Wu :
>>> From: Chia-I Wu
>>>
>>> Return true for NATIVE_PARAM_PREMULTIPLIED_ALPHA when all formats with
>>> alpha support premultiplied alpha. Cu
This reverts commit 02f1b50987c0d24da3dcc36dbb44821c20d0660c.
CC: Stuart Abercrombie
CC: Stéphane Marchesin
---
src/gallium/state_trackers/dri/sw/dri_drawable.c | 50 +++---
1 files changed, 7 insertions(+), 43 deletions(-)
diff --git a/src/gallium/state_trackers/dri/sw/dri_d
This reverts commit 569bde1fa7d03fb7688d0d391b32e61e857ad44e.
CC: Stuart Abercrombie
CC: Stéphane Marchesin
---
src/gallium/state_trackers/dri/sw/dri_drawable.c | 270 +-
1 files changed, 1 insertions(+), 269 deletions(-)
mode change 100644 => 12 src/gallium/state_trac
This is a cleanup of commit 02f1b50987c0d24da3dcc36dbb44821c20d0660c.
Update tex buffer using a dri_drawable hook from implemented in sw/drisw.c.
This saves us the duplication of dri_drawable.c.
CC: Stuart Abercrombie
CC: Stéphane Marchesin
---
.../state_trackers/dri/common/dri_drawable.c
2011/10/18 chris :
> Dear
>
> Could anyone tell me where is the "wl_drm_create" function defined? I can't
> find it anywhere, no definition can be found. No google information can be
> searched! Why?
Seems like you're compiling mesa 7.11 again wayland master, but they
are incompatible.
The wl_drm_
2011/11/2 George Sapountzis :
> Hi,
>
> [please cc: me in any replies]
>
> I rebased (with minor cleanups) the patches submitted by Benjamin
> Franzke and put them at:
Thanks for reminding. I wanted to wait for feedback, but there was no
answer (same as for my comments on the o
I think in i915g the CURSOR flag should be used in i9x5_scanout_layout
for the "special case for cursors" as well, instead of only checking
only pt->width0 == 64 && pt->height0 == 64.
2011/5/2 Daniel Vetter :
> On Sun, May 1, 2011 at 11:59 PM, Marcin Slusarz
> wrote:
>> We need to distinguish sur
*wayland_bufmgr;
};
/**
diff --git a/src/gallium/state_trackers/egl/common/native_wayland_bufmgr.h
b/src/gallium/state_trackers/egl/common/native_wayland_bufmgr.h
new file mode 100644
index 000..b29fd15
--- /dev/null
+++ b/src/gallium/state_trackers/egl/common/native_wayland_bufmgr.h
---
src/gallium/state_trackers/dri/drm/dri2.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c
b/src/gallium/state_trackers/dri/drm/dri2.c
index 30326a2..e471e8e 100644
--- a/src/gallium/state_trackers/dri/drm/dri2.c
+++ b/
---
.../state_trackers/egl/common/egl_g3d_image.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/gallium/state_trackers/egl/common/egl_g3d_image.c
b/src/gallium/state_trackers/egl/common/egl_g3d_image.c
index e1c8316..34bb92c 100644
--- a/src/gallium/state_t
---
If these checks are not sufficent see this as feature request. :)
---
src/gallium/drivers/r600/r600_texture.c | 17 +++--
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/src/gallium/drivers/r600/r600_texture.c
b/src/gallium/drivers/r600/r600_texture.c
index 7ffe
SET definition.
Hope this suits the need for driver loaders, but also driver implementations.
Benjamin Franzke (6):
Add i915 & i965 pci id lists
Add radeon pci id lists
egl_dri2: Use external driver pci list
targets/egl: Support driver name lookup using pci lists
radeon: Use pciid
---
src/mesa/drivers/dri/intel/i915_pci_ids.h | 19 +++
src/mesa/drivers/dri/intel/i965_pci_ids.h | 27 +++
2 files changed, 46 insertions(+), 0 deletions(-)
create mode 100644 src/mesa/drivers/dri/intel/i915_pci_ids.h
create mode 100644 src/mesa/drive
---
src/mesa/drivers/dri/radeon/r200_pci_ids.h | 22 +++
src/mesa/drivers/dri/radeon/r300_pci_ids.h | 218 +
src/mesa/drivers/dri/radeon/r600_pci_ids.h | 261 ++
src/mesa/drivers/dri/radeon/radeon_pci_ids.h | 23 +++
4 files changed, 524 inse
Make use of this in drm and wayland st/egl backends.
---
src/gallium/state_trackers/egl/drm/native_drm.c| 33 +
.../state_trackers/egl/wayland/native_drm.c| 40 +--
src/gallium/targets/egl/egl.c | 80 +++-
src/gallium/targets/e
---
src/mesa/drivers/dri/radeon/radeon_chipset.h | 499 +-
1 files changed, 8 insertions(+), 491 deletions(-)
diff --git a/src/mesa/drivers/dri/radeon/radeon_chipset.h
b/src/mesa/drivers/dri/radeon/radeon_chipset.h
index bd23662..0e51325 100644
--- a/src/mesa/drivers/dri
---
src/gallium/winsys/r600/drm/Makefile |1 +
src/gallium/winsys/r600/drm/radeon_pciid.c | 486 +---
2 files changed, 6 insertions(+), 481 deletions(-)
diff --git a/src/gallium/winsys/r600/drm/Makefile
b/src/gallium/winsys/r600/drm/Makefile
index 7310734..45fd
---
src/egl/drivers/dri2/Makefile |2 +-
src/egl/drivers/dri2/common.c | 110 ++
src/egl/drivers/dri2/egl_dri2.h |2 +
src/egl/drivers/dri2/pci_ids.h | 62
src/egl/drivers/dri2/platform_drm.c | 663 +--
5 files changed, 176
Well radeon_drm_public.h declares radeon_drm_winsys_create(),
but yea is_r3xx should be replaced.
Patch attached.
2011/6/6 Alex Deucher :
> On Mon, Jun 6, 2011 at 11:49 AM, Benjamin Franzke
> wrote:
>> We need pci id to driver-name mapping for drm and
>> wayland platfor
2011/6/6 Alex Deucher :
> Looks good. Thanks. Overall the patch set looks fine to me. I agree
> with Marek that it might be better to put the pci ids together
> somewhere. For the series:
>
> Reviewed-by: Alex Deucher
Ok, moved the lists into include/pci_ids/, hope thats ok.
Updated patch se
2011/6/6 Alex Deucher :
> Sorry, I just thought of one tricky situation. Only r600g supports
> CAYMAN asics, so r600c shouldn't have the CAYMAN pci ids. Maybe just
> split the CAYMAN ids out into a new header, cayman_pci_ids.h, and
> include both r600_pci_ids.h and cayman_pci_ids.h in r600g and o
2011/6/6 Eric Anholt :
> These 4 chipsets aren't part of the i915 driver.
>
> Other than that, thanks for taking this on! Looks like much more
> sanity, and we've talked about using something like the third argument
> to avoid some of the if trees we've got around.
>
Ok, thanks updated.
If there
x86_64_entry_start needs to be bound global, in order to have the
correct address in entry_get_public (seems not to be needed on x86).
Otherwise addresses needed for _glapi_proc_address will be computed
from some random offset (0x6400229a61058b48 in my case).
---
src/mapi/mapi/entry_x86-64_tls.h
d by
Jeff Chua I actually forgot the conditional for it.
As I dont have commit access, would someone push these fixes, available at:
git://anongit.freedesktop.org/~bnf/mesa egl_dri2-fixes
Benjamin Franzke (3):
egl_dri2: Use libudev only if available
egl_dri2: Add missing license
clared as extern, the compiler will generate code
to lookup a global object, not a local.
By declaring x86_64_entry_start as static the correct local address is
loaded here.
Patch attached.
From 7ca323bf472004066f35dbec51791c90a671a42e Mon Sep 17 00:00:00 2001
From: Benjamin Franzke
Date: Wed,
2011/6/11 Chia-I Wu :
> I got this warning after applying the patch
>
> ../../../src/mapi/mapi/entry_x86-64_tls.h:69:1: warning:
> ‘x86_64_current_tls’ used but never defined
>
> Maybe the function declaration should be decorated with "extern"?
Yeah, should work at least, just checked that caling
Removing this flag seems right to me, but always building the egl
state tracker when gallium and egl is enabled not.
So when --with-state-trackers is also removed, we'd need a new
--with-egl-drivers=auto|gallium,dri2,glx or so.
The usecase is that you could choose to use st/dri together with
egl_d
---
.../state_trackers/dri/common/dri_context.c|5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/gallium/state_trackers/dri/common/dri_context.c
b/src/gallium/state_trackers/dri/common/dri_context.c
index e23c1bc..0f9e4e5 100644
--- a/src/gallium/state_track
Actually I wasnt sure, but theres nothing like that in glx/dri2_glx.c
or egl_dri2.
Furthermore the intel driver does sth similar.
2011/6/21 Jakob Bornecrantz :
> On Tue, Jun 21, 2011 at 1:32 PM, Benjamin Franzke
> wrote:
>> ---
>> .../state_trackers/dri/common/dri_conte
e but doesn't this happen already
> or does this fix a bug?
>
> Cheers Jakob.
>
>> 2011/6/21 Jakob Bornecrantz :
>>> On Tue, Jun 21, 2011 at 1:32 PM, Benjamin Franzke
>>> wrote:
>>>> ---
>>>> .../state_trackers/dri/common/dri_context.
.
We wanted to use libkms, but since that's explicitly designed to no
support hw renderable buffers we have to go a different route.
Benjamin Franzke (8):
dri: Add dupImage to DRIimageExtension
intel: Implement DRIimageExtension::dupImage
st/dri: Implement DRIimageExtension::dupImage
---
include/GL/internal/dri_interface.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/GL/internal/dri_interface.h
b/include/GL/internal/dri_interface.h
index f022b44..21b9af6 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interfa
---
src/mesa/drivers/dri/intel/intel_screen.c | 27 ++-
1 files changed, 26 insertions(+), 1 deletions(-)
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c
b/src/mesa/drivers/dri/intel/intel_screen.c
index e915ca0..2a3a601 100644
--- a/src/mesa/drivers/dri/intel/in
---
src/gallium/state_trackers/dri/drm/dri2.c | 19 +++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c
b/src/gallium/state_trackers/dri/drm/dri2.c
index e471e8e..0296a78 100644
--- a/src/gallium/state_trackers/dri/drm/dr
t notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES O
H THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ *
+ * Authors:
+ *Kristian Høgsberg
+ *Benjamin Franzke
+ */
+
+#include
+#include
+
+#include
+
+#include "gbm_driint.h"
+#define DRIVER_MAP_DRI2_ONLY
+#include "pci_ids/pci_id_driver_map.h"
+
+char
HE AUTHORS OR COPYRIGHT
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ *
+ * Authors:
+ *Benjamin Franzke
+ */
---
configure.ac|3 +
src/egl/drivers/dri2/Makefile |2 +
src/egl/drivers/dri2/egl_dri2.c | 76 +++
src/egl/drivers/dri2/egl_dri2.h | 11
src/egl/drivers/dri2/platform_drm.c | 99 +--
s
---
src/gallium/state_trackers/egl/Makefile |3 +-
src/gallium/state_trackers/egl/common/egl_g3d.c | 18 +-
src/gallium/state_trackers/egl/common/native.h |3 +
src/gallium/state_trackers/egl/drm/modeset.c| 36 +++
src/gallium/state_trackers/egl/drm/native_drm.
2011/6/23 Chia-I Wu :
> On Wed, Jun 22, 2011 at 10:30 PM, Benjamin Franzke
> wrote:
>> Hi List,
>>
>> This series adds a graphics buffer management library which is
>> targeted to be used as native (drm) platform for egl on kms or openwfd,
>> and thus replaces
2011/6/23 Chia-I Wu :
> On Thu, Jun 23, 2011 at 7:46 PM, Benjamin Franzke
> wrote:
>> 2011/6/23 Chia-I Wu :
>>> On Wed, Jun 22, 2011 at 10:30 PM, Benjamin Franzke
>>> wrote:
>>>> Hi List,
>>>>
>>>> This series adds a graphics buf
Fixes broken glTexImage2D with format=GL_RGBA since
1a339b6c71ebab6e1a64f05b2e133022d3bbcd15
The origin for this behaviour is that r600_is_format_supported
checks only against r600_state_inline.h tables not evergreens.
---
src/gallium/drivers/r600/eg_state_inlines.h |1 +
1 files changed, 1 i
2011/6/24 Chia-I Wu :
> On Fri, Jun 24, 2011 at 8:38 AM, Chia-I Wu wrote:
>> On Thu, Jun 23, 2011 at 8:07 PM, Benjamin Franzke
>> wrote:
>>> 2011/6/23 Chia-I Wu :
>>>> On Thu, Jun 23, 2011 at 7:46 PM, Benjamin Franzke
>>>> wrote:
>>>>
2011/6/24 Chia-I Wu :
> On Fri, Jun 24, 2011 at 3:34 PM, Benjamin Franzke
> wrote:
>> 2011/6/24 Chia-I Wu :
>>> On Fri, Jun 24, 2011 at 8:38 AM, Chia-I Wu wrote:
>>>> On Thu, Jun 23, 2011 at 8:07 PM, Benjamin Franzke
>>>> wrote:
>>>>>
Looks good to me too, and since there were no complaints, pushed.
Thanks.
2011/7/25 Tobias Droste :
> Signed-off-by: Tobias Droste
> Acked-by: Jakob Bornecrantz
> Reviewed-by: Marek Olšák
> ---
> src/gallium/targets/egl-static/Makefile | 12 +---
> 1 files changed, 9 insertions(+), 3
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39588
egl_dri2 creates contexts with a doubleBufferConfig when PIXMAP and
WINDOW bit is request, so _mesa_init_color sets DrawBuffer[0] to
GL_BACK.
If a pixmap surface is created egl_dri2 will use a single buffer config,
so MakeCurrent has to adju
2011/8/4 Brian Paul :
> On 08/04/2011 06:31 AM, Benjamin Franzke wrote:
>>
>> Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39588
>>
>> egl_dri2 creates contexts with a doubleBufferConfig when PIXMAP and
>> WINDOW bit is request, so _mesa_init_color sets Dra
2011/8/4 Brian Paul :
> On 08/04/2011 07:39 AM, Benjamin Franzke wrote:
>>
>> 2011/8/4 Brian Paul:
>>>
>>> On 08/04/2011 06:31 AM, Benjamin Franzke wrote:
>>>>
>>>> Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39588
>>>>
t messages can upset, but lets keep patient.
> For commits of this complexity, write descriptive messages for the sake of
> others.
>
> --
> Chad Versace
> c...@chad-versace.us
>
> On 08/04/2011 05:18 AM, Benjamin Franzke wrote:
>> Module: Mesa
>> Branch: ma
There is nothing compiled since GLW_SOURCES is not substituted by configure:
Makefile.am:29
libGLw_la_SOURCES = $(GLW_SOURCES)
This would need AC_SUBST([GLW_SOURCES]) in configure.ac,
but thats not allowed for _SOURCES variables, see automake output:
configure.ac:96: `GLW_SOURCES' includes conf
EGL doesnt define howto manage different native platforms.
So mesa has a builtime configurable default platform,
whith non-standard envvar (EGL_PLATFORM) overwrites.
This caused unneeded bugreports, when EGL_PLATFORM was forgotten.
Detection is grouped into basic types of NativeDisplays (which its
With new autodetection the type may change, and a local
static variable isnt sufficient as cache anymore.
Reviewed-by: Kristian Høgsberg
---
src/egl/main/egldisplay.c |9 -
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/egl/main/egldisplay.c b/src/egl/main/egldisp
Reviewed-by: Kristian Høgsberg
---
src/egl/main/egldisplay.c | 29 ++---
1 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/src/egl/main/egldisplay.c b/src/egl/main/egldisplay.c
index 5421f5f..27399c3 100644
--- a/src/egl/main/egldisplay.c
+++ b/src/egl/mai
2011/8/10 Chia-I Wu :
> On Tue, Aug 9, 2011 at 10:53 PM, Benjamin Franzke
> wrote:
>> EGL doesnt define howto manage different native platforms.
>> So mesa has a builtime configurable default platform,
>> whith non-standard envvar (EGL_PLATFORM) overwrites.
>> T
2011/8/10 Chia-I Wu :
> I'd prefer to leave out the second patch for now. One comment below
>
> On Tue, Aug 9, 2011 at 10:53 PM, Benjamin Franzke
> wrote:
>> diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c
>> index 0ba7794..5d186c6 100644
>> --- a
Remove definition from egl_dri2.
Defining this is egl_dri2.h breaks as soon as
a new dri2 buffer token is added like with commit
4501a5d6e8d00fd0d87625352ed5ba1a8861f72e.
---
include/GL/internal/dri_interface.h |1 +
src/egl/drivers/dri2/egl_dri2.h |2 --
2 files changed, 1 insertions(
2011/8/15 Cooper Yuan :
> so, export EGL_PLATFORM=drm, is still working, right?
Yes, and has a higher priority than the autodetection.
>
> On Mon, Aug 15, 2011 at 3:47 PM, Benjamin Franzke
> wrote:
>>
>> Module: Mesa
>> Branch: master
>> Commit: 85fe9484945
2011/8/19 Chia-I Wu :
> This builds the static library libmesa_st_egl from st/egl.
> ---
> src/gallium/Android.mk | 1 +
> src/gallium/state_trackers/egl/Android.mk | 56
> +
> 2 files changed, 57 insertions(+), 0 deletions(-)
> create mode 100
;radeon") == 0) {
> + struct drm_radeon_info info;
> + int ret;
> +
> + *vendor_id = 0x1002;
> +
> + memset(&info, 0, sizeof(info));
> + info.request = RADEON_INFO_DEVICE_ID;
> + info.value = (long) chip_id;
Just a little nitpick: value
2011/8/19 Chia-I Wu :
> On Fri, Aug 19, 2011 at 5:59 PM, Benjamin Franzke
> wrote:
>> 2011/8/19 Chia-I Wu :
>>> There is no libudev on Android. Use DRM to get the PCI ID directly.
>>> ---
>>> src/gallium/targets/egl-static/egl.c | 62
>>>
2011/8/24 Chia-I Wu :
> Add platform_android.c that supports _EGL_PLAFORM_ANDROID. It works
> with drm_gralloc, where back buffers of windows are backed by GEM
> objects.
>
> In Android a native window has a queue of back buffers allocated by the
> server, through drm_gralloc. For each frame, EGL
2011/8/24 Chia-I Wu :
> On Wed, Aug 24, 2011 at 7:01 PM, Benjamin Franzke
> wrote:
>> 2011/8/24 Chia-I Wu :
>>> Add platform_android.c that supports _EGL_PLAFORM_ANDROID. It works
>>> with drm_gralloc, where back buffers of windows are backed by GEM
>>&g
2012/2/9 Thomas Hellstrom :
> Hi!
>
> I have a couple of quick EGL questions that I hope someone knows the answer
> to:
>
> 1) I'm trying to test the vmwgfx_dri driver with EGL driver egl_dri2,
> platform drm, but it doesn't seem like this
> configuration supports EGL_MESA_screen_surface so basical
Hi,
Sorry for not responding earlier..
There are some objections from my side:
1. These functions only cover the driver-independent lookups.
But for the wl_egl_pixmap there was a need to access driver_private:
http://cgit.freedesktop.org/~bnf/libva/tree/va/wayland/va_wayland.c?h=wayland
T
If we really want the drm protocol header to be public, i'd prefer to
have it in a seperate repository.
But Kristian didnt want that.
But in the meantime, whats so bad in having that simple protocol file
copied over?
2012/2/23 Zhao, Halley :
> Resend the patch, it is required to enable libva over
That is when building with --disable-opengl.
Fix for commit c5f4024a793f1209b1693aed9a46be9374ba4741.
CC: Chad Versace
---
src/mesa/drivers/common/meta.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
That is when building with --disable-opengl.
Fix for commit cb045880b113b0042d8dfb7e4cdf76e6cc76c1d1.
CC: Paul Berry
---
src/mesa/drivers/common/meta.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
in
We dont want eglplatform.h to typedef egl native types
to x11 types, when x11 headers are not available.
---
configure.ac |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index 0caa1b1..92a0e52 100644
--- a/configure.ac
+++ b/configure.ac
@@ -
That is only when the egl x11 platform is not choosen to be build.
---
configure.ac |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 92a0e52..345d865 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1418,12 +1418,13 @@ if test "x$enab
2012/3/1 Chad Versace :
> On 02/29/2012 07:36 AM, Benjamin Franzke wrote:
>> We dont want eglplatform.h to typedef egl native types
>> to x11 types, when x11 headers are not available.
>> ---
>> configure.ac | 4
>> 1 files changed, 4 insertions(+),
2012/3/1 Chad Versace :
> On 03/01/2012 11:39 AM, Benjamin Franzke wrote:
>> 2012/3/1 Chad Versace :
>>> On 02/29/2012 07:36 AM, Benjamin Franzke wrote:
>>>> We dont want eglplatform.h to typedef egl native types
>>>> to x11 types, when x11 headers are
The extension is already exposed for GLES1, but the APIspec
doesnt allow the usage of GL_BGRA_EXT in glTex(Sub)Image2D.
---
src/mesa/main/APIspec.xml |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/APIspec.xml b/src/mesa/main/APIspec.xml
index eeae599..437b96
Also fixes the usage of GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES,
which may be set to a BGRA format e.g. for a MESA_FORMAT_ARGB fb.
---
src/mesa/main/APIspec.xml |2 ++
src/mesa/main/extensions.c |1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/APIspec
st/egl/x11/x11_screen.c requests a driver named r300 not radeon
KNOWN ISSUE: breaks st/egl/kms/
st/egl/kms requests a pipe named "radeon"
that will not be found now
so why not leaving pipe_radeon there?
that was possible as long we have only r300g.
now ther
load pipe_r300 or pipe_r600 depending on the chip_id
needed for st/egl/kms which requests a "radeon" pipe
for both: r300 and r600 cards
---
src/gallium/targets/egl/Makefile | 15 ++-
src/gallium/targets/egl/pipe_radeon.c | 24
2 files changed, 38 inse
KNOWN ISSUE: eglShowScreenSurfaceMESA in st/egl/kms fails
but st/egl/x11 works
---
src/gallium/targets/egl/Makefile| 13 +
src/gallium/targets/egl/pipe_r600.c | 27 +++
2 files changed, 40 insertions(+), 0 deletions(-)
create mode 100644 src/gallium/tar
This Patch fixes DRMBuffer stride, which is to short when using
wayland with r300g. (only one quarter of the screen has real data,
with some parts left out..)
Funnily, on nouveau wayland runs with and without this patch for me..
But hey, now wayland runs fine on r300g using x11-compositor and the
c
This patch adds support to use eglExportDRMImageMESA with r600g.
so wayland runs with its x11-compositor and clients on it...
0001-r600g-implement-texture_get_handle-needed-for-eglExp.patch
Description: Binary data
___
mesa-dev mailing list
mesa-dev@lis
---
src/mesa/state_tracker/st_extensions.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index d240cab..9534cc9 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_trac
internalFormat=GL_BGRA is only allowed with gles1/2
and GL_EXT_texture_format_BGRA enabled.
---
src/mesa/main/texformat.c |4
src/mesa/main/teximage.c |9 +
src/mesa/main/texparam.c |7 +--
src/mesa/main/texstate.c |1 +
4 files changed, 19 insertions(+), 2
---
src/mesa/state_tracker/st_format.c | 11 ++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/mesa/state_tracker/st_format.c
b/src/mesa/state_tracker/st_format.c
index 2e0a664..a532e08 100644
--- a/src/mesa/state_tracker/st_format.c
+++ b/src/mesa/state_tracker/st
format
in gles' glTexImage2D.
From c32e2399cbda229c3e5fb0943c45dcb5ef89ba32 Mon Sep 17 00:00:00 2001
From: Benjamin Franzke
Date: Fri, 21 Jan 2011 14:24:11 +0100
Subject: [PATCH 1/4] mesa: allow internalFormat=GL_BGRA_EXT in TexImage2D
---
src/mesa/main/teximage.c |9 +
1 fi
Hi Mesa List,
This patch series add a egl wayland platform.
A helper library was needed in order to provide native types
for the egl routines.
The types are used to cache wayland events but also to
create an interface for the application, e.g. for resizing.
The library header will be provided by
---
include/GL/internal/dri_interface.h|8
src/mesa/drivers/dri/common/dri_util.c | 20 +++-
src/mesa/drivers/dri/common/dri_util.h |6 ++
3 files changed, 33 insertions(+), 1 deletions(-)
diff --git a/include/GL/internal/dri_interface.h
b/include/GL/in
---
src/gallium/state_trackers/dri/drm/dri2.c| 89 ++
src/gallium/state_trackers/dri/drm/dri2_buffer.h | 22 ++
2 files changed, 111 insertions(+), 0 deletions(-)
create mode 100644 src/gallium/state_trackers/dri/drm/dri2_buffer.h
diff --git a/src/gallium/stat
---
src/mesa/drivers/dri/intel/intel_screen.c | 47 +
1 files changed, 47 insertions(+), 0 deletions(-)
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c
b/src/mesa/drivers/dri/intel/intel_screen.c
index 5d14bcd..2f35fe7 100644
--- a/src/mesa/drivers/dri/intel/
---
.../state_trackers/egl/common/native_helper.c |8
.../state_trackers/egl/common/native_helper.h |5 +
2 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/src/gallium/state_trackers/egl/common/native_helper.c
b/src/gallium/state_trackers/egl/common/na
---
configure.ac |4
src/egl/Makefile |4
src/egl/main/Makefile |5 -
src/egl/main/egldisplay.c |1 +
src/egl/main/egldisplay.h |1 +
5 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 46938f
1 - 100 of 107 matches
Mail list logo