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

Issue 5591006: Add an API to allow JavaScript to determine the framerate of individual dynam... (Closed)

Created:
10 years ago by Tristan Schmelcher 2
Modified:
9 years, 6 months ago
Reviewers:
zhurunz1, zhurunz, Tim H
CC:
o3d-review_googlegroups.com
Visibility:
Public.

Description

Add an API to allow JavaScript to determine the framerate of individual dynamic textures. TEST=loaded O3D on a test page on Linux and used the new API to display the framerate BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=68379

Patch Set 1 #

Total comments: 5

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -29 lines) Patch
M core/cross/cairo/texture_cairo.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M core/cross/gl/texture_gl.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M core/cross/gles2/texture_gles2.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M core/cross/texture_base.h View 1 3 chunks +22 lines, -0 lines 0 comments Download
M core/cross/texture_base.cc View 2 chunks +26 lines, -2 lines 0 comments Download
M core/win/d3d9/texture_d3d9.cc View 9 chunks +37 lines, -27 lines 0 comments Download
M plugin/idl/texture.idl View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Tristan Schmelcher 2
10 years ago (2010-12-04 01:18:15 UTC) #1
zhurunz
http://codereview.chromium.org/5591006/diff/1/core/cross/texture_base.cc File core/cross/texture_base.cc (right): http://codereview.chromium.org/5591006/diff/1/core/cross/texture_base.cc#newcode69 core/cross/texture_base.cc:69: last_render_frame_count_ = renderer_->render_frame_count(); Maybe check null on renderer just ...
10 years ago (2010-12-04 01:29:49 UTC) #2
Tristan Schmelcher 2
http://codereview.chromium.org/5591006/diff/1/core/cross/texture_base.cc File core/cross/texture_base.cc (right): http://codereview.chromium.org/5591006/diff/1/core/cross/texture_base.cc#newcode69 core/cross/texture_base.cc:69: last_render_frame_count_ = renderer_->render_frame_count(); On 2010/12/04 01:29:49, zhurunz wrote: > ...
10 years ago (2010-12-06 18:44:59 UTC) #3
zhurunz
10 years ago (2010-12-06 20:07:57 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698