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
8ab9227c
Commit
8ab9227c
authored
Feb 15, 2016
by
Gaëtan Renaudeau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better profiling displaying node name
parent
924597a4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
ios/GLCanvas.m
ios/GLCanvas.m
+1
-1
ios/GLShader.h
ios/GLShader.h
+1
-0
ios/GLShader.m
ios/GLShader.m
+0
-1
No files found.
ios/GLCanvas.m
View file @
8ab9227c
...
...
@@ -491,7 +491,7 @@ RCT_NOT_IMPLEMENTED(-init)
for
(
GLRenderData
*
child
in
renderData
.
children
)
weak_recDraw
(
child
);
RCT_PROFILE_BEGIN_EVENT
(
0
,
@"node"
,
nil
);
RCT_PROFILE_BEGIN_EVENT
(
0
,
[
NSString
stringWithFormat
:
@"node:%@"
,
renderData
.
shader
.
name
]
,
nil
);
RCT_PROFILE_BEGIN_EVENT
(
0
,
@"bind fbo"
,
nil
);
if
(
renderData
.
fboId
==
-
1
)
{
...
...
ios/GLShader.h
View file @
8ab9227c
...
...
@@ -10,6 +10,7 @@ NS_ENUM(NSInteger) {
@interface
GLShader
:
NSObject
@property
NSString
*
name
;
@property
EAGLContext
*
context
;
@property
NSString
*
vert
;
@property
NSString
*
frag
;
...
...
ios/GLShader.m
View file @
8ab9227c
...
...
@@ -36,7 +36,6 @@ GLuint compileShader (NSString* shaderName, NSString* shaderString, GLenum shade
*/
@implementation
GLShader
{
NSString
*
_name
;
EAGLContext
*
_context
;
// Context related to this shader
GLuint
program
;
// Program of the shader
GLuint
buffer
;
// the buffer currently contains 2 static triangles covering the surface
...
...
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