Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2290)

Issue 5556065: Use a global ref-counted singleton for long name map. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by Zhenyao Mo
Modified:
12 years, 3 months ago
Reviewers:
kbr1
CC:
angleproject-review_googlegroups.com
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Use a global ref-counted singleton for long name map. This makes sure the same varying/uniform variables maps to the unique name in vertex/fragment shader. BUG= TEST=webgl conformance tests Committed: https://code.google.com/p/angleproject/source/detail?r=950

Patch Set 1 : '' #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -28 lines) Patch
M src/common/version.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/Compiler.cpp View 1 4 chunks +7 lines, -3 lines 0 comments Download
M src/compiler/MapLongVariableNames.h View 1 2 chunks +30 lines, -4 lines 0 comments Download
M src/compiler/MapLongVariableNames.cpp View 1 3 chunks +67 lines, -17 lines 0 comments Download
M src/compiler/ShHandle.h View 1 3 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 7
Zhenyao Mo
Tested with WebGL conformance tests. Please review.
12 years, 3 months ago (2012-01-19 23:36:46 UTC) #1
Zhenyao Mo
Please review.
12 years, 3 months ago (2012-01-19 23:37:14 UTC) #2
kbr1
https://codereview.appspot.com/5556065/diff/3002/src/compiler/MapLongVariableNames.h File src/compiler/MapLongVariableNames.h (right): https://codereview.appspot.com/5556065/diff/3002/src/compiler/MapLongVariableNames.h#newcode58 src/compiler/MapLongVariableNames.h:58: MapLongVariableNames(); Could you pass the LongNameMap* to the constructor ...
12 years, 3 months ago (2012-01-19 23:50:42 UTC) #3
Zhenyao Mo
https://codereview.appspot.com/5556065/diff/3002/src/compiler/MapLongVariableNames.h File src/compiler/MapLongVariableNames.h (right): https://codereview.appspot.com/5556065/diff/3002/src/compiler/MapLongVariableNames.h#newcode58 src/compiler/MapLongVariableNames.h:58: MapLongVariableNames(); On 2012/01/19 23:50:43, kbr1 wrote: > Could you ...
12 years, 3 months ago (2012-01-19 23:56:36 UTC) #4
kbr1
On 2012/01/19 23:56:36, Zhenyao Mo wrote: > https://codereview.appspot.com/5556065/diff/3002/src/compiler/MapLongVariableNames.h > File src/compiler/MapLongVariableNames.h (right): > > https://codereview.appspot.com/5556065/diff/3002/src/compiler/MapLongVariableNames.h#newcode58 ...
12 years, 3 months ago (2012-01-19 23:59:59 UTC) #5
Zhenyao Mo
Revised and tested with WebGL conformance tests. Please review again.
12 years, 3 months ago (2012-01-20 00:30:35 UTC) #6
kbr1
12 years, 3 months ago (2012-01-20 00:34:47 UTC) #7
Thanks, looks great. LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b