Closed
Bug 911730
Opened 13 years ago
Closed 13 years ago
Only dump layer tree(using MOZ_LAYERS_HAVE_LOG)
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: jerry, Assigned: jerry)
Details
Attachments
(2 files)
|
2.19 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
|
2.41 KB,
patch
|
Details | Diff | Splinter Review |
Even though we only need the layer's property not the image surface data, b2g still dump the surface data(if we only define "MOZ_LAYERS_HAVE_LOG").
| Assignee | ||
Comment 1•13 years ago
|
||
Remove image surface dump with MOZ_LAYERS_HAVE_LOG symbol
| Assignee | ||
Comment 2•13 years ago
|
||
for dump layer testing
| Assignee | ||
Updated•13 years ago
|
Attachment #798471 -
Flags: review?(matt.woodrow)
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → hshih
Comment 3•13 years ago
|
||
Comment on attachment 798471 [details] [diff] [review]
only dump layer property with MOZ_LAYERS_HAVE_LOG symbol
Review of attachment 798471 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/layers/Layers.cpp
@@ +1041,5 @@
> fprintf(aFile, ">");
> }
> DumpSelf(aFile, aPrefix);
> +
> +#ifdef MOZ_DUMP_PAINTING
Check aDumpHtml too, like we do for WriteSnapshotLinkToDumpFile.
It's still probably not exactly what we want, but it's better.
Attachment #798471 -
Flags: review?(matt.woodrow) → review+
| Assignee | ||
Comment 4•13 years ago
|
||
(In reply to Matt Woodrow (:mattwoodrow) from comment #3)
> Comment on attachment 798471 [details] [diff] [review]
> only dump layer property with MOZ_LAYERS_HAVE_LOG symbol
>
> Review of attachment 798471 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: gfx/layers/Layers.cpp
> @@ +1041,5 @@
> > fprintf(aFile, ">");
> > }
> > DumpSelf(aFile, aPrefix);
> > +
> > +#ifdef MOZ_DUMP_PAINTING
>
> Check aDumpHtml too, like we do for WriteSnapshotLinkToDumpFile.
>
> It's still probably not exactly what we want, but it's better.
Sorry, I'm not sure that I fully understand.
Html format output occur only within aDumpHtml block.
Do we need more test condition?
Flags: needinfo?(matt.woodrow)
Comment 5•13 years ago
|
||
So, in the old code writing HTML formatted and dumping of images were treated as the same thing. We always dumped images when writing HTML, and never dumped them when writing text.
So my suggestion was to make the new image dumping do the same thing.
The 'better' fix would be to make these separate options and change aDumpHtml to a flag word that lets us choose the two things independently.
You're welcome to have a go at this, but it may not be worth it unless you need this functionality right now.
Flags: needinfo?(matt.woodrow)
| Assignee | ||
Comment 6•13 years ago
|
||
(In reply to Matt Woodrow (:mattwoodrow) from comment #5)
> So, in the old code writing HTML formatted and dumping of images were
> treated as the same thing. We always dumped images when writing HTML, and
> never dumped them when writing text.
>
> So my suggestion was to make the new image dumping do the same thing.
>
> The 'better' fix would be to make these separate options and change
> aDumpHtml to a flag word that lets us choose the two things independently.
>
> You're welcome to have a go at this, but it may not be worth it unless you
> need this functionality right now.
I will dump the image surfaces with html output, thus we can figure out the hierarchy of these image surfaces.
Thanks!
| Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
| Assignee | ||
Comment 7•13 years ago
|
||
please land attachment 798471 [details] [diff] [review] on mozilla central
Comment 8•13 years ago
|
||
Keywords: checkin-needed
Comment 9•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•