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

Side by Side Diff: sky/engine/platform/graphics/GraphicsLayer.cpp

Issue 721473002: Removed ScrollingCoordinator and a bunch of composited scrolling' (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cr comments Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 if (m_paintingPhase & GraphicsLayerPaintBackground) 596 if (m_paintingPhase & GraphicsLayerPaintBackground)
597 paintingPhasesJSON->pushString("GraphicsLayerPaintBackground"); 597 paintingPhasesJSON->pushString("GraphicsLayerPaintBackground");
598 if (m_paintingPhase & GraphicsLayerPaintForeground) 598 if (m_paintingPhase & GraphicsLayerPaintForeground)
599 paintingPhasesJSON->pushString("GraphicsLayerPaintForeground"); 599 paintingPhasesJSON->pushString("GraphicsLayerPaintForeground");
600 if (m_paintingPhase & GraphicsLayerPaintMask) 600 if (m_paintingPhase & GraphicsLayerPaintMask)
601 paintingPhasesJSON->pushString("GraphicsLayerPaintMask"); 601 paintingPhasesJSON->pushString("GraphicsLayerPaintMask");
602 if (m_paintingPhase & GraphicsLayerPaintChildClippingMask) 602 if (m_paintingPhase & GraphicsLayerPaintChildClippingMask)
603 paintingPhasesJSON->pushString("GraphicsLayerPaintChildClippingMask" ); 603 paintingPhasesJSON->pushString("GraphicsLayerPaintChildClippingMask" );
604 if (m_paintingPhase & GraphicsLayerPaintOverflowContents) 604 if (m_paintingPhase & GraphicsLayerPaintOverflowContents)
605 paintingPhasesJSON->pushString("GraphicsLayerPaintOverflowContents") ; 605 paintingPhasesJSON->pushString("GraphicsLayerPaintOverflowContents") ;
606 if (m_paintingPhase & GraphicsLayerPaintCompositedScroll)
607 paintingPhasesJSON->pushString("GraphicsLayerPaintCompositedScroll") ;
608 json->setArray("paintingPhases", paintingPhasesJSON); 606 json->setArray("paintingPhases", paintingPhasesJSON);
609 } 607 }
610 608
611 if (flags & LayerTreeIncludesClipAndScrollParents) { 609 if (flags & LayerTreeIncludesClipAndScrollParents) {
612 if (m_hasScrollParent) 610 if (m_hasScrollParent)
613 json->setBoolean("hasScrollParent", true); 611 json->setBoolean("hasScrollParent", true);
614 if (m_hasClipParent) 612 if (m_hasClipParent)
615 json->setBoolean("hasClipParent", true); 613 json->setBoolean("hasClipParent", true);
616 } 614 }
617 615
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
1006 #ifndef NDEBUG 1004 #ifndef NDEBUG
1007 void showGraphicsLayerTree(const blink::GraphicsLayer* layer) 1005 void showGraphicsLayerTree(const blink::GraphicsLayer* layer)
1008 { 1006 {
1009 if (!layer) 1007 if (!layer)
1010 return; 1008 return;
1011 1009
1012 String output = layer->layerTreeAsText(blink::LayerTreeIncludesDebugInfo); 1010 String output = layer->layerTreeAsText(blink::LayerTreeIncludesDebugInfo);
1013 fprintf(stderr, "%s\n", output.utf8().data()); 1011 fprintf(stderr, "%s\n", output.utf8().data());
1014 } 1012 }
1015 #endif 1013 #endif
OLDNEW
« no previous file with comments | « sky/engine/platform/graphics/CompositingReasons.cpp ('k') | sky/engine/platform/graphics/GraphicsLayerClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698