Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gl-react-native-v2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ym
gl-react-native-v2
Commits
de2e4dd4
Commit
de2e4dd4
authored
Dec 21, 2015
by
Gaëtan Renaudeau
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #36 from ptmt/patch-1
Add profiling for render method
parents
0a4c758f
e3133abd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
ios/GLCanvas.m
ios/GLCanvas.m
+3
-0
No files found.
ios/GLCanvas.m
View file @
de2e4dd4
...
...
@@ -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"
...
...
@@ -330,7 +331,9 @@ RCT_NOT_IMPLEMENTED(-init)
});
}
else
{
RCTProfileBeginEvent
(
0
,
@"GLCanvas render"
,
nil
);
[
self
render
];
RCTProfileEndEvent
(
0
,
@"gl"
,
nil
);
_deferredRendering
=
false
;
if
(
_captureFrameRequested
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment