Re: [Pixman] How pixman_implementation_t is getting free

2010-11-02 Thread kb pachauri
OpenCL Spec Says: The life span of an OpenCL object is determined by its reference count—an internal count of the number of references to the object. When you create an object in OpenCL, its reference count is set to one. Subsequent calls to the appropriate retain API (such as clRetainContext, clR

Re: [Pixman] How pixman_implementation_t is getting free

2010-11-02 Thread Soeren Sandmann
kb pachauri writes: > Actually what i mean for freeing memory is .. freeing the opencl context, > releasing command queue, all opencl kernels etc... > > sorry for not too clear in my words.. > > I dont think this will be freed until i free the context.. But why do you want to free it? Don't th

Re: [Pixman] How pixman_implementation_t is getting free

2010-11-02 Thread Andrea Canciani
2010/11/2 kb pachauri : > Actually what i mean for freeing memory is .. freeing the opencl context, > releasing command queue, all opencl kernels etc... > sorry for not too clear in my words.. > I dont think this will be freed until i free the context.. Then you might look this thread: http://list

Re: [Pixman] How pixman_implementation_t is getting free

2010-11-02 Thread kb pachauri
Actually what i mean for freeing memory is .. freeing the opencl context, releasing command queue, all opencl kernels etc... sorry for not too clear in my words.. I dont think this will be freed until i free the context.. 2010/11/2 Andrea Canciani > 2010/11/2 kb pachauri : > > Thanks. Thats w

Re: [Pixman] How pixman_implementation_t is getting free

2010-11-02 Thread Andrea Canciani
2010/11/2 kb pachauri : > Thanks. Thats what i am also thinking.. > If i want to free some of the memory, which i am allocating as part > pixman_implementation_t for opencl intialization stuff (context, command > queue, kernel etc)  where i can do that. Why/when do you want to free them? Isn't yo

Re: [Pixman] How pixman_implementation_t is getting free

2010-11-02 Thread kb pachauri
Thanks. Thats what i am also thinking.. If i want to free some of the memory, which i am allocating as part pixman_implementation_t for opencl intialization stuff (context, command queue, kernel etc) where i can do that. Thanks & Regards, Pachauri 2010/10/30 Krzysztof Kosiński > 2010/10/29 kb

Re: [Pixman] How pixman_implementation_t is getting free

2010-10-30 Thread Krzysztof Kosiński
2010/10/29 kb pachauri : > Hi, > I am going through pixman code for developing pixman with opencl > implementation. > I have made a little success i.e. will submit a patch sometime next week for > review. > But i am not getting how pixman_implementation_t is getting free..(where?) > Thanks in advan

[Pixman] How pixman_implementation_t is getting free

2010-10-29 Thread kb pachauri
Hi, I am going through pixman code for developing pixman with opencl implementation. I have made a little success i.e. will submit a patch sometime next week for review. But i am not getting how pixman_implementation_t is getting free..(where?) Thanks in advance.. Regards Kulbhushan Pachauri