Closed
Bug 788400
Opened 13 years ago
Closed 13 years ago
Correlate samples with video frames
Categories
(Core :: Gecko Profiler, defect)
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: BenWa, Assigned: BenWa)
References
Details
Attachments
(3 files, 2 obsolete files)
8.52 KB,
image/png
|
Details | |
6.62 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
3.98 KB,
patch
|
BenWa
:
review+
|
Details | Diff | Splinter Review |
By adding frame count markers in the profile and tagging frames with a number we can correlate samples with video captures.
Assignee | ||
Updated•13 years ago
|
Assignee | ||
Comment 1•13 years ago
|
||
Assignee | ||
Comment 2•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Attachment #658372 -
Flags: review?(ehsan)
Assignee | ||
Comment 3•13 years ago
|
||
Comment on attachment 658372 [details] [diff] [review]
Part 1: Add frame counter
Actually I should get a GFX peer to review this.
Attachment #658372 -
Flags: review?(ehsan) → review?(jmuizelaar)
Comment 4•13 years ago
|
||
Comment on attachment 658372 [details] [diff] [review]
Part 1: Add frame counter
Review of attachment 658372 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/layers/opengl/LayerManagerOGL.cpp
@@ +537,5 @@
> + context->fClearColor(0.0, 0.0, 0.0, 0.0);
> + } else {
> + context->fClearColor(1.0, 1.0, 1.0, 0.0);
> + }
> + context->fClear(LOCAL_GL_COLOR_BUFFER_BIT);
Add a comment about how this should probably be implemented with a single draw instead of multiple ones.
Attachment #658372 -
Flags: review?(jmuizelaar) → review+
Updated•13 years ago
|
Attachment #658505 -
Flags: review?(ehsan) → review+
Assignee | ||
Comment 5•13 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #4)
> Comment on attachment 658372 [details] [diff] [review]
> Part 1: Add frame counter
>
> Review of attachment 658372 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: gfx/layers/opengl/LayerManagerOGL.cpp
> @@ +537,5 @@
> > + context->fClearColor(0.0, 0.0, 0.0, 0.0);
> > + } else {
> > + context->fClearColor(1.0, 1.0, 1.0, 0.0);
> > + }
> > + context->fClear(LOCAL_GL_COLOR_BUFFER_BIT);
>
> Add a comment about how this should probably be implemented with a single
> draw instead of multiple ones.
+ // We should do this using a single draw call
+ // instead of 16 glClear()
Assignee | ||
Comment 6•13 years ago
|
||
Attachment #658372 -
Attachment is obsolete: true
Attachment #658603 -
Flags: review+
Assignee | ||
Comment 7•13 years ago
|
||
Attachment #658603 -
Attachment is obsolete: true
Attachment #658626 -
Flags: review+
Assignee | ||
Updated•13 years ago
|
Attachment #658626 -
Attachment is patch: true
Assignee | ||
Comment 8•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/9000cfd0f51a
https://hg.mozilla.org/integration/mozilla-inbound/rev/308fd7da03e6
Target Milestone: --- → mozilla18
Comment 9•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9000cfd0f51a
https://hg.mozilla.org/mozilla-central/rev/308fd7da03e6
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•