Home
last modified time | relevance | path

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

12

/external/skia/src/utils/win/
DSkTScopedComPtr.h36 class SkTScopedComPtr {
41 constexpr SkTScopedComPtr() : fPtr(nullptr) {} in SkTScopedComPtr() function
42 constexpr SkTScopedComPtr(std::nullptr_t) : fPtr(nullptr) {} in SkTScopedComPtr() function
43 explicit SkTScopedComPtr(T *ptr) : fPtr(ptr) {} in SkTScopedComPtr() function
44 SkTScopedComPtr(SkTScopedComPtr&& that) : fPtr(that.release()) {} in SkTScopedComPtr() function
45 SkTScopedComPtr(const SkTScopedComPtr&) = delete;
47 ~SkTScopedComPtr() { this->reset();} in ~SkTScopedComPtr()
49 SkTScopedComPtr& operator=(SkTScopedComPtr&& that) {
53 SkTScopedComPtr& operator=(const SkTScopedComPtr&) = delete;
54 SkTScopedComPtr& operator=(std::nullptr_t) { this->reset(); return *this; }
[all …]
DSkDWriteFontFileStream.h48 SkTScopedComPtr<IDWriteFontFileStream> fFontFileStream;
/external/skqp/src/utils/win/
DSkTScopedComPtr.h36 class SkTScopedComPtr {
41 constexpr SkTScopedComPtr() : fPtr(nullptr) {} in SkTScopedComPtr() function
42 constexpr SkTScopedComPtr(std::nullptr_t) : fPtr(nullptr) {} in SkTScopedComPtr() function
43 explicit SkTScopedComPtr(T *ptr) : fPtr(ptr) {} in SkTScopedComPtr() function
44 SkTScopedComPtr(SkTScopedComPtr&& that) : fPtr(that.release()) {} in SkTScopedComPtr() function
45 SkTScopedComPtr(const SkTScopedComPtr&) = delete;
47 ~SkTScopedComPtr() { this->reset();} in ~SkTScopedComPtr()
49 SkTScopedComPtr& operator=(SkTScopedComPtr&& that) {
53 SkTScopedComPtr& operator=(const SkTScopedComPtr&) = delete;
54 SkTScopedComPtr& operator=(std::nullptr_t) { this->reset(); return *this; }
[all …]
DSkDWriteFontFileStream.h48 SkTScopedComPtr<IDWriteFontFileStream> fFontFileStream;
/external/skqp/src/ports/
DSkFontMgr_win_dw.cpp95 SkTScopedComPtr<SkDWriteFontFileStreamWrapper> stream; in CreateStreamFromKey()
128 SkTScopedComPtr<IDWriteFactory> fFactory;
129 SkTScopedComPtr<IDWriteFontFile> fCurrentFile;
130 SkTScopedComPtr<IDWriteFontFileLoader> fFontFileLoader;
227 SkTScopedComPtr<IDWriteFontFileLoader> fFontFileLoader;
259 SkTScopedComPtr<StreamFontFileEnumerator> enumerator; in CreateEnumeratorFromKey()
316 SkTScopedComPtr<IDWriteFactory> fFactory;
317 SkTScopedComPtr<IDWriteFactory2> fFactory2;
318 SkTScopedComPtr<IDWriteFontFallback> fFontFallback;
319 SkTScopedComPtr<IDWriteFontCollection> fFontCollection;
[all …]
DSkTypeface_win_dw.h74 SkTScopedComPtr<IDWriteFactory> fFactory;
75 SkTScopedComPtr<IDWriteFactory2> fFactory2;
76 SkTScopedComPtr<IDWriteFontCollectionLoader> fDWriteFontCollectionLoader;
77 SkTScopedComPtr<IDWriteFontFileLoader> fDWriteFontFileLoader;
78 SkTScopedComPtr<IDWriteFontFamily> fDWriteFontFamily;
79 SkTScopedComPtr<IDWriteFont> fDWriteFont;
80 SkTScopedComPtr<IDWriteFontFace> fDWriteFontFace;
81 SkTScopedComPtr<IDWriteFontFace1> fDWriteFontFace1;
82 SkTScopedComPtr<IDWriteFontFace2> fDWriteFontFace2;
83 SkTScopedComPtr<IDWriteFontFace4> fDWriteFontFace4;
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()
DSkRemotableFontMgr_win_dw.cpp56 SkTScopedComPtr<IUnknown> fontFileLoaderId; in FindOrAdd()
95 SkTScopedComPtr<IDWriteFontFace> fontFace; in FontToIdentity()
105 SkTScopedComPtr<IDWriteFontFile> fontFile; in FontToIdentity()
108 SkTScopedComPtr<IDWriteFontFileLoader> fontFileLoader; in FontToIdentity()
126 SkTScopedComPtr<IDWriteFontFamily> fontFamily; in getIndex()
135 SkTScopedComPtr<IDWriteFont> font; in getIndex()
148 SkTScopedComPtr<IDWriteFontFamily> fontFamily; in matchIndexStyle()
154 SkTScopedComPtr<IDWriteFont> font; in matchIndexStyle()
248 SkTScopedComPtr<IDWriteFont> font; in DrawGlyphRun()
387 SkTScopedComPtr<IDWriteTextFormat> fallbackFormat; in matchNameStyleCharacter()
[all …]
DSkTypeface_win_dw.cpp35 SkTScopedComPtr<IDWriteLocalizedStrings> familyNames; in onGetFamilyName()
44 SkTScopedComPtr<IDWriteLocalizedStrings> familyNames; in onGetFontDescriptor()
175 SkTScopedComPtr<IDWriteLocalizedStrings> fStrings;
182 SkTScopedComPtr<IDWriteLocalizedStrings> familyNames; in onCreateFamilyNameIterator()
195 SkTScopedComPtr<IDWriteFontFace5> fontFace5; in onGetVariationDesignPosition()
206 SkTScopedComPtr<IDWriteFontResource> fontResource; in onGetVariationDesignPosition()
243 SkTScopedComPtr<IDWriteFontFace5> fontFace5; in onGetVariationDesignParameters()
254 SkTScopedComPtr<IDWriteFontResource> fontResource; in onGetVariationDesignParameters()
333 SkTScopedComPtr<IDWriteFontFace5> fontFace5; in onMakeClone()
350 SkTScopedComPtr<IDWriteFontResource> fontResource; in onMakeClone()
[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.cpp460 SkTScopedComPtr<IDWriteGlyphRunAnalysis> glyphRunAnalysis; in getBoundingBox()
524 SkTScopedComPtr<IDWriteColorGlyphRunEnumerator> colorLayer; in isColorGlyph()
570 SkTScopedComPtr<IDWriteColorGlyphRunEnumerator> colorLayers; in generateColorMetrics()
581 SkTScopedComPtr<IDWriteGeometrySink> geometryToPath; in generateColorMetrics()
616 SkTScopedComPtr<IDWriteFontFace4> fontFace4;
933 SkTScopedComPtr<IDWriteGlyphRunAnalysis> glyphRunAnalysis; in drawDWMask()
988 SkTScopedComPtr<IDWriteColorGlyphRunEnumerator> colorLayers; in generateColorGlyphImage()
1031 SkTScopedComPtr<IDWriteGeometrySink> geometryToPath; in generateColorGlyphImage()
1165 SkTScopedComPtr<IDWriteGeometrySink> geometryToPath; in generatePath()
/external/skia/src/ports/
DSkFontMgr_win_dw.cpp95 SkTScopedComPtr<SkDWriteFontFileStreamWrapper> stream; in CreateStreamFromKey()
128 SkTScopedComPtr<IDWriteFactory> fFactory;
129 SkTScopedComPtr<IDWriteFontFile> fCurrentFile;
130 SkTScopedComPtr<IDWriteFontFileLoader> fFontFileLoader;
227 SkTScopedComPtr<IDWriteFontFileLoader> fFontFileLoader;
259 SkTScopedComPtr<StreamFontFileEnumerator> enumerator; in CreateEnumeratorFromKey()
316 SkTScopedComPtr<IDWriteFactory> fFactory;
317 SkTScopedComPtr<IDWriteFactory2> fFactory2;
318 SkTScopedComPtr<IDWriteFontFallback> fFontFallback;
319 SkTScopedComPtr<IDWriteFontCollection> fFontCollection;
[all …]
DSkTypeface_win_dw.h74 SkTScopedComPtr<IDWriteFactory> fFactory;
75 SkTScopedComPtr<IDWriteFactory2> fFactory2;
76 SkTScopedComPtr<IDWriteFontCollectionLoader> fDWriteFontCollectionLoader;
77 SkTScopedComPtr<IDWriteFontFileLoader> fDWriteFontFileLoader;
78 SkTScopedComPtr<IDWriteFontFamily> fDWriteFontFamily;
79 SkTScopedComPtr<IDWriteFont> fDWriteFont;
80 SkTScopedComPtr<IDWriteFontFace> fDWriteFontFace;
81 SkTScopedComPtr<IDWriteFontFace1> fDWriteFontFace1;
82 SkTScopedComPtr<IDWriteFontFace2> fDWriteFontFace2;
83 SkTScopedComPtr<IDWriteFontFace4> fDWriteFontFace4;
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()
DSkRemotableFontMgr_win_dw.cpp56 SkTScopedComPtr<IUnknown> fontFileLoaderId; in FindOrAdd()
95 SkTScopedComPtr<IDWriteFontFace> fontFace; in FontToIdentity()
105 SkTScopedComPtr<IDWriteFontFile> fontFile; in FontToIdentity()
108 SkTScopedComPtr<IDWriteFontFileLoader> fontFileLoader; in FontToIdentity()
126 SkTScopedComPtr<IDWriteFontFamily> fontFamily; in getIndex()
135 SkTScopedComPtr<IDWriteFont> font; in getIndex()
148 SkTScopedComPtr<IDWriteFontFamily> fontFamily; in matchIndexStyle()
154 SkTScopedComPtr<IDWriteFont> font; in matchIndexStyle()
248 SkTScopedComPtr<IDWriteFont> font; in DrawGlyphRun()
387 SkTScopedComPtr<IDWriteTextFormat> fallbackFormat; in matchNameStyleCharacter()
[all …]
DSkTypeface_win_dw.cpp35 SkTScopedComPtr<IDWriteLocalizedStrings> familyNames; in onGetFamilyName()
44 SkTScopedComPtr<IDWriteLocalizedStrings> familyNames; in onGetFontDescriptor()
175 SkTScopedComPtr<IDWriteLocalizedStrings> fStrings;
182 SkTScopedComPtr<IDWriteLocalizedStrings> familyNames; in onCreateFamilyNameIterator()
195 SkTScopedComPtr<IDWriteFontFace5> fontFace5; in onGetVariationDesignPosition()
206 SkTScopedComPtr<IDWriteFontResource> fontResource; in onGetVariationDesignPosition()
243 SkTScopedComPtr<IDWriteFontFace5> fontFace5; in onGetVariationDesignParameters()
254 SkTScopedComPtr<IDWriteFontResource> fontResource; in onGetVariationDesignParameters()
333 SkTScopedComPtr<IDWriteFontFace5> fontFace5; in onMakeClone()
350 SkTScopedComPtr<IDWriteFontResource> fontResource; in onMakeClone()
[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.cpp460 SkTScopedComPtr<IDWriteGlyphRunAnalysis> glyphRunAnalysis; in getBoundingBox()
524 SkTScopedComPtr<IDWriteColorGlyphRunEnumerator> colorLayer; in isColorGlyph()
570 SkTScopedComPtr<IDWriteColorGlyphRunEnumerator> colorLayers; in generateColorMetrics()
581 SkTScopedComPtr<IDWriteGeometrySink> geometryToPath; in generateColorMetrics()
616 SkTScopedComPtr<IDWriteFontFace4> fontFace4;
935 SkTScopedComPtr<IDWriteGlyphRunAnalysis> glyphRunAnalysis; in drawDWMask()
990 SkTScopedComPtr<IDWriteColorGlyphRunEnumerator> colorLayers; in generateColorGlyphImage()
1033 SkTScopedComPtr<IDWriteGeometrySink> geometryToPath; in generateColorGlyphImage()
1167 SkTScopedComPtr<IDWriteGeometrySink> geometryToPath; in generatePath()
/external/skqp/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.cpp22 SkTScopedComPtr<IXpsOMObjectFactory> fXpsFactory;
28 SkXPSDocument(SkWStream*, SkScalar dpi, SkTScopedComPtr<IXpsOMObjectFactory>);
39 SkTScopedComPtr<IXpsOMObjectFactory> xpsFactory) in SkXPSDocument()
82 SkTScopedComPtr<IXpsOMObjectFactory> factory(SkSafeRefComPtr(factoryPtr)); in MakeDocument()
DSkXPSDevice.h125 SkTScopedComPtr<IXpsOMObjectFactory> fXpsFactory;
126 SkTScopedComPtr<IStream> fOutputStream;
127 SkTScopedComPtr<IXpsOMPackageWriter> fPackageWriter;
130 SkTScopedComPtr<IXpsOMCanvas> fCurrentXpsCanvas;
/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.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.h121 SkTScopedComPtr<IXpsOMObjectFactory> fXpsFactory;
122 SkTScopedComPtr<IStream> fOutputStream;
123 SkTScopedComPtr<IXpsOMPackageWriter> fPackageWriter;
126 SkTScopedComPtr<IXpsOMCanvas> fCurrentXpsCanvas;
/external/skia/gn/
Dutils.gni93 "$_src/utils/win/SkTScopedComPtr.h",

12