Home
last modified time | relevance | path

Searched refs:mockOptions (Results 1 – 8 of 8) sorted by relevance

/external/skqp/tests/
DGrCCPRTest.cpp119 GrMockOptions mockOptions; in run() local
120 mockOptions.fInstanceAttribSupport = true; in run()
121 mockOptions.fMapBufferFlags = GrCaps::kCanMap_MapFlag; in run()
122 mockOptions.fConfigOptions[kAlpha_half_GrPixelConfig].fRenderable[0] = true; in run()
123 mockOptions.fConfigOptions[kAlpha_half_GrPixelConfig].fTexturable = true; in run()
124 mockOptions.fGeometryShaderSupport = true; in run()
125 mockOptions.fIntegerSupport = true; in run()
126 mockOptions.fFlatInterpolationSupport = true; in run()
132 fMockContext = GrContext::MakeMock(&mockOptions, ctxOptions); in run()
DLazyProxyTest.cpp181 GrMockOptions mockOptions; variable
182 mockOptions.fConfigOptions[kAlpha_half_GrPixelConfig].fRenderable[0] = true;
183 mockOptions.fConfigOptions[kAlpha_half_GrPixelConfig].fTexturable = true;
184 sk_sp<GrContext> ctx = GrContext::MakeMock(&mockOptions, GrContextOptions());
206 GrMockOptions mockOptions; variable
207 sk_sp<GrContext> ctx = GrContext::MakeMock(&mockOptions, GrContextOptions());
298 GrMockOptions mockOptions; variable
299 sk_sp<GrContext> ctx = GrContext::MakeMock(&mockOptions, GrContextOptions());
/external/skia/tests/
DGrCCPRTest.cpp119 GrMockOptions mockOptions; in run() local
120 mockOptions.fInstanceAttribSupport = true; in run()
121 mockOptions.fMapBufferFlags = GrCaps::kCanMap_MapFlag; in run()
122 mockOptions.fConfigOptions[kAlpha_half_GrPixelConfig].fRenderability = in run()
124 mockOptions.fConfigOptions[kAlpha_half_GrPixelConfig].fTexturable = true; in run()
125 mockOptions.fGeometryShaderSupport = true; in run()
126 mockOptions.fIntegerSupport = true; in run()
127 mockOptions.fFlatInterpolationSupport = true; in run()
133 fMockContext = GrContext::MakeMock(&mockOptions, ctxOptions); in run()
DLazyProxyTest.cpp182 GrMockOptions mockOptions; variable
183 mockOptions.fConfigOptions[kAlpha_half_GrPixelConfig].fRenderability =
185 mockOptions.fConfigOptions[kAlpha_half_GrPixelConfig].fTexturable = true;
186 sk_sp<GrContext> ctx = GrContext::MakeMock(&mockOptions, GrContextOptions());
208 GrMockOptions mockOptions; variable
209 sk_sp<GrContext> ctx = GrContext::MakeMock(&mockOptions, GrContextOptions());
311 GrMockOptions mockOptions; variable
312 sk_sp<GrContext> ctx = GrContext::MakeMock(&mockOptions, GrContextOptions());
/external/skqp/src/gpu/mock/
DGrMockGpu.cpp32 sk_sp<GrGpu> GrMockGpu::Make(const GrMockOptions* mockOptions, in Make() argument
35 if (!mockOptions) { in Make()
36 mockOptions = &kDefaultOptions; in Make()
38 return sk_sp<GrGpu>(new GrMockGpu(context, *mockOptions, contextOptions)); in Make()
/external/skia/src/gpu/mock/
DGrMockGpu.cpp32 sk_sp<GrGpu> GrMockGpu::Make(const GrMockOptions* mockOptions, in Make() argument
35 if (!mockOptions) { in Make()
36 mockOptions = &kDefaultOptions; in Make()
38 return sk_sp<GrGpu>(new GrMockGpu(context, *mockOptions, contextOptions)); in Make()
/external/skqp/src/gpu/
DGrContext.cpp137 sk_sp<GrContext> GrContext::MakeMock(const GrMockOptions* mockOptions) { in MakeMock() argument
139 return MakeMock(mockOptions, defaultOptions); in MakeMock()
142 sk_sp<GrContext> GrContext::MakeMock(const GrMockOptions* mockOptions, in MakeMock() argument
146 context->fGpu = GrMockGpu::Make(mockOptions, options, context.get()); in MakeMock()
/external/skia/src/gpu/
DGrContext.cpp255 sk_sp<GrContext> GrContext::MakeMock(const GrMockOptions* mockOptions) { in MakeMock() argument
257 return MakeMock(mockOptions, defaultOptions); in MakeMock()
260 sk_sp<GrContext> GrContext::MakeMock(const GrMockOptions* mockOptions, in MakeMock() argument
264 context->fGpu = GrMockGpu::Make(mockOptions, options, context.get()); in MakeMock()