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

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

Issue 23511004: mix-blend-mode implementation for accelerated layers - blink part (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: removed a failing reftest dependent on render-compositor bindings Created 7 years 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, 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 219
220 IntSize contentOffsetInCompostingLayer() const; 220 IntSize contentOffsetInCompostingLayer() const;
221 // Result is transform origin in pixels. 221 // Result is transform origin in pixels.
222 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; 222 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const;
223 // Result is perspective origin in pixels. 223 // Result is perspective origin in pixels.
224 FloatPoint computePerspectiveOrigin(const IntRect& borderBox) const; 224 FloatPoint computePerspectiveOrigin(const IntRect& borderBox) const;
225 225
226 void updateOpacity(const RenderStyle*); 226 void updateOpacity(const RenderStyle*);
227 void updateTransform(const RenderStyle*); 227 void updateTransform(const RenderStyle*);
228 void updateLayerBlendMode(const RenderStyle*); 228 void updateLayerBlendMode(const RenderStyle*);
229 void updateIsRootForIsolatedGroup();
229 // Return the opacity value that this layer should use for compositing. 230 // Return the opacity value that this layer should use for compositing.
230 float compositingOpacity(float rendererOpacity) const; 231 float compositingOpacity(float rendererOpacity) const;
231 232
232 bool isMainFrameRenderViewLayer() const; 233 bool isMainFrameRenderViewLayer() const;
233 234
234 bool paintsBoxDecorations() const; 235 bool paintsBoxDecorations() const;
235 bool paintsChildren() const; 236 bool paintsChildren() const;
236 237
237 // Returns true if this compositing layer has no visible content. 238 // Returns true if this compositing layer has no visible content.
238 bool isSimpleContainerCompositingLayer() const; 239 bool isSimpleContainerCompositingLayer() const;
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 bool m_isMainFrameRenderViewLayer; 336 bool m_isMainFrameRenderViewLayer;
336 bool m_requiresOwnBackingStoreForIntrinsicReasons; 337 bool m_requiresOwnBackingStoreForIntrinsicReasons;
337 bool m_requiresOwnBackingStoreForAncestorReasons; 338 bool m_requiresOwnBackingStoreForAncestorReasons;
338 bool m_canCompositeFilters; 339 bool m_canCompositeFilters;
339 bool m_backgroundLayerPaintsFixedRootBackground; 340 bool m_backgroundLayerPaintsFixedRootBackground;
340 }; 341 };
341 342
342 } // namespace WebCore 343 } // namespace WebCore
343 344
344 #endif // CompositedLayerMapping_h 345 #endif // CompositedLayerMapping_h
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/GraphicsLayer.cpp ('k') | Source/core/rendering/CompositedLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698