Changeset 149083 in webkit


Ignore:
Timestamp:
Apr 24, 2013 6:27:13 PM (11 years ago)
Author:
Simon Fraser
Message:

Dump layer opaqueness in the Compositing log output
https://bugs.webkit.org/show_bug.cgi?id=115132

Reviewed by Tim Horton.

It's useful to see whether we consider layers to be opaque in the Compositing
log channel output, so dump it.

  • rendering/RenderLayerCompositor.cpp:

(WebCore::RenderLayerCompositor::logLayerInfo):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r149081 r149083  
     12013-04-24  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Dump layer opaqueness in the Compositing log output
     4        https://bugs.webkit.org/show_bug.cgi?id=115132
     5
     6        Reviewed by Tim Horton.
     7
     8        It's useful to see whether we consider layers to be opaque in the Compositing
     9        log channel output, so dump it.
     10
     11        * rendering/RenderLayerCompositor.cpp:
     12        (WebCore::RenderLayerCompositor::logLayerInfo):
     13
    1142013-04-24  Seokju Kwon  <seokju.kwon@gmail.com>
    215
  • trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp

    r148998 r149083  
    627627    }
    628628
    629     LOG(Compositing, "%*p %dx%d %.2fKB (%s) %s\n", 12 + depth * 2, layer, backing->compositedBounds().width(), backing->compositedBounds().height(),
     629    LOG(Compositing, "%*p %dx%d %.2fKB %s(%s) %s\n", 12 + depth * 2, layer, backing->compositedBounds().width(), backing->compositedBounds().height(),
    630630        backing->backingStoreMemoryEstimate() / 1024,
     631        backing->graphicsLayer()->contentsOpaque() ? "opaque " : "",
    631632        logReasonsForCompositing(layer), layer->name().utf8().data());
    632633}
Note: See TracChangeset for help on using the changeset viewer.