Re: [Mesa-dev] problems in building GLES1

2010-11-04 Thread Chia-I Wu
On Fri, Nov 5, 2010 at 1:34 AM, Clurado cl wrote: > > > On Thu, Nov 4, 2010 at 6:56 AM, Chia-I Wu wrote: >> >> On Thu, Nov 4, 2010 at 6:14 AM, Clurado cl wrote: >> > Hi, i have build mesa with ./configure --disable-gallium-radeon >> > --with-dri-drivers=i915 --enable-gles-overlay --enable-gles1

Re: [Mesa-dev] Getting Hw Acceleration without X-Window

2010-11-04 Thread Clurado cl
On Thu, Nov 4, 2010 at 11:24 AM, Chia-I Wu wrote: > On Thu, Nov 4, 2010 at 3:53 AM, Clurado cl wrote: > > Can wayland be ported for use of gles1 ?! i saw compositor-drm.c , but > for > > me , its a little hard to know whats kristian does . it does compositing > > and idont need that. can u expl

Re: [Mesa-dev] [PATCH 2/2] meta: Handle bitmaps with alpha test enabled.

2010-11-04 Thread Brian Paul
On 11/03/2010 02:59 PM, Francisco Jerez wrote: Brian Paul writes: On 11/03/2010 09:12 AM, Francisco Jerez wrote: Brian Paul writes: On 11/02/2010 12:25 PM, Francisco Jerez wrote: We have several options. - Fall back to swrast in the floating point renderbuffer case. In other cases

[Mesa-dev] [Bug 31389] [llvmpipe] valgrind Invalid write of size 8 memalign (vg_replace_malloc.c:581)

2010-11-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31389 Vinson Lee changed: What|Removed |Added AssignedTo|mesa-...@lists.freedesktop. |bri...@vmware.com |org

[Mesa-dev] [Bug 31389] New: [llvmpipe] valgrind Invalid write of size 8 memalign (vg_replace_malloc.c:581)

2010-11-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31389 Summary: [llvmpipe] valgrind Invalid write of size 8 memalign (vg_replace_malloc.c:581) Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All)

Re: [Mesa-dev] problems in building GLES1

2010-11-04 Thread Clurado cl
i tested with gallium drivers , it works well but its not dri enabled . it uses swrast_pipe instead of dri. On Thu, Nov 4, 2010 at 9:04 PM, Clurado cl wrote: > > > On Thu, Nov 4, 2010 at 6:56 AM, Chia-I Wu wrote: > >> On Thu, Nov 4, 2010 at 6:14 AM, Clurado cl wrote: >> > Hi, i have build mesa

Re: [Mesa-dev] [PATCH] os: Allow file streams to be open in binary mode.

2010-11-04 Thread José Fonseca
On Thu, 2010-11-04 at 09:58 -0700, Michal Krol wrote: > W dniu 2010-11-04 17:56, José Fonseca pisze: > > Michal, > > > > I think we can just use binary all the time. > > > > Really? There are some consumers of this function that produce text > files, like XML output of trace. Though I think we sh

Re: [Mesa-dev] problems in building GLES1

2010-11-04 Thread Clurado cl
On Thu, Nov 4, 2010 at 6:56 AM, Chia-I Wu wrote: > On Thu, Nov 4, 2010 at 6:14 AM, Clurado cl wrote: > > Hi, i have build mesa with ./configure --disable-gallium-radeon > > --with-dri-drivers=i915 --enable-gles-overlay --enable-gles1 > > i make it and installed it in /usr/lib > > > > the problem

Re: [Mesa-dev] [PATCH] graw: Export graw_save_surface_to_file().

2010-11-04 Thread Michal Krol
W dniu 2010-11-04 17:55, Keith Whitwell pisze: Michal - it looks like this will mean that these tests now always try to create& populate a "result.bmp" file? Would it be possible to guard this behaviour with some sort of option, eg an environment var? I was planning that for the next patch

Re: [Mesa-dev] [PATCH] os: Allow file streams to be open in binary mode.

2010-11-04 Thread Michal Krol
W dniu 2010-11-04 17:56, José Fonseca pisze: Michal, I think we can just use binary all the time. Really? There are some consumers of this function that produce text files, like XML output of trace. Though I think we should be fine with those having linux newlines... On Thu, 2010-11-04

Re: [Mesa-dev] [PATCH] graw: Export graw_save_surface_to_file().

2010-11-04 Thread Keith Whitwell
Michal - it looks like this will mean that these tests now always try to create & populate a "result.bmp" file? Would it be possible to guard this behaviour with some sort of option, eg an environment var? Keith From: mesa-dev-bounces+keithw=vmware@l

Re: [Mesa-dev] [PATCH] os: Allow file streams to be open in binary mode.

2010-11-04 Thread José Fonseca
Michal, I think we can just use binary all the time. Jose On Thu, 2010-11-04 at 09:29 -0700, Michal Krol wrote: > From efd52ac32547c80d1d8317fe2934a6742968a394 Mon Sep 17 00:00:00 2001 > From: Michal Krol > Date: Thu, 4 Nov 2010 17:29:01 +0100 > Subject: [PATCH] os: Allow file streams to be ope

[Mesa-dev] [PATCH] graw: Export graw_save_surface_to_file().

2010-11-04 Thread Michal Krol
>From c5a4c9d6f146077bd59759f985e103d9696cc9b2 Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Thu, 4 Nov 2010 17:51:14 +0100 Subject: [PATCH] graw: Export graw_save_surface_to_file(). Allows applications to dump surfaces to file without referencing gallium/auxiliary entry points statically. ---

[Mesa-dev] [PATCH] os: Allow file streams to be open in binary mode.

2010-11-04 Thread Michal Krol
>From efd52ac32547c80d1d8317fe2934a6742968a394 Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Thu, 4 Nov 2010 17:29:01 +0100 Subject: [PATCH] os: Allow file streams to be open in binary mode. Explicitly request binary file mode by adding OS_STREAM_CREATE_BINARY flag to os_file_stream_create().

Re: [Mesa-dev] [PATCH] r300g: Do not use buf param before checking for NULL.

2010-11-04 Thread Keith Whitwell
Looks good, committed. Thanks for fixing this. Keith On Wed, Nov 3, 2010 at 9:14 PM, Guillermo S. Romero wrote: > Commit 8dfafbf0861fe3d2542332658dd5493851053c78 forgot to update r300g. > There is a buf == NULL check, but buf is used before for var init. > > Tested-by: Guillermo S. Romero > --

Re: [Mesa-dev] EGL_PLATFORM=drm ruined my xorg, coincidence?

2010-11-04 Thread Arthur Zhu
2010/11/4 Arthur Zhu > > seems nothing special. > you're right that I would have installed mesa7.9 in other place for > testing. > I'll reinstall ubuntu mesa version or remove it. > > Otherwise, I got > > libEGL warning: GLX: failed to create any config > demo: eglInitialize failed > > when sets

Re: [Mesa-dev] Getting Hw Acceleration without X-Window

2010-11-04 Thread Chia-I Wu
On Thu, Nov 4, 2010 at 3:53 AM, Clurado cl wrote: > Can wayland be ported for use of gles1 ?! i saw compositor-drm.c , but for > me , its a little hard to know whats kristian does  . it does compositing > and idont need that. can u explain more !? It does not composite. You can try to look for, s

Re: [Mesa-dev] EGL_PLATFORM=drm ruined my xorg, coincidence?

2010-11-04 Thread Chia-I Wu
On Thu, Nov 4, 2010 at 3:27 PM, xiaoxiaomuyu wrote: > with export EGL_PLATFORM=drm, I ran egl/demo2 in ctr+alt+f1 terminal other > than in Xwindow, > > struct pipe_screen * > i915_screen_create(struct i915_winsys *iws) > { >    struct i915_screen *is = CALLOC_STRUCT(i915_screen); > >    if (!is) >

[Mesa-dev] EGL_PLATFORM=drm ruined my xorg, coincidence?

2010-11-04 Thread xiaoxiaomuyu
with export EGL_PLATFORM=drm, I ran egl/demo2 in ctr+alt+f1 terminal other than in Xwindow, struct pipe_screen * i915_screen_create(struct i915_winsys *iws) { struct i915_screen *is = CALLOC_STRUCT(i915_screen); if (!is) return NULL; switch (iws->pci_id) { case PCI_CHIP_I915_G:

[Mesa-dev] [PATCH] r300g: Do not use buf param before checking for NULL.

2010-11-04 Thread Guillermo S. Romero
Commit 8dfafbf0861fe3d2542332658dd5493851053c78 forgot to update r300g. There is a buf == NULL check, but buf is used before for var init. Tested-by: Guillermo S. Romero --- src/gallium/drivers/r300/r300_state.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/galliu