Home
last modified time | relevance | path

Searched refs:SkRef (Results 1 – 25 of 127) sorted by relevance

123456

/external/skia/src/gpu/effects/
DGrCoverageSetOpXP.cpp251 return SkRef(&gReplaceCDXPFI); in Create()
254 return SkRef(&gReplaceCDXPF); in Create()
261 return SkRef(&gIntersectCDXPFI); in Create()
264 return SkRef(&gIntersectCDXPF); in Create()
271 return SkRef(&gUnionCDXPFI); in Create()
274 return SkRef(&gUnionCDXPF); in Create()
281 return SkRef(&gXORCDXPFI); in Create()
284 return SkRef(&gXORCDXPF); in Create()
291 return SkRef(&gDifferenceCDXPFI); in Create()
294 return SkRef(&gDifferenceCDXPF); in Create()
[all …]
/external/skia/tests/
DUtilsTest.cpp62 tmp[0].reset(SkRef(&obj0)); in test_autostarray()
63 tmp[1].reset(SkRef(&obj1)); in test_autostarray()
75 tmp[0].reset(SkRef(&obj0)); in test_autostarray()
76 tmp[1].reset(SkRef(&obj1)); in test_autostarray()
88 tmp[0].reset(SkRef(&obj0)); in test_autostarray()
89 tmp[1].reset(SkRef(&obj1)); in test_autostarray()
99 tmp[0].reset(SkRef(&obj0)); in test_autostarray()
100 tmp[1].reset(SkRef(&obj1)); in test_autostarray()
108 tmp[0].reset(SkRef(&obj0)); in test_autostarray()
109 tmp[1].reset(SkRef(&obj1)); in test_autostarray()
/external/skia/src/pdf/
DSkPDFCanon.cpp77 rec->fFont = SkRef(font); in addFont()
89 fFunctionShaderRecords.push(SkRef(pdfShader)); in addFunctionShader()
99 fAlphaShaderRecords.push(SkRef(pdfShader)); in addAlphaShader()
110 fImageShaderRecords.push(SkRef(pdfShader)); in addImageShader()
123 WrapGS w(SkRef(state)); in addGraphicState()
136 fPDFBitmapMap.set(imageUniqueID, SkRef(pdfBitmap)); in addPDFBitmap()
DSkPDFGraphicState.cpp122 return SkRef(const_cast<SkPDFGraphicState*>(canonGS)); in GetGraphicStateForPaint()
144 invertFunction->insertObject("Domain", SkRef(domainAndRange.get())); in create_invert_function()
163 sMaskDict->insertObjRef("G", SkRef(sMask)); in GetSMaskGraphicState()
165 sMaskDict->insertObjRef("TR", SkRef(invertFunction.get(create_invert_function))); in GetSMaskGraphicState()
182 return SkRef(noSMaskGraphicState.get(create_no_smask_graphic_state)); in GetNoSMaskGraphicState()
DSkPDFFormXObject.cpp63 this->insertObject("Resources", SkRef(resourceDict)); in init()
64 this->insertObject("BBox", SkRef(bbox)); in init()
/external/skia/src/gpu/
DGrTextureAccess.cpp28 fTexture.set(SkRef(texture), kRead_GrIOType); in reset()
36 fTexture.set(SkRef(texture), kRead_GrIOType); in reset()
DGrPipelineBuilder.cpp27 fColorFragmentProcessors.push_back(SkRef(paint.getColorFragmentProcessor(i))); in GrPipelineBuilder()
31 fCoverageFragmentProcessors.push_back(SkRef(paint.getCoverageFragmentProcessor(i))); in GrPipelineBuilder()
DGrContextFactory.cpp124 SkAutoTUnref<const GrGLInterface> glInterface(SkRef(glCtx->gl())); in getContextInfo()
150 context.fGrContext = SkRef(grCtx.get()); in getContextInfo()
DGrDrawingManager.cpp123 return SkRef(fDrawTargets[0]); in newDrawTarget()
133 return SkRef(dt); in newDrawTarget()
DGrProcessorUnitTest.cpp18 return SkRef(fp.get()); in CreateChildFP()
/external/skia/src/core/
DSkColorFilterShader.cpp19 : fShader(SkRef(shader)) in SkColorFilterShader()
20 , fFilter(SkRef(filter)) in SkColorFilterShader()
143 return SkRef(base); in newWithColorFilter()
DSkLocalMatrixShader.h19 , fProxyShader(SkRef(proxy)) in SkLocalMatrixShader()
46 return SkRef(fProxyShader.get()); in refAsALocalMatrixShader()
DSkTypefaceCache.cpp34 rec->fFace = SkRef(face); in add()
44 return SkRef(currFace); in findByProcAndRef()
DSkPictureShader.cpp68 , fShader(SkRef(tileShader)) in BitmapShaderRec()
86 result->reset(SkRef(rec.fShader.get())); in Visitor()
99 , fPicture(SkRef(picture)) in SkPictureShader()
267 , fBitmapShader(SkRef(bitmapShader)) in PictureShaderContext()
DSkColorFilter.cpp123 : fOuter(SkRef(outer)) in SkComposeColorFilter()
124 , fInner(SkRef(inner)) in SkComposeColorFilter()
/external/skia/include/ports/
DSkFontMgr_indirect.h31 : fImpl(SkRef(impl)), fProxy(SkRef(proxy)), fFamilyNamesInited(false) in SkFontMgr_Indirect()
/external/skia/include/gpu/
DGrPaint.h75 fColorFragmentProcessors.push_back(SkRef(fp)); in addColorFragmentProcessor()
84 fCoverageFragmentProcessors.push_back(SkRef(fp)); in addCoverageFragmentProcessor()
DGrClip.h54 fClip.fStack = SkRef(other.clipStack());
108 fClip.fStack = SkRef(clipStack);
/external/skia/src/codec/
DSkCodecImageGenerator.cpp30 , fData(SkRef(data)) in SkCodecImageGenerator()
37 return SkRef(fData.get()); in onRefEncodedData()
/external/skia/src/effects/
DSkColorFilterImageFilter.cpp40 : INHERITED(1, &input, cropRect), fColorFilter(SkRef(cf)) { in SkColorFilterImageFilter()
97 *filter = SkRef(fColorFilter); in onIsColorFilterNode()
DSkImageSource.cpp30 , fImage(SkRef(image)) in SkImageSource()
40 , fImage(SkRef(image)) in SkImageSource()
/external/skia/src/image/
DSkImageShader.cpp17 , fImage(SkRef(img)) in SkImageShader()
129 return SkRef(inner.get()); in asFragmentProcessor()
/external/skia/src/ports/
DSkFontMgr_android.cpp229 return SkRef(fStyles[index].get()); in createTypeface()
250 return SkRef(closest); in matchStyle()
327 return SkRef(fNameToFamilyMap[index].styleSet); in onCreateStyleSet()
337 return SkRef(fNameToFamilyMap[i].styleSet); in onMatchFamily()
343 return SkRef(fFallbackNameToFamilyMap[i].styleSet); in onMatchFamily()
/external/skia/src/doc/
DSkDocument_PDF.cpp40 trailerDict.insertObjRef("Root", SkRef(docCatalog)); in emit_pdf_footer()
130 curNodes[i]->insertObjRef("Parent", SkRef(newNode.get())); in generate_page_tree()
131 kids->appendObjRef(SkRef(curNodes[i])); in generate_page_tree()
221 docCatalog->insertObjRef("Pages", SkRef(pageTreeRoot)); in emit_pdf_document()
/external/skia/src/fonts/
DSkRemotableFontMgr.cpp20 return SkRef(empty.get([]{ return new SkRemotableFontIdentitySet; })); in NewEmpty()

123456