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

Side by Side Diff: Source/core/rendering/compositing/CompositedLayerMapping.h

Issue 270383002: Remove will-change: contents GPU rasterization hint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2009, 2010, 2011 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 243
244 // Result is transform origin in pixels. 244 // Result is transform origin in pixels.
245 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; 245 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const;
246 246
247 void updateSquashingLayerGeometry(const IntPoint& delta); 247 void updateSquashingLayerGeometry(const IntPoint& delta);
248 248
249 void updateOpacity(const RenderStyle*); 249 void updateOpacity(const RenderStyle*);
250 void updateTransform(const RenderStyle*); 250 void updateTransform(const RenderStyle*);
251 void updateLayerBlendMode(const RenderStyle*); 251 void updateLayerBlendMode(const RenderStyle*);
252 void updateIsRootForIsolatedGroup(); 252 void updateIsRootForIsolatedGroup();
253 void updateHasGpuRasterizationHint(const RenderStyle*);
254 // Return the opacity value that this layer should use for compositing. 253 // Return the opacity value that this layer should use for compositing.
255 float compositingOpacity(float rendererOpacity) const; 254 float compositingOpacity(float rendererOpacity) const;
256 255
257 bool isMainFrameRenderViewLayer() const; 256 bool isMainFrameRenderViewLayer() const;
258 257
259 bool paintsChildren() const; 258 bool paintsChildren() const;
260 259
261 // Returns true if this layer has content that needs to be rendered by paint ing into the backing store. 260 // Returns true if this layer has content that needs to be rendered by paint ing into the backing store.
262 bool containsPaintedContent() const; 261 bool containsPaintedContent() const;
263 // Returns true if the RenderLayer just contains an image that we can compos ite directly. 262 // Returns true if the RenderLayer just contains an image that we can compos ite directly.
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 bool m_requiresOwnBackingStoreForAncestorReasons : 1; 372 bool m_requiresOwnBackingStoreForAncestorReasons : 1;
374 bool m_canCompositeFilters : 1; 373 bool m_canCompositeFilters : 1;
375 bool m_backgroundLayerPaintsFixedRootBackground : 1; 374 bool m_backgroundLayerPaintsFixedRootBackground : 1;
376 bool m_needToUpdateGraphicsLayer : 1; 375 bool m_needToUpdateGraphicsLayer : 1;
377 bool m_needToUpdateGraphicsLayerOfAllDecendants : 1; 376 bool m_needToUpdateGraphicsLayerOfAllDecendants : 1;
378 }; 377 };
379 378
380 } // namespace WebCore 379 } // namespace WebCore
381 380
382 #endif // CompositedLayerMapping_h 381 #endif // CompositedLayerMapping_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698