Lines Matching refs:mockOptions
142 GrMockOptions mockOptions; in run() local
143 mockOptions.fInstanceAttribSupport = true; in run()
144 mockOptions.fHalfFloatVertexAttributeSupport = true; in run()
145 mockOptions.fMapBufferFlags = GrCaps::kCanMap_MapFlag; in run()
146 mockOptions.fConfigOptions[kAlpha_half_GrPixelConfig].fRenderability = in run()
148 mockOptions.fConfigOptions[kAlpha_half_GrPixelConfig].fTexturable = true; in run()
149 mockOptions.fConfigOptions[kAlpha_8_GrPixelConfig].fRenderability = in run()
151 mockOptions.fConfigOptions[kAlpha_8_GrPixelConfig].fTexturable = true; in run()
152 mockOptions.fGeometryShaderSupport = true; in run()
153 mockOptions.fIntegerSupport = true; in run()
154 mockOptions.fFlatInterpolationSupport = true; in run()
160 this->customizeOptions(&mockOptions, &ctxOptions); in run()
162 sk_sp<GrContext> mockContext = GrContext::MakeMock(&mockOptions, ctxOptions); in run()
232 void customizeOptions(GrMockOptions* mockOptions, GrContextOptions*) override { in customizeOptions() argument
233 mockOptions->fFailTextureAllocations = true; in customizeOptions()