I'd still like to have this applied.
On Tue, Dec 18, 2012 at 3:16 PM, John Kåre Alsaker
john.kare.alsa...@gmail.com wrote:
On Tue, Dec 18, 2012 at 11:20 AM, Jose Fonseca jfons...@vmware.com wrote:
Looks fine.
I'm curious, what does this fix in practice?
It fixes Weston crashing when running
duplicateImage will allow you to create a linear or sRGB view into a DRIimage
you have access to.
This is useful because compositors may want a specific view which doesn't
correspond to the one used by applications.
---
include/GL/internal/dri_interface.h | 21 -
1 file
---
src/gallium/include/state_tracker/st_api.h | 1 +
src/gallium/state_trackers/dri/common/dri_screen.c | 1 +
src/gallium/state_trackers/dri/common/dri_screen.h | 1 +
src/gallium/state_trackers/dri/drm/dri2.c | 39 +-
src/mesa/state_tracker/st_manager.c
/MESA_image_sRGB.spec b/docs/MESA_image_sRGB.spec
new file mode 100644
index 000..f8a0bea
--- /dev/null
+++ b/docs/MESA_image_sRGB.spec
@@ -0,0 +1,132 @@
+Name
+
+MESA_image_sRGB
+
+Name Strings
+
+EGL_MESA_image_sRGB
+
+Contact
+
+John Kåre Alsaker john.kare.alsa...@gmail.com
On Mon, Feb 25, 2013 at 8:55 PM, Ian Romanick i...@freedesktop.org wrote:
Also... are there piglit tests coming?
Not unless you convince me otherwise. I don't think I'll be able to
verify that said tests work however.
More recent versions of the spec template include a section for describing
---
src/gallium/include/state_tracker/st_api.h | 1 +
src/gallium/state_trackers/dri/common/dri_screen.c | 1 +
src/gallium/state_trackers/dri/common/dri_screen.h | 1 +
src/gallium/state_trackers/dri/drm/dri2.c | 39 +-
src/mesa/state_tracker/st_manager.c
This gives applications access to use DRIimage.duplicateImage to create
sRGB and linear views from EGL images.
---
include/EGL/eglmesaext.h| 7 ++
src/egl/drivers/dri2/egl_dri2.c | 168
src/egl/drivers/dri2/egl_dri2.h | 6 +-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ *
+ * Authors:
+ *John Kåre Alsaker john.kare.alsa...@gmail.com
+ *Kristian Høgsberg k...@bitplanet.net
+ */
+
+/** @file egl-mesa-image-srgb.c
+ *
+ * Test EGL_MESA_image_sRGB
+ */
+
+#include piglit-util-gl-common.h
+#include
duplicateImage will allow you to create a linear or sRGB view into a
DRIimage you have access to. This is useful because compositors may want
a specific view which doesn't correspond to the one used by
applications.
---
include/GL/internal/dri_interface.h | 20 +++-
1 file
On Sun, Mar 3, 2013 at 4:52 PM, Jakob Bornecrantz wallbra...@gmail.com wrote:
Have you tested if this actually works? I would guess it would
render in the right colorspace but for sampling the state tracker
might just drop the format on the floor.
It works for sampling, but I'm not sure what
On Sun, Mar 3, 2013 at 4:43 PM, Jakob Bornecrantz wallbra...@gmail.com wrote:
These really should just be another set of formats, since that is
how they are handled gallium anyways.
I think I was going that route, but changed by mind for some reason.
Probably because I didn't want to add lots
NOTE: This is a candidate for the stable branches.
---
src/gallium/drivers/llvmpipe/lp_texture.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/llvmpipe/lp_texture.c
b/src/gallium/drivers/llvmpipe/lp_texture.c
index 2e9c6bf..f17a04a 100644
---
On Tue, Dec 18, 2012 at 11:20 AM, Jose Fonseca jfons...@vmware.com wrote:
Looks fine.
I'm curious, what does this fix in practice?
It fixes Weston crashing when running with llvmpipe.
Jose
- Original Message -
NOTE: This is a candidate for the stable branches.
---
---
src/gbm/main/gbm.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gbm/main/gbm.h b/src/gbm/main/gbm.h
index 9d2a030..32211a7 100644
--- a/src/gbm/main/gbm.h
+++ b/src/gbm/main/gbm.h
@@ -127,6 +127,9 @@ enum gbm_bo_format {
#define GBM_FORMAT_RGBA__gbm_fourcc_code('R',
---
src/gbm/main/gbm.h | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/src/gbm/main/gbm.h b/src/gbm/main/gbm.h
index 32211a7..1bc4740 100644
--- a/src/gbm/main/gbm.h
+++ b/src/gbm/main/gbm.h
@@ -68,19 +68,13 @@ union gbm_bo_handle {
uint64_t u64;
};
-/**
---
src/gbm/backends/dri/gbm_dri.c | 4
1 file changed, 4 deletions(-)
diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c
index d8b1cc7..84c6de3 100644
--- a/src/gbm/backends/dri/gbm_dri.c
+++ b/src/gbm/backends/dri/gbm_dri.c
@@ -277,10 +277,8 @@
---
src/gallium/state_trackers/gbm/gbm_drm.c | 44 +---
1 file changed, 29 insertions(+), 15 deletions(-)
diff --git a/src/gallium/state_trackers/gbm/gbm_drm.c
b/src/gallium/state_trackers/gbm/gbm_drm.c
index 8490480..9f2cfe8 100644
---
---
src/gallium/drivers/llvmpipe/lp_texture.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/llvmpipe/lp_texture.c
b/src/gallium/drivers/llvmpipe/lp_texture.c
index 841df00..df4417f 100644
--- a/src/gallium/drivers/llvmpipe/lp_texture.c
+++
---
src/gallium/drivers/svga/svga_resource_texture.c | 8
1 file changed, 8 deletions(-)
diff --git a/src/gallium/drivers/svga/svga_resource_texture.c
b/src/gallium/drivers/svga/svga_resource_texture.c
index 9830e79..97ec7ee 100644
--- a/src/gallium/drivers/svga/svga_resource_texture.c
On Mon, Sep 24, 2012 at 5:22 PM, Brian Paul bri...@vmware.com wrote:
On 09/23/2012 05:44 AM, John Kåre Alsaker wrote:
---
src/gallium/drivers/svga/svga_resource_texture.c | 8
1 file changed, 8 deletions(-)
diff --git a/src/gallium/drivers/svga/svga_resource_texture.c
b/src
Hello,
I would like add support for sRGB framebuffers to EGL. Here are my
proposed changes to EGL:
A new EGL_SURFACE_TYPE bit:
EGL_GAMMA_SRGB_BIT - This format supports sRGB framebuffers. This also
means that ARB_framebuffer_sRGB is supported for this format.
New values:
EGL_GAMMA_LINEAR - The
The way this would interact with ARB_framebuffer_sRGB is that the
EGL's surface EGL_GAMMA attribute would be ignored. If a EGL config
has the EGL_GAMMA_SRGB_BIT, it is required to support sRGB for the
default OpenGL framebuffer.
On Tue, Sep 25, 2012 at 5:58 PM, John Kåre Alsaker
john.kare.alsa
the framebuffer as an sRGB texture. EGL_GAMMA_SRGB_BIT
could also optionally be disabled when the format is not supported as
an sRGB texture by the hardware.
On Wed, Sep 26, 2012 at 10:19 AM, John Kåre Alsaker
john.kare.alsa...@gmail.com wrote:
The way this would interact with ARB_framebuffer_sRGB
glean/readPixSanity is failing. Depth and stencil buffers are read
back wrong, while RGBA is fine.
On 9/25/12, Brian Paul bri...@vmware.com wrote:
On 09/24/2012 11:09 PM, John Kåre Alsaker wrote:
On Mon, Sep 24, 2012 at 5:22 PM, Brian Paul bri...@vmware.com
mailto:bri...@vmware.com wrote
/framebuffer_sRGB.txt to see how
this was handled for GLX and WGL.
This is done similarly with a capability flag in GLX/WGL, but with the
surface attribute moved into OpenGL (and it affects other
rendertargets).
-Brian
On 09/26/2012 04:49 AM, John Kåre Alsaker wrote:
EGL_GAMMA_SRGB_BIT
and limited to 8 bpc.
On Thu, Sep 27, 2012 at 8:57 PM, John Kåre Alsaker
john.kare.alsa...@gmail.com wrote:
I failed to consider that premultiplied sRGB color channels can be
stored two ways. The friendly way, to_srgb_gamma(color * alpha) and
what applications actually use, to_srgb_gamma(color
I would like add support for sRGB KHR images to EGL. This is primarily
so Wayland compositors can create sRGB views of client buffers, but
there's nothing preventing it from being useful in other cases.
To allow this I propose a new EGL attribute which can be passed to
eglCreateImageKHR,
---
include/GL/internal/dri_interface.h | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/include/GL/internal/dri_interface.h
b/include/GL/internal/dri_interface.h
index 1e0f1d0..669c7d9 100644
--- a/include/GL/internal/dri_interface.h
+++
---
src/gallium/include/state_tracker/st_api.h | 1 +
src/gallium/state_trackers/dri/common/dri_screen.c | 1 +
src/gallium/state_trackers/dri/common/dri_screen.h | 1 +
src/gallium/state_trackers/dri/drm/dri2.c | 32 +-
src/mesa/state_tracker/st_manager.c
---
include/EGL/eglmesaext.h| 7 +++
src/egl/drivers/dri2/egl_dri2.c | 32 +++-
src/egl/drivers/dri2/platform_android.c | 16 ++--
src/egl/drivers/dri2/platform_drm.c | 11 +++
src/egl/drivers/dri2/platform_wayland.c
On Fri, Oct 5, 2012 at 12:41 AM, Eric Anholt e...@anholt.net wrote:
John Kåre Alsaker john.kare.alsa...@gmail.com writes:
I would like add support for sRGB KHR images to EGL. This is primarily
so Wayland compositors can create sRGB views of client buffers, but
there's nothing preventing
---
src/gallium/drivers/svga/svga_format.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gallium/drivers/svga/svga_format.c
b/src/gallium/drivers/svga/svga_format.c
index 5176106..5a153a8 100644
--- a/src/gallium/drivers/svga/svga_format.c
+++
John Kåre Alsaker john.kare.alsa...@gmail.com
Status
Proposal
Version
Version 1, October 9, 2012
Number
EGL Extension #not assigned
Dependencies
EGL 1.2 or later is required.
EGL_KHR_image_base is required.
This extension is written against the wording of the EGL 1.2
It just fixes posterization when rendering in linear space. It's also
required for having 64 bpp Wayland clients.
On Thu, Oct 11, 2012 at 2:18 AM, Brian Paul brian.e.p...@gmail.com wrote:
On Mon, Oct 8, 2012 at 4:50 PM, John Kåre Alsaker
john.kare.alsa...@gmail.com wrote:
---
src/gallium
---
src/gallium/auxiliary/util/u_debug.h | 2 +-
src/gallium/include/pipe/p_compiler.h | 12
src/mapi/glapi/gen/gl_table.py| 14 +-
3 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/src/gallium/auxiliary/util/u_debug.h
NOTE: This is a candidate for the stable branches.
---
src/gallium/drivers/llvmpipe/lp_texture.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/llvmpipe/lp_texture.c
b/src/gallium/drivers/llvmpipe/lp_texture.c
index b4ea94c..ccea4e2 100644
---
---
src/mapi/glapi/gen/gl_table.py | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/gl_table.py b/src/mapi/glapi/gen/gl_table.py
index fd38468..d4075ff 100644
--- a/src/mapi/glapi/gen/gl_table.py
+++ b/src/mapi/glapi/gen/gl_table.py
@@ -101,10
duplicateImage will allow you to create a linear or sRGB view into a
DRIimage you have access to. This is useful because compositors may want
a specific view which doesn't correspond to the one used by
applications.
---
include/GL/internal/dri_interface.h | 20 +++-
1 file
This commit results in garbage output for r600g when building with
OpenGL (not ES) as enabled by my patches:
https://github.com/Zoxc/weston/commits/gl-rebase. (--enable-opengl on
configure)
It works on i965 so I was wondering how well tested this is on Gallium drivers?
On Fri, Mar 7, 2014 at
39 matches
Mail list logo