/external/skia/tests/ |
D | GrContextFactoryTest.cpp | 79 if (!info1.grContext()) { 84 info1.grContext()->ref(); 89 REPORTER_ASSERT(reporter, info2.grContext()); 92 REPORTER_ASSERT(reporter, info1.grContext() != info2.grContext()); 95 info1.grContext()->unref(); 105 if (!info1.grContext()) { 110 info1.grContext()->ref(); 114 ContextInfo info2 = testFactory.getSharedContextInfo(info1.grContext()); 115 REPORTER_ASSERT(reporter, !info2.grContext()); 116 info1.grContext()->unref(); [all …]
|
D | TransferPixelsTest.cpp | 159 basic_transfer_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 161 basic_transfer_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 163 basic_transfer_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 165 basic_transfer_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 169 basic_transfer_test(reporter, ctxInfo.grContext(), kBGRA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 171 basic_transfer_test(reporter, ctxInfo.grContext(), kBGRA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 173 basic_transfer_test(reporter, ctxInfo.grContext(), kBGRA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 175 basic_transfer_test(reporter, ctxInfo.grContext(), kBGRA_8888_GrPixelConfig, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | SurfaceSemaphoreTest.cpp | 67 GrContext* childCtx = childInfo.grContext(); in draw_child() 102 GrContext* mainCtx = mainInfo.grContext(); in surface_semaphore_test() 163 if (ctxInfo.grContext()) { in DEF_GPUTEST() 164 sk_gpu_test::ContextInfo child1 = factory->getSharedContextInfo(ctxInfo.grContext(), 0); in DEF_GPUTEST() 165 sk_gpu_test::ContextInfo child2 = factory->getSharedContextInfo(ctxInfo.grContext(), 1); in DEF_GPUTEST() 166 if (!child1.grContext() || !child2.grContext()) { in DEF_GPUTEST()
|
D | ProxyRefTest.cpp | 93 GrResourceProvider* provider = ctxInfo.grContext()->resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 98 sk_sp<GrTextureProxy> proxy((*make)(ctxInfo.grContext())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 115 sk_sp<GrTextureProxy> proxy((*make)(ctxInfo.grContext())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 132 sk_sp<GrTextureProxy> proxy((*make)(ctxInfo.grContext())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 149 sk_sp<GrTextureProxy> proxy((*make)(ctxInfo.grContext())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 169 sk_sp<GrTextureProxy> proxy((*make)(ctxInfo.grContext())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | TestTest.cpp | 34 REPORTER_ASSERT(reporter, ctxInfo.grContext()); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 43 REPORTER_ASSERT(reporter, ctxInfo.grContext()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 52 REPORTER_ASSERT(reporter, ctxInfo.grContext()); in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
|
D | FloatingPointTextureTest.cpp | 81 runFPTest<float>(reporter, ctxInfo.grContext(), FLT_MIN, FLT_MAX, FLT_EPSILON, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 89 runFPTest<float>(reporter, ctxInfo.grContext(), FLT_MIN, FLT_MAX, FLT_EPSILON, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 98 runFPTest<SkHalf>(reporter, ctxInfo.grContext(), SK_HalfMin, SK_HalfMax, SK_HalfEpsilon, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 106 runFPTest<SkHalf>(reporter, ctxInfo.grContext(), SK_HalfMin, SK_HalfMax, SK_HalfEpsilon, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | SurfaceTest.cpp | 88 SkSurface::MakeRenderTarget(ctxInfo.grContext(), SkBudgeted::kNo, info)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 130 auto surface(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, &requestInfo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 160 auto surface(surface_func(ctxInfo.grContext(), at, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 218 auto surface(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 258 auto surface(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 347 auto surface(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 369 auto surface(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 410 auto surface1(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 411 auto surface2(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 427 auto surface(surface_func(ctxInfo.grContext(), kPremul_SkAlphaType, nullptr)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
D | TextBlobCacheTest.cpp | 151 text_blob_cache_inner(reporter, ctxInfo.grContext(), 1024, 256, 30, true, false); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 155 text_blob_cache_inner(reporter, ctxInfo.grContext(), 256, 256, 10, true, true); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 159 text_blob_cache_inner(reporter, ctxInfo.grContext(), 256, 256, 10, false, false); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 163 text_blob_cache_inner(reporter, ctxInfo.grContext(), 256, 256, 10, false, true); in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
|
D | VkUploadPixelsTests.cpp | 144 basic_texture_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, false); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 145 basic_texture_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, true); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 148 basic_texture_test(reporter, ctxInfo.grContext(), kBGRA_8888_GrPixelConfig, false); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 149 basic_texture_test(reporter, ctxInfo.grContext(), kBGRA_8888_GrPixelConfig, true); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
|
D | GrDrawTargetTest.cpp | 17 SkString result = ctxInfo.grContext()->caps()->dump(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 19 SkString shaderResult = ctxInfo.grContext()->caps()->shaderCaps()->dump(); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
|
D | ImageNewShaderTest.cpp | 140 gpu_to_gpu(reporter, ctxInfo.grContext()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 143 gpu_to_raster(reporter, ctxInfo.grContext()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 146 raster_to_gpu(reporter, ctxInfo.grContext()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | VkClearTests.cpp | 202 basic_clear_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 203 basic_clear_test(reporter, ctxInfo.grContext(), kBGRA_8888_GrPixelConfig); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 204 sub_clear_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 205 sub_clear_test(reporter, ctxInfo.grContext(), kBGRA_8888_GrPixelConfig); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
|
D | ProxyTest.cpp | 114 GrResourceProvider* provider = ctxInfo.grContext()->resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 115 const GrCaps& caps = *ctxInfo.grContext()->caps(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 209 GrResourceProvider* provider = ctxInfo.grContext()->resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 210 const GrCaps& caps = *ctxInfo.grContext()->caps(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 282 GrResourceProvider* provider = ctxInfo.grContext()->resourceProvider(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | ImageTest.cpp | 188 test_encode(reporter, create_gpu_image(ctxInfo.grContext()).get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 389 sk_sp<SkImage> image(create_gpu_image(ctxInfo.grContext())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 424 GrContext* context = contextInfo.grContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 441 sk_sp<SkImage> otherContextImage = create_gpu_image(otherContextInfo.grContext()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 493 GrContext* context = contextInfo.grContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 521 auto context = contextInfo.grContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 633 image_test_read_pixels(reporter, create_gpu_image(ctxInfo.grContext()).get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 704 sk_sp<SkImage> image(create_gpu_image(ctxInfo.grContext())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 747 sk_sp<SkImage> image(create_gpu_image(ctxInfo.grContext())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 766 GrContext* ctx = ctxInfo.grContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() [all …]
|
D | GrSurfaceTest.cpp | 25 GrContext* context = ctxInfo.grContext(); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 76 GrContext* context = ctxInfo.grContext(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 156 GrContext* context = context_info.grContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 159 if (!context_info.grContext()->caps()->isConfigTexturable(desc.fConfig)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | VkWrapTests.cpp | 188 wrap_tex_test(reporter, ctxInfo.grContext()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 189 wrap_rt_test(reporter, ctxInfo.grContext()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 190 wrap_trt_test(reporter, ctxInfo.grContext()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
|
/external/pdfium/core/fxcodec/jbig2/ |
D | JBig2_GrrdProc.h | 19 JBig2ArithCtx* grContext); 22 JBig2ArithCtx* grContext); 25 JBig2ArithCtx* grContext); 28 JBig2ArithCtx* grContext); 31 JBig2ArithCtx* grContext);
|
D | JBig2_GrrdProc.cpp | 16 JBig2ArithCtx* grContext) { in decode() argument 24 return decode_Template0_opt(pArithDecoder, grContext); in decode() 26 return decode_Template0_unopt(pArithDecoder, grContext); in decode() 30 return decode_Template1_opt(pArithDecoder, grContext); in decode() 31 return decode_Template1_unopt(pArithDecoder, grContext); in decode() 36 JBig2ArithCtx* grContext) { in decode_Template0_unopt() argument 42 LTP = LTP ^ pArithDecoder->DECODE(&grContext[0x0010]); in decode_Template0_unopt() 72 int bVal = pArithDecoder->DECODE(&grContext[CONTEXT]); in decode_Template0_unopt() 127 bVal = pArithDecoder->DECODE(&grContext[CONTEXT]); in decode_Template0_unopt() 152 JBig2ArithCtx* grContext) { in decode_Template0_opt() argument [all …]
|
D | JBig2_SddProc.h | 25 std::vector<JBig2ArithCtx>* grContext); 29 std::vector<JBig2ArithCtx>* grContext,
|
D | JBig2_SymbolDict.h | 40 void SetGrContext(const std::vector<JBig2ArithCtx>& grContext) { in SetGrContext() argument 41 m_grContext = grContext; in SetGrContext()
|
D | JBig2_TrdProc.h | 44 JBig2ArithCtx* grContext); 47 JBig2ArithCtx* grContext,
|
/external/skia/samplecode/ |
D | SampleAnimatedText.cpp | 105 GrContext* grContext = canvas->getGrContext(); in onDrawContent() local 106 if (grContext) { in onDrawContent() 108 grContext->getFontAtlasImage_ForTesting(GrMaskFormat::kA8_GrMaskFormat); in onDrawContent()
|
/external/skia/tools/gpu/ |
D | GrContextFactory.h | 183 GrContext* grContext() const { return fGrContext; } in grContext() function 195 GrContext* grContext) in ContextInfo() argument 198 , fGrContext(grContext) { in ContextInfo()
|
/external/skia/src/views/ |
D | SkWindow.cpp | 327 GrContext* grContext) { in makeGpuBackedSurface() argument 343 GrPixelConfig config = grContext->caps()->srgbSupport() && in makeGpuBackedSurface() 361 grContext->caps()->srgbSupport() && info().colorSpace() in makeGpuBackedSurface() 363 return SkSurface::MakeFromBackendRenderTarget(grContext, backendRT, kBottomLeft_GrSurfaceOrigin, in makeGpuBackedSurface()
|
/external/skia/tools/fiddle/ |
D | fiddle_main.cpp | 148 auto grContext = create_grcontext(gGLDriverInfo); in main() local 149 if (!grContext) { in main() 152 auto surface = SkSurface::MakeRenderTarget(grContext.get(), SkBudgeted::kNo, info); in main()
|