Lines Matching refs:mockOptions
112 GrMockOptions mockOptions; in run() local
113 mockOptions.fDrawInstancedSupport = true; in run()
114 mockOptions.fHalfFloatVertexAttributeSupport = true; in run()
115 mockOptions.fMapBufferFlags = GrCaps::kCanMap_MapFlag; in run()
116 mockOptions.fConfigOptions[(int)GrColorType::kAlpha_F16].fRenderability = in run()
118 mockOptions.fConfigOptions[(int)GrColorType::kAlpha_F16].fTexturable = true; in run()
119 mockOptions.fConfigOptions[(int)GrColorType::kAlpha_8].fRenderability = in run()
121 mockOptions.fConfigOptions[(int)GrColorType::kAlpha_8].fTexturable = true; in run()
122 mockOptions.fGeometryShaderSupport = true; in run()
123 mockOptions.fIntegerSupport = true; in run()
124 mockOptions.fFlatInterpolationSupport = true; in run()
130 this->customizeOptions(&mockOptions, &ctxOptions); in run()
132 sk_sp<GrDirectContext> mockContext = GrDirectContext::MakeMock(&mockOptions, ctxOptions); in run()
186 void customizeOptions(GrMockOptions* mockOptions, GrContextOptions*) override { in customizeOptions() argument
187 mockOptions->fFailTextureAllocations = true; in customizeOptions()