Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Issue 147258: Add a utility to adjust rendering quality based on rendering performance. (Closed)

Created:
11 years, 6 months ago by Eric U.
Modified:
9 years, 7 months ago
Reviewers:
gman1
CC:
o3d-review_googlegroups.com
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Add a tool to adjust rendering quality based on performance. #

Patch Set 3 : Add a tool to adjust rendering quality based on performance. #

Total comments: 22

Patch Set 4 : Made all code review changes. #

Patch Set 5 : Fixed a constant I'd changed for testing. #

Total comments: 6

Patch Set 6 : Fixed the last few comments and added js_list.scons. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+298 lines, -30 lines) Patch
M plugin/idl/pack.idl View 1 1 chunk +1 line, -1 line 0 comments Download
M samples/beachdemo/beachdemo.js View 1 2 3 4 9 chunks +101 lines, -29 lines 0 comments Download
M samples/o3djs/js_list.scons View 1 chunk +1 line, -0 lines 0 comments Download
A samples/o3djs/performance.js View 4 5 1 chunk +195 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Eric U.
11 years, 5 months ago (2009-07-01 01:44:06 UTC) #1
gman
http://codereview.chromium.org/147258/diff/2001/2003 File samples/beachdemo/beachdemo.js (right): http://codereview.chromium.org/147258/diff/2001/2003#newcode1548 Line 1548: g_perfMon = new o3djs.util.PerformanceMonitor( Do we want to ...
11 years, 5 months ago (2009-07-01 03:37:25 UTC) #2
Eric U.
http://codereview.chromium.org/147258/diff/2001/2003 File samples/beachdemo/beachdemo.js (right): http://codereview.chromium.org/147258/diff/2001/2003#newcode1548 Line 1548: g_perfMon = new o3djs.util.PerformanceMonitor( On 2009/07/01 03:37:25, gman ...
11 years, 5 months ago (2009-07-01 18:34:12 UTC) #3
gman
Just a couple of comments and a type issue. Otherwise LGTM Oh, and you need ...
11 years, 5 months ago (2009-07-01 22:33:45 UTC) #4
Eric U.
11 years, 5 months ago (2009-07-02 00:54:51 UTC) #5
Done and committed.

http://codereview.chromium.org/147258/diff/2010/2013
File samples/o3djs/performance.js (right):

http://codereview.chromium.org/147258/diff/2010/2013#newcode47
Line 47: * @param {function(): void} increaseQuality a function to increase
On 2009/07/01 22:33:45, gman wrote:
> should be (!function(): void}
> 

Done.

http://codereview.chromium.org/147258/diff/2010/2013#newcode48
Line 48: *     quality/lower FPS.
On 2009/07/01 22:33:45, gman wrote:
> "/lower FPS." This is confusing I think. Why would I ever want to lower the
FPS?
> 
> How about "a function to increase quality." or "a function to increase quality
> because the frame rate is so high that we can probably afford to render more
> details"

Done.

http://codereview.chromium.org/147258/diff/2010/2013#newcode50
Line 50: *     quality/raise FPS.
On 2009/07/01 22:33:45, gman wrote:
> I think this one is less confusing but it also might be worded better like "a
> function to decrease quality to hopefully increase the frame rate".
> 

Done.

Powered by Google App Engine
This is Rietveld 408576698