[cairo] Cairo OpenGL ES 2.0 backend is rotting away?

Henry (Yu) Song - SISA hsong at sisa.samsung.com
Tue Apr 24 03:11:08 PDT 2012


Hi, Siahei

Does SGX530 support GL_IMG_texture_npot?  on SGX540 we have, it supports this IMG extension.  So npot is no problem if you add a check in cairo-gl-device.c  However, this IMG extension might not support npot image when you have extend_repeat or extend_reflect.  

________________________________________
From: cairo-bounces+hsong=sisa.samsung.com at cairographics.org [cairo-bounces+hsong=sisa.samsung.com at cairographics.org] on behalf of Siarhei Siamashka [siarhei.siamashka at gmail.com]
Sent: Tuesday, April 24, 2012 3:04 AM
To: Chris Wilson
Cc: cairo list
Subject: Re: [cairo] Cairo OpenGL ES 2.0 backend is rotting away?

On Mon, Apr 23, 2012 at 10:22 PM, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> On Mon, 23 Apr 2012 17:15:31 +0300, Alexandros Frantzis <alexandros.frantzis at linaro.org> wrote:
>> On Mon, Apr 23, 2012 at 03:39:28PM +0300, Siarhei Siamashka wrote:
>> > Hello,
>> >
>> > Tried cairo-perf-trace benchmark using GLES2 backend (--enable-glesv2) on
>> > x86-64 computer with open source radeon drivers.
>> >
>> > === after the merge of GLES2 in 4d96859ba5eb6018ae257ef6bfead228583908cf ===
>> >
>> > [ # ]  backend                         test   min(s) median(s) stddev. count
>> > [  0]      egl             firefox-fishtank   10.282   10.282   0.00%    1/1
>> >
>> > === starting with 2855ff4666922f2c38505414270d47f659b0d499 ===
>> >
>> > [ # ]  backend                         test   min(s) median(s) stddev. count
>> > [  0]      egl             firefox-fishtank    0.000    0.000   -nan%    0/1
>> >
>> > === starting with af9fbd176b145f042408ef5391eef2a51d7531f8 ===
>> >
>> > Segmentation fault
>> >
>> > === current git master abedc6b46ad283f896e078479174312cb87e6700 ===
>> >
>> > cairo-perf-trace: cairo-gl-operand.c:450: _cairo_gl_operand_destroy:
>> > Assertion `!"reached"' failed.
>> >
>> > --
>> > Best regards,
>> > Siarhei Siamashka
>> >
>>
>> Hi,
>>
>> the patch below fixes things for me (tried it on a x86-64 with r600g).
>> Please try it out and check if it fixes the perf test case in your system, too.
>
> Thank you Alexandros for the patch, and Siarhei for testing.
> Pushed to master,

Thanks for quickly addressing the issue, GLES2 backend works on my
desktop PC now. But as discussed on irc, it's a bit sad that this
backend does not work on my IGEPv2 board with SGX530 GPU because of
missing the needed support for GL_OES_texture_npot extension in SGX
hardware or drivers [1].

1. https://bugs.launchpad.net/ubuntu-omap4-extras-graphics/+bug/732053

--
Best regards,
Siarhei Siamashka
--
cairo mailing list
cairo at cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo


More information about the cairo mailing list