Skip navigation.
 
mlRe: copyCGLContextForPixelFormat
FROM : John Harper
DATE : Mon Feb 04 18:53:33 2008

On Feb 4, 2008, at 5:24 AM, Richard Somers wrote:
> I noticed with both of these applications that when switching to 
> layer-backed mode the pixel format was changed from double-buffered 
> to single-buffered so I thought that might have something to do with 
> the slow down. But apparently from John's comment this is how Core 
> Animation is supposed to work.


CA manages the multiple buffers itself, so each one is single buffered 
from OpenGL's point of view.

> So here is my question. Is there something inherently inconsistent 
> with the current implementation of a layer-backed OpenGL view that 
> will cause a slow down in frame rates when used with some graphics 
> cards or is this a known issue that is being addressed?


Not that I know of, though I am only familiar with the CA side of 
things. Probably the best thing is to file a bug report including the 
sample app showing the problem,

   John

Related mailsAuthorDate
mlcopyCGLContextForPixelFormat Richard Somers Feb 2, 23:25
mlRe: copyCGLContextForPixelFormat John Harper Feb 3, 00:17
mlRe: copyCGLContextForPixelFormat Richard Somers Feb 3, 04:47
mlRe: copyCGLContextForPixelFormat John Harper Feb 3, 18:37
mlRe: copyCGLContextForPixelFormat Richard Somers Feb 4, 14:24
mlRe: copyCGLContextForPixelFormat John Harper Feb 4, 18:53
mlRe: copyCGLContextForPixelFormat Richard Somers Feb 4, 23:11