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

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: rebased Created 7 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, 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 212
213 IntSize contentOffsetInCompostingLayer() const; 213 IntSize contentOffsetInCompostingLayer() const;
214 // Result is transform origin in pixels. 214 // Result is transform origin in pixels.
215 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; 215 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const;
216 // Result is perspective origin in pixels. 216 // Result is perspective origin in pixels.
217 FloatPoint computePerspectiveOrigin(const IntRect& borderBox) const; 217 FloatPoint computePerspectiveOrigin(const IntRect& borderBox) const;
218 218
219 void updateOpacity(const RenderStyle*); 219 void updateOpacity(const RenderStyle*);
220 void updateTransform(const RenderStyle*); 220 void updateTransform(const RenderStyle*);
221 void updateLayerBlendMode(const RenderStyle*); 221 void updateLayerBlendMode(const RenderStyle*);
222 void updateIsRootForIsolatedGroup();
222 // Return the opacity value that this layer should use for compositing. 223 // Return the opacity value that this layer should use for compositing.
223 float compositingOpacity(float rendererOpacity) const; 224 float compositingOpacity(float rendererOpacity) const;
224 225
225 bool isMainFrameRenderViewLayer() const; 226 bool isMainFrameRenderViewLayer() const;
226 227
227 bool paintsBoxDecorations() const; 228 bool paintsBoxDecorations() const;
228 bool paintsChildren() const; 229 bool paintsChildren() const;
229 230
230 // Returns true if this compositing layer has no visible content. 231 // Returns true if this compositing layer has no visible content.
231 bool isSimpleContainerCompositingLayer() const; 232 bool isSimpleContainerCompositingLayer() const;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 bool m_boundsConstrainedByClipping; 326 bool m_boundsConstrainedByClipping;
326 bool m_isMainFrameRenderViewLayer; 327 bool m_isMainFrameRenderViewLayer;
327 bool m_requiresOwnBackingStore; 328 bool m_requiresOwnBackingStore;
328 bool m_canCompositeFilters; 329 bool m_canCompositeFilters;
329 bool m_backgroundLayerPaintsFixedRootBackground; 330 bool m_backgroundLayerPaintsFixedRootBackground;
330 }; 331 };
331 332
332 } // namespace WebCore 333 } // namespace WebCore
333 334
334 #endif // CompositedLayerMapping_h 335 #endif // CompositedLayerMapping_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698