/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
Canvas2DLayerManagerTest.cpp | 77 // Because the fake layer has no canvas to query, just 160 // verify multi-layer allocation tracking 175 FakeCanvas2DLayerBridgePtr layer(adoptRef(new FakeCanvas2DLayerBridge(webContext.get(), canvas.release()))); 176 layer->fakeFreeableBytes(10); 177 layer->storageAllocatedForRecordingChanged(8); // under the max 178 EXPECT_EQ(0, layer->m_freeMemoryIfPossibleCount); 179 layer->storageAllocatedForRecordingChanged(12); // over the max 180 EXPECT_EQ(1, layer->m_freeMemoryIfPossibleCount); 181 EXPECT_EQ((size_t)3, layer->m_freeableBytes); 182 EXPECT_EQ(0, layer->m_flushCount); // eviction succeeded without triggering a flus [all...] |
/external/chromium_org/cc/layers/ |
layer_impl_unittest.cc | 169 // Changing these properties only affects the layer itself. 188 // Changing this property does not cause the layer to be marked as changed 189 // but does cause the layer to need to push properties. 193 // Changing these properties should cause the layer to need to push properties 254 LayerImpl* layer = layer_ptr.get(); local 256 layer->SetScrollClipLayer(root->id()); 276 VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetFilters(arbitrary_filters)); 277 VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetFilters(arbitrary_filters)); 278 VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetFilters(FilterOperations())); 279 VERIFY_NEEDS_UPDATE_DRAW_PROPERTIES(layer->SetFilters(arbitrary_filters)) 359 scoped_ptr<LayerImpl> layer = LayerImpl::Create(host_impl.active_tree(), 1); local 390 scoped_ptr<LayerImpl> layer = LayerImpl::Create(host_impl.active_tree(), 1); local 432 LayerImpl* layer() { function in class:cc::__anon7262::LayerImplScrollTest [all...] |
picture_layer_unittest.cc | 36 scoped_refptr<PictureLayer> layer = PictureLayer::Create(&client); local 37 layer->SetBounds(gfx::Size(10, 10)); 40 host->SetRootLayer(layer); 41 layer->SetIsDrawable(true); 42 layer->SavePaintProperties(); 44 OcclusionTracker<Layer> occlusion(gfx::Rect(0, 0, 1000, 1000)); 46 layer->Update(queue.get(), &occlusion); 48 layer->SetBounds(gfx::Size(0, 0)); 49 layer->SavePaintProperties(); 51 // a layer with empty bounds 74 scoped_refptr<PictureLayer> layer = PictureLayer::Create(&client); local 89 scoped_refptr<PictureLayer> layer = PictureLayer::Create(&client); local [all...] |
heads_up_display_layer_impl_unittest.cc | 17 void CheckDrawLayer(HeadsUpDisplayLayerImpl* layer, 24 bool will_draw = layer->WillDraw(draw_mode, resource_provider); 26 layer->AppendQuads(&quad_culler, &data); 27 layer->UpdateHudTexture(draw_mode, resource_provider); 29 layer->DidDraw(resource_provider); 42 scoped_ptr<HeadsUpDisplayLayerImpl> layer = local 44 layer->SetContentBounds(gfx::Size(100, 100)); 48 layer.get(), host_impl.resource_provider(), DRAW_MODE_HARDWARE); 51 layer->ReleaseResources(); 54 CheckDrawLayer(layer.get() [all...] |
solid_color_layer_impl_unittest.cc | 35 scoped_ptr<SolidColorLayerImpl> layer = local 37 layer->draw_properties().visible_content_rect = visible_content_rect; 38 layer->SetBounds(layer_size); 39 layer->SetContentBounds(layer_size); 40 layer->CreateRenderSurface(); 41 layer->draw_properties().render_target = layer.get(); 44 layer->AppendQuads(&quad_culler, &data); 63 scoped_ptr<SolidColorLayerImpl> layer = local 65 layer->draw_properties().visible_content_rect = visible_content_rect 93 scoped_ptr<SolidColorLayerImpl> layer = local 115 scoped_refptr<SolidColorLayer> layer = SolidColorLayer::Create(); local [all...] |
delegated_frame_provider.h | 23 // Only one observing layer has ownership of the DelegatedFrameProvider. Only 35 void AddObserver(DelegatedRendererLayer* layer); 36 void RemoveObserver(DelegatedRendererLayer* layer); 60 DelegatedRendererLayer* layer; member in struct:cc::DelegatedFrameProvider::Observer 63 Observer(DelegatedRendererLayer* layer, const gfx::RectF& damage) 64 : layer(layer), damage(damage) {}
|
tiled_layer_unittest.cc | 34 class TestOcclusionTracker : public OcclusionTracker<Layer> { 40 void SetRenderTarget(Layer* render_target) { 118 layer_tree_host_->SetRootLayer(Layer::Create()); 166 void LayerPushPropertiesTo(FakeTiledLayer* layer, 170 layer->PushPropertiesTo(layer_impl); 171 layer->ResetNumDependentsNeedPushProperties(); 174 void LayerUpdate(FakeTiledLayer* layer, TestOcclusionTracker* occluded) { 176 layer->Update(queue_.get(), occluded); 259 scoped_refptr<FakeTiledLayer> layer = local 265 layer_tree_host_->root_layer()->AddChild(layer); 288 scoped_refptr<FakeTiledLayer> layer = local 329 scoped_refptr<FakeTiledLayer> layer = local 368 scoped_refptr<FakeTiledLayer> layer = local 408 scoped_refptr<FakeTiledLayer> layer = local 548 scoped_refptr<FakeTiledLayer> layer = local 571 scoped_refptr<FakeTiledLayer> layer = local 675 scoped_refptr<FakeTiledLayer> layer = local 722 scoped_refptr<FakeTiledLayer> layer = local 751 scoped_refptr<FakeTiledLayer> layer = local 784 scoped_refptr<FakeTiledLayer> layer = local 822 scoped_refptr<FakeTiledLayer> layer = local 864 scoped_refptr<FakeTiledLayerWithScaledBounds> layer = make_scoped_refptr( local 910 scoped_refptr<FakeTiledLayer> layer = local 1024 scoped_refptr<FakeTiledLayer> layer = local 1043 scoped_refptr<FakeTiledLayer> layer = local 1070 scoped_refptr<FakeTiledLayer> layer = make_scoped_refptr( local 1174 scoped_refptr<FakeTiledLayer> layer = local 1192 scoped_refptr<FakeTiledLayer> layer = local 1241 scoped_refptr<FakeTiledLayer> layer = local 1298 scoped_refptr<FakeTiledLayer> layer = local 1335 scoped_refptr<FakeTiledLayer> layer = local 1369 scoped_refptr<FakeTiledLayer> layer = local 1454 scoped_refptr<FakeTiledLayer> layer = local 1749 scoped_refptr<UpdateTrackingTiledLayer> layer = local 1785 scoped_refptr<UpdateTrackingTiledLayer> layer = local [all...] |
layer_utils.h | 19 // Computes a box in screen space that should entirely contain the layer's 20 // bounds through the entirety of the layer's current animation. Returns 22 // inflate bounds in the path to the root layer and that it was able to 24 static bool GetAnimationBounds(const LayerImpl& layer, gfx::BoxF* out);
|
/external/chromium-trace/trace-viewer/src/cc/ |
layer_viewer.css | 6 layer-viewer { 14 layer-viewer > layer-tree-quad-stack-viewer { 21 layer-viewer > layer-viewer-analysis {
|
/external/chromium_org/content/renderer/compositor_bindings/ |
web_content_layer_impl.cc | 27 layer_->layer()->SetIsDrawable(true); 28 can_use_lcd_text_ = layer_->layer()->can_use_lcd_text(); 33 static_cast<PictureLayer*>(layer_->layer())->ClearClient(); 35 static_cast<ContentLayer*>(layer_->layer())->ClearClient(); 38 blink::WebLayer* WebContentLayerImpl::layer() { function in class:content::WebContentLayerImpl 43 layer_->layer()->SetDoubleSided(double_sided); 47 layer_->layer()->SetDrawCheckerboardForMissingTiles(enable); 72 // here can get out of sync with that in the layer. 73 if (can_use_lcd_text_ == layer_->layer()->can_use_lcd_text()) 77 if (layer_->layer()->can_use_lcd_text() && ignore_lcd_text_change_ [all...] |
web_external_texture_layer_impl.cc | 29 scoped_refptr<TextureLayer> layer = TextureLayer::CreateForMailbox(cc_client); local 30 layer->SetIsDrawable(true); 31 layer_.reset(new WebLayerImpl(layer)); 35 static_cast<TextureLayer*>(layer_->layer())->ClearClient(); 38 blink::WebLayer* WebExternalTextureLayerImpl::layer() { function in class:content::WebExternalTextureLayerImpl 43 TextureLayer* layer = static_cast<TextureLayer*>(layer_->layer()); local 44 layer->ClearTexture(); 48 static_cast<TextureLayer*>(layer_->layer())->SetContentsOpaque(opaque); 53 static_cast<TextureLayer*>(layer_->layer())->SetPremultipliedAlpha [all...] |
/external/opencv/ml/src/ |
mlcnn.cpp | 70 static void icvCNNetworkAddLayer( CvCNNetwork* network, CvCNNLayer* layer ); 73 /* In all layer functions we denote input by X and output by Y, where 78 /*------------------------ functions for convolutional layer ---------------------------*/ 81 static void icvCNNConvolutionForward( CvCNNLayer* layer, const CvMat* X, CvMat* Y ); 83 static void icvCNNConvolutionBackward( CvCNNLayer* layer, int t, 86 /*------------------------ functions for sub-sampling layer ----------------------------*/ 89 static void icvCNNSubSamplingForward( CvCNNLayer* layer, const CvMat* X, CvMat* Y ); 91 static void icvCNNSubSamplingBackward( CvCNNLayer* layer, int t, 94 /*------------------------ functions for full connected layer --------------------------*/ 97 static void icvCNNFullConnectForward( CvCNNLayer* layer, const CvMat* X, CvMat* Y ) [all...] |
/frameworks/base/libs/hwui/ |
LayerRenderer.cpp | 38 LayerRenderer::LayerRenderer(RenderState& renderState, Layer* layer) 40 , mLayer(layer) { 48 LAYER_RENDERER_LOGD("Rendering into layer, fbo = %d", mLayer->getFbo()); 52 const float width = mLayer->layer.getWidth(); 53 const float height = mLayer->layer.getHeight(); 89 LAYER_RENDERER_LOGD("Finished rendering into layer, fbo = %d", mLayer->getFbo()); 104 // Layer support 164 const float height = mLayer->layer.getHeight(); 187 Layer* LayerRenderer::createRenderLayer(RenderState& renderState, uint32_t width, uint32_t height) 199 Layer* layer = caches.layerCache.get(renderState, width, height); local 275 Layer* layer = new Layer(Layer::kType_Texture, renderState, 0, 0); local [all...] |
/external/chromium_org/ash/wm/ |
screen_dimmer_unittest.cc | 13 #include "ui/compositor/layer.h" 39 // Don't create a layer until we need to. 40 EXPECT_TRUE(test_api_->layer() == NULL); 42 EXPECT_TRUE(test_api_->layer() == NULL); 44 // When we enable dimming, the layer should be created and stacked at the top 47 ASSERT_TRUE(test_api_->layer() != NULL); 48 ui::Layer* root_layer = Shell::GetPrimaryRootWindow()->layer(); 50 EXPECT_EQ(test_api_->layer(), root_layer->children().back()); 51 EXPECT_TRUE(test_api_->layer()->visible()) [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
RenderbufferProxySet.h | 25 void add(unsigned int mipLevel, unsigned int layer, FramebufferAttachment *renderBuffer); 26 FramebufferAttachment *get(unsigned int mipLevel, unsigned int layer) const; 32 unsigned int layer; member in struct:gl::RenderbufferProxySet::RenderbufferKey
|
/external/chromium_org/ui/compositor/ |
layer_owner.h | 11 #include "ui/compositor/layer.h" 21 void SetLayer(Layer* layer); 23 // Releases the owning reference to its layer, and returns it. 26 // function, and the caller is then responsible for disposing of the layer 27 // once any animation completes. Note that layer() will remain valid until the 29 scoped_ptr<Layer> AcquireLayer(); 31 // Asks the owner to recreate the layer, returning the old Layer. NULL is 32 // returned if there is no existing layer, or recreate is not supported 38 ui::Layer* layer() { return layer_; } function in class:ui::LayerOwner 39 const ui::Layer* layer() const { return layer_; } function in class:ui::LayerOwner [all...] |
layer_tree_owner.cc | 7 #include "ui/compositor/layer.h" 13 // Deletes |layer| and all its descendants. 14 void DeepDeleteLayers(Layer* layer) { 15 std::vector<Layer*> children = layer->children(); 16 for (std::vector<Layer*>::const_iterator it = children.begin(); 19 Layer* child = *it; 22 delete layer; 27 LayerTreeOwner::LayerTreeOwner(Layer* root) : root_(root) { [all...] |
debug_utils.h | 16 class Layer; 18 // Log the layer hierarchy. Mark layers which contain |mouse_location| with '*'. 19 COMPOSITOR_EXPORT void PrintLayerHierarchy(const Layer* layer,
|
/external/wpa_supplicant_8/hostapd/logwatch/ |
hostapd | 29 if (my ($iface,$mac,$layer,$details) = ($line =~ /(.*?): STA (.*?) (.*?): (.*?)$/i)) { 34 $hostapd{$iface}->{$mac}->{$layer}->{$details}++; 45 foreach my $layer (sort keys %{$hostapd{$iface}->{$mac}}) { 46 print " $layer:\n"; 47 foreach my $details (sort keys %{$hostapd{$iface}->{$mac}->{$layer}}) { 49 my $count = $hostapd{$iface}->{$mac}->{$layer}->{$details};
|
/external/chromium_org/cc/debug/ |
debug_rect_history.h | 21 // - Paint rects (update rects): regions of a layer that needed to be 26 // the screen even if the layer did not change internally. (For example, if the 27 // layer's opacity or position changes.) 91 void SavePaintRects(LayerImpl* layer); 102 void SaveTouchEventHandlerRects(LayerImpl* layer); 103 void SaveTouchEventHandlerRectsCallback(LayerImpl* layer); 104 void SaveWheelEventHandlerRects(LayerImpl* layer); 105 void SaveWheelEventHandlerRectsCallback(LayerImpl* layer); 106 void SaveScrollEventHandlerRects(LayerImpl* layer); 107 void SaveScrollEventHandlerRectsCallback(LayerImpl* layer); [all...] |
/external/chromium_org/third_party/WebKit/public/platform/ |
WebContentLayer.h | 40 virtual WebLayer* layer() = 0; 42 // Set to true if the backside of this layer's contents should be visible when composited. 46 // Allow the compositor to determine the scale at which the layer should 47 // be rasterized based on the layer's hierarchy and transform. This defaults 51 // Set to draw a system-defined checkerboard if the compositor would otherwise draw a tile in this layer 52 // and the actual contents are unavailable. If false, the compositor will draw the layer's background color
|
WebExternalTextureLayer.h | 37 // This class represents a layer that renders a texture that is generated 47 virtual WebLayer* layer() = 0; 49 // Clears texture from the layer. 52 // Sets whether every pixel in this layer is opaque. Defaults to false. 55 // Sets whether this layer's texture has premultiplied alpha or not. Defaults to true.
|
WebNinePatchLayer.h | 45 virtual WebLayer* layer() = 0;
|
WebScrollbarLayer.h | 43 virtual WebLayer* layer() = 0;
|
/external/chromium_org/ui/wm/core/ |
window_util_unittest.cc | 11 #include "ui/compositor/layer.h" 28 ASSERT_EQ(2u, window1->layer()->children().size()); 30 scoped_ptr<ui::Layer> acquired(window11->AcquireLayer()); 32 EXPECT_EQ(acquired.get(), window11->layer()); 37 // The detached layer should not have the layer that has 40 // Child layer is new instance. 41 EXPECT_NE(window11->layer(), tree->root()->children()[0]); 42 EXPECT_NE(window12->layer(), tree->root()->children()[0]); 45 ASSERT_EQ(2u, window1->layer()->children().size()) [all...] |