Home
last modified time | relevance | path

Searched refs:fFactory (Results 1 – 25 of 30) 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/skia/src/gpu/effects/
DGrSkSLFP.cpp187 const SkSL::Context& context = outer.fFactory->fCompiler.context(); in onSetData()
188 for (const auto& v : outer.fFactory->fInputVars) { in onSetData()
282 , fFactory(other.fFactory) in GrSkSLFP()
297 if (!fFactory) { in createFactory()
298 fFactory = fFactoryCache->get(fIndex); in createFactory()
299 if (!fFactory) { in createFactory()
300 fFactory = sk_sp<GrSkSLFPFactory>(new GrSkSLFPFactory(fName, fShaderCaps.get(), fSkSL)); in createFactory()
301 fFactoryCache->set(fIndex, fFactory); in createFactory()
312 const SkSL::Program* specialized = fFactory->getSpecialization(fKey, fInputs.get(), fInputSize); in onCreateGLSLInstance()
315 if (!fFactory->fCompiler.toPipelineStage(*specialized, &glsl, &formatArgs)) { in onCreateGLSLInstance()
[all …]
DGrSkSLFP.h111 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()
/external/skia/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::Make(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;
101 HRV(fFactory->UnregisterFontCollectionLoader(fDWriteFontCollectionLoader.get())); in weak_dispose()
104 HRV(fFactory->UnregisterFontFileLoader(fDWriteFontFileLoader.get())); in weak_dispose()
/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/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/src/gpu/
DGrProcessorSet.h181 XP(const GrXPFactory* factory) : fFactory(factory) {} in XP()
187 const GrXPFactory* fFactory; member
193 return fXP.fFactory; in xpFactory()
/external/skia/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/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/src/utils/
DSkShadowUtils.cpp216 if (fEntries[i].fFactory.isCompatible(factory, translate)) { in find()
247 fEntries[i].fFactory = factory; in add()
256 FACTORY fFactory; member
313 : fViewMatrix(viewMatrix), fFactory(factory) {} in FindContext()
324 const FACTORY* fFactory; member
337 rec.find(*findContext->fFactory, *findContext->fViewMatrix, &findContext->fTranslate); in FindVisitor()
/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/modules/particles/include/
DSkReflected.h51 Factory fFactory; member
81 return type->fFactory(); in CreateInstance()
/external/skia/tools/viewer/
DParticlesSlide.cpp101 if (t->fFactory && (t == baseType || t->isDerivedFrom(baseType)) && in visit()
103 e = t->fFactory(); in visit()
DViewer.cpp547 const SlideFactory fFactory; in initSlides() member
599 addSlide(SkOSPath::Basename(file.c_str()), file, sinfo.fFactory); in initSlides()
661 addSlide(SkOSPath::Basename(flag.c_str()), flag, info.fFactory); in initSlides()
667 addSlide(name, SkOSPath::Join(flag.c_str(), name.c_str()), info.fFactory); in initSlides()
/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.cpp90 GMSrc::GMSrc(skiagm::GMFactory factory) : fFactory(factory) {} in GMSrc()
93 std::unique_ptr<skiagm::GM> gm(fFactory(nullptr)); in draw()
103 std::unique_ptr<skiagm::GM> gm(fFactory(nullptr)); in size()
108 std::unique_ptr<skiagm::GM> gm(fFactory(nullptr)); in name()
113 std::unique_ptr<skiagm::GM> gm(fFactory(nullptr)); in modifyGrContextOptions()
1824 , fFactory(factory) {} in ViaTiles()
1831 fFactory.get())); in draw()
DDMSrcSink.h111 skiagm::GMFactory fFactory;
527 std::unique_ptr<SkBBHFactory> fFactory; variable
/external/skia/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/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()

12