iphone Programming Glossary: compositing
to drawRect or not to drawRect (when should one use drawRect/Core Graphics vs subviews/images and why?) http://stackoverflow.com/questions/14659563/to-drawrect-or-not-to-drawrect-when-should-one-use-drawrect-core-graphics-vs-su do custom drawing with drawRect UIKit can optimize stock views so drawRect is a no op or it can take shortcuts with compositing. When you override drawRect UIKit has to take the slow path because it has no idea what you're doing. These two problems..
composite colors: CALayer and blend mode on iPhone http://stackoverflow.com/questions/1658751/composite-colors-calayer-and-blend-mode-on-iphone Is there something wrong iphone calayer blend mode share improve this question I managed to get the affect of compositing multiple CALayers by drawing them directly into a UIView's graphics context. void drawRect CGRect rect CGContextRef c UIGraphicsGetCurrentContext..
fastest way to draw a screen buffer on the iphone http://stackoverflow.com/questions/2395650/fastest-way-to-draw-a-screen-buffer-on-the-iphone
Skybox OpenGL ES iPhone and iPad http://stackoverflow.com/questions/4110893/skybox-opengl-es-iphone-and-ipad project. I've left the view controller as having exactly one view which is the OpenGL view. However the normal iPhone compositing rules apply and in your project you can easily put normal controls on top. You can grab my little implementation at mediafire..
MPMoviePlayerController alternatives on iPhone? http://stackoverflow.com/questions/780999/mpmovieplayercontroller-alternatives-on-iphone author's about an LGPL option on the underlying code. A possible roll your own solution would be to use openGL as a compositing surface for the video and obtain a behind the scenes library like ffmpeg if you need to process specific video types. NeHe..
Most efficient way to draw part of an image in iOS http://stackoverflow.com/questions/8035673/most-efficient-way-to-draw-part-of-an-image-in-ios it seems to be done in CPU. Graphics operations done in CPU are a lot slower than in GPU. Simply clipping an image and compositing the image layers are very simple and cheap operations for GPU compared to CPU soo you can expect the UIKit library will..
|