/external/skia/tests/ |
H A D | TestTest.cpp | 31 DEF_GPUTEST_FOR_ALL_CONTEXTS(TestGpuAllContexts, reporter, ctxInfo) { 33 REPORTER_ASSERT(reporter, ctxInfo.grContext()); 40 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(TestGpuRenderingContexts, reporter, ctxInfo) { 42 REPORTER_ASSERT(reporter, ctxInfo.grContext()); 49 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TestGpuNullContext, reporter, ctxInfo) { 51 REPORTER_ASSERT(reporter, ctxInfo.grContext());
|
H A D | FloatingPointTextureTest.cpp | 78 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(FloatingPointTextureTest, reporter, ctxInfo) { 79 runFPTest<float>(reporter, ctxInfo.grContext(), FLT_MIN, FLT_MAX, FLT_EPSILON, 86 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(FloatingPointTextureTest_RG, reporter, ctxInfo) { 87 runFPTest<float>(reporter, ctxInfo.grContext(), FLT_MIN, FLT_MAX, FLT_EPSILON, 95 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(HalfFloatAlphaTextureTest, reporter, ctxInfo) { 96 runFPTest<SkHalf>(reporter, ctxInfo.grContext(), SK_HalfMin, SK_HalfMax, SK_HalfEpsilon, 103 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(HalfFloatRGBATextureTest, reporter, ctxInfo) { 104 runFPTest<SkHalf>(reporter, ctxInfo.grContext(), SK_HalfMin, SK_HalfMax, SK_HalfEpsilon,
|
H A D | TextBlobCacheTest.cpp | 150 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobCache, reporter, ctxInfo) { 151 text_blob_cache_inner(reporter, ctxInfo.grContext(), 1024, 256, 30, true, false); 154 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobStressCache, reporter, ctxInfo) { 155 text_blob_cache_inner(reporter, ctxInfo.grContext(), 256, 256, 10, true, true); 158 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobAbnormal, reporter, ctxInfo) { 159 text_blob_cache_inner(reporter, ctxInfo.grContext(), 256, 256, 10, false, false); 162 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobStressAbnormal, reporter, ctxInfo) { 163 text_blob_cache_inner(reporter, ctxInfo.grContext(), 256, 256, 10, false, true);
|
H A D | SurfaceTest.cpp | 90 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SurfaceEmpty_Gpu, reporter, ctxInfo) { 93 SkSurface::MakeRenderTarget(ctxInfo.grContext(), SkBudgeted::kNo, info)); 98 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(GrContext_colorTypeSupportedAsSurface, reporter, ctxInfo) { 104 bool can = ctxInfo.grContext()->colorTypeSupportedAsSurface(colorType); 105 auto surf = SkSurface::MakeRenderTarget(ctxInfo.grContext(), SkBudgeted::kYes, info, 1, 110 auto* gpu = ctxInfo.grContext()->contextPriv().getGpu(); 113 surf = SkSurface::MakeFromBackendTexture(ctxInfo.grContext(), backendTex, 119 surf = SkSurface::MakeFromBackendTextureAsRenderTarget(ctxInfo.grContext(), backendTex, 126 ctxInfo.grContext()->flush(); 133 can = ctxInfo [all...] |
H A D | TraceMemoryDumpTest.cpp | 75 DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(SkTraceMemoryDump_ownedGLBuffer, reporter, ctxInfo) { 76 GrContext* context = ctxInfo.grContext(); 85 DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(SkTraceMemoryDump_ownedGLTexture, reporter, ctxInfo) { 86 GrContext* context = ctxInfo.grContext(); 111 DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(SkTraceMemoryDump_unownedGLTexture, reporter, ctxInfo) { 112 GrContext* context = ctxInfo.grContext(); 136 DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(SkTraceMemoryDump_ownedGLRenderTarget, reporter, ctxInfo) { 137 GrContext* context = ctxInfo.grContext(); 158 DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(SkTraceMemoryDump_unownedGLRenderTarget, reporter, ctxInfo) { 159 GrContext* context = ctxInfo [all...] |
H A D | GLProgramsTest.cpp | 352 static int get_glprograms_max_stages(const sk_gpu_test::ContextInfo& ctxInfo) { argument 353 GrContext* context = ctxInfo.grContext(); 361 if (kARM_GrGLVendor != gpu->ctxInfo().vendor()) { 370 if (ctxInfo.type() == sk_gpu_test::GrContextFactory::kANGLE_D3D9_ES2_ContextType || 371 ctxInfo.type() == sk_gpu_test::GrContextFactory::kANGLE_D3D11_ES2_ContextType) { 378 static int get_glprograms_max_levels(const sk_gpu_test::ContextInfo& ctxInfo) { argument 386 if (ctxInfo.type() == sk_gpu_test::GrContextFactory::kANGLE_D3D9_ES2_ContextType || 387 ctxInfo.type() == sk_gpu_test::GrContextFactory::kANGLE_D3D11_ES2_ContextType) { 394 static void test_glprograms(skiatest::Reporter* reporter, const sk_gpu_test::ContextInfo& ctxInfo) { argument 395 int maxStages = get_glprograms_max_stages(ctxInfo); [all...] |
H A D | SpecialSurfaceTest.cpp | 82 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SpecialSurface_Gpu1, reporter, ctxInfo) { 84 if (!ctxInfo.grContext()->caps()->isConfigRenderable(config)) { 87 sk_sp<SkSpecialSurface> surf(SkSpecialSurface::MakeRenderTarget(ctxInfo.grContext(),
|
H A D | TransferPixelsTest.cpp | 177 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(TransferPixelsTest, reporter, ctxInfo) { 179 basic_transfer_test(reporter, ctxInfo.grContext(), GrColorType::kRGBA_8888, 181 basic_transfer_test(reporter, ctxInfo.grContext(), GrColorType::kRGBA_8888, 183 basic_transfer_test(reporter, ctxInfo.grContext(), GrColorType::kRGBA_8888, 185 basic_transfer_test(reporter, ctxInfo.grContext(), GrColorType::kRGBA_8888, 189 basic_transfer_test(reporter, ctxInfo.grContext(), GrColorType::kBGRA_8888, 191 basic_transfer_test(reporter, ctxInfo.grContext(), GrColorType::kBGRA_8888, 193 basic_transfer_test(reporter, ctxInfo.grContext(), GrColorType::kBGRA_8888, 195 basic_transfer_test(reporter, ctxInfo.grContext(), GrColorType::kBGRA_8888,
|
H A D | GrTextureMipMapInvalidationTest.cpp | 20 DEF_GPUTEST_FOR_NULLGL_CONTEXT(GrTextureMipMapInvalidationTest, reporter, ctxInfo) { 30 GrContext* context = ctxInfo.grContext();
|
H A D | RenderTargetContextTest.cpp | 39 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(RenderTargetContextTest, reporter, ctxInfo) { 40 GrContext* ctx = ctxInfo.grContext();
|
H A D | VkUploadPixelsTests.cpp | 140 DEF_GPUTEST_FOR_VULKAN_CONTEXT(VkUploadPixelsTests, reporter, ctxInfo) { 142 basic_texture_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, false); 143 basic_texture_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, true); 146 basic_texture_test(reporter, ctxInfo.grContext(), kBGRA_8888_GrPixelConfig, false); 147 basic_texture_test(reporter, ctxInfo.grContext(), kBGRA_8888_GrPixelConfig, true);
|
/external/skqp/tests/ |
H A D | TestTest.cpp | 31 DEF_GPUTEST_FOR_ALL_CONTEXTS(TestGpuAllContexts, reporter, ctxInfo) { 33 REPORTER_ASSERT(reporter, ctxInfo.grContext()); 40 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(TestGpuRenderingContexts, reporter, ctxInfo) { 42 REPORTER_ASSERT(reporter, ctxInfo.grContext()); 49 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TestGpuNullContext, reporter, ctxInfo) { 51 REPORTER_ASSERT(reporter, ctxInfo.grContext());
|
H A D | FloatingPointTextureTest.cpp | 80 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(FloatingPointTextureTest, reporter, ctxInfo) { 81 runFPTest<float>(reporter, ctxInfo.grContext(), FLT_MIN, FLT_MAX, FLT_EPSILON, 88 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(FloatingPointTextureTest_RG, reporter, ctxInfo) { 89 runFPTest<float>(reporter, ctxInfo.grContext(), FLT_MIN, FLT_MAX, FLT_EPSILON, 97 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(HalfFloatAlphaTextureTest, reporter, ctxInfo) { 98 runFPTest<SkHalf>(reporter, ctxInfo.grContext(), SK_HalfMin, SK_HalfMax, SK_HalfEpsilon, 105 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(HalfFloatRGBATextureTest, reporter, ctxInfo) { 106 runFPTest<SkHalf>(reporter, ctxInfo.grContext(), SK_HalfMin, SK_HalfMax, SK_HalfEpsilon,
|
H A D | TextBlobCacheTest.cpp | 150 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobCache, reporter, ctxInfo) { 151 text_blob_cache_inner(reporter, ctxInfo.grContext(), 1024, 256, 30, true, false); 154 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobStressCache, reporter, ctxInfo) { 155 text_blob_cache_inner(reporter, ctxInfo.grContext(), 256, 256, 10, true, true); 158 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobAbnormal, reporter, ctxInfo) { 159 text_blob_cache_inner(reporter, ctxInfo.grContext(), 256, 256, 10, false, false); 162 DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobStressAbnormal, reporter, ctxInfo) { 163 text_blob_cache_inner(reporter, ctxInfo.grContext(), 256, 256, 10, false, true);
|
H A D | GLProgramsTest.cpp | 351 static int get_glprograms_max_stages(const sk_gpu_test::ContextInfo& ctxInfo) { argument 352 GrContext* context = ctxInfo.grContext(); 360 if (kARM_GrGLVendor != gpu->ctxInfo().vendor()) { 369 if (ctxInfo.type() == sk_gpu_test::GrContextFactory::kANGLE_D3D9_ES2_ContextType || 370 ctxInfo.type() == sk_gpu_test::GrContextFactory::kANGLE_D3D11_ES2_ContextType) { 377 static int get_glprograms_max_levels(const sk_gpu_test::ContextInfo& ctxInfo) { argument 385 if (ctxInfo.type() == sk_gpu_test::GrContextFactory::kANGLE_D3D9_ES2_ContextType || 386 ctxInfo.type() == sk_gpu_test::GrContextFactory::kANGLE_D3D11_ES2_ContextType) { 393 static void test_glprograms(skiatest::Reporter* reporter, const sk_gpu_test::ContextInfo& ctxInfo) { argument 394 int maxStages = get_glprograms_max_stages(ctxInfo); [all...] |
H A D | TransferPixelsTest.cpp | 171 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(TransferPixelsTest, reporter, ctxInfo) { 173 basic_transfer_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, 175 basic_transfer_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, 177 basic_transfer_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, 179 basic_transfer_test(reporter, ctxInfo.grContext(), kRGBA_8888_GrPixelConfig, 183 basic_transfer_test(reporter, ctxInfo.grContext(), kBGRA_8888_GrPixelConfig, 185 basic_transfer_test(reporter, ctxInfo.grContext(), kBGRA_8888_GrPixelConfig, 187 basic_transfer_test(reporter, ctxInfo.grContext(), kBGRA_8888_GrPixelConfig, 189 basic_transfer_test(reporter, ctxInfo.grContext(), kBGRA_8888_GrPixelConfig,
|
H A D | ProxyTest.cpp | 108 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(DeferredProxyTest, reporter, ctxInfo) { 109 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); 110 GrResourceProvider* resourceProvider = ctxInfo.grContext()->contextPriv().resourceProvider(); 111 const GrCaps& caps = *ctxInfo.grContext()->caps(); 197 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(WrappedProxyTest, reporter, ctxInfo) { 198 GrProxyProvider* proxyProvider = ctxInfo.grContext()->contextPriv().proxyProvider(); 199 GrResourceProvider* resourceProvider = ctxInfo.grContext()->contextPriv().resourceProvider(); 200 const GrCaps& caps = *ctxInfo.grContext()->caps(); 220 if (renderable && kOpenGL_GrBackend == ctxInfo.backend()) { 273 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ZeroSizedProxyTest, reporter, ctxInfo) { [all...] |
H A D | GrTextureMipMapInvalidationTest.cpp | 20 DEF_GPUTEST_FOR_NULLGL_CONTEXT(GrTextureMipMapInvalidationTest, reporter, ctxInfo) { 30 GrContext* context = ctxInfo.grContext();
|
H A D | RenderTargetContextTest.cpp | 39 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(RenderTargetContextTest, reporter, ctxInfo) { 40 GrContext* ctx = ctxInfo.grContext();
|
/external/deqp/framework/opengl/ |
H A D | gluStateReset.hpp | 34 void resetState (const RenderContext& renderCtx, const ContextInfo& ctxInfo);
|
/external/skqp/src/gpu/gl/ |
H A D | GrGLCaps.cpp | 20 const GrGLContextInfo& ctxInfo, 22 fStandard = ctxInfo.standard(); 69 this->init(contextOptions, ctxInfo, glInterface); 73 const GrGLContextInfo& ctxInfo, 75 GrGLStandard standard = ctxInfo.standard(); 76 GrGLVersion version = ctxInfo.version(); 101 ctxInfo.hasExtension("GL_EXT_unpack_subimage"); 102 fUnpackFlipYSupport = ctxInfo.hasExtension("GL_CHROMIUM_flipy"); 104 ctxInfo.hasExtension("GL_NV_pack_subimage"); 106 ctxInfo 19 GrGLCaps(const GrContextOptions& contextOptions, const GrGLContextInfo& ctxInfo, const GrGLInterface* glInterface) argument 72 init(const GrContextOptions& contextOptions, const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) argument 657 is_float_fp32(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli, GrGLenum precision) argument 677 initGLSL(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) argument 835 hasPathRenderingSupport(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) argument 950 initFSAASupport(const GrContextOptions& contextOptions, const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) argument 1021 initBlendEqationSupport(const GrGLContextInfo& ctxInfo) argument 1052 initStencilSupport(const GrGLContextInfo& ctxInfo) argument 1276 initConfigTable(const GrContextOptions& contextOptions, const GrGLContextInfo& ctxInfo, const GrGLInterface* gli, GrShaderCaps* shaderCaps) argument [all...] |
/external/skia/src/gpu/gl/ |
H A D | GrGLCaps.cpp | 20 const GrGLContextInfo& ctxInfo, 22 fStandard = ctxInfo.standard(); 69 this->init(contextOptions, ctxInfo, glInterface); 73 const GrGLContextInfo& ctxInfo, 75 GrGLStandard standard = ctxInfo.standard(); 76 GrGLVersion version = ctxInfo.version(); 101 ctxInfo.hasExtension("GL_EXT_unpack_subimage"); 102 fUnpackFlipYSupport = ctxInfo.hasExtension("GL_CHROMIUM_flipy"); 104 ctxInfo.hasExtension("GL_NV_pack_subimage"); 106 ctxInfo 19 GrGLCaps(const GrContextOptions& contextOptions, const GrGLContextInfo& ctxInfo, const GrGLInterface* glInterface) argument 72 init(const GrContextOptions& contextOptions, const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) argument 668 is_float_fp32(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli, GrGLenum precision) argument 688 initGLSL(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) argument 815 hasPathRenderingSupport(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) argument 926 initFSAASupport(const GrContextOptions& contextOptions, const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) argument 997 initBlendEqationSupport(const GrGLContextInfo& ctxInfo) argument 1028 initStencilSupport(const GrGLContextInfo& ctxInfo) argument 1252 initConfigTable(const GrContextOptions& contextOptions, const GrGLContextInfo& ctxInfo, const GrGLInterface* gli, GrShaderCaps* shaderCaps) argument 2101 applyDriverCorrectnessWorkarounds(const GrGLContextInfo& ctxInfo, const GrContextOptions& contextOptions, GrShaderCaps* shaderCaps) argument [all...] |
/external/skia/dm/ |
H A D | DMGpuTestProcs.cpp | 63 ContextInfo ctxInfo = factory.getContextInfo( local 70 if (ctxInfo.grContext()) { 71 (*test)(reporter, ctxInfo); 72 ctxInfo.grContext()->flush(); 74 ctxInfo = factory.getContextInfo(contextType, 76 if (ctxInfo.grContext()) { 77 (*test)(reporter, ctxInfo); 78 ctxInfo.grContext()->flush();
|
/external/skqp/dm/ |
H A D | DMGpuTestProcs.cpp | 63 ContextInfo ctxInfo = factory.getContextInfo( local 70 if (ctxInfo.grContext()) { 71 (*test)(reporter, ctxInfo); 72 ctxInfo.grContext()->flush(); 74 ctxInfo = factory.getContextInfo(contextType, 76 if (ctxInfo.grContext()) { 77 (*test)(reporter, ctxInfo); 78 ctxInfo.grContext()->flush();
|
/external/deqp/modules/gles2/ |
H A D | tes2CapabilityTests.cpp | 105 ExtensionCase (tcu::TestContext& testCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, const char* extName); 114 ExtensionCase::ExtensionCase (tcu::TestContext& testCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, const char* extName) argument 116 , m_ctxInfo (ctxInfo) 142 const glu::ContextInfo& ctxInfo; member in struct:deqp::gles2::ExtensionTests::ExtGroup 146 , ctxInfo (parent->getContext().getContextInfo()) 154 group->addChild(new ExtensionCase(group->getTestContext(), ctxInfo, extName, "", extName));
|