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

Side by Side Diff: Source/core/rendering/compositing/RenderLayerCompositor.cpp

Issue 185273002: Remove unused parameter to RenderLayerCompositor::setCompositingLayersNeedRebuild (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove visual update clls Created 6 years, 9 months 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/compositing/RenderLayerCompositor.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2009, 2010 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 return settings->layerSquashingEnabled(); 284 return settings->layerSquashingEnabled();
285 285
286 return false; 286 return false;
287 } 287 }
288 288
289 bool RenderLayerCompositor::canRender3DTransforms() const 289 bool RenderLayerCompositor::canRender3DTransforms() const
290 { 290 {
291 return hasAcceleratedCompositing() && m_compositingReasonFinder.has3DTransfo rmTrigger(); 291 return hasAcceleratedCompositing() && m_compositingReasonFinder.has3DTransfo rmTrigger();
292 } 292 }
293 293
294 void RenderLayerCompositor::setCompositingLayersNeedRebuild(bool needRebuild) 294 void RenderLayerCompositor::setCompositingLayersNeedRebuild()
295 { 295 {
296 // FIXME: crbug,com/332248 ideally this could be merged with setNeedsComposi tingUpdate(). 296 // FIXME: crbug,com/332248 ideally this could be merged with setNeedsComposi tingUpdate().
297 if (inCompositingMode()) 297 if (inCompositingMode())
298 m_compositingLayersNeedRebuild = needRebuild; 298 m_compositingLayersNeedRebuild = true;
299 299
300 m_renderView->frameView()->scheduleAnimation(); 300 m_renderView->frameView()->scheduleAnimation();
301 } 301 }
302 302
303 void RenderLayerCompositor::updateCompositingRequirementsState() 303 void RenderLayerCompositor::updateCompositingRequirementsState()
304 { 304 {
305 if (!m_needsUpdateCompositingRequirementsState) 305 if (!m_needsUpdateCompositingRequirementsState)
306 return; 306 return;
307 307
308 TRACE_EVENT0("blink_rendering,comp-scroll", "RenderLayerCompositor::updateCo mpositingRequirementsState"); 308 TRACE_EVENT0("blink_rendering,comp-scroll", "RenderLayerCompositor::updateCo mpositingRequirementsState");
(...skipping 2096 matching lines...) Expand 10 before | Expand all | Expand 10 after
2405 } else if (graphicsLayer == m_scrollLayer.get()) { 2405 } else if (graphicsLayer == m_scrollLayer.get()) {
2406 name = "LocalFrame Scrolling Layer"; 2406 name = "LocalFrame Scrolling Layer";
2407 } else { 2407 } else {
2408 ASSERT_NOT_REACHED(); 2408 ASSERT_NOT_REACHED();
2409 } 2409 }
2410 2410
2411 return name; 2411 return name;
2412 } 2412 }
2413 2413
2414 } // namespace WebCore 2414 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/compositing/RenderLayerCompositor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698