Re: [Mesa3d-dev] [PATCH 2/4] [egl_g3d] Cache DRI2 textures and don't recreate them if the name is the same

2010-01-11 Thread Chia-I Wu
On Mon, Jan 4, 2010 at 11:12 PM, Luca Barbieri l...@luca-barbieri.com wrote: Currently DRI2 always calls texture_from_shared_handle on validate. This may cause problems due if it is called multiple times on the same handle, since multiple struct pipe_texture pointing to the same GEM buffer

Re: [Mesa3d-dev] [PATCH 2/4] [egl_g3d] Cache DRI2 textures and don't recreate them if the name is the same

2010-01-11 Thread Luca Barbieri
This looks good.  Do you mind re-create this patch without the dependency on the depth/stencil patch? OK. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class

[Mesa3d-dev] [PATCH 2/4] [egl_g3d] Cache DRI2 textures and don't recreate them if the name is the same

2010-01-04 Thread Luca Barbieri
Currently DRI2 always calls texture_from_shared_handle on validate. This may cause problems due if it is called multiple times on the same handle, since multiple struct pipe_texture pointing to the same GEM buffer will be created. On some drivers, this results in pushbuffers being submitted with