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

Side by Side Diff: Source/WebCore/rendering/RenderLayerCompositor.h

Issue 13462003: Add support for accelerated fixed root background (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@background-attachment-fixed2
Patch Set: Adding a FIXME for a bit that'll need fixing. Created 7 years, 8 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
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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 static bool parentFrameContentLayers(RenderPart*); 219 static bool parentFrameContentLayers(RenderPart*);
220 220
221 // Update the geometry of the layers used for clipping and scrolling in fram es. 221 // Update the geometry of the layers used for clipping and scrolling in fram es.
222 void frameViewDidChangeLocation(const IntPoint& contentsOffset); 222 void frameViewDidChangeLocation(const IntPoint& contentsOffset);
223 void frameViewDidChangeSize(); 223 void frameViewDidChangeSize();
224 void frameViewDidScroll(); 224 void frameViewDidScroll();
225 void frameViewDidLayout(); 225 void frameViewDidLayout();
226 void rootFixedBackgroundsChanged(); 226 void rootFixedBackgroundsChanged();
227 227
228 void scrollingLayerDidChange(RenderLayer*); 228 void scrollingLayerDidChange(RenderLayer*);
229 void fixedRootBackgroundLayerChanged();
229 230
230 String layerTreeAsText(LayerTreeFlags); 231 String layerTreeAsText(LayerTreeFlags);
231 232
232 virtual float deviceScaleFactor() const OVERRIDE; 233 virtual float deviceScaleFactor() const OVERRIDE;
233 virtual float pageScaleFactor() const OVERRIDE; 234 virtual float pageScaleFactor() const OVERRIDE;
234 virtual void didCommitChangesForLayer(const GraphicsLayer*) const OVERRIDE; 235 virtual void didCommitChangesForLayer(const GraphicsLayer*) const OVERRIDE;
235 virtual void notifyFlushBeforeDisplayRefresh(const GraphicsLayer*) OVERRIDE; 236 virtual void notifyFlushBeforeDisplayRefresh(const GraphicsLayer*) OVERRIDE;
236 237
237 void layerTiledBackingUsageChanged(const GraphicsLayer*, bool /*usingTiledBa cking*/); 238 void layerTiledBackingUsageChanged(const GraphicsLayer*, bool /*usingTiledBa cking*/);
238 239
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 int m_secondaryCompositedLayerCount; // count of layers that have to be comp osited because of stacking or overlap. 435 int m_secondaryCompositedLayerCount; // count of layers that have to be comp osited because of stacking or overlap.
435 double m_obligatoryBackingStoreBytes; 436 double m_obligatoryBackingStoreBytes;
436 double m_secondaryBackingStoreBytes; 437 double m_secondaryBackingStoreBytes;
437 #endif 438 #endif
438 }; 439 };
439 440
440 441
441 } // namespace WebCore 442 } // namespace WebCore
442 443
443 #endif // RenderLayerCompositor_h 444 #endif // RenderLayerCompositor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698