Lines Matching refs:SkSurface
24 #include "SkSurface.h"
53 virtual sk_sp<SkSurface> importHardwareBufferForWrite(skiatest::Reporter* reporter,
57 virtual bool flushSurfaceAndSignalSemaphore(skiatest::Reporter* reporter, sk_sp<SkSurface>) = 0;
59 sk_sp<SkSurface>) = 0;
102 sk_sp<SkSurface> importHardwareBufferForWrite(skiatest::Reporter* reporter,
106 bool flushSurfaceAndSignalSemaphore(skiatest::Reporter* reporter, sk_sp<SkSurface>) override;
108 sk_sp<SkSurface>) override;
282 sk_sp<SkSurface> EGLTestHelper::importHardwareBufferForWrite(skiatest::Reporter* reporter,
295 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(fGrContext,
303 ERRORF(reporter, "Failed to make wrapped GL SkSurface");
311 sk_sp<SkSurface> surface) {
333 sk_sp<SkSurface> surface) {
441 bool flushSurfaceAndSignalSemaphore(skiatest::Reporter* reporter, sk_sp<SkSurface>) override;
443 sk_sp<SkSurface>) override;
448 sk_sp<SkSurface> importHardwareBufferForWrite(skiatest::Reporter* reporter,
817 sk_sp<SkSurface> surface) {
913 sk_sp<SkSurface> surface) {
950 sk_sp<SkSurface> VulkanTestHelper::importHardwareBufferForWrite(skiatest::Reporter* reporter,
959 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(fGrContext.get(),
967 ERRORF(reporter, "Failed to create wrapped Vulkan SkSurface");
1175 sk_sp<SkSurface> surface = srcHelper->importHardwareBufferForWrite(reporter, buffer);
1228 // Make SkSurface to render wrapped HWB into.
1232 sk_sp<SkSurface> dstSurf = SkSurface::MakeRenderTarget(grContext,
1237 ERRORF(reporter, "Failed to create destination SkSurface");