/external/skia/tests/ |
D | GrCCPRTest.cpp | 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() [all …]
|
D | LazyProxyTest.cpp | 201 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());
|
D | StrokeIndirectTest.cpp | 20 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()
|
D | GrMipMappedTest.cpp | 417 GrMockOptions mockOptions; variable 418 mockOptions.fMipmapSupport = true; 421 sk_sp<GrDirectContext> dContext = GrDirectContext::MakeMock(&mockOptions, ctxOptions);
|
D | GrPorterDuffTest.cpp | 33 GrMockOptions mockOptions; variable 34 mockOptions.fDualSourceBlendingSupport = true; 35 sk_sp<GrDirectContext> context = GrDirectContext::MakeMock(&mockOptions, GrContextOptions());
|
/external/skqp/tests/ |
D | LazyProxyTest.cpp | 203 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());
|
D | GrCCPRTest.cpp | 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() [all …]
|
/external/skqp/src/gpu/ |
D | GrDirectContext.cpp | 132 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/ |
D | TessellateBench.cpp | 29 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/ |
D | GrMockGpu.cpp | 46 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/ |
D | GrMockGpu.cpp | 49 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/ |
D | GrDirectContext.cpp | 1048 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()
|