Home
last modified time | relevance | path

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

1234

/external/skia/include/gpu/
DGrContextFactory.h72 glCtx.reset(SkNEW(SkNativeGLContext)); in get()
76 glCtx.reset(SkNEW(SkANGLEGLContext)); in get()
81 glCtx.reset(SkNEW(SkMesaGLContext)); in get()
85 glCtx.reset(SkNEW(SkNullGLContext)); in get()
88 glCtx.reset(SkNEW(SkDebugGLContext)); in get()
/external/skia/src/gpu/
DGrAddPathRenderers_default.cpp22 chain->addPathRenderer(SkNEW(GrStrokePathRenderer))->unref(); in AddPathRenderers()
25 chain->addPathRenderer(SkNEW(GrAndroidPathRenderer))->unref(); in AddPathRenderers()
33 chain->addPathRenderer(SkNEW(GrAAConvexPathRenderer))->unref(); in AddPathRenderers()
/external/skia/tests/
DTestClassDef.h24 static Test* Factory(void*) { return SkNEW(classname); } \
36 static Test* Factory(void*) { return SkNEW(classname); } \
DBitmapFactoryTest.cpp21 SkBitmap* bm = SkNEW(SkBitmap); in create_bitmap()
DFlatDataTest.cpp28 this->INHERITED::setNamedFactorySet(SkNEW(SkNamedFactorySet))->unref(); in Controller()
DBitmapTransformerTest.cpp20 static Test* Factory(void*) {return SkNEW(BitmapTransformerTestClass); } in Factory()
/external/skia/legacy/src/core/
DSkTemplatesPriv.h19 result = SkNEW(classname)
33 result = SkNEW(classname); \
/external/skia/src/core/
DSkTemplatesPriv.h19 result = SkNEW(classname)
33 result = SkNEW(classname); \
DSkPathRef.h77 SkPathRef* copy = SkNEW(SkPathRef);
178 gEmptyPathRef = SkNEW(SkPathRef); // leak! in CreateEmpty()
203 dst->reset(SkNEW(SkPathRef)); in CreateTransformedCopy()
213 SkPathRef* ref = SkNEW(SkPathRef); in CreateFromBuffer()
227 SkPathRef* ref = SkNEW(SkPathRef); in CreateFromBuffer()
256 pathRef->reset(SkNEW(SkPathRef)); in Rewind()
/external/skia/tools/
DPictureRenderer.cpp291 *out = SkNEW(SkBitmap); in render()
323 *out = SkNEW(SkBitmap); in render()
516 *out = SkNEW(SkBitmap); in render()
696 *out = SkNEW(SkBitmap); in render()
777 return SkNEW(SkPicture); in createPicture()
779 return SkNEW(RTreePicture); in createPicture()
809 return SkNEW(GatherRenderer); in CreateGatherPixelRefsRenderer()
833 return SkNEW(PictureCloneRenderer); in CreatePictureCloneRenderer()
Drender_pictures_main.cpp159 outputPath = SkNEW(SkString); in render_picture()
366 renderer = SkNEW(sk_tools::SimplePictureRenderer); in parse_commandline()
396 renderer = SkNEW(sk_tools::RecordPictureRenderer); in parse_commandline()
609 tiledRenderer = SkNEW(sk_tools::TiledPictureRenderer); in parse_commandline()
696 renderer = SkNEW(sk_tools::PipePictureRenderer); in parse_commandline()
709 renderer = SkNEW(sk_tools::SimplePictureRenderer); in parse_commandline()
Dbench_pictures_main.cpp388 renderer.reset(SkNEW(sk_tools::RecordPictureRenderer)); in parse_commandline()
393 renderer.reset(SkNEW(sk_tools::SimplePictureRenderer)); in parse_commandline()
425 renderer.reset(SkNEW(sk_tools::PlaybackCreationRenderer)); in parse_commandline()
637 tiledRenderer = SkNEW(sk_tools::TiledPictureRenderer); in parse_commandline()
727 renderer.reset(SkNEW(sk_tools::PipePictureRenderer)); in parse_commandline()
735 renderer.reset(SkNEW(sk_tools::SimplePictureRenderer)); in parse_commandline()
/external/skia/legacy/include/core/
DSkPostConfig.h87 #ifndef SkNEW
88 #define SkNEW(type_name) new type_name macro
/external/skia/include/images/
DSkImageEncoder.h77 return SkNEW( Sk ## codec ); \
/external/skia/src/gpu/gl/debug/
DGrFakeRefObj.h92 return SkNEW(className); \
DGrDebugGL.h91 gObj = SkNEW(GrDebugGL); in getInstance()
/external/skia/include/core/
DSkPostConfig.h94 #ifndef SkNEW
95 #define SkNEW(type_name) (new type_name) macro
/external/skia/src/utils/
DSkThreadPool.cpp83 LinkedRunnable* linkedRunnable = SkNEW(LinkedRunnable); in add()
/external/skia/src/image/
DSkSurface_Picture.cpp48 fPicture = SkNEW(SkPicture); in onNewCanvas()
/external/skia/src/images/
DSkImageRef_GlobalPool.cpp21 gPool = SkNEW(SkImageRefPool); in GetGlobalPool()
/external/skia/legacy/src/images/
DSkImageRef_GlobalPool.cpp21 gPool = SkNEW(SkImageRefPool); in GetGlobalPool()
/external/skia/legacy/src/animator/
DSkAnimateSet.cpp74 fValues[0].fString = SkNEW(SkString); in onEndElement()
/external/skia/src/animator/
DSkAnimateSet.cpp70 fValues[0].fString = SkNEW(SkString); in onEndElement()
/external/skia/src/gpu/effects/
DGrTextureStripAtlas.cpp30 gAtlasCache = SkNEW((GrTHashTable<AtlasEntry, AtlasHashKey, 8>)); in GetCache()
59 entry = SkNEW(AtlasEntry); in GetAtlas()
/external/skia/gm/
Dsamplerstress.cpp94 fMaskFilter.reset(SkNEW(SkStippleMaskFilter)); in createMaskFilter()

1234