Home
last modified time | relevance | path

Searched refs:SkTScopedComPtr (Results 1 – 15 of 15) sorted by relevance

/external/skia/src/utils/win/
DSkTScopedComPtr.h29 class SkTScopedComPtr {
34 constexpr SkTScopedComPtr() : fPtr(nullptr) {} in SkTScopedComPtr() function
35 constexpr SkTScopedComPtr(std::nullptr_t) : fPtr(nullptr) {} in SkTScopedComPtr() function
36 explicit SkTScopedComPtr(T *ptr) : fPtr(ptr) {} in SkTScopedComPtr() function
37 SkTScopedComPtr(SkTScopedComPtr&& that) : fPtr(that.release()) {} in SkTScopedComPtr() function
38 SkTScopedComPtr(const SkTScopedComPtr&) = delete;
40 ~SkTScopedComPtr() { this->reset();} in ~SkTScopedComPtr()
42 SkTScopedComPtr& operator=(SkTScopedComPtr&& that) {
46 SkTScopedComPtr& operator=(const SkTScopedComPtr&) = delete;
47 SkTScopedComPtr& operator=(std::nullptr_t) { this->reset(); return *this; }
[all …]
DBUILD.bazel24 "SkTScopedComPtr.h",
DSkDWriteFontFileStream.h49 SkTScopedComPtr<IDWriteFontFileStream> fFontFileStream;
/external/skia/src/ports/
DSkFontMgr_win_dw.cpp43 bool HasBitmapStrikes(const SkTScopedComPtr<IDWriteFont>& font) { in HasBitmapStrikes()
44 SkTScopedComPtr<IDWriteFontFace> fontFace; in HasBitmapStrikes()
58 HRESULT FirstMatchingFontWithoutSimulations(const SkTScopedComPtr<IDWriteFontFamily>& family, in FirstMatchingFontWithoutSimulations()
60 SkTScopedComPtr<IDWriteFont>& font) { in FirstMatchingFontWithoutSimulations()
63 SkTScopedComPtr<IDWriteFont> searchFont; in FirstMatchingFontWithoutSimulations()
142 SkTScopedComPtr<IDWriteFactory> fFactory;
143 SkTScopedComPtr<IDWriteFontFallback> fFontFallback;
144 SkTScopedComPtr<IDWriteFontCollection> fFontCollection;
169 SkTScopedComPtr<IDWriteFontFamily> fFontFamily;
173 SkTScopedComPtr<IUnknown> iunkA; in are_same()
[all …]
DSkTypeface_win_dw.h65 SkTScopedComPtr<IDWriteFactory> fFactory;
66 SkTScopedComPtr<IDWriteFontFileLoader> fDWriteFontFileLoader;
67 SkTScopedComPtr<IDWriteFontCollectionLoader> fDWriteFontCollectionLoader;
85 SkTScopedComPtr<IDWriteFactory> fFactory;
86 SkTScopedComPtr<IDWriteFactory2> fFactory2;
87 SkTScopedComPtr<IDWriteFontFamily> fDWriteFontFamily;
88 SkTScopedComPtr<IDWriteFont> fDWriteFont;
89 SkTScopedComPtr<IDWriteFontFace> fDWriteFontFace;
90 SkTScopedComPtr<IDWriteFontFace1> fDWriteFontFace1;
91 SkTScopedComPtr<IDWriteFontFace2> fDWriteFontFace2;
[all …]
DSkRemotableFontMgr_win_dw.cpp57 SkTScopedComPtr<IUnknown> fontFileLoaderId; in FindOrAdd()
96 SkTScopedComPtr<IDWriteFontFace> fontFace; in FontToIdentity()
106 SkTScopedComPtr<IDWriteFontFile> fontFile; in FontToIdentity()
109 SkTScopedComPtr<IDWriteFontFileLoader> fontFileLoader; in FontToIdentity()
127 SkTScopedComPtr<IDWriteFontFamily> fontFamily; in getIndex()
136 SkTScopedComPtr<IDWriteFont> font; in getIndex()
149 SkTScopedComPtr<IDWriteFontFamily> fontFamily; in matchIndexStyle()
155 SkTScopedComPtr<IDWriteFont> font; in matchIndexStyle()
249 SkTScopedComPtr<IDWriteFont> font; in DrawGlyphRun()
388 SkTScopedComPtr<IDWriteTextFormat> fallbackFormat; in matchNameStyleCharacter()
[all …]
DSkImageGeneratorWIC.cpp41 SkTScopedComPtr<IWICImagingFactory> fImagingFactory;
42 SkTScopedComPtr<IWICBitmapSource> fImageSource;
51 SkTScopedComPtr<IWICImagingFactory> imagingFactory; in MakeFromEncodedWIC()
59 SkTScopedComPtr<IStream> iStream; in MakeFromEncodedWIC()
68 SkTScopedComPtr<IWICBitmapDecoder> decoder; in MakeFromEncodedWIC()
76 SkTScopedComPtr<IWICBitmapFrameDecode> imageFrame; in MakeFromEncodedWIC()
83 SkTScopedComPtr<IWICBitmapSource> imageSource; in MakeFromEncodedWIC()
176 SkTScopedComPtr<IWICFormatConverter> formatConverter; in onGetPixels()
194 SkTScopedComPtr<IWICBitmapSource> formatConverterSrc; in onGetPixels()
DSkTypeface_win_dw.cpp149 SkTScopedComPtr<IDWriteLocalizedStrings> familyNames; in onGetFamilyName()
157 SkTScopedComPtr<IDWriteLocalizedStrings> postScriptNames; in onGetPostScriptName()
177 SkTScopedComPtr<IDWriteLocalizedStrings> familyNames; in onGetFontDescriptor()
248 SkTScopedComPtr<IDWriteLocalizedStrings> fStrings;
255 SkTScopedComPtr<IDWriteLocalizedStrings> familyNames; in onCreateFamilyNameIterator()
272 SkTScopedComPtr<IDWriteFontFace5> fontFace5; in onGetVariationDesignPosition()
283 SkTScopedComPtr<IDWriteFontResource> fontResource; in onGetVariationDesignPosition()
321 SkTScopedComPtr<IDWriteFontFace5> fontFace5; in onGetVariationDesignParameters()
332 SkTScopedComPtr<IDWriteFontResource> fontResource; in onGetVariationDesignParameters()
418 SkTScopedComPtr<IDWriteFontFace> fFontFace; in onCopyTableData()
[all …]
DSkImageEncoder_WIC.cpp106 SkTScopedComPtr<IWICImagingFactory> piImagingFactory; in SkEncodeImageWithWIC()
117 SkTScopedComPtr<IStream> piStream; in SkEncodeImageWithWIC()
123 SkTScopedComPtr<IWICBitmapEncoder> piEncoder; in SkEncodeImageWithWIC()
133 SkTScopedComPtr<IWICBitmapFrameEncode> piBitmapFrameEncode; in SkEncodeImageWithWIC()
134 SkTScopedComPtr<IPropertyBag2> piPropertybag; in SkEncodeImageWithWIC()
DSkScalerContext_win_dw.cpp515 SkTScopedComPtr<IDWriteGlyphRunAnalysis> glyphRunAnalysis; in getBoundingBox()
558 SkTScopedComPtr<IDWriteColorGlyphRunEnumerator> colorLayer; in isColorGlyph()
635 SkTScopedComPtr<IDWriteColorGlyphRunEnumerator> colorLayers; in generateColorMetrics()
648 SkTScopedComPtr<IDWriteGeometrySink> geometryToPath; in generateColorMetrics()
695 SkTScopedComPtr<IDWriteFontFace4> fontFace4;
893 SkTScopedComPtr<IDWriteFontFace5> fontFace5; in generateFontMetrics()
1096 SkTScopedComPtr<IDWriteGlyphRunAnalysis> glyphRunAnalysis; in drawDWMask()
1146 SkTScopedComPtr<IDWriteColorGlyphRunEnumerator> colorLayers; in drawColorGlyphImage()
1181 SkTScopedComPtr<IDWriteGeometrySink> geometryToPath; in drawColorGlyphImage()
1429 SkTScopedComPtr<IDWriteGeometrySink> geometryToPath; in generatePath()
/external/skia/src/xps/
DSkXPSDevice.cpp167 SkTScopedComPtr<IXpsOMThumbnailGenerator> thumbnailGenerator; in createXpsThumbnail()
175 SkTScopedComPtr<IOpcPartUri> partUri; in createXpsThumbnail()
208 SkTScopedComPtr<IOpcPartUri> partUri; in createXpsPage()
225 SkTScopedComPtr<IOpcPartUri> partUri; in initXpsDocumentWriter()
244 SkTScopedComPtr<IOpcPartUri> partUri; in initXpsDocumentWriter()
271 SkTScopedComPtr<IXpsOMCanvas> scaleCanvas; in endSheet()
274 SkTScopedComPtr<IXpsOMVisualCollection> scaleCanvasVisuals; in endSheet()
278 SkTScopedComPtr<IXpsOMMatrixTransform> geomToPhys; in endSheet()
294 SkTScopedComPtr<IXpsOMPage> page; in endSheet()
297 SkTScopedComPtr<IXpsOMVisualCollection> pageVisuals; in endSheet()
[all …]
DSkXPSDocument.cpp22 SkTScopedComPtr<IXpsOMObjectFactory> fXpsFactory;
28 SkXPSDocument(SkWStream*, SkScalar dpi, SkTScopedComPtr<IXpsOMObjectFactory>);
39 SkTScopedComPtr<IXpsOMObjectFactory> xpsFactory) in SkXPSDocument()
81 SkTScopedComPtr<IXpsOMObjectFactory> factory(SkSafeRefComPtr(factoryPtr)); in MakeDocument()
DSkXPSDevice.h106 SkTScopedComPtr<IXpsOMFontResource> xps, size_t numGlyphs) in TypefaceUse()
112 const SkTScopedComPtr<IXpsOMFontResource> xpsFont;
119 SkTScopedComPtr<IXpsOMObjectFactory> fXpsFactory;
120 SkTScopedComPtr<IStream> fOutputStream;
121 SkTScopedComPtr<IXpsOMPackageWriter> fPackageWriter;
124 SkTScopedComPtr<IXpsOMCanvas> fCurrentXpsCanvas;
/external/skia/gn/
Dutils.gni129 "$_src/utils/win/SkTScopedComPtr.h",
/external/skia/dm/
DDMSrcSink.cpp1995 static SkTScopedComPtr<IXpsOMObjectFactory> make_xps_factory() { in make_xps_factory()
2001 return SkTScopedComPtr<IXpsOMObjectFactory>(factory); in make_xps_factory()
2009 SkTScopedComPtr<IXpsOMObjectFactory> factory = make_xps_factory(); in draw()