Lines Matching refs:GrContextFactory
21 GrContextFactory testFactory;
23 for (int i = 0; i < GrContextFactory::kContextTypeCnt; ++i) {
24 GrContextFactory::ContextType ctxType = static_cast<GrContextFactory::ContextType>(i);
26 GrContextFactory::ContextOverrides::kRequireNVPRSupport);
39 GrContextFactory testFactory;
40 for (int i = 0; i <= GrContextFactory::kLastContextType; ++i) {
41 GrContextFactory::ContextType ctxType = (GrContextFactory::ContextType)i;
43 testFactory.get(ctxType, GrContextFactory::ContextOverrides::kDisableNVPR);
56 GrContextFactory testFactory;
58 for (int i = 0; i < GrContextFactory::kContextTypeCnt; ++i) {
59 GrContextFactory::ContextType ctxType = static_cast<GrContextFactory::ContextType>(i);
61 testFactory.get(ctxType, GrContextFactory::ContextOverrides::kRequireSRGBSupport);
75 GrContextFactory testFactory;
76 for (int i = 0; i < GrContextFactory::kContextTypeCnt; ++i) {
77 GrContextFactory::ContextType ctxType = (GrContextFactory::ContextType) i;
100 GrContextFactory testFactory;
102 for (int i = 0; i < GrContextFactory::kContextTypeCnt; ++i) {
103 GrContextFactory::ContextType ctxType = static_cast<GrContextFactory::ContextType>(i);