Closed rishigraham closed 8 years ago
Oops: I figured out the problem, and it's not a GPUImage
issue. I had the GPUImageView
set up as a sublayer of an NSView
(in order to put the button in there) but had not turned off the default Core Animation Layer
for the parent view. Sorry for the false issue!
I had this problem trying to profile a more complex OS X application, but narrowed it down to a very simple test case. I have
GPUImageView
fed byGPUImageRawDataInput
. If I attach OpenGL Profiler and turn tracing on while updating, processing gets stuck in[NSOpenGLContext flushBuffer]
(specifically in__psynch_mutexwait
). As I said, the test case is very simple, I just have a view controller with a button and custom view of classGPUImageView
and the following code in the controller: