Home
last modified time | relevance | path

Searched refs:backing_store (Results 1 – 25 of 32) sorted by relevance

12

/third_party/flutter/engine/flutter/shell/platform/embedder/tests/
Dembedder_unittests.cc551 FlutterBackingStore backing_store = *layers[0]->backing_store; in TEST_F() local
552 backing_store.struct_size = sizeof(backing_store); in TEST_F()
553 backing_store.type = kFlutterBackingStoreTypeOpenGL; in TEST_F()
554 backing_store.did_update = true; in TEST_F()
555 backing_store.open_gl.type = kFlutterOpenGLTargetTypeFramebuffer; in TEST_F()
560 layer.backing_store = &backing_store; in TEST_F()
583 FlutterBackingStore backing_store = *layers[2]->backing_store; in TEST_F() local
584 backing_store.struct_size = sizeof(backing_store); in TEST_F()
585 backing_store.type = kFlutterBackingStoreTypeOpenGL; in TEST_F()
586 backing_store.did_update = true; in TEST_F()
[all …]
Dembedder_assertions.h97 return *a.backing_store == *b.backing_store;
197 const FlutterBackingStore& backing_store) {
198 out << "(FlutterBackingStore) Struct size: " << backing_store.struct_size
199 << " User Data: " << backing_store.user_data
200 << " Type: " << FlutterBackingStoreTypeToString(backing_store.type)
203 switch (backing_store.type) {
205 out << backing_store.open_gl;
209 out << backing_store.software;
222 out << *layer.backing_store;
Dembedder_config_builder.cc162 [](const FlutterBackingStore* backing_store, // in SetCompositor()
166 ->CollectBackingStore(backing_store); in SetCompositor()
Dembedder_test_compositor.cc41 const FlutterBackingStore* backing_store) { in CollectBackingStore() argument
88 reinterpret_cast<SkSurface*>(layer->backing_store->user_data) in UpdateOffscrenComposition()
Dembedder_test_compositor.h34 bool CollectBackingStore(const FlutterBackingStore* backing_store);
/third_party/flutter/engine/flutter/shell/gpu/
Dgpu_surface_software.cc31 sk_sp<SkSurface> backing_store = delegate_->AcquireBackingStore(size); in AcquireFrame() local
33 if (backing_store == nullptr) { in AcquireFrame()
37 if (size != SkISize::Make(backing_store->width(), backing_store->height())) { in AcquireFrame()
44 SkCanvas* canvas = backing_store->getCanvas(); in AcquireFrame()
60 return std::make_unique<SurfaceFrame>(backing_store, on_submit); in AcquireFrame()
Dgpu_surface_software_delegate.h48 virtual bool PresentBackingStore(sk_sp<SkSurface> backing_store) = 0;
/third_party/grpc/test/cpp/microbenchmarks/
Dbm_metadata.cc156 char backing_store[sizeof(grpc_mdelem_data)]; in BM_MetadataFromNonInternedSlicesWithBackingStore() local
160 k, v, reinterpret_cast<grpc_mdelem_data*>(backing_store))); in BM_MetadataFromNonInternedSlicesWithBackingStore()
172 char backing_store[sizeof(grpc_mdelem_data)]; in BM_MetadataFromInternedSlicesWithBackingStore() local
176 k, v, reinterpret_cast<grpc_mdelem_data*>(backing_store))); in BM_MetadataFromInternedSlicesWithBackingStore()
190 char backing_store[sizeof(grpc_mdelem_data)]; in BM_MetadataFromInternedKeyWithBackingStore() local
194 k, v, reinterpret_cast<grpc_mdelem_data*>(backing_store))); in BM_MetadataFromInternedKeyWithBackingStore()
229 char backing_store[sizeof(grpc_mdelem_data)]; in BM_MetadataRefUnrefExternal() local
234 reinterpret_cast<grpc_mdelem_data*>(backing_store)); in BM_MetadataRefUnrefExternal()
246 char backing_store[sizeof(grpc_mdelem_data)]; in BM_MetadataRefUnrefInterned() local
251 k, v, reinterpret_cast<grpc_mdelem_data*>(backing_store)); in BM_MetadataRefUnrefInterned()
/third_party/flutter/engine/flutter/shell/platform/embedder/
Dembedder_render_target.cc11 EmbedderRenderTarget::EmbedderRenderTarget(FlutterBackingStore backing_store, in EmbedderRenderTarget() argument
14 : backing_store_(backing_store), in EmbedderRenderTarget()
Dace_embedder.cc416 FlutterBackingStore backing_store = {}; in CreateEmbedderRenderTarget() local
417 backing_store.struct_size = sizeof(backing_store); in CreateEmbedderRenderTarget()
424 if (!c_create_callback(&config, &backing_store, compositor->user_data)) { in CreateEmbedderRenderTarget()
429 if (backing_store.struct_size != sizeof(backing_store)) { in CreateEmbedderRenderTarget()
439 [c_collect_callback, backing_store, user_data = compositor->user_data]() { in CreateEmbedderRenderTarget()
440 c_collect_callback(&backing_store, user_data); in CreateEmbedderRenderTarget()
448 switch (backing_store.type) { in CreateEmbedderRenderTarget()
450 switch (backing_store.open_gl.type) { in CreateEmbedderRenderTarget()
453 context, config, &backing_store.open_gl.texture); in CreateEmbedderRenderTarget()
457 context, config, &backing_store.open_gl.framebuffer); in CreateEmbedderRenderTarget()
[all …]
Dembedder.cc399 FlutterBackingStore backing_store = {}; in CreateEmbedderRenderTarget() local
400 backing_store.struct_size = sizeof(backing_store); in CreateEmbedderRenderTarget()
407 if (!c_create_callback(&config, &backing_store, compositor->user_data)) { in CreateEmbedderRenderTarget()
412 if (backing_store.struct_size != sizeof(backing_store)) { in CreateEmbedderRenderTarget()
422 [c_collect_callback, backing_store, user_data = compositor->user_data]() { in CreateEmbedderRenderTarget()
423 c_collect_callback(&backing_store, user_data); in CreateEmbedderRenderTarget()
431 switch (backing_store.type) { in CreateEmbedderRenderTarget()
433 switch (backing_store.open_gl.type) { in CreateEmbedderRenderTarget()
436 context, config, &backing_store.open_gl.texture); in CreateEmbedderRenderTarget()
440 context, config, &backing_store.open_gl.framebuffer); in CreateEmbedderRenderTarget()
[all …]
Dembedder_surface_software.cc80 sk_sp<SkSurface> backing_store) { in PresentBackingStore() argument
87 if (!backing_store->peekPixels(&pixmap)) { in PresentBackingStore()
Dembedder_render_target.h37 EmbedderRenderTarget(FlutterBackingStore backing_store,
Dembedder_surface_software.h48 bool PresentBackingStore(sk_sp<SkSurface> backing_store) override;
Dembedder_external_view_embedder.cc119 layer.backing_store = store; in MakeLayer()
Dembedder.h485 const FlutterBackingStore* backing_store; member
/third_party/flutter/engine/flutter/shell/platform/android/
Dandroid_surface_software.cc96 sk_sp<SkSurface> backing_store) { in PresentBackingStore() argument
98 if (!IsValid() || backing_store == nullptr) { in PresentBackingStore()
103 if (!backing_store->peekPixels(&pixmap)) { in PresentBackingStore()
Dandroid_surface_software.h48 bool PresentBackingStore(sk_sp<SkSurface> backing_store) override;
/third_party/libdrm/intel/
Dintel_bufmgr_fake.c219 void *backing_store; member
472 memcpy(bo_fake->backing_store, block->virtual, block->bo->size); in free_block()
496 assert(!bo_fake->backing_store); in alloc_backing_store()
499 bo_fake->backing_store = malloc(bo->size); in alloc_backing_store()
502 bo_fake->backing_store, bo->size); in alloc_backing_store()
503 assert(bo_fake->backing_store); in alloc_backing_store()
511 if (bo_fake->backing_store) { in free_backing_store()
513 free(bo_fake->backing_store); in free_backing_store()
514 bo_fake->backing_store = NULL; in free_backing_store()
970 if (bo_fake->backing_store) in drm_intel_bo_fake_disable_backing_store()
[all …]
/third_party/flutter/engine/flutter/shell/platform/ohos/
Dohos_surface_software.cc124 sk_sp<SkSurface> backing_store) in PresentBackingStore() argument
127 if (!IsValid() || backing_store == nullptr) { in PresentBackingStore()
133 if (!backing_store->peekPixels(&pixmap)) { in PresentBackingStore()
Dohos_surface_software.h32 bool PresentBackingStore(sk_sp<SkSurface> backing_store) override;
/third_party/flutter/engine/flutter/shell/platform/darwin/ios/
Dios_surface_software.mm73 bool IOSSurfaceSoftware::PresentBackingStore(sk_sp<SkSurface> backing_store) {
75 if (!IsValid() || backing_store == nullptr) {
80 if (!backing_store->peekPixels(&pixmap)) {
Dios_surface_software.h43 bool PresentBackingStore(sk_sp<SkSurface> backing_store) override;
/third_party/node/src/
Dnode_messaging.cc198 std::shared_ptr<BackingStore> backing_store) { in AddSharedArrayBuffer() argument
199 shared_array_buffers_.emplace_back(std::move(backing_store)); in AddSharedArrayBuffer()
498 std::shared_ptr<BackingStore> backing_store = ab->GetBackingStore(); in Serialize() local
501 array_buffers_.emplace_back(std::move(backing_store)); in Serialize()
Dnode_messaging.h77 void AddSharedArrayBuffer(std::shared_ptr<v8::BackingStore> backing_store);

12