Home
last modified time | relevance | path

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

/external/skia/tests/
DGrCCPRTest.cpp112 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()
[all …]
DLazyProxyTest.cpp201 GrMockOptions mockOptions; variable
202 mockOptions.fConfigOptions[(int)GrColorType::kAlpha_F16].fRenderability =
204 mockOptions.fConfigOptions[(int)GrColorType::kAlpha_F16].fTexturable = true;
205 sk_sp<GrDirectContext> ctx = GrDirectContext::MakeMock(&mockOptions, GrContextOptions());
227 GrMockOptions mockOptions; variable
228 sk_sp<GrDirectContext> ctx = GrDirectContext::MakeMock(&mockOptions, GrContextOptions());
381 GrMockOptions mockOptions; variable
382 sk_sp<GrDirectContext> ctx = GrDirectContext::MakeMock(&mockOptions, GrContextOptions());
DStrokeIndirectTest.cpp20 GrMockOptions mockOptions; in make_mock_context() local
21 mockOptions.fDrawInstancedSupport = true; in make_mock_context()
22 mockOptions.fMaxTessellationSegments = 64; in make_mock_context()
23 mockOptions.fMapBufferFlags = GrCaps::kCanMap_MapFlag; in make_mock_context()
24 mockOptions.fConfigOptions[(int)GrColorType::kAlpha_8].fRenderability = in make_mock_context()
26 mockOptions.fConfigOptions[(int)GrColorType::kAlpha_8].fTexturable = true; in make_mock_context()
27 mockOptions.fIntegerSupport = true; in make_mock_context()
32 return GrDirectContext::MakeMock(&mockOptions, ctxOptions); in make_mock_context()
DGrMipMappedTest.cpp417 GrMockOptions mockOptions; variable
418 mockOptions.fMipmapSupport = true;
421 sk_sp<GrDirectContext> dContext = GrDirectContext::MakeMock(&mockOptions, ctxOptions);
DGrPorterDuffTest.cpp33 GrMockOptions mockOptions; variable
34 mockOptions.fDualSourceBlendingSupport = true;
35 sk_sp<GrDirectContext> context = GrDirectContext::MakeMock(&mockOptions, GrContextOptions());
/external/skqp/tests/
DGrCCPRTest.cpp142 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()
[all …]
DLazyProxyTest.cpp203 GrMockOptions mockOptions; variable
204 mockOptions.fConfigOptions[kAlpha_half_GrPixelConfig].fRenderability =
206 mockOptions.fConfigOptions[kAlpha_half_GrPixelConfig].fTexturable = true;
207 sk_sp<GrContext> ctx = GrContext::MakeMock(&mockOptions, GrContextOptions());
234 GrMockOptions mockOptions; variable
235 sk_sp<GrContext> ctx = GrContext::MakeMock(&mockOptions, GrContextOptions());
359 GrMockOptions mockOptions; variable
360 sk_sp<GrContext> ctx = GrContext::MakeMock(&mockOptions, GrContextOptions());
433 GrMockOptions mockOptions; variable
434 sk_sp<GrContext> ctx = GrContext::MakeMock(&mockOptions, GrContextOptions());
/external/skqp/src/gpu/
DGrDirectContext.cpp132 sk_sp<GrContext> GrContext::MakeMock(const GrMockOptions* mockOptions) { in MakeMock() argument
134 return MakeMock(mockOptions, defaultOptions); in MakeMock()
137 sk_sp<GrContext> GrContext::MakeMock(const GrMockOptions* mockOptions, in MakeMock() argument
141 context->fGpu = GrMockGpu::Make(mockOptions, options, context.get()); in MakeMock()
/external/skia/bench/
DTessellateBench.cpp29 GrMockOptions mockOptions; in make_mock_context() local
30 mockOptions.fDrawInstancedSupport = true; in make_mock_context()
31 mockOptions.fMaxTessellationSegments = 64; in make_mock_context()
32 mockOptions.fMapBufferFlags = GrCaps::kCanMap_MapFlag; in make_mock_context()
33 mockOptions.fConfigOptions[(int)GrColorType::kAlpha_8].fRenderability = in make_mock_context()
35 mockOptions.fConfigOptions[(int)GrColorType::kAlpha_8].fTexturable = true; in make_mock_context()
36 mockOptions.fIntegerSupport = true; in make_mock_context()
42 return GrDirectContext::MakeMock(&mockOptions, ctxOptions); in make_mock_context()
/external/skqp/src/gpu/mock/
DGrMockGpu.cpp46 sk_sp<GrGpu> GrMockGpu::Make(const GrMockOptions* mockOptions, in Make() argument
49 if (!mockOptions) { in Make()
50 mockOptions = &kDefaultOptions; in Make()
52 return sk_sp<GrGpu>(new GrMockGpu(context, *mockOptions, contextOptions)); in Make()
/external/skia/src/gpu/mock/
DGrMockGpu.cpp49 sk_sp<GrGpu> GrMockGpu::Make(const GrMockOptions* mockOptions, in Make() argument
52 if (!mockOptions) { in Make()
53 mockOptions = &kDefaultOptions; in Make()
55 return sk_sp<GrGpu>(new GrMockGpu(direct, *mockOptions, contextOptions)); in Make()
/external/skia/src/gpu/
DGrDirectContext.cpp1048 sk_sp<GrDirectContext> GrDirectContext::MakeMock(const GrMockOptions* mockOptions) { in MakeMock() argument
1050 return MakeMock(mockOptions, defaultOptions); in MakeMock()
1053 sk_sp<GrDirectContext> GrDirectContext::MakeMock(const GrMockOptions* mockOptions, in MakeMock() argument
1057 direct->fGpu = GrMockGpu::Make(mockOptions, options, direct.get()); in MakeMock()