Home
last modified time | relevance | path

Searched refs:context1 (Results 1 – 22 of 22) sorted by relevance

/external/skia/tests/
DEGLImageTest.cpp64 sk_sp<GrDirectContext> context1 = GrDirectContext::MakeGL(sk_ref_sp(glCtx1->gl())); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
69 if (!context1) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
70 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
76 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
83 context1->flushAndSubmit(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
87 context1.get(), kSize, kSize, kRGBA_8888_SkColorType, GrMipmapped::kNo, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
92 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
104 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
112 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
136 context1->resetContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
[all …]
/external/skqp/tests/
DEGLImageTest.cpp67 sk_sp<GrContext> context1 = GrContext::MakeGL(sk_ref_sp(glCtx1->gl())); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
73 if (!context1) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
74 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, &backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
80 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, &backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
87 context1->flush(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
88 GrGpu* gpu1 = context1->contextPriv().getGpu(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
96 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, &backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
108 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, &backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
116 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, &backendTexture1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
140 context1->resetContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/fuzz/
Dtransformation_add_function_test.cpp642 const auto context1 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local
645 context1.get(), validator_options, kConsoleMessageConsumer)); in TEST()
648 MakeUnique<FactManager>(context1.get()), validator_options); in TEST()
654 add_dead_function.IsApplicable(context1.get(), transformation_context1)); in TEST()
655 ApplyAndCheckFreshIds(add_dead_function, context1.get(), in TEST()
658 context1.get(), validator_options, kConsoleMessageConsumer)); in TEST()
664 context1.get(), transformation_context1, 30, 0)); in TEST()
712 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST()
868 const auto context1 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local
871 context1.get(), validator_options, kConsoleMessageConsumer)); in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/fuzz/
Dtransformation_add_function_test.cpp642 const auto context1 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local
645 context1.get(), validator_options, kConsoleMessageConsumer)); in TEST()
648 MakeUnique<FactManager>(context1.get()), validator_options); in TEST()
654 add_dead_function.IsApplicable(context1.get(), transformation_context1)); in TEST()
655 ApplyAndCheckFreshIds(add_dead_function, context1.get(), in TEST()
658 context1.get(), validator_options, kConsoleMessageConsumer)); in TEST()
664 context1.get(), transformation_context1, 30, 0)); in TEST()
712 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST()
868 const auto context1 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local
871 context1.get(), validator_options, kConsoleMessageConsumer)); in TEST()
[all …]
/external/deqp-deps/SPIRV-Tools/test/fuzz/
Dtransformation_add_function_test.cpp642 const auto context1 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local
645 context1.get(), validator_options, kConsoleMessageConsumer)); in TEST()
648 MakeUnique<FactManager>(context1.get()), validator_options); in TEST()
654 add_dead_function.IsApplicable(context1.get(), transformation_context1)); in TEST()
655 ApplyAndCheckFreshIds(add_dead_function, context1.get(), in TEST()
658 context1.get(), validator_options, kConsoleMessageConsumer)); in TEST()
664 context1.get(), transformation_context1, 30, 0)); in TEST()
712 ASSERT_TRUE(IsEqual(env, added_as_dead_code, context1.get())); in TEST()
868 const auto context1 = BuildModule(env, consumer, shader, kFuzzAssembleOption); in TEST() local
871 context1.get(), validator_options, kConsoleMessageConsumer)); in TEST()
[all …]
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_driver_test.cc52 CUcontext context0, context1; in TEST() local
54 CHECK_CUDA(cuCtxCreate(&context1, 0, device)); in TEST()
55 GpuContext se_context1(context1, /*id=*/101); in TEST()
60 EXPECT_EQ(c, context1); in TEST()
69 EXPECT_EQ(c, context1); in TEST()
/external/llvm-project/lldb/test/API/python_api/function_symbol/
DTestDisasmAPI.py70 context1 = target.ResolveSymbolContextForAddress(
73 self.assertTrue(context1)
75 print("context1:", context1)
91 symbol = context1.GetSymbol()
/external/OpenCL-CTS/test_conformance/compiler/
Dtest_build_helpers.cpp332 cl_context context1; in test_get_program_info() local
372 context1 = (cl_context)0xbaadfeed; in test_get_program_info()
373 error = clGetProgramInfo( program, CL_PROGRAM_CONTEXT, sizeof( context1 ), &context1, NULL ); in test_get_program_info()
376 if( context1 != context ) in test_get_program_info()
378 …error( "ERROR: Invalid context returned for program! (Expected %p, got %p)\n", context, context1 ); in test_get_program_info()
/external/fonttools/Tests/voltLib/
Dparser_test.py626 context1 = lookup.context[0]
631 self.assertEqual(context1.ex_or_in, "IN_CONTEXT")
632 self.assertEqual(context1.left, [])
633 self.assertEqual(len(context1.right), 2)
634 self.assertEqual(len(context1.right[0]), 1)
635 self.assertEqual(len(context1.right[1]), 1)
636 self.assertEqual(context1.right[0][0].group, "Hebrew")
637 self.assertEqual(context1.right[1][0].glyph, "one.Hebr")
/external/llvm-project/lldb/test/API/python_api/target/
DTestTargetAPI.py458 context1 = target.ResolveSymbolContextForAddress(
463 self.assertTrue(context1 and context2)
464 self.trace("context1:", context1)
468 symbol1 = context1.GetSymbol()
/external/angle/src/tests/egl_tests/
DEGLMultiContextTest.cpp66 EGLContext context1 = window->createContext(EGL_NO_CONTEXT); in TEST_P() local
69 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, EGL_NO_SURFACE, EGL_NO_SURFACE, context1)); in TEST_P()
/external/tensorflow/tensorflow/python/compiler/xla/
Dxla_test.py124 context1 = self.create_test_xla_compile_context()
125 context1.Enter()
133 context1.Exit()
/external/igt-gpu-tools/tests/
Dperf.c2932 drm_intel_context *context0, *context1; in hsw_test_single_ctx_counters() local
2962 context1 = drm_intel_gem_context_create(bufmgr); in hsw_test_single_ctx_counters()
2963 igt_assert(context1); in hsw_test_single_ctx_counters()
3039 context1, in hsw_test_single_ctx_counters()
3044 context1, in hsw_test_single_ctx_counters()
3049 intel_batchbuffer_flush_with_context(batch, context1); in hsw_test_single_ctx_counters()
3119 drm_intel_gem_context_destroy(context1); in hsw_test_single_ctx_counters()
3182 drm_intel_context *context0, *context1; in gen8_test_single_ctx_render_target_writes_a_counter() local
3216 context1 = drm_intel_gem_context_create(bufmgr); in gen8_test_single_ctx_render_target_writes_a_counter()
3217 igt_assert(context1); in gen8_test_single_ctx_render_target_writes_a_counter()
[all …]
/external/llvm/unittests/IR/
DTypeBuilderTest.cpp194 LLVMContext context1; in TEST() local
195 EXPECT_EQ(&context1, in TEST()
196 &(TypeBuilder<types::i<1>, true>::get(context1))->getContext()); in TEST()
/external/grpc-grpc/test/cpp/interop/
Dinterop_client.cc878 ClientContext context1; in DoCacheableUnary() local
880 context1.set_cacheable(true); in DoCacheableUnary()
883 context1.AddMetadata("x-user-ip", "1.2.3.4"); in DoCacheableUnary()
885 serviceStub_.Get()->CacheableUnaryCall(&context1, request, &response1); in DoCacheableUnary()
886 if (!AssertStatusOk(s1, context1.debug_error_string())) { in DoCacheableUnary()
/external/google-breakpad/src/processor/
Dminidump_unittest.cc815 Context context1(dump, raw_context1); in TEST() local
816 Thread thread1(dump, 0x657c3f58, stack1, context1, in TEST()
819 dump.Add(&context1); in TEST()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DContextTest.java606 Context context1 = JavaParserFactory.getContext(blockStmt, typeSolver); in localVariableDeclarationInScope() local
607 assertEquals(1, context1.localVariablesExposedToChild(blockStmt.getStatement(1)).size()); in localVariableDeclarationInScope()
/external/angle/src/tests/gl_tests/
DTransformFeedbackTest.cpp2217 auto context1 = eglGetCurrentContext(); in TEST_P() local
2223 eglMakeCurrent(display, surface, surface, context1); in TEST_P()
2247 eglMakeCurrent(display, surface, surface, context1); in TEST_P()
DFramebufferTest.cpp3188 EGLContext context1 = eglGetCurrentContext(); in TEST_P() local
3190 EGLContext context2 = eglCreateContext(display, config, context1, contextAttributes); in TEST_P()
3229 eglMakeCurrent(display, surface, surface, context1); in TEST_P()
DWebGLCompatibilityTest.cpp2471 auto context1 = eglGetCurrentContext(); in TEST_P() local
2473 auto context2 = eglCreateContext(display, config, context1, contextAttributes); in TEST_P()
2510 eglMakeCurrent(display, surface, surface, context1); in TEST_P()
DStateChangeTest.cpp451 EGLContext context1 = window->getContext(); in TEST_P() local
499 eglMakeCurrent(display, surface, surface, context1); in TEST_P()
510 eglMakeCurrent(display, surface, surface, context1); in TEST_P()
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java4963 String context1[] = { in TestCharsetCallbacks() local
4976 for (int i = 0; i < context1.length; i++) { in TestCharsetCallbacks()
4980 …rResult.unmappableForLength(1), CharsetCallback.FROM_U_CALLBACK_ESCAPE, context1[i]); // This call… in TestCharsetCallbacks()