Home
last modified time | relevance | path

Searched refs:layer (Results 1 – 25 of 1818) sorted by relevance

12345678910>>...73

/third_party/ffmpeg/tests/fate/
Ddnn.mak1 FATE_DNN += fate-dnn-layer-pad
2 fate-dnn-layer-pad: $(DNNTESTSDIR)/dnn-layer-pad-test$(EXESUF)
3 fate-dnn-layer-pad: CMD = run $(DNNTESTSDIR)/dnn-layer-pad-test$(EXESUF)
4 fate-dnn-layer-pad: CMP = null
6 FATE_DNN += fate-dnn-layer-conv2d
7 fate-dnn-layer-conv2d: $(DNNTESTSDIR)/dnn-layer-conv2d-test$(EXESUF)
8 fate-dnn-layer-conv2d: CMD = run $(DNNTESTSDIR)/dnn-layer-conv2d-test$(EXESUF)
9 fate-dnn-layer-conv2d: CMP = null
11 FATE_DNN += fate-dnn-layer-dense
12 fate-dnn-layer-dense: $(DNNTESTSDIR)/dnn-layer-dense-test$(EXESUF)
[all …]
/third_party/vulkan-loader/tests/framework/layer/
Dtest_layer.cpp81 TestLayer layer; variable
83 FRAMEWORK_EXPORT TestLayer* get_test_layer_func() { return &layer; } in get_test_layer_func()
85 layer.~TestLayer(); in reset_layer_func()
86 return new (&layer) TestLayer(); in reset_layer_func()
118 …return layer.instance_dispatch_table.EnumerateInstanceExtensionProperties(pLayerName, pPropertyCou… in test_vkEnumerateInstanceExtensionProperties()
133 …return layer.instance_dispatch_table.EnumerateDeviceExtensionProperties(physicalDevice, pLayerName… in test_vkEnumerateDeviceExtensionProperties()
157 layer.next_vkGetInstanceProcAddr = fpGetInstanceProcAddr; in test_vkCreateInstance()
164 layer.instance_handle = *pInstance; in test_vkCreateInstance()
165 if (layer.use_gipa_GetPhysicalDeviceProcAddr) { in test_vkCreateInstance()
166 layer.next_GetPhysicalDeviceProcAddr = in test_vkCreateInstance()
[all …]
/third_party/flutter/engine/flutter/lib/ui/compositing/
Dscene_builder.cc77 auto layer = std::make_shared<flutter::TransformLayer>(sk_matrix); in pushTransform() local
78 PushLayer(layer); in pushTransform()
80 return EngineLayer::MakeRetained(layer); in pushTransform()
85 auto layer = std::make_shared<flutter::TransformLayer>(sk_matrix); in pushOffset() local
86 PushLayer(layer); in pushOffset()
87 return EngineLayer::MakeRetained(layer); in pushOffset()
97 auto layer = in pushClipRect() local
99 PushLayer(layer); in pushClipRect()
100 return EngineLayer::MakeRetained(layer); in pushClipRect()
106 auto layer = in pushClipRRect() local
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DSubresourceStorage.h176 bool IsLayerCompressedForTesting(Aspect aspect, uint32_t layer) const;
185 void DecompressLayer(uint32_t aspectIndex, uint32_t layer);
186 void RecompressLayer(uint32_t aspectIndex, uint32_t layer);
188 SubresourceRange GetFullLayerRange(Aspect aspect, uint32_t layer) const;
198 T& Data(uint32_t aspectIndex, uint32_t layer, uint32_t level = 0);
200 const T& Data(uint32_t aspectIndex, uint32_t layer, uint32_t level = 0) const;
262 for (uint32_t layer = range.baseArrayLayer; layer < layerEnd; layer++) { in Update() local
265 if (LayerCompressed(aspectIndex, layer)) { in Update()
267 SubresourceRange updateRange = GetFullLayerRange(aspect, layer); in Update()
268 updateFunc(updateRange, &Data(aspectIndex, layer)); in Update()
[all …]
/third_party/flutter/engine/flutter/shell/platform/embedder/tests/
Dembedder_unittests.cc557 FlutterLayer layer = {}; in TEST_F() local
558 layer.struct_size = sizeof(layer); in TEST_F()
559 layer.type = kFlutterLayerContentTypeBackingStore; in TEST_F()
560 layer.backing_store = &backing_store; in TEST_F()
561 layer.size = FlutterSizeMake(800.0, 600.0); in TEST_F()
562 layer.offset = FlutterPointMake(0, 0); in TEST_F()
564 ASSERT_EQ(*layers[0], layer); in TEST_F()
572 FlutterLayer layer = {}; in TEST_F() local
573 layer.struct_size = sizeof(layer); in TEST_F()
574 layer.type = kFlutterLayerContentTypePlatformView; in TEST_F()
[all …]
/third_party/flutter/engine/flutter/flow/ohos_layers/
Dlayer_tree_builder.cpp36 auto layer = std::make_shared<TransformLayer>(matrix); in PushTransform() local
37 PushLayer(layer); in PushTransform()
43 auto layer = std::make_shared<TransformLayer>(skMatrix); in PushOffset() local
44 PushLayer(layer); in PushOffset()
51 auto layer = std::make_shared<ClipRectLayer>(clipRect, clip_behavior); in PushClipRect() local
52 PushLayer(layer); in PushClipRect()
58 auto layer = std::make_shared<ClipRRectLayer>(skRRect, clip_behavior); in PushClipRRect() local
59 PushLayer(layer); in PushClipRRect()
65 auto layer = std::make_shared<ClipPathLayer>(skPath, clip_behavior); in PushClipPath() local
66 PushLayer(layer); in PushClipPath()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_compositor.c283 default_rect(struct vl_compositor_layer *layer) in default_rect() argument
285 struct pipe_resource *res = layer->sampler_views[0]->texture; in default_rect()
305 calc_src_and_dst(struct vl_compositor_layer *layer, unsigned width, unsigned height, in calc_src_and_dst() argument
310 layer->src.tl = calc_topleft(size, src); in calc_src_and_dst()
311 layer->src.br = calc_bottomright(size, src); in calc_src_and_dst()
312 layer->dst.tl = calc_topleft(size, dst); in calc_src_and_dst()
313 layer->dst.br = calc_bottomright(size, dst); in calc_src_and_dst()
314 layer->zw.x = 0.0f; in calc_src_and_dst()
315 layer->zw.y = size.y; in calc_src_and_dst()
320 unsigned layer, struct pipe_video_buffer *buffer, in set_yuv_layer() argument
[all …]
Dvl_compositor_gfx.c471 gen_rect_verts(struct vertex2f *vb, struct vl_compositor_layer *layer) in gen_rect_verts() argument
475 assert(vb && layer); in gen_rect_verts()
477 switch (layer->rotate) { in gen_rect_verts()
480 tl = layer->dst.tl; in gen_rect_verts()
481 tr.x = layer->dst.br.x; in gen_rect_verts()
482 tr.y = layer->dst.tl.y; in gen_rect_verts()
483 br = layer->dst.br; in gen_rect_verts()
484 bl.x = layer->dst.tl.x; in gen_rect_verts()
485 bl.y = layer->dst.br.y; in gen_rect_verts()
488 tl.x = layer->dst.br.x; in gen_rect_verts()
[all …]
Dvl_compositor_cs.c623 struct vl_compositor_layer *layer) in calc_drawn_area() argument
628 assert(s && layer); in calc_drawn_area()
630 tl = layer->dst.tl; in calc_drawn_area()
631 br = layer->dst.br; in calc_drawn_area()
634 result.x0 = tl.x * layer->viewport.scale[0] + layer->viewport.translate[0]; in calc_drawn_area()
635 result.y0 = tl.y * layer->viewport.scale[1] + layer->viewport.translate[1]; in calc_drawn_area()
636 result.x1 = br.x * layer->viewport.scale[0] + layer->viewport.translate[0]; in calc_drawn_area()
637 result.y1 = br.y * layer->viewport.scale[1] + layer->viewport.translate[1]; in calc_drawn_area()
707 struct vl_compositor_layer *layer = &s->layers[i]; in draw_layers() local
708 struct pipe_sampler_view **samplers = &layer->sampler_views[0]; in draw_layers()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/directfb/
DSDL_DirectFB_modes.c99 SDL_DFB_CHECKERR(data->layer->SetCooperativeLevel(data->layer, in CheckSetDisplayMode()
110 data->layer->TestConfiguration(data->layer, &config, &failed); in CheckSetDisplayMode()
111 SDL_DFB_CHECKERR(data->layer->SetCooperativeLevel(data->layer, in CheckSetDisplayMode()
151 IDirectFBDisplayLayer *layer = NULL; in DirectFB_InitModes() local
198 [i], &layer)); in DirectFB_InitModes()
200 SDL_DFB_CHECKERR(layer->SetCooperativeLevel(layer, in DirectFB_InitModes()
202 layer->EnableCursor(layer, 1); in DirectFB_InitModes()
203 SDL_DFB_CHECKERR(layer->SetCursorOpacity(layer, 0xC0)); in DirectFB_InitModes()
210 ret = layer->SetConfiguration(layer, &dlc); in DirectFB_InitModes()
214 SDL_DFB_CHECKERR(layer->SetConfiguration(layer, &dlc)); in DirectFB_InitModes()
[all …]
/third_party/skia/tools/sk_app/
DWindow.cpp40 this->visitLayers([](Layer* layer) { layer->onBackendCreated(); }); in onBackendCreated() argument
44 return this->signalLayers([=](Layer* layer) { return layer->onChar(c, modifiers); }); in onChar() argument
48 return this->signalLayers([=](Layer* layer) { return layer->onKey(key, state, modifiers); }); in onKey() argument
52 return this->signalLayers([=](Layer* layer) { return layer->onMouse(x, y, state, modifiers); }); in onMouse() argument
56 return this->signalLayers([=](Layer* layer) { return layer->onMouseWheel(delta, modifiers); }); in onMouseWheel() argument
60 return this->signalLayers([=](Layer* layer) { return layer->onTouch(owner, state, x, y); }); in onTouch() argument
64 return this->signalLayers([=](Layer* layer) { return layer->onFling(state); }); in onFling() argument
68 return this->signalLayers([=](Layer* layer) { return layer->onPinch(state, scale, x, y); }); in onPinch() argument
72 this->visitLayers([=](Layer* layer) { layer->onUIStateChanged(stateName, stateValue); }); in onUIStateChanged() argument
92 this->visitLayers([](Layer* layer) { layer->onPrePaint(); }); in onPaint() argument
[all …]
/third_party/flutter/flutter/packages/flutter/test/rendering/
Dlayers_test.dart116 for (ContainerLayer layer in allLayers) {
117 expect(layer.debugSubtreeNeedsAddToScene, true);
120 for (ContainerLayer layer in allLayers) {
121 layer.debugMarkClean();
124 for (ContainerLayer layer in allLayers) {
125 expect(layer.debugSubtreeNeedsAddToScene, false);
151 for (ContainerLayer layer in allLayers) {
152 expect(layer.debugSubtreeNeedsAddToScene, false);
218 void checkNeedsAddToScene(Layer layer, void mutateCallback()) {
219 layer.debugMarkClean();
[all …]
Dannotated_region_test.dart19 for (OffsetLayer layer in layers) {
20 layer.append(AnnotatedRegionLayer<int>(i, size: const Size(200.0, 100.0)));
21 containerLayer.append(layer);
38 for (ClipRectLayer layer in layers) {
39 layer.append(AnnotatedRegionLayer<int>(i));
40 containerLayer.append(layer);
58 for (ClipRRectLayer layer in layers) {
59 layer.append(AnnotatedRegionLayer<int>(i));
60 containerLayer.append(layer);
83 for (OffsetLayer layer in layers) {
[all …]
/third_party/flutter/skia/tools/sk_app/
DWindow.cpp40 this->visitLayers([](Layer* layer) { layer->onBackendCreated(); }); in onBackendCreated() argument
44 return this->signalLayers([=](Layer* layer) { return layer->onChar(c, modifiers); }); in onChar() argument
48 return this->signalLayers([=](Layer* layer) { return layer->onKey(key, state, modifiers); }); in onKey() argument
52 return this->signalLayers([=](Layer* layer) { return layer->onMouse(x, y, state, modifiers); }); in onMouse() argument
56 return this->signalLayers([=](Layer* layer) { return layer->onMouseWheel(delta, modifiers); }); in onMouseWheel() argument
60 return this->signalLayers([=](Layer* layer) { return layer->onTouch(owner, state, x, y); }); in onTouch() argument
64 this->visitLayers([=](Layer* layer) { layer->onUIStateChanged(stateName, stateValue); }); in onUIStateChanged() argument
72 this->visitLayers([](Layer* layer) { layer->onPrePaint(); }); in onPaint() argument
76 this->visitLayers([=](Layer* layer) { layer->onPaint(backbuffer.get()); }); in onPaint() argument
92 this->visitLayers([=](Layer* layer) { layer->onResize(w, h); }); in onResize() argument
/third_party/flutter/engine/flutter/flow/layers/
Dcontainer_layer.cc13 void ContainerLayer::Add(std::shared_ptr<Layer> layer) { in Add() argument
14 layer->set_parent(this); in Add()
15 layers_.push_back(std::move(layer)); in Add()
30 for (auto& layer : layers_) { in PrerollChildren() local
31 layer->Preroll(context, child_matrix); in PrerollChildren()
33 if (layer->needs_system_composite()) { in PrerollChildren()
36 child_paint_bounds->join(layer->paint_bounds()); in PrerollChildren()
45 for (auto& layer : layers_) { in PaintChildren() local
46 if (layer->needs_painting()) { in PaintChildren()
47 layer->Paint(context); in PaintChildren()
[all …]
/third_party/rust/crates/tracing/tracing-subscriber/src/layer/
Dlayered.rs5 layer::{Context, Layer},
24 layer: L, field
95 self.pick_interest(self.layer.register_callsite(metadata), || { in register_callsite()
101 if self.layer.enabled(metadata, self.ctx()) { in enabled()
119 self.layer.max_level_hint(), in max_level_hint()
127 self.layer.on_new_span(span, &id, self.ctx()); in new_span()
133 self.layer.on_record(span, values, self.ctx()); in record()
138 self.layer.on_follows_from(span, follows, self.ctx()); in record_follows_from()
142 if self.layer.event_enabled(event, self.ctx()) { in event_enabled()
153 self.layer.on_event(event, self.ctx()); in event()
[all …]
/third_party/flutter/engine/flutter/shell/platform/embedder/
Dembedder_external_view_embedder.cc115 FlutterLayer layer = {}; in MakeLayer() local
117 layer.struct_size = sizeof(layer); in MakeLayer()
118 layer.type = kFlutterLayerContentTypeBackingStore; in MakeLayer()
119 layer.backing_store = store; in MakeLayer()
121 layer.offset.x = 0.0; in MakeLayer()
122 layer.offset.y = 0.0; in MakeLayer()
124 layer.size.width = frame_size.width(); in MakeLayer()
125 layer.size.height = frame_size.height(); in MakeLayer()
127 return layer; in MakeLayer()
143 FlutterLayer layer = {}; in MakeLayer() local
[all …]
/third_party/rust/crates/tracing/tracing-subscriber/tests/env_filter/
Dper_layer.rs9 let (layer, handle) = layer::mock() in level_filter_event()
17 .with(layer.with_filter(filter)) in level_filter_event()
34 let (layer, handle) = layer::mock() in same_name_spans()
51 .with(layer.with_filter(filter)) in same_name_spans()
63 let (layer, handle) = layer::mock() in level_filter_event_with_target()
73 .with(layer.with_filter(filter)) in level_filter_event_with_target()
95 let (layer, handle) = layer::mock() in level_filter_event_with_target_and_span()
107 .with(layer.with_filter(filter)) in level_filter_event_with_target_and_span()
130 let (layer, finished) = layer::mock() in not_order_dependent()
140 .with(layer.with_filter(filter)) in not_order_dependent()
[all …]
/third_party/rust/crates/tracing/tracing-subscriber/tests/layer_filters/
Dboxed.rs4 fn layer() -> (ExpectLayer, subscriber::MockHandle) { in layer() function
5 layer::mock().done().run_with_handle() in layer()
17 let (layer, handle) = layer(); in box_works()
18 let layer = Box::new(layer.with_filter(filter())); in box_works() localVariable
20 let _guard = tracing_subscriber::registry().with(layer).set_default(); in box_works()
32 let (layer, handle) = layer(); in dyn_box_works()
33 let layer: Box<dyn Layer<_> + Send + Sync + 'static> = Box::new(layer.with_filter(filter())); in dyn_box_works() localVariable
35 let _guard = tracing_subscriber::registry().with(layer).set_default(); in dyn_box_works()
/third_party/flutter/engine/flutter/testing/dart/
Dcompositing_test.dart78 // Attempts to use the same layer first as `oldLayer` then in `addRetained`.
81 final EngineLayer layer = pushFunction(builder1, null);
86 pushFunction(builder2, layer);
90 builder2.addRetained(layer);
93 expect(error.toString(), contains('The layer is already being used'));
100 // Attempts to use the same layer first in `addRetained` then as `oldLayer`.
103 final EngineLayer layer = pushFunction(builder1, null);
108 builder2.addRetained(layer);
111 pushFunction(builder2, layer);
114 expect(error.toString(), contains('The layer is already being used'));
[all …]
/third_party/skia/third_party/externals/swiftshader/src/WSI/
DMetalSurface.mm31 layer = nullptr;
41 layer = (CAMetalLayer*)[obj retain];
42 layer.framebufferOnly = false;
43 layer.device = MTLCreateSystemDefaultDevice();
47 UNREACHABLE("MetalLayer::init(): view doesn't have metal backed layer");
54 layer = nullptr;
62 initWithLayer(objView.layer);
70 if(layer)
72 [layer.device release];
73 [layer release];
[all …]
/third_party/rust/crates/tracing/tracing-subscriber/src/filter/layer_filters/
Dmod.rs32 layer::{self, Context, Layer},
63 layer: L, field
167 pub trait FilterExt<S>: layer::Filter<S> {
212 B: layer::Filter<S>, in and()
294 B: layer::Filter<S>, in or()
435 fn boxed(self) -> Box<dyn layer::Filter<S> + Send + Sync + 'static> in boxed()
447 impl<S> layer::Filter<S> for LevelFilter {
486 impl<S> layer::Filter<S> for Arc<dyn layer::Filter<S> + Send + Sync + 'static> {
492 impl<S> layer::Filter<S> for Box<dyn layer::Filter<S> + Send + Sync + 'static> {
508 pub fn new(layer: L, filter: F) -> Self { in new()
[all …]
/third_party/rust/crates/tracing/tracing-subscriber/src/
Dreload.rs67 use crate::layer;
133 fn enabled(&self, metadata: &Metadata<'_>, ctx: layer::Context<'_, S>) -> bool { in enabled()
138 fn on_new_span(&self, attrs: &span::Attributes<'_>, id: &span::Id, ctx: layer::Context<'_, S>) { in on_new_span()
143 fn on_record(&self, span: &span::Id, values: &span::Record<'_>, ctx: layer::Context<'_, S>) { in on_record()
148 fn on_follows_from(&self, span: &span::Id, follows: &span::Id, ctx: layer::Context<'_, S>) { in on_follows_from()
153 fn event_enabled(&self, event: &Event<'_>, ctx: layer::Context<'_, S>) -> bool { in event_enabled()
158 fn on_event(&self, event: &Event<'_>, ctx: layer::Context<'_, S>) { in on_event()
163 fn on_enter(&self, id: &span::Id, ctx: layer::Context<'_, S>) { in on_enter()
168 fn on_exit(&self, id: &span::Id, ctx: layer::Context<'_, S>) { in on_exit()
173 fn on_close(&self, id: span::Id, ctx: layer::Context<'_, S>) { in on_close()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DSubresourceStorageTests.cpp41 for (uint32_t layer = range.baseArrayLayer; in Update() local
42 layer < range.baseArrayLayer + range.layerCount; layer++) { in Update()
45 SubresourceRange range = SubresourceRange::MakeSingle(aspect, layer, level); in Update()
46 updateFunc(range, &mData[GetDataIndex(aspect, layer, level)]); in Update()
55 for (uint32_t layer = 0; layer < mArrayLayerCount; layer++) { in Merge() local
57 SubresourceRange range = SubresourceRange::MakeSingle(aspect, layer, level); in Merge()
58 mergeFunc(range, &mData[GetDataIndex(aspect, layer, level)], in Merge()
59 other.Get(aspect, layer, level)); in Merge()
69 size_t GetDataIndex(Aspect aspect, uint32_t layer, uint32_t level) const { in GetDataIndex()
71 return level + mMipLevelCount * (layer + mArrayLayerCount * aspectIndex); in GetDataIndex()
[all …]
/third_party/flutter/engine/flutter/shell/platform/darwin/ios/framework/Source/
DFlutterView.mm52 self.layer.opaque = opaque;
59 if ([self.layer isKindOfClass:[CAEAGLLayer class]]) {
60 CAEAGLLayer* layer = reinterpret_cast<CAEAGLLayer*>(self.layer);
61 layer.allowsGroupOpacity = YES;
63 layer.contentsScale = screenScale;
64 layer.rasterizationScale = screenScale;
68 if ([self.layer isKindOfClass:[CAMetalLayer class]]) {
70 self.layer.contentsScale = screenScale;
71 self.layer.rasterizationScale = screenScale;
92 if ([self.layer isKindOfClass:[CAEAGLLayer class]]) {
[all …]

12345678910>>...73