I am trying to draw an animation of two seperate dj turntables that
react to mouse events. The drawing should be as performant as
I also have to constantly update two textfields and 4 meetering views.
I tested two solutions, one with openGL and one with CoreImage.
On initialization time we load 7 textures the following way:
We load the 7 images and then we draw each image.
Loading : Image = [CIImage imageWithContentsOfURL: url];
Drawing: [cicontext drawImage: image atPoint:abdekPos fromRect:src];
We use here also a timer with the same interval as above.
In both solutions the turntable views are juddering. The machine I was
testing on is a g4 powerbook with 1.5 GHz and 1.25 GB RAM. I have an
GeForce FX Go5200 graphics card with 64 MB VRAM.
What is genarally the better solution regarding performance? Would it
help to thread the drawing? If threading is reasonable how can I
guaranty that the drawing in seperate threads is save?
Furthermore I made the observation that OpenGL reacts a lot better to
mouse events than CoreImage, is there a logic behind that?
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden