Home
last modified time | relevance | path

Searched refs:fFactory (Results 1 – 25 of 29) sorted by relevance

12

/external/skqp/src/gpu/effects/
DGrSkSLFP.cpp181 const SkSL::Context& context = outer.fFactory->fCompiler.context(); in onSetData()
182 for (const auto& v : outer.fFactory->fInputVars) { in onSetData()
260 , fFactory(other.fFactory) in GrSkSLFP()
274 if (!fFactory) { in createFactory()
275 fFactory = fFactoryCache->get(fIndex); in createFactory()
276 if (!fFactory) { in createFactory()
277 fFactory = sk_sp<GrSkSLFPFactory>(new GrSkSLFPFactory(fName, fShaderCaps.get(), fSkSL)); in createFactory()
278 fFactoryCache->set(fIndex, fFactory); in createFactory()
289 const SkSL::Program* specialized = fFactory->getSpecialization(fKey, fInputs.get(), fInputSize); in onCreateGLSLInstance()
292 if (!fFactory->fCompiler.toPipelineStage(*specialized, &glsl, &formatArgs)) { in onCreateGLSLInstance()
[all …]
DGrSkSLFP.h102 mutable sk_sp<GrSkSLFPFactory> fFactory; variable
/external/skqp/src/ports/
DSkFontMgr_win_dw.cpp128 SkTScopedComPtr<IDWriteFactory> fFactory; member in StreamFontFileEnumerator
137 , fFactory(SkRefComPtr(factory)) in StreamFontFileEnumerator()
175 HR(fFactory->CreateCustomFontFileReference( in MoveNext()
272 : fFactory(SkRefComPtr(factory)) in SkFontMgr_DirectWrite()
277 if (!SUCCEEDED(fFactory->QueryInterface(&fFactory2))) { in SkFontMgr_DirectWrite()
316 SkTScopedComPtr<IDWriteFactory> fFactory; member in SkFontMgr_DirectWrite
465 face = DWriteFontTypeface::Create(fFactory.get(), fontFace, font, fontFamily); in makeTypefaceFromDWriteFont()
818 HRNM(fFactory->CreateTextFormat(dwFamilyName ? dwFamilyName : L"", in onMatchFamilyStyleCharacter()
829 HRNM(fFactory->CreateTextLayout(str, strLen, fallbackFormat.get(), in onMatchFamilyStyleCharacter()
855 : fFactory(factory), fUnregister(unregister) in SkAutoIDWriteUnregister()
[all …]
DSkTypeface_win_dw.h50 , fFactory(SkRefComPtr(factory)) in SkTypeface()
68 if (!SUCCEEDED(fFactory->QueryInterface(&fFactory2))) { in SkTypeface()
74 SkTScopedComPtr<IDWriteFactory> fFactory;
98 HRV(fFactory->UnregisterFontCollectionLoader(fDWriteFontCollectionLoader.get())); in weak_dispose()
101 HRV(fFactory->UnregisterFontFileLoader(fDWriteFontFileLoader.get())); in weak_dispose()
DSkScalerContext_win_dw.cpp480 HRM(this->getDWriteTypeface()->fFactory->CreateGlyphRunAnalysis(&run, in getBoundingBox()
952 HRNM(this->getDWriteTypeface()->fFactory->CreateGlyphRunAnalysis(&run, in drawDWMask()
/external/skia/src/ports/
DSkFontMgr_win_dw.cpp129 SkTScopedComPtr<IDWriteFactory> fFactory; member in StreamFontFileEnumerator
138 , fFactory(SkRefComPtr(factory)) in StreamFontFileEnumerator()
176 HR(fFactory->CreateCustomFontFileReference( in MoveNext()
275 : fFactory(SkRefComPtr(factory)) in SkFontMgr_DirectWrite()
314 SkTScopedComPtr<IDWriteFactory> fFactory; member in SkFontMgr_DirectWrite
473 face = DWriteFontTypeface::Make(fFactory.get(), fontFace, font, fontFamily, nullptr); in makeTypefaceFromDWriteFont()
804 HRNM(fFactory->CreateNumberSubstitution(DWRITE_NUMBER_SUBSTITUTION_METHOD_NONE, dwBcp47, in fallback()
846 HRNM(fFactory->CreateTextFormat(dwFamilyName ? dwFamilyName : L"", in layoutFallback()
859 HRNM(fFactory->CreateTextLayout(str, strLen, fallbackFormat.get(), in layoutFallback()
878 : fFactory(factory), fUnregister(unregister) in SkAutoIDWriteUnregister()
[all …]
DSkTypeface_win_dw.h46 : fFactory(SkRefComPtr(factory)) in Loaders()
56 SkTScopedComPtr<IDWriteFactory> fFactory; member
69 , fFactory(SkRefComPtr(factory)) in DWriteFontTypeface()
86 if (!SUCCEEDED(fFactory->QueryInterface(&fFactory2))) { in DWriteFontTypeface()
96 SkTScopedComPtr<IDWriteFactory> fFactory;
DSkTypeface_win_dw.cpp39 hr = fFactory->UnregisterFontCollectionLoader(fDWriteFontCollectionLoader.get()); in ~Loaders()
44 hr = fFactory->UnregisterFontFileLoader(fDWriteFontFileLoader.get()); in ~Loaders()
351 return DWriteFontTypeface::Make(fFactory.get(), in onMakeClone()
/external/skia/src/core/
DSkFlattenable.cpp57 SkFlattenable::Factory fFactory; member
87 gEntries[gCount].fFactory = factory; in Register()
99 return pair.first->fFactory; in NameToFactory()
107 if (entries[i].fFactory == fact) { in FactoryToName()
/external/skqp/src/core/
DSkFlattenable.cpp57 SkFlattenable::Factory fFactory; member
87 gEntries[gCount].fFactory = factory; in Register()
99 return pair.first->fFactory; in NameToFactory()
107 if (entries[i].fFactory == fact) { in FactoryToName()
/external/skia/src/gpu/
DGrProcessorSet.h172 XP(const GrXPFactory* factory) : fFactory(factory) {} in XP()
178 const GrXPFactory* fFactory; member
184 return fXP.fFactory; in xpFactory()
/external/skqp/src/gpu/
DGrProcessorSet.h176 XP(const GrXPFactory* factory) : fFactory(factory) {} in XP()
182 const GrXPFactory* fFactory; member
188 return fXP.fFactory; in xpFactory()
/external/skia/bench/
DColorFilterBench.cpp93 : fFactory(f) in ColorFilterBench()
111 fColorFilter = fFactory(); in onDelayedSetup()
123 const Factory fFactory; member in __anonb80003540111::ColorFilterBench
/external/skia/gm/
Dimage_pict.cpp225 FactoryFunc fFactory; member in ImageCacheratorGM
231 ImageCacheratorGM(const char suffix[], FactoryFunc factory) : fFactory(factory) { in ImageCacheratorGM()
253 auto gen = fFactory(dContext, fPicture); in makeCaches()
269 auto gen = fFactory(dContext, fPicture); in makeCaches()
/external/skqp/gm/
Dimage_pict.cpp219 std::unique_ptr<SkImageGenerator> (*fFactory)(GrContext*, sk_sp<SkPicture>); member in ImageCacheratorGM
227 : fFactory(factory) in ImageCacheratorGM()
249 auto gen = fFactory(ctx, fPicture); in makeCaches()
254 gen = fFactory(ctx, fPicture); in makeCaches()
/external/skia/modules/particles/include/
DSkReflected.h51 Factory fFactory; member
81 return type->fFactory(); in CreateInstance()
/external/skqp/src/utils/
DSkShadowUtils.cpp215 if (fEntries[i].fFactory.isCompatible(factory, translate)) { in find()
246 fEntries[i].fFactory = factory; in add()
255 FACTORY fFactory; member
312 : fViewMatrix(viewMatrix), fFactory(factory) {} in FindContext()
323 const FACTORY* fFactory; member
336 rec.find(*findContext->fFactory, *findContext->fViewMatrix, &findContext->fTranslate); in FindVisitor()
/external/skia/src/utils/
DSkShadowUtils.cpp249 if (fEntries[i].fFactory.isCompatible(factory, translate)) { in find()
280 fEntries[i].fFactory = factory; in add()
289 FACTORY fFactory; member
346 : fViewMatrix(viewMatrix), fFactory(factory) {} in FindContext()
357 const FACTORY* fFactory; member
370 rec.find(*findContext->fFactory, *findContext->fViewMatrix, &findContext->fTranslate); in FindVisitor()
/external/skia/tools/viewer/
DParticlesSlide.cpp119 if (t->fFactory && (t == baseType || t->isDerivedFrom(baseType)) && in visit()
121 e = t->fFactory(); in visit()
/external/skqp/dm/
DDMSrcSink.cpp90 GMSrc::GMSrc(skiagm::GMFactory factory) : fFactory(factory) {} in GMSrc()
93 std::unique_ptr<skiagm::GM> gm(fFactory(nullptr)); in draw()
99 std::unique_ptr<skiagm::GM> gm(fFactory(nullptr)); in size()
104 std::unique_ptr<skiagm::GM> gm(fFactory(nullptr)); in name()
109 std::unique_ptr<skiagm::GM> gm(fFactory(nullptr)); in modifyGrContextOptions()
1892 , fFactory(factory) {} in ViaTiles()
1899 fFactory.get())); in draw()
DDMSrcSink.h111 skiagm::GMFactory fFactory;
541 std::unique_ptr<SkBBHFactory> fFactory; variable
/external/skia/dm/
DDMSrcSink.cpp98 GMSrc::GMSrc(skiagm::GMFactory factory) : fFactory(factory) {} in GMSrc()
101 std::unique_ptr<skiagm::GM> gm(fFactory()); in draw()
125 std::unique_ptr<skiagm::GM> gm(fFactory()); in size()
130 std::unique_ptr<skiagm::GM> gm(fFactory()); in name()
135 std::unique_ptr<skiagm::GM> gm(fFactory()); in modifyGrContextOptions()
140 std::unique_ptr<skiagm::GM> gm(fFactory()); in getVerifiers()
/external/skia/tests/
DVkHardwareBufferTest.cpp77 EGLTestHelper(const GrContextOptions& options) : fFactory(options) {} in EGLTestHelper()
136 sk_gpu_test::GrContextFactory fFactory; member in EGLTestHelper
144 fGLESContextInfo = fFactory.getContextInfo(sk_gpu_test::GrContextFactory::kGLES_ContextType); in init()
/external/skqp/tests/
DVkHardwareBufferTest.cpp75 EGLTestHelper(const GrContextOptions& options) : fFactory(options) {} in EGLTestHelper()
134 sk_gpu_test::GrContextFactory fFactory; member in EGLTestHelper
142 fGLESContextInfo = fFactory.getContextInfo(sk_gpu_test::GrContextFactory::kGLES_ContextType); in init()
/external/skqp/tools/viewer/
DViewer.cpp526 const SlideFactory fFactory; in initSlides() member
578 addSlide(SkOSPath::Basename(file.c_str()), file, sinfo.fFactory); in initSlides()
631 addSlide(SkOSPath::Basename(flag.c_str()), flag, info.fFactory); in initSlides()
637 addSlide(name, SkOSPath::Join(flag.c_str(), name.c_str()), info.fFactory); in initSlides()

12