Closed Bug 854446 Opened 11 years ago Closed 11 years ago

Make the destination file for drawing recording configurable

Categories

(Core :: Graphics, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: bas.schouten, Assigned: bas.schouten)

Details

Attachments

(1 file)

We should have a pref that allows us to configure the destination file for a drawing recorder. The command-line recording tool also requires this.
Attachment #729011 - Flags: review?(jmuizelaar)
Comment on attachment 729011 [details] [diff] [review]
Allow setting recording output file

Review of attachment 729011 [details] [diff] [review]:
-----------------------------------------------------------------

Delegating review to Joe as Jeff is at GDC :)
Attachment #729011 - Flags: review?(jmuizelaar) → review?(joe)
Comment on attachment 729011 [details] [diff] [review]
Allow setting recording output file

Review of attachment 729011 [details] [diff] [review]:
-----------------------------------------------------------------

::: gfx/thebes/gfxPlatform.cpp
@@ +388,5 @@
> +      } else {
> +        fileName.AssignLiteral("browserrecording.aer");
> +      }
> +
> +      gPlatform->mRecorder = Factory::CreateEventRecorderForFile(fileName.BeginReading());

Doesn't the operator const char*() work for this (instead of calling BeginReading() explicitly)?
Attachment #729011 - Flags: review?(joe) → review+
https://hg.mozilla.org/mozilla-central/rev/22f4559c2f00
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: