#include <dl_test_surface_provider.h>
Definition at line 31 of file dl_test_surface_provider.h.
◆ ~DlSurfaceInstance()
| virtual flutter::testing::DlSurfaceInstance::~DlSurfaceInstance |
( |
| ) |
|
|
virtualdefault |
◆ FlushSubmitCpuSync()
| void flutter::testing::DlSurfaceInstance::FlushSubmitCpuSync |
( |
| ) |
|
Definition at line 73 of file dl_test_surface_provider.cc.
73 {
75 if (!surface) {
76 return;
77 }
78 if (GrDirectContext* dContext =
79 GrAsDirectContext(
surface->recordingContext())) {
80 dContext->flushAndSubmit(
surface.get(), GrSyncCpu::kYes);
81 }
82}
virtual sk_sp< SkSurface > sk_surface() const =0
References sk_surface(), and surface.
◆ GetCanvas()
| virtual DlCanvas * flutter::testing::DlSurfaceInstance::GetCanvas |
( |
| ) |
|
|
pure virtual |
◆ height()
| int flutter::testing::DlSurfaceInstance::height |
( |
| ) |
const |
|
inline |
◆ sk_surface()
| virtual sk_sp< SkSurface > flutter::testing::DlSurfaceInstance::sk_surface |
( |
| ) |
const |
|
pure virtual |
◆ width()
| int flutter::testing::DlSurfaceInstance::width |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: