HomeSort by relevance Sort by last modified time
    Searched refs:layer (Results 1 - 25 of 1091) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/ui/compositor/
layer_owner_unittest.cc 8 #include "ui/compositor/layer.h"
16 Layer* layer = new Layer; local
17 layer->SetVisible(true);
18 layer->SetOpacity(1.0f);
20 owner.SetLayer(layer);
22 ScopedLayerAnimationSettings settings(layer->GetAnimator());
23 layer->SetVisible(false);
24 layer->SetOpacity(0.0f)
    [all...]
dip_util.cc 10 #include "ui/compositor/layer.h"
21 float GetDeviceScaleFactor(const Layer* layer) {
22 return layer->device_scale_factor();
25 gfx::Point ConvertPointToDIP(const Layer* layer,
28 gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer)));
31 gfx::PointF ConvertPointToDIP(const Layer* layer,
33 return gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer));
    [all...]
dip_util.h 19 class Layer;
21 COMPOSITOR_EXPORT float GetDeviceScaleFactor(const Layer* layer);
26 const Layer* layer,
29 const Layer* layer,
32 const Layer* layer,
35 const Layer* layer
    [all...]
debug_utils.cc 16 #include "ui/compositor/layer.h"
28 void PrintLayerHierarchyImp(const Layer* layer,
34 layer->transform().TransformPointReverse(&mouse_location);
35 bool mouse_inside_layer_bounds = layer->bounds().Contains(mouse_location);
36 mouse_location.Offset(-layer->bounds().x(), -layer->bounds().y());
44 *out << UTF8ToWide(layer->name()) << L' ' << layer; local
46 switch (layer->type())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderLayerBlendInfo.cpp 78 RenderLayer* layer = m_renderer.layer(); local
80 if (layer->parent() && (!hadBlendMode || !hasBlendMode()))
81 layer->parent()->blendInfo().dirtyAncestorChainBlendedDescendantStatus();
83 if (layer->hasCompositedLayerMapping())
84 layer->compositedLayerMapping()->setBlendMode(newBlendMode);
89 for (RenderLayer* layer = m_renderer.layer(); layer; layer = layer->parent())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
Canvas2DLayerManager.cpp 86 Canvas2DLayerBridge* layer = m_layerList.head(); local
87 while (layer) {
88 Canvas2DLayerBridge* currentLayer = layer;
90 // may result in the layer being removed from the list.
91 layer = layer->next();
96 void Canvas2DLayerManager::layerDidDraw(Canvas2DLayerBridge* layer)
98 if (isInList(layer)) {
99 if (layer != m_layerList.head()) {
100 m_layerList.remove(layer);
132 Canvas2DLayerBridge* layer = m_layerList.tail(); \/\/ LRU local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/painting/
ContinuousPainter.cpp 40 void ContinuousPainter::setNeedsDisplayRecursive(GraphicsLayer* layer, PageOverlayList* pageOverlays)
42 if (!layer)
45 if (pageOverlays && pageOverlays->findGraphicsLayer(layer) != WTF::kNotFound)
49 layer->setNeedsDisplay();
51 setNeedsDisplayRecursive(layer->maskLayer(), pageOverlays);
52 setNeedsDisplayRecursive(layer->contentsClippingMaskLayer(), pageOverlays);
53 setNeedsDisplayRecursive(layer->replicaLayer(), pageOverlays);
55 const Vector<GraphicsLayer*>& children = layer->children();
  /external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/
GraphicsLayerUpdater.cpp 39 GraphicsLayerUpdater::UpdateContext::UpdateContext(const UpdateContext& other, const RenderLayer& layer)
41 , m_compositingAncestor(other.compositingContainer(layer))
43 CompositingState compositingState = layer.compositingState();
45 m_compositingAncestor = &layer;
46 if (layer.stackingNode()->isStackingContext())
47 m_compositingStackingContext = &layer;
51 const RenderLayer* GraphicsLayerUpdater::UpdateContext::compositingContainer(const RenderLayer& layer) const
53 return layer.stackingNode()->isNormalFlowOnly() ? m_compositingAncestor : m_compositingStackingContext;
65 void GraphicsLayerUpdater::update(Vector<RenderLayer*>& layersNeedingPaintInvalidation, RenderLayer& layer, UpdateType updateType, const UpdateContext& context)
67 if (layer.hasCompositedLayerMapping())
    [all...]
CompositingLayerAssigner.cpp 79 bool CompositingLayerAssigner::needsOwnBacking(const RenderLayer* layer) const
81 if (!m_compositor->canBeComposited(layer))
85 bool needsOwnBackingForDisabledSquashing = !m_layerSquashingEnabled && requiresSquashing(layer->compositingReasons());
87 return requiresCompositing(layer->compositingReasons()) || needsOwnBackingForDisabledSquashing || (m_compositor->staleInCompositingMode() && layer->isRootLayer());
90 CompositingStateTransitionType CompositingLayerAssigner::computeCompositedLayerUpdate(RenderLayer* layer)
93 if (needsOwnBacking(layer)) {
94 if (!layer->hasCompositedLayerMapping()) {
98 if (layer->hasCompositedLayerMapping())
102 if (!layer->subtreeIsInvisible() && requiresSquashing(layer->compositingReasons()))
    [all...]
CompositingInputsUpdater.cpp 25 void CompositingInputsUpdater::update(RenderLayer* layer, UpdateType updateType, AncestorInfo info)
27 if (!layer->childNeedsCompositingInputsUpdate() && updateType != ForceUpdate)
30 m_geometryMap.pushMappingsToAncestor(layer, layer->parent());
32 if (layer->hasCompositedLayerMapping())
33 info.enclosingCompositedLayer = layer;
35 if (layer->needsCompositingInputsUpdate()) {
44 if (!layer->isRootLayer()) {
45 properties.clippedAbsoluteBoundingBox = enclosingIntRect(m_geometryMap.absoluteRect(layer->boundingBoxForCompositingOverlapTest()));
52 IntRect clipRect = pixelSnappedIntRect(layer->clipper().backgroundClipRect(ClipRectsContext(m_rootRenderLayer, AbsoluteClipRects)).rect())
    [all...]
GraphicsLayerTreeBuilder.cpp 48 static bool shouldAppendLayer(const RenderLayer& layer)
52 Node* node = layer.renderer()->node();
58 void GraphicsLayerTreeBuilder::rebuild(RenderLayer& layer, GraphicsLayerVector& childLayersOfEnclosingLayer)
60 // Make the layer compositing if necessary, and set up clipping and content layers.
64 layer.stackingNode()->updateLayerListsIfNeeded();
66 const bool hasCompositedLayerMapping = layer.hasCompositedLayerMapping();
67 CompositedLayerMappingPtr currentCompositedLayerMapping = layer.compositedLayerMapping();
69 // If this layer has a compositedLayerMapping, then that is where we place subsequent children GraphicsLayers.
70 // Otherwise children continue to append to the child list of the enclosing layer.
75 LayerListMutationDetector mutationChecker(layer.stackingNode())
    [all...]
  /external/chromium_org/cc/layers/
layer_utils.cc 15 bool HasAnimationThatInflatesBounds(const LayerImpl& layer) {
16 return layer.layer_animation_controller()->HasAnimationThatInflatesBounds();
19 bool HasFilterAnimationThatInflatesBounds(const LayerImpl& layer) {
20 return layer.layer_animation_controller()
24 bool HasTransformAnimationThatInflatesBounds(const LayerImpl& layer) {
25 return layer.layer_animation_controller()
29 inline bool HasAncestorTransformAnimation(const LayerImpl& layer) {
30 return layer.screen_space_transform_is_animating();
33 inline bool HasAncestorFilterAnimation(const LayerImpl& layer) {
34 for (const LayerImpl* current = &layer; current
    [all...]
  /external/chromium_org/ppapi/c/
ppb_compositor_layer.h 70 * Determines if a resource is a compositor layer resource.
75 * resource is a compositor layer resource or <code>PP_FALSE</code>
80 * Sets the color of a solid color layer. If the layer is uninitialized,
81 * it will initialize the layer first, and then set its color.
82 * If the layer has been initialized to another kind of layer, the layer will
85 * param[in] layer A <code>PP_Resource</code> corresponding to a compositor
86 * layer resource
    [all...]
  /frameworks/base/libs/hwui/
LayerCache.cpp 37 INIT_LOGD(" Setting layer cache size to %sMB", property);
40 INIT_LOGD(" Using default layer cache size of %.2fMB", DEFAULT_LAYER_CACHE_SIZE);
81 void LayerCache::deleteLayer(Layer* layer) {
82 if (layer) {
83 LAYER_LOGD("Destroying layer %dx%d, fbo %d", layer->getWidth(), layer->getHeight(),
84 layer->getFbo());
85 mSize -= layer->getWidth() * layer->getHeight() * 4
100 Layer* layer = NULL; local
    [all...]
  /external/chromium_org/content/public/browser/android/
content_view_layer_renderer.h 19 virtual void AttachLayer(blink::WebLayer* layer) = 0;
20 virtual void DetachLayer(blink::WebLayer* layer) = 0;
  /external/chromium_org/ash/wm/
window_animations_unittest.cc 14 #include "ui/compositor/layer.h"
21 using ui::Layer;
70 EXPECT_TRUE(window->layer()->visible());
77 EXPECT_EQ(0.0f, window->layer()->GetTargetOpacity());
78 EXPECT_FALSE(window->layer()->GetTargetVisibility());
79 EXPECT_FALSE(window->layer()->visible());
86 EXPECT_EQ(0.0f, window->layer()->GetTargetBrightness());
87 EXPECT_EQ(0.0f, window->layer()->GetTargetGrayscale());
88 EXPECT_TRUE(window->layer()->visible());
91 window->layer()->GetAnimator()->Step(base::TimeTicks::Now()
175 Layer* layer = window->layer(); local
    [all...]
  /external/chromium_org/third_party/WebKit/public/platform/
WebImageLayer.h 39 virtual WebLayer* layer() = 0;
WebSolidColorLayer.h 39 virtual WebLayer* layer() = 0;
  /external/chromium_org/cc/trees/
layer_tree_host_common.cc 12 #include "cc/layers/layer.h"
43 static gfx::Vector2dF GetEffectiveScrollDelta(LayerType* layer) {
44 gfx::Vector2dF scroll_delta = layer->ScrollDelta();
46 // compositor thread since the commit for this layer tree's source frame.
49 if (layer->scroll_parent())
50 scroll_delta += layer->scroll_parent()->ScrollDelta();
55 static gfx::Vector2dF GetEffectiveTotalScrollOffset(LayerType* layer) {
56 gfx::Vector2dF offset = layer->TotalScrollOffset();
59 // scroll children's positions by the main thread layer positioning code.
60 if (layer->scroll_parent()
    [all...]
tree_synchronizer.cc 15 #include "cc/layers/layer.h"
72 Layer* layer_root,
90 LayerType* layer,
92 scoped_ptr<LayerImpl> layer_impl = old_layers->take(layer->id());
95 layer_impl = layer->CreateLayerImpl(tree_impl);
97 (*new_layers)[layer->id()] = layer_impl.get();
105 LayerType* layer,
107 if (!layer)
111 ReuseOrCreateLayerImpl(new_layers, old_layers, layer, tree_impl);
114 for (size_t i = 0; i < layer->children().size(); ++i)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
GraphicsLayerFactoryChromium.cpp 47 OwnPtr<GraphicsLayer> layer = adoptPtr(new GraphicsLayer(client)); local
48 m_webView->registerForAnimations(layer->platformLayer());
49 return layer.release();
  /external/chromium_org/third_party/skia/src/gpu/
GrLayerCache.cpp 27 static bool LessThan(const GrCachedLayer& layer, const PictureLayerKey& key) {
28 if (layer.pictureID() == key.pictureID()) {
29 return layer.layerID() < key.layerID();
32 return layer.pictureID() < key.pictureID();
35 static bool Equals(const GrCachedLayer& layer, const PictureLayerKey& key) {
36 return layer.pictureID() == key.pictureID() && layer.layerID() == key.layerID();
58 // The layer cache only gets 1 plot
70 GrCachedLayer* layer = fLayerPool.alloc(); local
73 layer->init(picture->uniqueID(), layerID)
81 GrCachedLayer* layer = fLayerHash.find(PictureLayerKey(picture->uniqueID(), layerID)); local
    [all...]
  /external/skia/src/gpu/
GrLayerCache.cpp 27 static bool LessThan(const GrCachedLayer& layer, const PictureLayerKey& key) {
28 if (layer.pictureID() == key.pictureID()) {
29 return layer.layerID() < key.layerID();
32 return layer.pictureID() < key.pictureID();
35 static bool Equals(const GrCachedLayer& layer, const PictureLayerKey& key) {
36 return layer.pictureID() == key.pictureID() && layer.layerID() == key.layerID();
58 // The layer cache only gets 1 plot
70 GrCachedLayer* layer = fLayerPool.alloc(); local
73 layer->init(picture->uniqueID(), layerID)
81 GrCachedLayer* layer = fLayerHash.find(PictureLayerKey(picture->uniqueID(), layerID)); local
    [all...]
  /external/chromium_org/content/renderer/compositor_bindings/
web_scrollbar_layer_impl.cc 7 #include "cc/layers/layer.h"
57 blink::WebLayer* WebScrollbarLayerImpl::layer() { function in class:content::WebScrollbarLayerImpl
61 void WebScrollbarLayerImpl::setScrollLayer(blink::WebLayer* layer) {
62 cc::Layer* scroll_layer =
63 layer ? static_cast<WebLayerImpl*>(layer)->layer() : 0;
64 layer_->layer()->ToScrollbarLayer()->SetScrollLayer(scroll_layer->id());
67 void WebScrollbarLayerImpl::setClipLayer(blink::WebLayer* layer) {
68 cc::Layer* clip_layer
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/layers/
LayerTreeOutline.js 56 * @param {?WebInspector.Layer} layer
58 selectLayer: function(layer)
61 var node = layer && this._treeOutline.getCachedTreeElement(layer);
69 * @param {?WebInspector.Layer} layer
71 hoverLayer: function(layer)
73 var node = layer && this._treeOutline.getCachedTreeElement(layer);
    [all...]

Completed in 640 milliseconds

1 2 3 4 5 6 7 8 91011>>