[ Thread Index |
Date Index
| More lists.tuxfamily.org/gluon Archives
]
- To: gluon@xxxxxxxxxxxxxxxxxxx
- Subject: [gluon] Shared textures
- From: David Palacio <dpalacio@xxxxxxxxxxxxxxx>
- Date: Sat, 19 Dec 2009 13:12:26 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :message-id; bh=A2YA4jwowxnSTMqlfplLVnQPUae8+Laqiw7yfi0yi84=; b=lRjbf+PGqZY3lZbMdbf6+ZJT9qDA/ymOkEkPALxt41yl7lj8isK5TXkWu3a10zd0Vd CsZ3tCTQGhUwhe9fHNvTs7o+rVn6NMTDiPDgo02LyfuvpQ9mSjHhjB01dK123AmXB9Qp 8foQ4XXSn0dl95RqPLUhHD0iKToZPIhHo/Eio=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; b=wrZkB2ehqbnzHLuBK8lBuE/UalHuwPmbsZ2MxuK68/bsQdoWWCO6RXmrjps+kTOgVX UKKKjbaHWaxeFfsDFSzoL2o7vCYYF4i1hODLGLcpKEYI6P7uNTYw10SuizKjUFuArvSH 0SqXdjtplUWwuB9xoVkep/8GxKO2Xt2pNQB2g=
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.
Attachment:
signature.asc
Description: This is a digitally signed message part.