Hello Neil
I had commented out the code and was trying various options so I also tried
TRUE and also FALSE .
The first thing I tried was similar to that given in one of test-textures
program with option TRUE only
actor[0] = g_object_new (CLUTTER_TYPE_TEXTURE,
"disable-slicing", TRUE,
NULL);
But in spite of specifying true ,I was seeing 2 discontinuous textures with
Vincent-3D GLES backend.I had to explicitly disable by using a hack of
disable-slicing= -1
Since I am using only Open Source components and cannot use Power VR can you
suggest some alternative open sources Open-GLES backends other than Vincent's
Also can someone please confirm if this cropping issue is because of Vincent's
backend only since from Neil's mail it seems than 240*320 in Power VR Open-GLES
works fine
Regards
Dilip
--- On Wed, 22/10/08, Neil Roberts <[EMAIL PROTECTED]> wrote:
From: Neil Roberts <[EMAIL PROTECTED]>
Subject: Re: [clutter] Image cropping while using clutter on screen of 240 *320
To: [EMAIL PROTECTED]
Cc: "clutter" <[email protected]>
Date: Wednesday, 22 October, 2008, 3:46 PM
Hi,
On Mon, 2008-10-20 at 19:30 +0530, dilip devaraj wrote:
> 2)In png file vincent-texture-only-gles-egl.cpp the image is being
> shown as 2 non-continuous textures.This in spite of me including in
> my app
>
> actor[0] = g_object_new (CLUTTER_TYPE_TEXTURE,
> "disable-slicing", FALSE,
> NULL);
This should be:
actor[0] = g_object_new (CLUTTER_TYPE_TEXTURE,
"disable-slicing", TRUE,
NULL);
The 'disable-slicing' property defaults to FALSE so the line wasn't
doing anything.
I can't explain the cropping problem you are having however. It
appears to work fine either with or without slicing on the PowerVR
GLES simulator.
Regards,
- Neil
Add more friends to your messenger and enjoy! Go to
http://messenger.yahoo.com/invite/