On 16 jan 2010, at 11.47, Chia-I Wu wrote:
> On Sat, Jan 16, 2010 at 10:25:53AM +0000, Jakob Bornecrantz wrote:
> [snipped]
>>> Both glEGLImageTargetTexture2DOES and vgCreateEGLImageTargetKHR will
>>> take EGLImage as their argument, there needs to be a lookup
>>> function in
>>> st_manager_api to return the pipe texture of the image.
>> We could just define a egl struct in this or another special API for
>> EGL since those two functions can't be used by anything other then
>> EGL they could just poke the egl struct themselves.
> You meant by simple casting in the st?  This would force EGLImage to
> inherit the struct (which is fine in current EGL), and the validity of
> the EGLImage cannot be checked.

Oh I forgot about the validity check, you are right a callback is  
needed for that.

Cheers Jakob.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to