Re: [gluon] Shared textures |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/gluon Archives
]
- To: gluon@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [gluon] Shared textures
- From: "Arjen-Wander Hiemstra" <djfreestyler@xxxxxxxxx>
- Date: Sat, 19 Dec 2009 23:40:59 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=YiI5QQzYc2rx55AqO03RBJQY9q5AzAXJtxiI9Zheq+I=; b=d1hlivsKSD7aRHObAVqeFBteuYjWCooDYzCS8NUV0hxw2dypmikspNarQgBAZEWYN/ OIsRGtGfrg411/eM3uqLHZE1Q4owxpg8FlHjZSZmAP8aLX5+MRU7q9trj2LoF9Vtt9Tr b4QeXWy/DYZwbaPot6GWVO8miTNbRZU+8T5dk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=KqTh3ALYDCKXRxsLflujM1/tU59q85BBtSj7i8RuvS9eDTS07YQpCE8PBFRmxryWGm Xg6862qiXy7YS+7IWK+E2xkQOk4FMRIhMxAk0R47jZKkjP61lixJasrmzXkuYxw890Ef CTed8D1x+n1GK/8ChdCSXFhnFR9wTHpisk7UA=
On Saturday 19 December 2009 19:12:26 David Palacio wrote:
> I noticed that KGL does not support sharing textures between items. One
> issue is that KGLTexture is not meant to be shared since on destruction
> the item deletes the texture. Another is that on destruction the
> KGLTexture instance takes down the GL texture as well. The only available
> option is to create unique textures for each item.
>
> This is a showstopper for me so I ask you if you have plans to change this
> for the future.
>
Currently, Sascha (DrIDK) is working on refactoring KGL to use Qt 4.6 and not
depend on KDELibs, together with some other changes. This problem is one we
missed, however, I'm glad at least someone noticed, we can change it now. :)
- Arjen (ahiemstra)
---
+----------------------------------------------+
Gluon is a high-level game development library for the KDE desktop enviornment.
http://gluon.tuxfamily.org/
http://gitorious.org/gluon