Dean McNamee

Results 40 comments of Dean McNamee

It's possible that currentItem is nil, see currentLoadedTimeRanges to how to handle that, you should return NULL. ``` TextureAVPlayer* player = ExtractPlayerPointer(args.This()); AVPlayerItem* item = [player currentItem]; if (item ==...

In the last few projects I've been working on, I've had a debug command line flag, and if it's enabled then I do extra OpenGL checking and other sort of...

I thought about that, but there are some problems wrapping the gl object, because now there are some APIs that expect the "real" gl object, not a wrapped one. The...

The difference is that they are native APIs, and they need to get the real NSOpenGLContext pointer underneath the JavaScript object.

I guess, but my idea was sort of not to "destroy" the original object.

Because it's still double buffered?

I mean, I haven't seen exactly what you are describing, and I don't understand what this has to do w/ multisampling. However if you keep drawing over a double buffered...

Video? And could you send some code to reproduce it?

I don't think this really does what you want, if you want 30fps, then you should push a frame every 33ms. But if you take 10ms to prepare that frame,...

I don't think requestAnimationFrame is really a good comparison, since generally it's part of a huge browser rendering and compositing infrastructure that doesn't apply to Plask... On OSX the thing...