/third_party/skia/src/image/ |
D | SkSurface.cpp | 84 SkSurface::RescaleGamma rescaleGamma, in onAsyncRescaleAndReadPixels() 86 SkSurface::ReadPixelsCallback callback, in onAsyncRescaleAndReadPixels() 87 SkSurface::ReadPixelsContext context) { in onAsyncRescaleAndReadPixels() 158 static SkSurface_Base* asSB(SkSurface* surface) { in asSB() 162 static const SkSurface_Base* asConstSB(const SkSurface* surface) { in asConstSB() 168 SkSurface::SkSurface(int width, int height, const SkSurfaceProps* props) in SkSurface() function in SkSurface 176 SkSurface::SkSurface(const SkImageInfo& info, const SkSurfaceProps* props) in SkSurface() function in SkSurface 184 SkImageInfo SkSurface::imageInfo() { in imageInfo() 189 uint32_t SkSurface::generationID() { in generationID() 196 void SkSurface::notifyContentWillChange(ContentChangeMode mode) { in notifyContentWillChange() [all …]
|
D | SkSurface_Raster.cpp | 23 sk_sp<SkSurface> onNewSurface(const SkImageInfo&) override; 81 sk_sp<SkSurface> SkSurface_Raster::onNewSurface(const SkImageInfo& info) { in onNewSurface() 82 return SkSurface::MakeRaster(info, &this->props()); in onNewSurface() 158 sk_sp<SkSurface> SkSurface::MakeRasterDirectReleaseProc(const SkImageInfo& info, void* pixels, in MakeRasterDirectReleaseProc() 174 sk_sp<SkSurface> SkSurface::MakeRasterDirect(const SkImageInfo& info, void* pixels, size_t rowBytes, in MakeRasterDirect() 179 sk_sp<SkSurface> SkSurface::MakeRaster(const SkImageInfo& info, size_t rowBytes, in MakeRaster() 195 sk_sp<SkSurface> SkSurface::MakeRasterN32Premul(int width, int height, in MakeRasterN32Premul()
|
D | SkSurface_Gpu.cpp | 51 SkSurface::BackendHandleAccess access) { in prepare_rt_for_external_access() 61 case SkSurface::kFlushRead_BackendHandleAccess: in prepare_rt_for_external_access() 63 case SkSurface::kFlushWrite_BackendHandleAccess: in prepare_rt_for_external_access() 64 case SkSurface::kDiscardWrite_BackendHandleAccess: in prepare_rt_for_external_access() 66 surface->notifyContentWillChange(SkSurface::kRetain_ContentChangeMode); in prepare_rt_for_external_access() 99 sk_sp<SkSurface> SkSurface_Gpu::onNewSurface(const SkImageInfo& info) { in onNewSurface() 105 return SkSurface::MakeRenderTarget(fDevice->recordingContext(), kBudgeted, info, sampleCount, in onNewSurface() 394 sk_sp<SkSurface> SkSurface::MakeRenderTarget(GrRecordingContext* rContext, in MakeRenderTarget() 418 sk_sp<SkSurface> result = sk_make_sp<SkSurface_Gpu>(std::move(device)); in MakeRenderTarget() 455 sk_sp<SkSurface> SkSurface::MakeRenderTarget(GrRecordingContext* rContext, SkBudgeted budgeted, in MakeRenderTarget() [all …]
|
/third_party/flutter/skia/src/image/ |
D | SkSurface.cpp | 99 SkSurface::RescaleGamma rescaleGamma, in onAsyncRescaleAndReadPixels() 101 SkSurface::ReadPixelsCallback callback, in onAsyncRescaleAndReadPixels() 102 SkSurface::ReadPixelsContext context) { in onAsyncRescaleAndReadPixels() 128 sk_sp<SkSurface> src(SkRef(this)); in onAsyncRescaleAndReadPixels() 134 if (rescaleGamma == SkSurface::RescaleGamma::kLinear && in onAsyncRescaleAndReadPixels() 255 static SkSurface_Base* asSB(SkSurface* surface) { in asSB() 259 static const SkSurface_Base* asConstSB(const SkSurface* surface) { in asConstSB() 265 SkSurface::SkSurface(int width, int height, const SkSurfaceProps* props) in SkSurface() function in SkSurface 273 SkSurface::SkSurface(const SkImageInfo& info, const SkSurfaceProps* props) in SkSurface() function in SkSurface 281 SkImageInfo SkSurface::imageInfo() { in imageInfo() [all …]
|
D | SkSurface_Gpu.cpp | 41 SkSurface::BackendHandleAccess access) { in prepare_rt_for_external_access() 43 case SkSurface::kFlushRead_BackendHandleAccess: in prepare_rt_for_external_access() 45 case SkSurface::kFlushWrite_BackendHandleAccess: in prepare_rt_for_external_access() 46 case SkSurface::kDiscardWrite_BackendHandleAccess: in prepare_rt_for_external_access() 48 surface->notifyContentWillChange(SkSurface::kRetain_ContentChangeMode); in prepare_rt_for_external_access() 53 surface->getDevice()->flush(SkSurface::BackendSurfaceAccess::kNoAccess, GrFlushInfo()); in prepare_rt_for_external_access() 81 sk_sp<SkSurface> SkSurface_Gpu::onNewSurface(const SkImageInfo& info) { in onNewSurface() 86 return SkSurface::MakeRenderTarget(fDevice->context(), kBudgeted, info, sampleCount, in onNewSurface() 168 fDevice->replaceRenderTargetContext(SkSurface::kRetain_ContentChangeMode == mode); in onCopyOnWrite() 343 sk_sp<SkSurface> SkSurface::MakeRenderTarget(GrRecordingContext* context, in MakeRenderTarget() [all …]
|
D | SkSurface_Raster.cpp | 23 sk_sp<SkSurface> onNewSurface(const SkImageInfo&) override; 92 sk_sp<SkSurface> SkSurface_Raster::onNewSurface(const SkImageInfo& info) { in onNewSurface() 93 return SkSurface::MakeRaster(info, &this->props()); in onNewSurface() 165 sk_sp<SkSurface> SkSurface::MakeRasterDirectReleaseProc(const SkImageInfo& info, void* pixels, in MakeRasterDirectReleaseProc() 181 sk_sp<SkSurface> SkSurface::MakeRasterDirect(const SkImageInfo& info, void* pixels, size_t rowBytes, in MakeRasterDirect() 186 sk_sp<SkSurface> SkSurface::MakeRaster(const SkImageInfo& info, size_t rowBytes, in MakeRaster() 202 sk_sp<SkSurface> SkSurface::MakeRasterN32Premul(int width, int height, in MakeRasterN32Premul()
|
/third_party/flutter/skia/tests/ |
D | SurfaceTest.cpp | 42 static sk_sp<SkSurface> create_surface(SkAlphaType at = kPremul_SkAlphaType, in create_surface() 48 return SkSurface::MakeRaster(info); in create_surface() 50 static sk_sp<SkSurface> create_direct_surface(SkAlphaType at = kPremul_SkAlphaType, in create_direct_surface() 58 return SkSurface::MakeRasterDirectReleaseProc(info, storage, rowBytes, in create_direct_surface() 62 static sk_sp<SkSurface> create_gpu_surface(GrContext* context, SkAlphaType at = kPremul_SkAlphaType, in create_gpu_surface() 68 return SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info); in create_gpu_surface() 70 static sk_sp<SkSurface> create_gpu_scratch_surface(GrContext* context, in create_gpu_scratch_surface() 77 return SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, info); in create_gpu_scratch_surface() 82 REPORTER_ASSERT(reporter, nullptr == SkSurface::MakeRaster(info)); in DEF_TEST() 83 REPORTER_ASSERT(reporter, nullptr == SkSurface::MakeRasterDirect(info, nullptr, 0)); in DEF_TEST() [all …]
|
D | ImageNewShaderTest.cpp | 22 static void paint_source(SkSurface* sourceSurface) { in paint_source() 39 static void run_shader_test(skiatest::Reporter* reporter, SkSurface* sourceSurface, in run_shader_test() 40 SkSurface* destinationSurface, SkImageInfo& info) { in run_shader_test() 101 auto sourceSurface(SkSurface::MakeRaster(info)); in DEF_TEST() 102 auto destinationSurface(SkSurface::MakeRaster(info)); in DEF_TEST() 110 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_gpu() 111 auto destinationSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_gpu() 119 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_raster() 120 auto destinationSurface(SkSurface::MakeRaster(info)); in gpu_to_raster() 128 auto sourceSurface(SkSurface::MakeRaster(info)); in raster_to_gpu() [all …]
|
D | VkProtectedContextTest.cpp | 56 sk_sp<SkSurface> createSkSurface(skiatest::Reporter* reporter); 148 sk_sp<SkSurface> VulkanTestHelper::createSkSurface(skiatest::Reporter* reporter) { in createSkSurface() 159 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTextureAsRenderTarget( in createSkSurface() 197 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTextureAsRenderTarget( in DEF_GPUTEST() 250 surface->getBackendTexture(SkSurface::kFlushRead_BackendHandleAccess)); in DEF_GPUTEST() 270 surface->flush(SkSurface::BackendSurfaceAccess::kNoAccess, flushInfo); in DEF_GPUTEST() 272 surface->getBackendTexture(SkSurface::kFlushRead_BackendHandleAccess)); in DEF_GPUTEST() 293 surface->flush(SkSurface::BackendSurfaceAccess::kNoAccess, flushInfo); in DEF_GPUTEST() 295 surface->getBackendTexture(SkSurface::kFlushRead_BackendHandleAccess)); in DEF_GPUTEST() 316 surface->flush(SkSurface::BackendSurfaceAccess::kNoAccess, flushInfo); in DEF_GPUTEST() [all …]
|
D | DeferredDisplayListTest.cpp | 182 sk_sp<SkSurface> make(GrContext* context, GrBackendTexture* backend) const { in make() 204 sk_sp<SkSurface> result = SkSurface::MakeFromBackendRenderTarget(context, backendRT, in make() 223 sk_sp<SkSurface> surface; in make() 226 surface = SkSurface::MakeFromBackendTextureAsRenderTarget( in make() 230 surface = SkSurface::MakeFromBackendTexture( in make() 334 sk_sp<SkSurface> s = params.make(context, &backend); in DDLSurfaceCharacterizationTestImpl() 368 sk_sp<SkSurface> s = params.make(context, &backend); in DDLSurfaceCharacterizationTestImpl() 414 sk_sp<SkSurface> s = params.make(context, &backend); in DDLSurfaceCharacterizationTestImpl() 453 sk_sp<SkSurface> s = params.make(context, &backend); in DDLSurfaceCharacterizationTestImpl() 468 sk_sp<SkSurface> rasterSurface = SkSurface::MakeRaster(ii); in DDLSurfaceCharacterizationTestImpl() [all …]
|
/third_party/skia/include/core/ |
D | SkSurface.h | 49 class SK_API SkSurface : public SkRefCnt { 73 static sk_sp<SkSurface> MakeRasterDirect(const SkImageInfo& imageInfo, void* pixels, 77 static sk_sp<SkSurface> MakeRasterDirect(const SkPixmap& pm, 106 static sk_sp<SkSurface> MakeRasterDirectReleaseProc(const SkImageInfo& imageInfo, void* pixels, 131 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, size_t rowBytes, 150 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, 173 static sk_sp<SkSurface> MakeRasterN32Premul(int width, int height, 212 static sk_sp<SkSurface> MakeFromBackendTexture(GrRecordingContext* context, 246 static sk_sp<SkSurface> MakeFromBackendRenderTarget(GrRecordingContext* context, 281 static sk_sp<SkSurface> MakeRenderTarget(GrRecordingContext* context, SkBudgeted budgeted, [all …]
|
/third_party/flutter/skia/include/core/ |
D | SkSurface.h | 40 class SK_API SkSurface : public SkRefCnt { 64 static sk_sp<SkSurface> MakeRasterDirect(const SkImageInfo& imageInfo, void* pixels, 92 static sk_sp<SkSurface> MakeRasterDirectReleaseProc(const SkImageInfo& imageInfo, void* pixels, 118 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, size_t rowBytes, 137 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, 160 static sk_sp<SkSurface> MakeRasterN32Premul(int width, int height, 202 static sk_sp<SkSurface> MakeFromBackendTexture(GrContext* context, 241 static sk_sp<SkSurface> MakeFromBackendRenderTarget(GrContext* context, 280 static sk_sp<SkSurface> MakeFromBackendTextureAsRenderTarget(GrContext* context, 309 static sk_sp<SkSurface> MakeFromAHardwareBuffer(GrContext* context, [all …]
|
/third_party/skia/tests/ |
D | SurfaceTest.cpp | 46 static sk_sp<SkSurface> create_surface(SkAlphaType at = kPremul_SkAlphaType, in create_surface() 52 return SkSurface::MakeRaster(info); in create_surface() 54 static sk_sp<SkSurface> create_direct_surface(SkAlphaType at = kPremul_SkAlphaType, in create_direct_surface() 62 return SkSurface::MakeRasterDirectReleaseProc(info, storage, rowBytes, in create_direct_surface() 66 static sk_sp<SkSurface> create_gpu_surface(GrRecordingContext* rContext, in create_gpu_surface() 73 return SkSurface::MakeRenderTarget(rContext, SkBudgeted::kNo, info); in create_gpu_surface() 75 static sk_sp<SkSurface> create_gpu_scratch_surface(GrRecordingContext* rContext, in create_gpu_scratch_surface() 82 return SkSurface::MakeRenderTarget(rContext, SkBudgeted::kYes, info); in create_gpu_scratch_surface() 87 REPORTER_ASSERT(reporter, nullptr == SkSurface::MakeRaster(info)); in DEF_TEST() 88 REPORTER_ASSERT(reporter, nullptr == SkSurface::MakeRasterDirect(info, nullptr, 0)); in DEF_TEST() [all …]
|
D | ImageNewShaderTest.cpp | 22 static void paint_source(SkSurface* sourceSurface) { in paint_source() 39 static void run_shader_test(skiatest::Reporter* reporter, SkSurface* sourceSurface, in run_shader_test() 40 SkSurface* destinationSurface, SkImageInfo& info) { in run_shader_test() 100 auto sourceSurface(SkSurface::MakeRaster(info)); in DEF_TEST() 101 auto destinationSurface(SkSurface::MakeRaster(info)); in DEF_TEST() 109 auto sourceSurface(SkSurface::MakeRenderTarget(rContext, SkBudgeted::kNo, info)); in gpu_to_gpu() 110 auto destinationSurface(SkSurface::MakeRenderTarget(rContext, SkBudgeted::kNo, info)); in gpu_to_gpu() 118 auto sourceSurface(SkSurface::MakeRaster(info)); in raster_to_gpu() 119 auto destinationSurface(SkSurface::MakeRenderTarget(rContext, SkBudgeted::kNo, info)); in raster_to_gpu()
|
D | GrSubmittedFlushTest.cpp | 33 sk_sp<SkSurface> surface = SkSurface::MakeRenderTarget(ctx, SkBudgeted::kNo, info); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 54 surface->flush(SkSurface::BackendSurfaceAccess::kNoAccess, flushInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 69 surface->flush(SkSurface::BackendSurfaceAccess::kNoAccess, flushInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 72 surface->flush(SkSurface::BackendSurfaceAccess::kNoAccess, flushInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 82 surface->flush(SkSurface::BackendSurfaceAccess::kNoAccess, flushInfo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | Skbug12214.cpp | 17 sk_sp<SkSurface> surface1 = SkSurface::MakeRenderTarget(contextInfo.directContext(), in DEF_GPUTEST_FOR_ALL_CONTEXTS() 19 sk_sp<SkSurface> surface2 = SkSurface::MakeRaster(imageInfo); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
|
/third_party/flutter/skia/experimental/wasm-skp-debugger/ |
D | debugger_bindings.cpp | 80 void drawTo(SkSurface* surface, int32_t index) { in drawTo() 119 std::string jsonCommandList(sk_sp<SkSurface> surface) { in jsonCommandList() 252 sk_sp<SkSurface> MakeOnScreenGLSurface(sk_sp<GrContext> grContext, int width, int height) { in MakeOnScreenGLSurface() 271 sk_sp<SkSurface> surface(SkSurface::MakeFromBackendRenderTarget(grContext.get(), target, in MakeOnScreenGLSurface() 277 sk_sp<SkSurface> MakeRenderTarget(sk_sp<GrContext> grContext, int width, int height) { in MakeRenderTarget() 280 sk_sp<SkSurface> surface(SkSurface::MakeRenderTarget(grContext.get(), in MakeRenderTarget() 288 sk_sp<SkSurface> MakeRenderTarget(sk_sp<GrContext> grContext, SimpleImageInfo sii) { in MakeRenderTarget() 289 sk_sp<SkSurface> surface(SkSurface::MakeRenderTarget(grContext.get(), in MakeRenderTarget() 340 size_t rowBytes)->sk_sp<SkSurface> { in EMSCRIPTEN_BINDINGS() 344 return SkSurface::MakeRasterDirect(imageInfo, pixels, rowBytes, nullptr); in EMSCRIPTEN_BINDINGS() [all …]
|
/third_party/flutter/skia/site/user/api/ |
D | SkSurface_Reference.md | 1 SkSurface Reference 5 <a name='SkSurface'></a> 10 class <a href='SkSurface_Reference#SkSurface'>SkSurface</a> : public <a href='undocumented#SkRefCnt… 12 …static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a… 15 …static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a… 19 …static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a… 21 …static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a… 23 …static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a… 25 …static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a… 31 …static <a href='undocumented#sk_sp'>sk_sp</a><<a href='SkSurface_Reference#SkSurface'>SkSurface</a… [all …]
|
/third_party/skia/experimental/wasm-skp-debugger/ |
D | debugger_bindings.cpp | 110 void drawTo(SkSurface* surface, int32_t index) { in drawTo() 131 void draw(SkSurface* surface) { in draw() 216 std::string jsonCommandList(sk_sp<SkSurface> surface) { in jsonCommandList() 334 int findCommandByPixel(SkSurface* surface, int x, int y, int commandIndex) { in findCommandByPixel() 360 SkColor evaluateCommandColor(SkSurface* surface, int command, int x, int y) { in evaluateCommandColor() 492 sk_sp<SkSurface> MakeOnScreenGLSurface(sk_sp<GrDirectContext> dContext, int width, int height) { in MakeOnScreenGLSurface() 511 sk_sp<SkSurface> surface(SkSurface::MakeFromBackendRenderTarget(dContext.get(), target, in MakeOnScreenGLSurface() 517 sk_sp<SkSurface> MakeRenderTarget(sk_sp<GrDirectContext> dContext, int width, int height) { in MakeRenderTarget() 520 sk_sp<SkSurface> surface(SkSurface::MakeRenderTarget(dContext.get(), in MakeRenderTarget() 528 sk_sp<SkSurface> MakeRenderTarget(sk_sp<GrDirectContext> dContext, SimpleImageInfo sii) { in MakeRenderTarget() [all …]
|
/third_party/skia/samplecode/ |
D | SampleTextureUpload.cpp | 29 sk_sp<SkSurface> fBlueSurface; 30 sk_sp<SkSurface> fGraySurface; 38 fSurface = SkSurface::MakeRenderTarget(direct, SkBudgeted::kNo, imageInfo, 0, in RenderTargetTexture() 46 void uploadRasterSurface(sk_sp<SkSurface> rasterSurface) { in uploadRasterSurface() 53 sk_sp<SkSurface> fSurface; 83 sk_sp<SkSurface> getFilledRasterSurface(SkColor color, int size) { in getFilledRasterSurface() 84 sk_sp<SkSurface> surface(SkSurface::MakeRasterN32Premul(size, size)); in getFilledRasterSurface()
|
/third_party/flutter/skia/samplecode/ |
D | SampleTextureUpload.cpp | 29 sk_sp<SkSurface> fBlueSurface; 30 sk_sp<SkSurface> fGraySurface; 38 fSurface = SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, imageInfo, 0, in RenderTargetTexture() 46 void uploadRasterSurface(sk_sp<SkSurface> rasterSurface) { in uploadRasterSurface() 53 sk_sp<SkSurface> fSurface; 83 sk_sp<SkSurface> getFilledRasterSurface(SkColor color, int size) { in getFilledRasterSurface() 84 sk_sp<SkSurface> surface(SkSurface::MakeRasterN32Premul(size, size)); in getFilledRasterSurface()
|
/third_party/skia/experimental/skottiekit/ |
D | skottiekit_bindings.cpp | 229 sk_sp<SkSurface> MakeOnScreenGLSurface(sk_sp<GrDirectContext> grContext, int width, int height) { in MakeOnScreenGLSurface() 251 sk_sp<SkSurface> surface(SkSurface::MakeFromBackendRenderTarget(grContext.get(), target, in MakeOnScreenGLSurface() 257 sk_sp<SkSurface> MakeRenderTarget(sk_sp<GrDirectContext> grContext, int width, int height) { in MakeRenderTarget() 260 sk_sp<SkSurface> surface(SkSurface::MakeRenderTarget(grContext.get(), in MakeRenderTarget() 268 sk_sp<SkSurface> MakeRenderTarget(sk_sp<GrDirectContext> grContext, SimpleImageInfo sii) { in MakeRenderTarget() 269 sk_sp<SkSurface> surface(SkSurface::MakeRenderTarget(grContext.get(), in MakeRenderTarget() 296 select_overload<sk_sp<SkSurface>(sk_sp<GrDirectContext>, int, int)>(&MakeRenderTarget)); in EMSCRIPTEN_BINDINGS() 298 … select_overload<sk_sp<SkSurface>(sk_sp<GrDirectContext>, SimpleImageInfo)>(&MakeRenderTarget)); in EMSCRIPTEN_BINDINGS() 331 size_t rowBytes)->sk_sp<SkSurface> { in EMSCRIPTEN_BINDINGS() 334 return SkSurface::MakeRasterDirect(imageInfo, pixels, rowBytes, nullptr); in EMSCRIPTEN_BINDINGS() [all …]
|
/third_party/skia/tools/gpu/ |
D | BackendSurfaceFactory.h | 17 class SkSurface; variable 22 sk_sp<SkSurface> MakeBackendTextureSurface(GrDirectContext*, 30 sk_sp<SkSurface> MakeBackendTextureSurface(GrDirectContext*, 41 sk_sp<SkSurface> MakeBackendRenderTargetSurface(GrDirectContext*, 48 sk_sp<SkSurface> MakeBackendRenderTargetSurface(GrDirectContext*,
|
/third_party/flutter/skia/gm/ |
D | imagemasksubset.cpp | 29 sk_sp<SkImage> make_mask(const sk_sp<SkSurface>& surface) { in make_mask() 45 make_mask(SkSurface::MakeRasterDirect(surfaceInfo, pixels, rowBytes)); in onGetPixels() 57 return make_mask(SkSurface::MakeRaster(info)); in __anon563135070202() 62 sk_sp<SkSurface> surface; in __anon563135070302() 63 surface = SkSurface::MakeRenderTarget(c->getGrContext(), SkBudgeted::kNo, info); in __anon563135070302() 64 return make_mask(surface ? surface : SkSurface::MakeRaster(info)); in __anon563135070302()
|
/third_party/flutter/engine/flutter/shell/platform/embedder/tests/ |
D | embedder_test_compositor.cc | 56 auto surface = SkSurface::MakeRenderTarget( in UpdateOffscrenComposition() 88 reinterpret_cast<SkSurface*>(layer->backing_store->user_data) in UpdateOffscrenComposition() 160 SkSurface::MakeRenderTarget(context_.get(), // context in CreateFramebufferRenderSurface() 176 SkSurface::BackendHandleAccess::kDiscardWrite_BackendHandleAccess); in CreateFramebufferRenderSurface() 198 [](void* user_data) { reinterpret_cast<SkSurface*>(user_data)->unref(); }; in CreateFramebufferRenderSurface() 210 SkSurface::MakeRenderTarget(context_.get(), // context in CreateTextureRenderSurface() 226 SkSurface::BackendHandleAccess::kDiscardWrite_BackendHandleAccess); in CreateTextureRenderSurface() 249 [](void* user_data) { reinterpret_cast<SkSurface*>(user_data)->unref(); }; in CreateTextureRenderSurface() 257 auto surface = SkSurface::MakeRaster( in CreateSoftwareRenderSurface() 281 reinterpret_cast<SkSurface*>(user_data)->unref(); in CreateSoftwareRenderSurface()
|