Home
last modified time | relevance | path

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

/external/skia/src/utils/win/
DSkTScopedComPtr.h35 class SkTScopedComPtr {
40 constexpr SkTScopedComPtr() : fPtr(nullptr) {} in SkTScopedComPtr() function
41 constexpr SkTScopedComPtr(std::nullptr_t) : fPtr(nullptr) {} in SkTScopedComPtr() function
42 explicit SkTScopedComPtr(T *ptr) : fPtr(ptr) {} in SkTScopedComPtr() function
43 SkTScopedComPtr(SkTScopedComPtr&& that) : fPtr(that.release()) {} in SkTScopedComPtr() function
44 SkTScopedComPtr(const SkTScopedComPtr&) = delete;
46 ~SkTScopedComPtr() { this->reset();} in ~SkTScopedComPtr()
48 SkTScopedComPtr& operator=(SkTScopedComPtr&& that) {
52 SkTScopedComPtr& operator=(const SkTScopedComPtr&) = delete;
53 SkTScopedComPtr& operator=(std::nullptr_t) { this->reset(); return *this; }
[all …]
DSkDWriteFontFileStream.h40 SkTScopedComPtr<IDWriteFontFileStream> fFontFileStream;
/external/skia/src/ports/
DSkFontMgr_win_dw.cpp88 SkTScopedComPtr<SkDWriteFontFileStreamWrapper> stream; in CreateStreamFromKey()
121 SkTScopedComPtr<IDWriteFactory> fFactory;
122 SkTScopedComPtr<IDWriteFontFile> fCurrentFile;
123 SkTScopedComPtr<IDWriteFontFileLoader> fFontFileLoader;
220 SkTScopedComPtr<IDWriteFontFileLoader> fFontFileLoader;
252 SkTScopedComPtr<StreamFontFileEnumerator> enumerator; in CreateEnumeratorFromKey()
308 SkTScopedComPtr<IDWriteFactory> fFactory;
309 SkTScopedComPtr<IDWriteFactory2> fFactory2;
310 SkTScopedComPtr<IDWriteFontFallback> fFontFallback;
311 SkTScopedComPtr<IDWriteFontCollection> fFontCollection;
[all …]
DSkTypeface_win_dw.h70 SkTScopedComPtr<IDWriteFactory> fFactory;
71 SkTScopedComPtr<IDWriteFactory2> fFactory2;
72 SkTScopedComPtr<IDWriteFontCollectionLoader> fDWriteFontCollectionLoader;
73 SkTScopedComPtr<IDWriteFontFileLoader> fDWriteFontFileLoader;
74 SkTScopedComPtr<IDWriteFontFamily> fDWriteFontFamily;
75 SkTScopedComPtr<IDWriteFont> fDWriteFont;
76 SkTScopedComPtr<IDWriteFontFace> fDWriteFontFace;
77 SkTScopedComPtr<IDWriteFontFace1> fDWriteFontFace1;
78 SkTScopedComPtr<IDWriteFontFace2> fDWriteFontFace2;
DSkRemotableFontMgr_win_dw.cpp54 SkTScopedComPtr<IUnknown> fontFileLoaderId; in FindOrAdd()
93 SkTScopedComPtr<IDWriteFontFace> fontFace; in FontToIdentity()
103 SkTScopedComPtr<IDWriteFontFile> fontFile; in FontToIdentity()
106 SkTScopedComPtr<IDWriteFontFileLoader> fontFileLoader; in FontToIdentity()
124 SkTScopedComPtr<IDWriteFontFamily> fontFamily; in getIndex()
133 SkTScopedComPtr<IDWriteFont> font; in getIndex()
146 SkTScopedComPtr<IDWriteFontFamily> fontFamily; in matchIndexStyle()
152 SkTScopedComPtr<IDWriteFont> font; in matchIndexStyle()
246 SkTScopedComPtr<IDWriteFont> font; in DrawGlyphRun()
385 SkTScopedComPtr<IDWriteTextFormat> fallbackFormat; in matchNameStyleCharacter()
[all …]
DSkImageGeneratorWIC.cpp23 SkTScopedComPtr<IWICImagingFactory> imagingFactory; in NewFromEncodedWIC()
31 SkTScopedComPtr<IStream> iStream; in NewFromEncodedWIC()
40 SkTScopedComPtr<IWICBitmapDecoder> decoder; in NewFromEncodedWIC()
48 SkTScopedComPtr<IWICBitmapFrameDecode> imageFrame; in NewFromEncodedWIC()
55 SkTScopedComPtr<IWICBitmapSource> imageSource; in NewFromEncodedWIC()
146 SkTScopedComPtr<IWICFormatConverter> formatConverter; in onGetPixels()
164 SkTScopedComPtr<IWICBitmapSource> formatConverterSrc; in onGetPixels()
DSkTypeface_win_dw.cpp33 SkTScopedComPtr<IDWriteLocalizedStrings> familyNames; in onGetFamilyName()
42 SkTScopedComPtr<IDWriteLocalizedStrings> familyNames; in onGetFontDescriptor()
173 SkTScopedComPtr<IDWriteLocalizedStrings> fStrings;
180 SkTScopedComPtr<IDWriteLocalizedStrings> familyNames; in onCreateFamilyNameIterator()
230 SkTScopedComPtr<IDWriteFontFile> fontFile; in onOpenStream()
238 SkTScopedComPtr<IDWriteFontFileLoader> fontFileLoader; in onOpenStream()
241 SkTScopedComPtr<IDWriteFontFileStream> fontFileStream; in onOpenStream()
277 SkTScopedComPtr<IDWriteRenderingParams> defaultRenderingParams; in onFilterRec()
342 SkTScopedComPtr<IDWriteLocalizedStrings> familyNames; in onGetAdvancedMetrics()
DSkImageEncoder_WIC.cpp125 SkTScopedComPtr<IWICImagingFactory> piImagingFactory; in SkEncodeImageWithWIC()
136 SkTScopedComPtr<IStream> piStream; in SkEncodeImageWithWIC()
142 SkTScopedComPtr<IWICBitmapEncoder> piEncoder; in SkEncodeImageWithWIC()
152 SkTScopedComPtr<IWICBitmapFrameEncode> piBitmapFrameEncode; in SkEncodeImageWithWIC()
153 SkTScopedComPtr<IPropertyBag2> piPropertybag; in SkEncodeImageWithWIC()
DSkImageGeneratorWIC.h56 SkTScopedComPtr<IWICImagingFactory> fImagingFactory;
57 SkTScopedComPtr<IWICBitmapSource> fImageSource;
DSkScalerContext_win_dw.cpp460 SkTScopedComPtr<IDWriteGlyphRunAnalysis> glyphRunAnalysis; in getBoundingBox()
516 SkTScopedComPtr<IDWriteColorGlyphRunEnumerator> colorLayer; in isColorGlyph()
785 SkTScopedComPtr<IDWriteGlyphRunAnalysis> glyphRunAnalysis; in drawDWMask()
840 SkTScopedComPtr<IDWriteColorGlyphRunEnumerator> colorLayers; in generateColorGlyphImage()
881 SkTScopedComPtr<IDWriteGeometrySink> geometryToPath; in generateColorGlyphImage()
963 SkTScopedComPtr<IDWriteGeometrySink> geometryToPath; in generatePath()
/external/skia/src/xps/
DSkXPSDevice.cpp173 SkTScopedComPtr<IXpsOMThumbnailGenerator> thumbnailGenerator; in createXpsThumbnail()
181 SkTScopedComPtr<IOpcPartUri> partUri; in createXpsThumbnail()
214 SkTScopedComPtr<IOpcPartUri> partUri; in createXpsPage()
231 SkTScopedComPtr<IOpcPartUri> partUri; in initXpsDocumentWriter()
250 SkTScopedComPtr<IOpcPartUri> partUri; in initXpsDocumentWriter()
277 SkTScopedComPtr<IXpsOMCanvas> scaleCanvas; in endSheet()
280 SkTScopedComPtr<IXpsOMVisualCollection> scaleCanvasVisuals; in endSheet()
284 SkTScopedComPtr<IXpsOMMatrixTransform> geomToPhys; in endSheet()
300 SkTScopedComPtr<IXpsOMPage> page; in endSheet()
303 SkTScopedComPtr<IXpsOMVisualCollection> pageVisuals; in endSheet()
[all …]
DSkXPSDocument.h23 SkXPSDocument(SkWStream*, SkScalar dpi, SkTScopedComPtr<IXpsOMObjectFactory>);
33 SkTScopedComPtr<IXpsOMObjectFactory> fXpsFactory;
DSkXPSDevice.h125 SkTScopedComPtr<IXpsOMObjectFactory> fXpsFactory;
126 SkTScopedComPtr<IStream> fOutputStream;
127 SkTScopedComPtr<IXpsOMPackageWriter> fPackageWriter;
130 SkTScopedComPtr<IXpsOMCanvas> fCurrentXpsCanvas;
DSkXPSDocument.cpp18 SkTScopedComPtr<IXpsOMObjectFactory> xpsFactory) in SkXPSDocument()
61 SkTScopedComPtr<IXpsOMObjectFactory> factory(SkSafeRefComPtr(factoryPtr)); in MakeXPS()
/external/skia/gn/
Dutils.gni89 "$_src/utils/win/SkTScopedComPtr.h",
/external/skia/dm/
DDMSrcSink.cpp1412 static SkTScopedComPtr<IXpsOMObjectFactory> make_xps_factory() { in make_xps_factory()
1418 return SkTScopedComPtr<IXpsOMObjectFactory>(factory); in make_xps_factory()
1426 SkTScopedComPtr<IXpsOMObjectFactory> factory = make_xps_factory(); in draw()