Searched refs:layer (Results 1 - 25 of 666) sorted by relevance

1234567891011>>

/external/libppp/src/
H A Dsync.h29 extern struct layer synclayer;
H A Dtcpmss.h29 extern struct layer tcpmsslayer;
H A Dacf.h33 extern struct layer acflayer;
H A Dvjcomp.h36 extern struct layer vjlayer;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DCanvas2DLayerManager.cpp84 for (Canvas2DLayerBridge* layer = m_layerList.head(); layer; layer = layer->next())
85 layer->limitPendingFrames();
88 void Canvas2DLayerManager::layerDidDraw(Canvas2DLayerBridge* layer) argument
90 if (isInList(layer)) {
91 if (layer != m_layerList.head()) {
92 m_layerList.remove(layer);
93 m_layerList.push(layer); // Se
105 addLayerToList(Canvas2DLayerBridge* layer) argument
112 layerAllocatedStorageChanged(Canvas2DLayerBridge* layer, intptr_t deltaBytes) argument
124 layerToBeDestroyed(Canvas2DLayerBridge* layer) argument
134 Canvas2DLayerBridge* layer = m_layerList.tail(); // LRU local
151 removeLayerFromList(Canvas2DLayerBridge* layer) argument
160 isInList(Canvas2DLayerBridge* layer) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/web/painting/
H A DContinuousPainter.cpp40 void ContinuousPainter::setNeedsDisplayRecursive(GraphicsLayer* layer, PageOverlayList* pageOverlays) argument
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/ui/compositor/
H A Ddip_util.cc10 #include "ui/compositor/layer.h"
21 float GetDeviceScaleFactor(const Layer* layer) { argument
22 return layer->device_scale_factor();
25 gfx::Point ConvertPointToDIP(const Layer* layer, argument
28 gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer)));
31 gfx::PointF ConvertPointToDIP(const Layer* layer, argument
33 return gfx::ScalePoint(point_in_pixel, 1.0f / GetDeviceScaleFactor(layer));
36 gfx::Size ConvertSizeToDIP(const Layer* layer, argument
39 gfx::ScaleSize(size_in_pixel, 1.0f / GetDeviceScaleFactor(layer)));
42 gfx::Rect ConvertRectToDIP(const Layer* layer, argument
48 ConvertPointToPixel(const Layer* layer, const gfx::Point& point_in_dip) argument
54 ConvertSizeToPixel(const Layer* layer, const gfx::Size& size_in_dip) argument
60 ConvertRectToPixel(const Layer* layer, const gfx::Rect& rect_in_dip) argument
[all...]
H A Ddip_util.h21 COMPOSITOR_EXPORT float GetDeviceScaleFactor(const Layer* layer);
26 const Layer* layer,
29 const Layer* layer,
32 const Layer* layer,
35 const Layer* layer,
38 const Layer* layer,
41 const Layer* layer,
44 const Layer* layer,
H A Ddebug_utils.cc16 #include "ui/compositor/layer.h"
26 void PrintLayerHierarchyImp(const Layer* layer, argument
32 layer->transform().TransformPointReverse(&mouse_location);
33 bool mouse_inside_layer_bounds = layer->bounds().Contains(mouse_location);
34 mouse_location.Offset(-layer->bounds().x(), -layer->bounds().y());
42 *out << UTF8ToWide(layer->name()) << L' ' << layer; local
44 switch (layer->type()) {
50 if (layer
97 PrintLayerHierarchy(const Layer* layer, gfx::Point mouse_location) argument
[all...]
/external/chromium_org/cc/layers/
H A Dheads_up_display_layer_impl_unittest.cc16 void CheckDrawLayer(HeadsUpDisplayLayerImpl* layer, argument
21 bool will_draw = layer->WillDraw(draw_mode, resource_provider);
23 layer->AppendQuads(&quad_culler, &data);
24 layer->UpdateHudTexture(draw_mode, resource_provider);
26 layer->DidDraw(resource_provider);
37 scoped_ptr<HeadsUpDisplayLayerImpl> layer = local
39 layer->SetContentBounds(gfx::Size(100, 100));
43 layer.get(), host_impl.resource_provider(), DRAW_MODE_HARDWARE);
46 layer->DidLoseOutputSurface();
49 CheckDrawLayer(layer
[all...]
H A Dui_resource_layer_impl_unittest.cc29 scoped_ptr<UIResourceLayerImpl> layer = local
31 layer->draw_properties().visible_content_rect = visible_content_rect;
32 layer->SetBounds(layer_size);
33 layer->SetContentBounds(layer_size);
34 layer->CreateRenderSurface();
35 layer->draw_properties().render_target = layer.get();
48 layer->SetUIResourceId(uid);
50 return layer.Pass();
53 void QuadSizeTest(scoped_ptr<UIResourceLayerImpl> layer, argument
73 scoped_ptr<UIResourceLayerImpl> layer = GenerateUIResourceLayer(&host_impl, local
91 OpaqueBoundsTest(scoped_ptr<UIResourceLayerImpl> layer, gfx::Rect expected_opaque_bounds) argument
112 scoped_ptr<UIResourceLayerImpl> layer = GenerateUIResourceLayer(&host_impl, local
138 scoped_ptr<UIResourceLayerImpl> layer = GenerateUIResourceLayer( local
[all...]
H A Dsolid_color_layer_impl_unittest.cc30 scoped_ptr<SolidColorLayerImpl> layer = local
32 layer->draw_properties().visible_content_rect = visible_content_rect;
33 layer->SetBounds(layer_size);
34 layer->SetContentBounds(layer_size);
35 layer->CreateRenderSurface();
36 layer->draw_properties().render_target = layer.get();
39 layer->AppendQuads(&quad_culler, &data);
54 scoped_ptr<SolidColorLayerImpl> layer = local
56 layer
80 scoped_ptr<SolidColorLayerImpl> layer = local
102 scoped_refptr<SolidColorLayer> layer = SolidColorLayer::Create(); local
[all...]
H A Dtiled_layer_impl_unittest.cc29 scoped_ptr<TiledLayerImpl> layer = local
34 layer->SetTilingData(*tiler);
35 layer->set_skips_draw(false);
36 layer->draw_properties().visible_content_rect =
38 layer->draw_properties().opacity = 1;
39 layer->SetBounds(layer_size);
40 layer->SetContentBounds(layer_size);
41 layer->CreateRenderSurface();
42 layer->draw_properties().render_target = layer
52 scoped_ptr<TiledLayerImpl> layer = local
76 scoped_ptr<TiledLayerImpl> layer = local
100 scoped_ptr<TiledLayerImpl> layer = local
113 scoped_ptr<TiledLayerImpl> layer = local
123 scoped_ptr<TiledLayerImpl> layer = local
139 scoped_ptr<TiledLayerImpl> layer = local
157 scoped_ptr<TiledLayerImpl> layer = local
285 scoped_ptr<TiledLayerImpl> layer = CreateLayerNoTiles( local
[all...]
H A Dtiled_layer_unittest.cc117 void LayerPushPropertiesTo(FakeTiledLayer* layer, argument
121 layer->PushPropertiesTo(layer_impl);
122 layer->ResetNumDependentsNeedPushProperties();
125 void LayerUpdate(FakeTiledLayer* layer, TestOcclusionTracker* occluded) { argument
127 layer->Update(queue_.get(), occluded);
209 scoped_refptr<FakeTiledLayer> layer = local
215 layer_tree_host_->root_layer()->AddChild(layer);
218 layer->SetBounds(gfx::Size(100, 200));
220 UpdateAndPush(layer, layer_impl);
227 layer
238 scoped_refptr<FakeTiledLayer> layer = local
290 scoped_refptr<FakeTiledLayer> layer = local
329 scoped_refptr<FakeTiledLayer> layer = local
369 scoped_refptr<FakeTiledLayer> layer = local
509 scoped_refptr<FakeTiledLayer> layer = local
535 scoped_refptr<FakeTiledLayer> layer = local
639 scoped_refptr<FakeTiledLayer> layer = local
686 scoped_refptr<FakeTiledLayer> layer = local
715 scoped_refptr<FakeTiledLayer> layer = local
748 scoped_refptr<FakeTiledLayer> layer = local
786 scoped_refptr<FakeTiledLayer> layer = local
828 scoped_refptr<FakeTiledLayerWithScaledBounds> layer = make_scoped_refptr( local
874 scoped_refptr<FakeTiledLayer> layer = local
988 scoped_refptr<FakeTiledLayer> layer = local
1007 scoped_refptr<FakeTiledLayer> layer = local
1034 scoped_refptr<FakeTiledLayer> layer = make_scoped_refptr( local
1138 scoped_refptr<FakeTiledLayer> layer = local
1156 scoped_refptr<FakeTiledLayer> layer = local
1222 scoped_refptr<FakeTiledLayer> layer = local
1296 scoped_refptr<FakeTiledLayer> layer = local
1343 scoped_refptr<FakeTiledLayer> layer = local
1382 scoped_refptr<FakeTiledLayer> layer = local
1489 scoped_refptr<FakeTiledLayer> layer = local
1612 scoped_refptr<FakeTiledLayer> layer = local
1886 scoped_refptr<UpdateTrackingTiledLayer> layer = local
1922 scoped_refptr<UpdateTrackingTiledLayer> layer = local
[all...]
/external/chromium-trace/trace-viewer/src/cc/
H A Dlayer_tree_impl.js37 function visitLayer(layer, depth, isMask, isReplica) {
38 func(layer, depth, isMask, isReplica);
39 for (var i = 0; i < layer.children.length; i++)
40 visitLayer(layer.children[i], depth + 1);
41 if (layer.maskLayer)
42 visitLayer(layer, depth + 1, true, false);
43 if (layer.replicaLayer)
44 visitLayer(layer, depth + 1, false, true);
50 function visitLayer(layer) {
51 if (layer
[all...]
H A Dlayer_viewer.css6 layer-viewer {
14 layer-viewer > layer-tree-quad-stack-viewer {
21 layer-viewer > layer-viewer-analysis {
/external/chromium_org/third_party/WebKit/Source/web/
H A DGraphicsLayerFactoryChromium.cpp47 OwnPtr<GraphicsLayer> layer = adoptPtr(new GraphicsLayer(client)); local
48 m_webView->registerForAnimations(layer->platformLayer());
49 return layer.release();
/external/chromium_org/cc/trees/
H A Dtree_synchronizer.cc13 #include "cc/layers/layer.h"
81 LayerType* layer,
83 scoped_ptr<LayerImpl> layer_impl = old_layers->take(layer->id());
86 layer_impl = layer->CreateLayerImpl(tree_impl);
88 (*new_layers)[layer->id()] = layer_impl.get();
96 LayerType* layer,
98 if (!layer)
102 ReuseOrCreateLayerImpl(new_layers, old_layers, layer, tree_impl);
105 for (size_t i = 0; i < layer->children().size(); ++i) {
107 new_layers, old_layers, layer
79 ReuseOrCreateLayerImpl(RawPtrLayerImplMap* new_layers, ScopedPtrLayerImplMap* old_layers, LayerType* layer, LayerTreeImpl* tree_impl) argument
93 SynchronizeTreesRecursiveInternal( RawPtrLayerImplMap* new_layers, ScopedPtrLayerImplMap* old_layers, LayerType* layer, LayerTreeImpl* tree_impl) argument
123 SynchronizeTreesRecursive( RawPtrLayerImplMap* new_layers, ScopedPtrLayerImplMap* old_layers, Layer* layer, LayerTreeImpl* tree_impl) argument
132 SynchronizeTreesRecursive( RawPtrLayerImplMap* new_layers, ScopedPtrLayerImplMap* old_layers, LayerImpl* layer, LayerTreeImpl* tree_impl) argument
142 UpdateScrollbarLayerPointersRecursiveInternal( const RawPtrLayerImplMap* new_layers, LayerType* layer) argument
176 UpdateScrollbarLayerPointersRecursive(const RawPtrLayerImplMap* new_layers, Layer* layer) argument
182 UpdateScrollbarLayerPointersRecursive(const RawPtrLayerImplMap* new_layers, LayerImpl* layer) argument
190 SetNumDependentsNeedPushProperties( Layer* layer, size_t num) argument
196 SetNumDependentsNeedPushProperties( LayerImpl* layer, size_t num) argument
202 PushPropertiesInternal( LayerType* layer, LayerImpl* layer_impl, size_t* num_dependents_need_push_properties_for_parent) argument
252 PushProperties(Layer* layer, LayerImpl* layer_impl) argument
259 PushProperties(LayerImpl* layer, LayerImpl* layer_impl) argument
[all...]
H A Dlayer_tree_host_common.cc12 #include "cc/layers/layer.h"
44 static gfx::Vector2dF GetEffectiveScrollDelta(LayerType* layer) { argument
45 gfx::Vector2dF scroll_delta = layer->ScrollDelta();
47 // compositor thread since the commit for this layer tree's source frame.
50 if (layer->scroll_parent())
51 scroll_delta += layer->scroll_parent()->ScrollDelta();
56 static gfx::Vector2dF GetEffectiveTotalScrollOffset(LayerType* layer) { argument
57 gfx::Vector2dF offset = layer->TotalScrollOffset();
60 // scroll children's positions by the main thread layer positioning code.
61 if (layer
117 NextTargetSurface(LayerType* layer) argument
170 UpdateClipRectsForClipChild( const LayerType* layer, gfx::Rect* clip_rect_in_parent_target_space, bool* subtree_should_be_clipped) argument
241 UpdateAccumulatedSurfaceState( LayerType* layer, gfx::Rect drawable_content_rect, std::vector<AccumulatedSurfaceState<LayerType> >* accumulated_surface_state) argument
325 IsRootLayer(LayerType* layer) argument
330 LayerIsInExisting3DRenderingContext(LayerType* layer) argument
338 IsRootLayerOfNewRenderingContext(LayerType* layer) argument
349 IsLayerBackFaceVisible(LayerType* layer) argument
364 IsSurfaceBackFaceVisible(LayerType* layer, const gfx::Transform& draw_transform) argument
379 LayerClipsSubtree(LayerType* layer) argument
384 CalculateVisibleContentRect( LayerType* layer, gfx::Rect clip_rect_of_target_surface_in_target_space, gfx::Rect layer_rect_in_target_space) argument
423 TransformToParentIsKnown(LayerImpl* layer) argument
425 TransformToParentIsKnown(Layer* layer) argument
429 TransformToScreenIsKnown(LayerImpl* layer) argument
431 TransformToScreenIsKnown(Layer* layer) argument
436 LayerShouldBeSkipped(LayerType* layer, bool layer_is_visible) argument
484 SubtreeShouldBeSkipped(LayerImpl* layer, bool layer_is_visible) argument
508 SubtreeShouldBeSkipped(Layer* layer, bool layer_is_visible) argument
530 SavePaintPropertiesLayer(LayerImpl* layer) argument
532 SavePaintPropertiesLayer(Layer* layer) argument
542 SubtreeShouldRenderToSeparateSurface( LayerType* layer, bool axis_aligned_with_respect_to_parent) argument
672 ComputeSizeDeltaCompensation( LayerImpl* layer, LayerImpl* container, gfx::Vector2dF position_offset) argument
737 ApplyPositionAdjustment( Layer* layer, Layer* container, const gfx::Transform& scroll_compensation, gfx::Transform* combined_transform) argument
742 ApplyPositionAdjustment( LayerImpl* layer, LayerImpl* container, const gfx::Transform& scroll_compensation, gfx::Transform* combined_transform) argument
824 ComputeScrollCompensationMatrixForChildren( LayerImpl* layer, const gfx::Transform& parent_matrix, const gfx::Transform& current_scroll_compensation_matrix, gfx::Vector2dF scroll_delta) argument
911 CalculateContentsScale(LayerType* layer, float contents_scale, float device_scale_factor, float page_scale_factor, bool animating_transform_to_screen) argument
950 UpdateLayerContentsScale( LayerImpl* layer, bool can_adjust_raster_scale, float ideal_contents_scale, float device_scale_factor, float page_scale_factor, bool animating_transform_to_screen) argument
964 UpdateLayerContentsScale( Layer* layer, bool can_adjust_raster_scale, float ideal_contents_scale, float device_scale_factor, float page_scale_factor, bool animating_transform_to_screen) argument
1006 CreateOrReuseRenderSurface(Layer* layer) argument
1015 CreateOrReuseRenderSurface(LayerImpl* layer) argument
1064 PreCalculateMetaInformation( LayerType* layer, PreCalculateMetaInformationRecursiveData* recursive_data) argument
1174 GetChildContainingLayer(const LayerType& parent, LayerType* layer) argument
1185 AddScrollParentChain(std::vector<LayerType*>* out, const LayerType& parent, LayerType* layer) argument
1248 GetNewDescendantsStartIndexAndCount(LayerType* layer, size_t* start_index, size_t* count) argument
1256 GetNewRenderSurfacesStartIndexAndCount(LayerType* layer, size_t* start_index, size_t* count) argument
1294 CalculateDrawPropertiesInternal( LayerType* layer, const SubtreeGlobals<LayerType>& globals, const DataForRecursion<LayerType>& data_from_ancestor, typename LayerType::RenderSurfaceListType* render_surface_layer_list, typename LayerType::RenderSurfaceListType* layer_list, std::vector<AccumulatedSurfaceState<LayerType> >* accumulated_surface_state) argument
2304 PointIsClippedBySurfaceOrClipRect(gfx::PointF screen_space_point, LayerImpl* layer) argument
[all...]
/external/chromium_org/ash/wm/
H A Dwindow_animations_unittest.cc14 #include "ui/compositor/layer.h"
73 EXPECT_TRUE(window->layer()->visible());
80 EXPECT_EQ(0.0f, window->layer()->GetTargetOpacity());
81 EXPECT_FALSE(window->layer()->GetTargetVisibility());
82 EXPECT_FALSE(window->layer()->visible());
89 EXPECT_EQ(0.0f, window->layer()->GetTargetBrightness());
90 EXPECT_EQ(0.0f, window->layer()->GetTargetGrayscale());
91 EXPECT_TRUE(window->layer()->visible());
96 window->layer()->GetAnimator());
99 EXPECT_EQ(0.0f, window->layer()
175 Layer* layer = window->layer(); local
[all...]
/external/chromium_org/webkit/renderer/compositor_bindings/
H A Dweb_content_layer_impl.cc34 layer_->layer()->SetIsDrawable(true);
35 can_use_lcd_text_ = layer_->layer()->can_use_lcd_text();
40 static_cast<PictureLayer*>(layer_->layer())->ClearClient();
42 static_cast<ContentLayer*>(layer_->layer())->ClearClient();
45 blink::WebLayer* WebContentLayerImpl::layer() { return layer_.get(); } function in class:webkit::WebContentLayerImpl
48 layer_->layer()->SetDoubleSided(double_sided);
52 layer_->layer()->SetDrawCheckerboardForMissingTiles(enable);
71 // here can get out of sync with that in the layer.
72 if (can_use_lcd_text_ == layer_->layer()->can_use_lcd_text())
76 if (layer_->layer()
[all...]
H A Dweb_layer_impl_fixed_bounds_unittest.cc24 scoped_ptr<WebLayerImplFixedBounds> layer(new WebLayerImplFixedBounds());
25 layer->setAnchorPoint(WebFloatPoint(0, 0));
26 layer->SetFixedBounds(gfx::Size(100, 100));
27 layer->setBounds(WebSize(100, 100));
28 EXPECT_EQ(WebSize(100, 100), layer->bounds());
29 EXPECT_EQ(gfx::Size(100, 100), layer->layer()->bounds());
30 EXPECT_EQ(gfx::Transform(), layer->layer()->transform());
40 void CheckBoundsScaleSimple(WebLayerImplFixedBounds* layer, argument
[all...]
H A Dweb_external_texture_layer_impl.cc28 scoped_refptr<TextureLayer> layer = TextureLayer::CreateForMailbox(cc_client); local
29 layer->SetIsDrawable(true);
30 layer_.reset(new WebLayerImpl(layer));
34 static_cast<TextureLayer*>(layer_->layer())->ClearClient();
37 blink::WebLayer* WebExternalTextureLayerImpl::layer() { return layer_.get(); } function in class:webkit::WebExternalTextureLayerImpl
40 TextureLayer *layer = static_cast<TextureLayer*>(layer_->layer()); local
41 layer->WillModifyTexture();
42 layer->SetTextureMailbox(cc::TextureMailbox(),
47 static_cast<TextureLayer*>(layer_->layer())
111 DidReleaseMailbox( base::WeakPtr<WebExternalTextureLayerImpl> layer, const blink::WebExternalTextureMailbox& mailbox, WebExternalBitmapImpl* bitmap, unsigned sync_point, bool lost_resource) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DLayerTree.js59 * @param {!WebInspector.Layer} layer
61 selectLayer: function(layer)
64 var node = layer && this._treeOutline.getCachedTreeElement(layer);
72 * @param {?WebInspector.Layer} layer
74 hoverLayer: function(layer)
76 var node = layer && this._treeOutline.getCachedTreeElement(layer);
91 * @param {!WebInspector.Layer} layer
94 function updateLayer(layer)
[all...]
/external/chromium_org/cc/debug/
H A Ddebug_rect_history.cc66 void DebugRectHistory::SavePaintRects(LayerImpl* layer) { argument
67 // We would like to visualize where any layer's paint rect (update rect) has
68 // changed, regardless of whether this layer is skipped for actual drawing or
72 if (!layer->update_rect().IsEmpty() && layer->DrawsContent()) {
73 float width_scale = layer->content_bounds().width() /
74 static_cast<float>(layer->bounds().width());
75 float height_scale = layer->content_bounds().height() /
76 static_cast<float>(layer->bounds().height());
78 gfx::ScaleRect(layer
102 LayerImpl* layer = layer_list[layer_index]; local
177 SaveTouchEventHandlerRects(LayerImpl* layer) argument
184 SaveTouchEventHandlerRectsCallback(LayerImpl* layer) argument
198 SaveWheelEventHandlerRects(LayerImpl* layer) argument
205 SaveWheelEventHandlerRectsCallback(LayerImpl* layer) argument
217 SaveNonFastScrollableRects(LayerImpl* layer) argument
224 SaveNonFastScrollableRectsCallback(LayerImpl* layer) argument
[all...]

Completed in 916 milliseconds

1234567891011>>