Lines Matching defs:options
17 GrMockCaps(const GrContextOptions& contextOptions, const GrMockOptions& options)
18 : INHERITED(contextOptions), fOptions(options) {
19 fMipmapSupport = options.fMipmapSupport;
20 fDrawInstancedSupport = options.fDrawInstancedSupport;
21 fHalfFloatVertexAttributeSupport = options.fHalfFloatVertexAttributeSupport;
22 fMapBufferFlags = options.fMapBufferFlags;
24 fMaxTextureSize = options.fMaxTextureSize;
25 fMaxWindowRectangles = options.fMaxWindowRectangles;
26 fMaxRenderTargetSize = std::min(options.fMaxRenderTargetSize, fMaxTextureSize);
28 fMaxVertexAttributes = options.fMaxVertexAttributes;
32 fShaderCaps->fIntegerSupport = options.fIntegerSupport;
33 fShaderCaps->fFlatInterpolationSupport = options.fFlatInterpolationSupport;
34 fShaderCaps->fMaxFragmentSamplers = options.fMaxFragmentSamplers;
35 fShaderCaps->fShaderDerivativeSupport = options.fShaderDerivativeSupport;
36 fShaderCaps->fDualSourceBlendingSupport = options.fDualSourceBlendingSupport;
38 fShaderCaps->fMaxTessellationSegments = options.fMaxTessellationSegments;