Home
last modified time | relevance | path

Searched refs:RefPtr (Results 1 – 25 of 201) sorted by relevance

123456789

/third_party/flutter/engine/flutter/fml/memory/
Dref_ptr.h66 class RefPtr final {
68 RefPtr() : ptr_(nullptr) {} in RefPtr() function
69 RefPtr(std::nullptr_t) : ptr_(nullptr) {} in RefPtr() function
76 explicit RefPtr(U* p) : ptr_(p) { in RefPtr() function
82 RefPtr(const RefPtr<T>& r) : ptr_(r.ptr_) { in RefPtr() function
88 RefPtr(const RefPtr<U>& r) : ptr_(r.ptr_) { in RefPtr() function
94 RefPtr(RefPtr<T>&& r) : ptr_(r.ptr_) { r.ptr_ = nullptr; } in RefPtr() function
97 RefPtr(RefPtr<U>&& r) : ptr_(r.ptr_) { in RefPtr() function
102 ~RefPtr() { in ~RefPtr()
120 RefPtr<T>& operator=(const RefPtr<T>& r) {
[all …]
Dref_counted_unittest.cc86 RefPtr<MyClass> r; in TEST()
93 RefPtr<MyClass> r(nullptr); in TEST()
102 RefPtr<MyClass> r(MakeRefCounted<MyClass>(&created, &was_destroyed)); in TEST()
114 ALLOW_PESSIMIZING_MOVE(RefPtr<MyClass> r( in TEST()
126 RefPtr<MyClass> r1(MakeRefCounted<MyClass>(&created, &was_destroyed)); in TEST()
128 RefPtr<MyClass> r2(r1); in TEST()
141 RefPtr<MyClass> r1(MakeRefCounted<MyClass>(&created, &was_destroyed)); in TEST()
143 RefPtr<MyClass> r2(created); in TEST()
157 RefPtr<MyClass> r(MakeRefCounted<MySubclass>(&created, &was_destroyed)); in TEST()
169 ALLOW_PESSIMIZING_MOVE(RefPtr<MyClass> r( in TEST()
[all …]
Dref_ptr_internal.h15 class RefPtr; variable
18 RefPtr<T> AdoptRef(T* ptr);
30 static RefPtr<T> MakeRefCounted(Args&&... args) { in MakeRefCounted()
/third_party/flutter/engine/flutter/lib/ui/compositing/
Dscene_builder.h39 static fml::RefPtr<SceneBuilder> create() { in create()
45 fml::RefPtr<EngineLayer> pushTransform(tonic::Float64List& matrix4);
46 fml::RefPtr<EngineLayer> pushOffset(double dx, double dy);
47 fml::RefPtr<EngineLayer> pushClipRect(double left,
52 fml::RefPtr<EngineLayer> pushClipRRect(const RRect& rrect, int clipBehavior);
53 fml::RefPtr<EngineLayer> pushClipPath(const CanvasPath* path,
55 fml::RefPtr<EngineLayer> pushOpacity(int alpha, double dx = 0, double dy = 0);
56 fml::RefPtr<EngineLayer> pushColorFilter(const ColorFilter* color_filter);
57 fml::RefPtr<EngineLayer> pushBackdropFilter(ImageFilter* filter);
58 fml::RefPtr<EngineLayer> pushShaderMask(Shader* shader,
[all …]
Dscene_builder.cc74 fml::RefPtr<EngineLayer> SceneBuilder::pushTransform( in pushTransform()
83 fml::RefPtr<EngineLayer> SceneBuilder::pushOffset(double dx, double dy) { in pushOffset()
90 fml::RefPtr<EngineLayer> SceneBuilder::pushClipRect(double left, in pushClipRect()
103 fml::RefPtr<EngineLayer> SceneBuilder::pushClipRRect(const RRect& rrect, in pushClipRRect()
112 fml::RefPtr<EngineLayer> SceneBuilder::pushClipPath(const CanvasPath* path, in pushClipPath()
122 fml::RefPtr<EngineLayer> SceneBuilder::pushOpacity(int alpha, in pushOpacity()
131 fml::RefPtr<EngineLayer> SceneBuilder::pushColorFilter( in pushColorFilter()
139 fml::RefPtr<EngineLayer> SceneBuilder::pushBackdropFilter(ImageFilter* filter) { in pushBackdropFilter()
145 fml::RefPtr<EngineLayer> SceneBuilder::pushShaderMask(Shader* shader, in pushShaderMask()
159 fml::RefPtr<EngineLayer> SceneBuilder::pushPhysicalShape(const CanvasPath* path, in pushPhysicalShape()
[all …]
Dscene_host.h25 static fml::RefPtr<SceneHost> Create(
26 fml::RefPtr<zircon::dart::Handle> viewHolderToken,
34 SceneHost(fml::RefPtr<zircon::dart::Handle> viewHolderToken,
53 fml::RefPtr<fml::TaskRunner> gpu_task_runner_;
/third_party/flutter/engine/flutter/common/
Dtask_runners.h18 fml::RefPtr<fml::TaskRunner> platform,
19 fml::RefPtr<fml::TaskRunner> gpu,
20 fml::RefPtr<fml::TaskRunner> ui,
21 fml::RefPtr<fml::TaskRunner> io);
29 fml::RefPtr<fml::TaskRunner> GetPlatformTaskRunner() const;
31 fml::RefPtr<fml::TaskRunner> GetUITaskRunner() const;
33 fml::RefPtr<fml::TaskRunner> GetIOTaskRunner() const;
35 fml::RefPtr<fml::TaskRunner> GetGPUTaskRunner() const;
41 fml::RefPtr<fml::TaskRunner> platform_;
42 fml::RefPtr<fml::TaskRunner> gpu_;
[all …]
Dtask_runners.cc12 fml::RefPtr<fml::TaskRunner> platform, in TaskRunners()
13 fml::RefPtr<fml::TaskRunner> gpu, in TaskRunners()
14 fml::RefPtr<fml::TaskRunner> ui, in TaskRunners()
15 fml::RefPtr<fml::TaskRunner> io) in TaskRunners()
30 fml::RefPtr<fml::TaskRunner> TaskRunners::GetPlatformTaskRunner() const { in GetPlatformTaskRunner()
34 fml::RefPtr<fml::TaskRunner> TaskRunners::GetUITaskRunner() const { in GetUITaskRunner()
38 fml::RefPtr<fml::TaskRunner> TaskRunners::GetIOTaskRunner() const { in GetIOTaskRunner()
42 fml::RefPtr<fml::TaskRunner> TaskRunners::GetGPUTaskRunner() const { in GetGPUTaskRunner()
/third_party/flutter/engine/flutter/runtime/
Ddart_vm_data.h17 fml::RefPtr<DartSnapshot> vm_snapshot,
18 fml::RefPtr<DartSnapshot> isolate_snapshot,
19 fml::RefPtr<DartSnapshot> shared_snapshot);
27 fml::RefPtr<const DartSnapshot> GetIsolateSnapshot() const;
29 fml::RefPtr<const DartSnapshot> GetSharedSnapshot() const;
33 const fml::RefPtr<const DartSnapshot> vm_snapshot_;
34 const fml::RefPtr<const DartSnapshot> isolate_snapshot_;
35 const fml::RefPtr<const DartSnapshot> shared_snapshot_;
38 fml::RefPtr<const DartSnapshot> vm_snapshot,
39 fml::RefPtr<const DartSnapshot> isolate_snapshot,
[all …]
Ddart_vm_data.cc11 fml::RefPtr<DartSnapshot> vm_snapshot, in Create()
12 fml::RefPtr<DartSnapshot> isolate_snapshot, in Create()
13 fml::RefPtr<DartSnapshot> shared_snapshot) { in Create()
53 fml::RefPtr<const DartSnapshot> vm_snapshot, in DartVMData()
54 fml::RefPtr<const DartSnapshot> isolate_snapshot, in DartVMData()
55 fml::RefPtr<const DartSnapshot> shared_snapshot) in DartVMData()
71 fml::RefPtr<const DartSnapshot> DartVMData::GetIsolateSnapshot() const { in GetIsolateSnapshot()
75 fml::RefPtr<const DartSnapshot> DartVMData::GetSharedSnapshot() const { in GetSharedSnapshot()
Ddart_isolate.h44 fml::RefPtr<const DartSnapshot> isolate_snapshot,
45 fml::RefPtr<const DartSnapshot> shared_snapshot,
57 fml::RefPtr<const DartSnapshot> isolate_snapshot,
58 fml::RefPtr<const DartSnapshot> shared_snapshot,
107 fml::RefPtr<const DartSnapshot> GetIsolateSnapshot() const;
109 fml::RefPtr<const DartSnapshot> GetSharedSnapshot() const;
113 fml::RefPtr<fml::TaskRunner> GetMessageHandlingTaskRunner() const;
132 const fml::RefPtr<const DartSnapshot> isolate_snapshot_;
133 const fml::RefPtr<const DartSnapshot> shared_snapshot_;
137 fml::RefPtr<fml::TaskRunner> message_handling_task_runner_;
[all …]
/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/
Dsystem.h37 static zx_status_t ChannelWrite(fml::RefPtr<Handle> channel,
41 static Dart_Handle ChannelQueryAndRead(fml::RefPtr<Handle> channel);
46 static Dart_Handle SocketWrite(fml::RefPtr<Handle> socket,
49 static Dart_Handle SocketRead(fml::RefPtr<Handle> socket, size_t size);
53 static Dart_Handle VmoGetSize(fml::RefPtr<Handle> vmo);
54 static zx_status_t VmoSetSize(fml::RefPtr<Handle> vmo, uint64_t size);
55 static zx_status_t VmoWrite(fml::RefPtr<Handle> vmo,
58 static Dart_Handle VmoRead(fml::RefPtr<Handle> vmo,
62 static Dart_Handle VmoMap(fml::RefPtr<Handle> vmo);
69 fml::RefPtr<Handle> channel);
Dhandle.h36 static fml::RefPtr<Handle> Create(zx_handle_t handle);
37 static fml::RefPtr<Handle> Create(zx::handle handle) { in Create()
41 static fml::RefPtr<Handle> Unwrap(Dart_Handle handle) { in Unwrap()
42 return fml::RefPtr<Handle>( in Unwrap()
56 fml::RefPtr<HandleWaiter> AsyncWait(zx_signals_t signals,
/third_party/flutter/engine/flutter/testing/
Dthread_test.h45 fml::RefPtr<fml::TaskRunner> GetCurrentTaskRunner();
61 fml::RefPtr<fml::TaskRunner> GetThreadTaskRunner();
73 fml::RefPtr<fml::TaskRunner> CreateNewThread(std::string name = "");
84 fml::RefPtr<fml::TaskRunner> thread_task_runner_;
85 fml::RefPtr<fml::TaskRunner> current_task_runner_;
/third_party/flutter/engine/flutter/shell/platform/android/
Dandroid_context_gl.h20 bool CreateWindowSurface(fml::RefPtr<AndroidNativeWindow> window);
24 fml::RefPtr<AndroidEnvironmentGL> Environment() const;
39 fml::RefPtr<AndroidEnvironmentGL> environment_;
40 fml::RefPtr<AndroidNativeWindow> window_;
46 AndroidContextGL(fml::RefPtr<AndroidEnvironmentGL> env,
/third_party/flutter/engine/flutter/lib/ui/painting/
Dpath.h25 static fml::RefPtr<CanvasPath> Create() { in Create()
29 static fml::RefPtr<CanvasPath> CreateFrom(const SkPath& src) { in CreateFrom()
30 fml::RefPtr<CanvasPath> path = CanvasPath::Create(); in CreateFrom()
97 fml::RefPtr<CanvasPath> shift(double dx, double dy);
98 fml::RefPtr<CanvasPath> transform(tonic::Float64List& matrix4);
101 fml::RefPtr<CanvasPath> clone();
Dpicture_recorder.h24 static fml::RefPtr<PictureRecorder> Create();
29 fml::RefPtr<Picture> endRecording();
32 void set_canvas(fml::RefPtr<Canvas> canvas) { canvas_ = std::move(canvas); } in set_canvas()
41 fml::RefPtr<Canvas> canvas_;
Dframe_info.h19 fml::RefPtr<CanvasImage> image() { return image_; } in image()
24 FrameInfo(fml::RefPtr<CanvasImage> image, int durationMillis);
28 const fml::RefPtr<CanvasImage> image_;
/third_party/flutter/engine/flutter/fml/
Dmessage_loop.h31 fml::RefPtr<fml::TaskRunner> GetTaskRunner() const;
49 fml::RefPtr<MessageLoopImpl> loop_;
50 fml::RefPtr<fml::TaskRunner> task_runner_;
54 fml::RefPtr<MessageLoopImpl> GetLoopImpl() const;
/third_party/flutter/engine/flutter/lib/ui/window/
Dplatform_message.h26 const fml::RefPtr<PlatformMessageResponse>& response() const { in response()
33 fml::RefPtr<PlatformMessageResponse> response);
35 fml::RefPtr<PlatformMessageResponse> response);
41 fml::RefPtr<PlatformMessageResponse> response_;
/third_party/flutter/engine/flutter/shell/common/
Dpersistent_cache.h39 void AddWorkerTaskRunner(fml::RefPtr<fml::TaskRunner> task_runner);
41 void RemoveWorkerTaskRunner(fml::RefPtr<fml::TaskRunner> task_runner);
58 std::multiset<fml::RefPtr<fml::TaskRunner>> worker_task_runners_
74 fml::RefPtr<fml::TaskRunner> GetWorkerTaskRunner() const;
Dengine.h147 fml::RefPtr<PlatformMessage> message) = 0;
474 void DispatchPlatformMessage(fml::RefPtr<PlatformMessage> message);
522 void HandlePlatformMessage(fml::RefPtr<PlatformMessage> message) override;
532 bool HandleNavigationPlatformMessage(fml::RefPtr<PlatformMessage> message);
538 void HandleAssetPlatformMessage(fml::RefPtr<PlatformMessage> message);
Dpipeline_unittests.cc21 fml::RefPtr<IntPipeline> pipeline = fml::MakeRefCounted<IntPipeline>(2); in TEST()
35 fml::RefPtr<IntPipeline> pipeline = fml::MakeRefCounted<IntPipeline>(2); in TEST()
57 fml::RefPtr<IntPipeline> pipeline = fml::MakeRefCounted<IntPipeline>(depth); in TEST()
74 fml::RefPtr<IntPipeline> pipeline = fml::MakeRefCounted<IntPipeline>(depth); in TEST()
94 fml::RefPtr<IntPipeline> pipeline = fml::MakeRefCounted<IntPipeline>(depth); in TEST()
114 fml::RefPtr<IntPipeline> pipeline = fml::MakeRefCounted<IntPipeline>(depth); in TEST()
/third_party/flutter/engine/flutter/shell/platform/embedder/
Dembedder_thread_host.cc29 static std::pair<bool, fml::RefPtr<EmbedderTaskRunner>>
105 static fml::RefPtr<fml::TaskRunner> GetCurrentThreadTaskRunner() { in GetCurrentThreadTaskRunner()
161 ? static_cast<fml::RefPtr<fml::TaskRunner>>( in CreateEmbedderManagedThreadHost()
168 ? static_cast<fml::RefPtr<fml::TaskRunner>>( in CreateEmbedderManagedThreadHost()
184 std::set<fml::RefPtr<EmbedderTaskRunner>> embedder_task_runners; in CreateEmbedderManagedThreadHost()
231 std::set<fml::RefPtr<EmbedderTaskRunner>> empty_embedder_task_runners; in CreateEngineManagedThreadHost()
247 std::set<fml::RefPtr<EmbedderTaskRunner>> embedder_task_runners) in EmbedderThreadHost()
/third_party/flutter/engine/flutter/flow/
Dskia_gpu_object.h32 const fml::RefPtr<fml::TaskRunner> task_runner_;
39 SkiaUnrefQueue(fml::RefPtr<fml::TaskRunner> task_runner,
59 SkiaGPUObject(sk_sp<SkiaObjectType> object, fml::RefPtr<SkiaUnrefQueue> queue) in SkiaGPUObject()
82 fml::RefPtr<SkiaUnrefQueue> queue_;

123456789