Home
last modified time | relevance | path

Searched refs:SkNEW (Results 1 – 25 of 169) sorted by relevance

1234567

/external/skia/src/core/
DSkBitmapFilter.cpp31 return SkNEW(SkLanczosFilter); in Allocate()
33 return SkNEW(SkHammingFilter); in Allocate()
37 return SkNEW(SkTriangleFilter); in Allocate()
39 return SkNEW(SkBoxFilter); in Allocate()
DSkBitmapScaler.cpp64 fBitmapFilter = SkNEW(SkBoxFilter); in SkResizeFilter()
67 fBitmapFilter = SkNEW(SkTriangleFilter); in SkResizeFilter()
73 fBitmapFilter = SkNEW(SkHammingFilter); in SkResizeFilter()
76 fBitmapFilter = SkNEW(SkLanczosFilter); in SkResizeFilter()
DSkPathRef.cpp21 SkPathRef* copy = SkNEW(SkPathRef); in Editor()
34 SkPathRef* empty = SkNEW(SkPathRef); in sk_create_empty_pathref()
59 dst->reset(SkNEW(SkPathRef)); in CreateTransformedCopy()
111 SkPathRef* ref = SkNEW(SkPathRef); in CreateFromBuffer()
169 pathRef->reset(SkNEW(SkPathRef)); in Rewind()
DSkFontMgr.cpp32 return SkNEW(SkEmptyFontStyleSet); in CreateEmpty()
151 return fm ? fm : SkNEW(SkEmptyFontMgr); in sk_fontmgr_create_default()
/external/skia/gm/
Ddcshader.cpp87 return SkNEW(DCGLFP); in createGLInstance()
231 fPrims.push_back(SkNEW(Rect)); in onOnceBeforeDraw()
232 fPrims.push_back(SkNEW(Circle)); in onOnceBeforeDraw()
233 fPrims.push_back(SkNEW(RRect)); in onOnceBeforeDraw()
234 fPrims.push_back(SkNEW(DRRect)); in onOnceBeforeDraw()
235 fPrims.push_back(SkNEW(Path)); in onOnceBeforeDraw()
236 fPrims.push_back(SkNEW(Points(SkCanvas::kPoints_PointMode))); in onOnceBeforeDraw()
237 fPrims.push_back(SkNEW(Points(SkCanvas::kLines_PointMode))); in onOnceBeforeDraw()
238 fPrims.push_back(SkNEW(Points(SkCanvas::kPolygon_PointMode))); in onOnceBeforeDraw()
239 fPrims.push_back(SkNEW(Text)); in onOnceBeforeDraw()
[all …]
Detc1bitmap.cpp222 DEF_GM( return SkNEW(skiagm::ETC1Bitmap_PKM_GM); )
223 DEF_GM( return SkNEW(skiagm::ETC1Bitmap_KTX_GM); )
224 DEF_GM( return SkNEW(skiagm::ETC1Bitmap_R11_KTX_GM); )
227 DEF_GM( return SkNEW(skiagm::ETC1Bitmap_NPOT_GM); )
Dvariedtext.cpp162 DEF_GM( return SkNEW(VariedTextGM(false, false)); )
163 DEF_GM( return SkNEW(VariedTextGM(true, false)); )
164 DEF_GM( return SkNEW(VariedTextGM(false, true)); )
165 DEF_GM( return SkNEW(VariedTextGM(true, true)); )
Dpixelsnap.cpp178 DEF_GM( return SkNEW(PointSnapGM); )
179 DEF_GM( return SkNEW(LineSnapGM); )
180 DEF_GM( return SkNEW(RectSnapGM); )
181 DEF_GM( return SkNEW(ComboSnapGM); )
Dfontmgr.cpp296 DEF_GM( return SkNEW(FontMgrGM); )
297 DEF_GM( return SkNEW(FontMgrMatchGM); )
298 DEF_GM( return SkNEW(FontMgrBoundsGM(1.0, 0)); )
299 DEF_GM( return SkNEW(FontMgrBoundsGM(0.75, 0)); )
300 DEF_GM( return SkNEW(FontMgrBoundsGM(1.0, -0.25)); )
Daaclip.cpp108 DEF_GM( return SkNEW(AAClipGM); ) in DEF_GM()
193 DEF_GM( return SkNEW(CGImageGM); )
263 DEF_GM( return SkNEW(ClipCubicGM); )
Ddashing.cpp477 DEF_GM(return SkNEW(DashingGM);)
478 DEF_GM(return SkNEW(Dashing2GM);)
479 DEF_GM(return SkNEW(Dashing3GM);)
480 DEF_GM(return SkNEW(Dashing4GM);)
/external/skia/bench/
DColorPrivBench.cpp77 DEF_BENCH( return SkNEW(FourByteInterpBench<true COMMA true>); )
78 DEF_BENCH( return SkNEW(FourByteInterpBench<true COMMA false>); )
79 DEF_BENCH( return SkNEW(FourByteInterpBench<false COMMA true>); )
80 DEF_BENCH( return SkNEW(FourByteInterpBench<false COMMA false>); )
/external/skia/src/gpu/
DGrAddPathRenderers_default.cpp31 chain->addPathRenderer(SkNEW(GrStrokePathRenderer))->unref(); in AddPathRenderers()
34 chain->addPathRenderer(SkNEW(GrAndroidPathRenderer))->unref(); in AddPathRenderers()
45 chain->addPathRenderer(SkNEW(GrAAConvexPathRenderer))->unref(); in AddPathRenderers()
/external/skia/src/pdf/
DSkPDFResourceDict.cpp68 SkAutoTUnref<SkPDFDict> resources(SkNEW(SkPDFDict)); in add_subdict()
81 SkAutoTUnref<SkPDFDict> dict(SkNEW(SkPDFDict)); in Create()
84 SkAutoTUnref<SkPDFArray> procSets(SkNEW(SkPDFArray)); in Create()
/external/skia/src/gpu/gl/
DGrGLContext.h30 fGLCaps.reset(SkNEW(GrGLCaps)); in GrGLContextInfo()
35 fGLCaps.reset(SkNEW(GrGLCaps)); in GrGLContextInfo()
DGrGLExtensions.cpp34 GrGLExtensions::GrGLExtensions(const GrGLExtensions& that) : fStrings(SkNEW(SkTArray<SkString>)) { in GrGLExtensions()
115 fStrings.reset(SkNEW(SkTArray<SkString>(oldStrings->count() - 1))); in remove()
/external/skia/src/effects/
DSkLumaColorFilter.cpp41 return SkNEW(SkLumaColorFilter); in Create()
47 return SkNEW(SkLumaColorFilter); in CreateProc()
/external/skia/include/core/
DSkLazyPtr.h89 template <typename T> T* sk_new() { return SkNEW(T); } in sk_new()
165 return ptr ? ptr : Private::try_cas<T*, Destroy>(&fPtr, SkNEW(T)); in get()
DSkPostConfig.h102 #ifndef SkNEW
103 # define SkNEW(type_name) (new type_name) macro
/external/skia/tests/
DLayerRasterizerTest.cpp47 return SkNEW(DummyRasterizer); in CreateProc()
54 paint.setRasterizer(SkNEW(DummyRasterizer))->unref(); in DEF_TEST()
DTArrayTest.cpp64 return SkNEW(IntArray); in make()
69 return SkNEW(IntArray); in make_s()
/external/skia/src/gpu/gl/debug/
DSkDebugGLContext.h23 return SkNEW(SkDebugGLContext); in Create()
/external/skia/src/fonts/
DSkRemotableFontMgr.cpp21 return SkNEW(SkRemotableFontIdentitySet); in sk_remotable_font_identity_set_new()
/external/skia/include/gpu/gl/angle/
DSkANGLEGLContext.h25 SkANGLEGLContext* ctx = SkNEW(SkANGLEGLContext); in Create()
/external/skia/src/gpu/gl/mesa/
DSkMesaGLContext.h28 SkMesaGLContext* ctx = SkNEW(SkMesaGLContext); in Create()

1234567