Commit e3133abd authored by Dima's avatar Dima

Add profiling for render method

parent d4336bfb
......@@ -4,6 +4,7 @@
#import "RCTConvert.h"
#import "RCTEventDispatcher.h"
#import "RCTLog.h"
#import "RCTProfile.h"
#import "RNGLContext.h"
#import "GLCanvas.h"
#import "GLShader.h"
......@@ -320,7 +321,9 @@ RCT_NOT_IMPLEMENTED(-init)
});
}
else {
RCTProfileBeginEvent(0, @"GLCanvas render", nil);
[self render];
RCTProfileEndEvent(0, @"gl", nil);
_deferredRendering = false;
unsigned long nbCaptureListeners = [_captureListeners count];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment