/external/skqp/src/image/ |
D | SkSurface.cpp | 128 static SkSurface_Base* asSB(SkSurface* surface) { in asSB() 134 SkSurface::SkSurface(int width, int height, const SkSurfaceProps* props) in SkSurface() function in SkSurface 142 SkSurface::SkSurface(const SkImageInfo& info, const SkSurfaceProps* props) in SkSurface() function in SkSurface 150 uint32_t SkSurface::generationID() { in generationID() 157 void SkSurface::notifyContentWillChange(ContentChangeMode mode) { in notifyContentWillChange() 161 SkCanvas* SkSurface::getCanvas() { in getCanvas() 165 sk_sp<SkImage> SkSurface::makeImageSnapshot() { in makeImageSnapshot() 169 sk_sp<SkImage> SkSurface::makeImageSnapshot(const SkIRect& srcBounds) { in makeImageSnapshot() 183 sk_sp<SkSurface> SkSurface::makeSurface(const SkImageInfo& info) { in makeSurface() 187 void SkSurface::draw(SkCanvas* canvas, SkScalar x, SkScalar y, in draw() [all …]
|
D | SkSurface_Gpu.cpp | 37 SkSurface::BackendHandleAccess access) { in prepare_rt_for_external_access() 39 case SkSurface::kFlushRead_BackendHandleAccess: in prepare_rt_for_external_access() 41 case SkSurface::kFlushWrite_BackendHandleAccess: in prepare_rt_for_external_access() 42 case SkSurface::kDiscardWrite_BackendHandleAccess: in prepare_rt_for_external_access() 44 surface->notifyContentWillChange(SkSurface::kRetain_ContentChangeMode); in prepare_rt_for_external_access() 77 sk_sp<SkSurface> SkSurface_Gpu::onNewSurface(const SkImageInfo& info) { in onNewSurface() 82 return SkSurface::MakeRenderTarget(fDevice->context(), kBudgeted, info, sampleCount, in onNewSurface() 146 fDevice->replaceRenderTargetContext(SkSurface::kRetain_ContentChangeMode == mode); in onCopyOnWrite() 285 sk_sp<SkSurface> SkSurface::MakeRenderTarget(GrContext* context, in MakeRenderTarget() 330 sk_sp<SkSurface> s = sk_make_sp<SkSurface_Gpu>(std::move(device)); 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()
|
/external/skia/src/image/ |
D | SkSurface.cpp | 128 static SkSurface_Base* asSB(SkSurface* surface) { in asSB() 134 SkSurface::SkSurface(int width, int height, const SkSurfaceProps* props) in SkSurface() function in SkSurface 142 SkSurface::SkSurface(const SkImageInfo& info, const SkSurfaceProps* props) in SkSurface() function in SkSurface 150 uint32_t SkSurface::generationID() { in generationID() 157 void SkSurface::notifyContentWillChange(ContentChangeMode mode) { in notifyContentWillChange() 161 SkCanvas* SkSurface::getCanvas() { in getCanvas() 165 sk_sp<SkImage> SkSurface::makeImageSnapshot() { in makeImageSnapshot() 169 sk_sp<SkImage> SkSurface::makeImageSnapshot(const SkIRect& srcBounds) { in makeImageSnapshot() 183 sk_sp<SkSurface> SkSurface::makeSurface(const SkImageInfo& info) { in makeSurface() 187 void SkSurface::draw(SkCanvas* canvas, SkScalar x, SkScalar y, in draw() [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, in prepare_rt_for_external_access() 82 sk_sp<SkSurface> SkSurface_Gpu::onNewSurface(const SkImageInfo& info) { in onNewSurface() 87 return SkSurface::MakeRenderTarget(fDevice->context(), kBudgeted, info, sampleCount, in onNewSurface() 151 fDevice->replaceRenderTargetContext(SkSurface::kRetain_ContentChangeMode == mode); in onCopyOnWrite() 298 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()
|
/external/skia/tests/ |
D | SurfaceTest.cpp | 41 static sk_sp<SkSurface> create_surface(SkAlphaType at = kPremul_SkAlphaType, in create_surface() 47 return SkSurface::MakeRaster(info); in create_surface() 49 static sk_sp<SkSurface> create_direct_surface(SkAlphaType at = kPremul_SkAlphaType, in create_direct_surface() 57 return SkSurface::MakeRasterDirectReleaseProc(info, storage, rowBytes, in create_direct_surface() 61 static sk_sp<SkSurface> create_gpu_surface(GrContext* context, SkAlphaType at = kPremul_SkAlphaType, in create_gpu_surface() 67 return SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info); in create_gpu_surface() 69 static sk_sp<SkSurface> create_gpu_scratch_surface(GrContext* context, in create_gpu_scratch_surface() 76 return SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, info); in create_gpu_scratch_surface() 81 REPORTER_ASSERT(reporter, nullptr == SkSurface::MakeRaster(info)); in DEF_TEST() 82 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 | DeferredDisplayListTest.cpp | 159 sk_sp<SkSurface> make(GrContext* context, GrBackendTexture* backend) const { in make() 181 return SkSurface::MakeFromBackendRenderTarget(context, backendRT, fOrigin, in make() 191 sk_sp<SkSurface> surface; in make() 194 surface = SkSurface::MakeFromBackendTextureAsRenderTarget( in make() 198 surface = SkSurface::MakeFromBackendTexture( in make() 304 sk_sp<SkSurface> s = params.make(context, &backend); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 323 sk_sp<SkSurface> s = params.make(context, &backend); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 376 sk_sp<SkSurface> s = params.make(context, &backend); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 414 sk_sp<SkSurface> s = params.make(context, &backend); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 429 sk_sp<SkSurface> rasterSurface = SkSurface::MakeRaster(ii); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | GrTextureMipMapInvalidationTest.cpp | 18 auto isMipped = [] (SkSurface* surf) { in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 23 auto mipsAreDirty = [] (SkSurface* surf) { in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 30 auto surf1 = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, info, 0, in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 33 auto surf2 = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, info); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 66 auto surf = SkSurface::MakeRenderTarget( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 93 surf = SkSurface::MakeRenderTarget(ctx, SkBudgeted::kYes, singlePixelInfo, 1, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skqp/tests/ |
D | SurfaceTest.cpp | 41 static sk_sp<SkSurface> create_surface(SkAlphaType at = kPremul_SkAlphaType, in create_surface() 47 return SkSurface::MakeRaster(info); in create_surface() 49 static sk_sp<SkSurface> create_direct_surface(SkAlphaType at = kPremul_SkAlphaType, in create_direct_surface() 57 return SkSurface::MakeRasterDirectReleaseProc(info, storage, rowBytes, in create_direct_surface() 61 static sk_sp<SkSurface> create_gpu_surface(GrContext* context, SkAlphaType at = kPremul_SkAlphaType, in create_gpu_surface() 67 return SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info); in create_gpu_surface() 69 static sk_sp<SkSurface> create_gpu_scratch_surface(GrContext* context, in create_gpu_scratch_surface() 76 return SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, info); in create_gpu_scratch_surface() 81 REPORTER_ASSERT(reporter, nullptr == SkSurface::MakeRaster(info)); in DEF_TEST() 82 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 | DeferredDisplayListTest.cpp | 365 sk_sp<SkSurface> make(GrContext* context, GrBackendTexture* backend) const { in make() 388 return SkSurface::MakeFromBackendRenderTarget(context, backendRT, fOrigin, in make() 398 sk_sp<SkSurface> surface; in make() 401 surface = SkSurface::MakeFromBackendTextureAsRenderTarget( in make() 405 surface = SkSurface::MakeFromBackendTexture( in make() 512 sk_sp<SkSurface> s = params.make(context, &backend); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 531 sk_sp<SkSurface> s = params.make(context, &backend); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 584 sk_sp<SkSurface> s = params.make(context, &backend); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 622 sk_sp<SkSurface> s = params.make(context, &backend); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 637 sk_sp<SkSurface> rasterSurface = SkSurface::MakeRaster(ii); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | GrTextureMipMapInvalidationTest.cpp | 18 auto isMipped = [] (SkSurface* surf) { in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 23 auto mipsAreDirty = [] (SkSurface* surf) { in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 30 auto surf1 = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, info, 0, in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 33 auto surf2 = SkSurface::MakeRenderTarget(context, SkBudgeted::kYes, info); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 66 auto surf = SkSurface::MakeRenderTarget( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 93 surf = SkSurface::MakeRenderTarget(ctx, SkBudgeted::kYes, singlePixelInfo, 1, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skqp/include/core/ |
D | SkSurface.h | 45 class SK_API SkSurface : public SkRefCnt { 69 static sk_sp<SkSurface> MakeRasterDirect(const SkImageInfo& imageInfo, void* pixels, 97 static sk_sp<SkSurface> MakeRasterDirectReleaseProc(const SkImageInfo& imageInfo, void* pixels, 123 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, size_t rowBytes, 142 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, 165 static sk_sp<SkSurface> MakeRasterN32Premul(int width, int height, 198 static sk_sp<SkSurface> MakeFromBackendTexture(GrContext* context, 232 static sk_sp<SkSurface> MakeFromBackendRenderTarget(GrContext* context, 269 static sk_sp<SkSurface> MakeFromBackendTextureAsRenderTarget(GrContext* context, 305 static sk_sp<SkSurface> MakeRenderTarget(GrContext* context, SkBudgeted budgeted, [all …]
|
/external/skia/include/core/ |
D | SkSurface.h | 50 class SK_API SkSurface : public SkRefCnt { 74 static sk_sp<SkSurface> MakeRasterDirect(const SkImageInfo& imageInfo, void* pixels, 102 static sk_sp<SkSurface> MakeRasterDirectReleaseProc(const SkImageInfo& imageInfo, void* pixels, 128 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, size_t rowBytes, 147 static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, 170 static sk_sp<SkSurface> MakeRasterN32Premul(int width, int height, 212 static sk_sp<SkSurface> MakeFromBackendTexture(GrContext* context, 251 static sk_sp<SkSurface> MakeFromBackendRenderTarget(GrContext* context, 290 static sk_sp<SkSurface> MakeFromBackendTextureAsRenderTarget(GrContext* context, 319 static sk_sp<SkSurface> MakeFromAHardwareBuffer(GrContext* context, [all …]
|
/external/skqp/docs/ |
D | SkSurface_Reference.bmh | 4 #Class SkSurface 10 SkSurface is responsible for managing the pixels that a canvas draws into. The pixels can be 12 SkSurface takes care of allocating a SkCanvas that will draw into the surface. Call 16 SkSurface always has non-zero dimensions. If there is a request for a new surface, and either 21 #Method static sk_sp<SkSurface> MakeRasterDirect(const SkImageInfo& imageInfo, void* pixels, 34 sk_sp<SkSurface> surface(SkSurface::MakeRasterDirect(info, pixels, info.minRowBytes())); 61 #Method static sk_sp<SkSurface> MakeRasterDirectReleaseProc(const SkImageInfo& imageInfo, void* pix… 83 sk_sp<SkSurface> surface(SkSurface::MakeRasterDirectReleaseProc(info, pixels, rowBytes, 113 #Method static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, size_t rowBytes, 123 sk_sp<SkSurface> surface(SkSurface::MakeRaster(info, rowBytes, nullptr)); [all …]
|
/external/skia/docs/ |
D | SkSurface_Reference.bmh | 4 #Class SkSurface 10 SkSurface is responsible for managing the pixels that a canvas draws into. The pixels can be 12 SkSurface takes care of allocating a SkCanvas that will draw into the surface. Call 16 SkSurface always has non-zero dimensions. If there is a request for a new surface, and either 34 #Method static sk_sp<SkSurface> MakeRasterDirect(const SkImageInfo& imageInfo, void* pixels, 47 sk_sp<SkSurface> surface(SkSurface::MakeRasterDirect(info, pixels, info.minRowBytes())); 74 #Method static sk_sp<SkSurface> MakeRasterDirectReleaseProc(const SkImageInfo& imageInfo, void* pix… 96 sk_sp<SkSurface> surface(SkSurface::MakeRasterDirectReleaseProc(info, pixels, rowBytes, 126 #Method static sk_sp<SkSurface> MakeRaster(const SkImageInfo& imageInfo, size_t rowBytes, 136 sk_sp<SkSurface> surface(SkSurface::MakeRaster(info, rowBytes, nullptr)); [all …]
|
/external/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 …]
|
/external/skqp/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 …]
|
/external/skia/experimental/wasm-skp-debugger/ |
D | debugger_bindings.cpp | 62 void drawTo(SkSurface* surface, int32_t index) { in drawTo() 95 size_t rowBytes)->sk_sp<SkSurface> { in EMSCRIPTEN_BINDINGS() 98 return SkSurface::MakeRasterDirect(imageInfo, pixels, rowBytes, nullptr); in EMSCRIPTEN_BINDINGS() 100 class_<SkSurface>("SkSurface") in EMSCRIPTEN_BINDINGS() 101 .smart_ptr<sk_sp<SkSurface>>("sk_sp<SkSurface>") in EMSCRIPTEN_BINDINGS() 102 .function("width", &SkSurface::width) in EMSCRIPTEN_BINDINGS() 103 .function("height", &SkSurface::height) in EMSCRIPTEN_BINDINGS() 104 .function("_flush", select_overload<void()>(&SkSurface::flush)) in EMSCRIPTEN_BINDINGS() 105 .function("getCanvas", &SkSurface::getCanvas, allow_raw_pointers()); in EMSCRIPTEN_BINDINGS()
|
/external/skia/gm/ |
D | imagemasksubset.cpp | 22 sk_sp<SkImage> make_mask(const sk_sp<SkSurface>& surface) { in make_mask() 38 make_mask(SkSurface::MakeRasterDirect(surfaceInfo, pixels, rowBytes)); in onGetPixels() 50 return make_mask(SkSurface::MakeRaster(info)); in __anon1ef734410202() 55 sk_sp<SkSurface> surface; in __anon1ef734410302() 56 surface = SkSurface::MakeRenderTarget(c->getGrContext(), SkBudgeted::kNo, info); in __anon1ef734410302() 57 return make_mask(surface ? surface : SkSurface::MakeRaster(info)); in __anon1ef734410302()
|
/external/skqp/gm/ |
D | imagemasksubset.cpp | 22 sk_sp<SkImage> make_mask(const sk_sp<SkSurface>& surface) { in make_mask() 38 make_mask(SkSurface::MakeRasterDirect(surfaceInfo, pixels, rowBytes)); in onGetPixels() 50 return make_mask(SkSurface::MakeRaster(info)); in __anon9f67c3780202() 55 sk_sp<SkSurface> surface; in __anon9f67c3780302() 56 surface = SkSurface::MakeRenderTarget(c->getGrContext(), SkBudgeted::kNo, info); in __anon9f67c3780302() 57 return make_mask(surface ? surface : SkSurface::MakeRaster(info)); in __anon9f67c3780302()
|
/external/skqp/bench/ |
D | ClipMaskBench.cpp | 50 sk_sp<SkSurface> surface = SkSurface::MakeRaster(SkImageInfo::MakeA8(size, size)); in __anon1909cb930102() 56 sk_sp<SkSurface> surface = SkSurface::MakeRasterN32Premul(size, size); in __anon1909cb930202() 74 sk_sp<SkSurface> fSurf; 81 fSurf = SkSurface::MakeRasterN32Premul(W, H); in RasterTileBench()
|
/external/skia/bench/ |
D | ClipMaskBench.cpp | 50 sk_sp<SkSurface> surface = SkSurface::MakeRaster(SkImageInfo::MakeA8(size, size)); in __anon8a87557c0102() 56 sk_sp<SkSurface> surface = SkSurface::MakeRasterN32Premul(size, size); in __anon8a87557c0202() 74 sk_sp<SkSurface> fSurf; 81 fSurf = SkSurface::MakeRasterN32Premul(W, H); in RasterTileBench()
|