Home
last modified time | relevance | path

Searched full:context (Results 1 – 25 of 19202) sorted by relevance

12345678910>>...769

/external/XNNPACK/src/
Doperator-run.c25 const struct transpose_context* context, in xnn_compute_transposec_2d() argument
31 const size_t log2_element_size = context->log2_element_size; in xnn_compute_transposec_2d()
33 context->const_size_ukernel( in xnn_compute_transposec_2d()
34 … (const void*) ((uintptr_t) context->x + (i << log2_element_size) + j * context->input_stride[1]), in xnn_compute_transposec_2d()
35 (void*) ((uintptr_t) context->y + (j << log2_element_size) + i * context->output_stride[0]), in xnn_compute_transposec_2d()
36 context->input_stride[1], in xnn_compute_transposec_2d()
37 context->output_stride[0], in xnn_compute_transposec_2d()
43 const struct transpose_context* context, in xnn_compute_transposec_3d() argument
50 const size_t log2_element_size = context->log2_element_size; in xnn_compute_transposec_3d()
51 const size_t ld_input = context->input_stride[2]; in xnn_compute_transposec_3d()
[all …]
/external/angle/src/libGLESv2/
Dentry_points_gles_1_0_autogen.cpp15 #include "libANGLE/Context.h"
16 #include "libANGLE/Context.inl.h"
30 Context *context = GetValidGlobalContext(); in GL_AlphaFunc() local
31 EVENT(context, GLAlphaFunc, "context = %d, func = %s, ref = %f", CID(context), in GL_AlphaFunc()
34 if (context) in GL_AlphaFunc()
37 bool isCallValid = (context->skipValidation() || in GL_AlphaFunc()
38 ValidateAlphaFunc(context->getPrivateState(), in GL_AlphaFunc()
39 context->getMutableErrorSetForValidation(), in GL_AlphaFunc()
43 ContextPrivateAlphaFunc(context->getMutablePrivateState(), in GL_AlphaFunc()
44 context->getMutablePrivateStateCache(), funcPacked, ref); in GL_AlphaFunc()
[all …]
Dentry_points_gles_2_0_autogen.cpp15 #include "libANGLE/Context.h"
16 #include "libANGLE/Context.inl.h"
30 Context *context = GetValidGlobalContext(); in GL_ActiveTexture() local
31 EVENT(context, GLActiveTexture, "context = %d, texture = %s", CID(context), in GL_ActiveTexture()
34 if (context) in GL_ActiveTexture()
36 bool isCallValid = (context->skipValidation() || in GL_ActiveTexture()
37 ValidateActiveTexture(context->getPrivateState(), in GL_ActiveTexture()
38 context->getMutableErrorSetForValidation(), in GL_ActiveTexture()
42 ContextPrivateActiveTexture(context->getMutablePrivateState(), in GL_ActiveTexture()
43 context->getMutablePrivateStateCache(), texture); in GL_ActiveTexture()
[all …]
Dentry_points_gles_3_1_autogen.cpp15 #include "libANGLE/Context.h"
16 #include "libANGLE/Context.inl.h"
30 Context *context = GetValidGlobalContext(); in GL_ActiveShaderProgram() local
31 EVENT(context, GLActiveShaderProgram, "context = %d, pipeline = %u, program = %u", CID(context), in GL_ActiveShaderProgram()
34 if (context) in GL_ActiveShaderProgram()
38 SCOPED_SHARE_CONTEXT_LOCK(context); in GL_ActiveShaderProgram()
40 (context->skipValidation() || in GL_ActiveShaderProgram()
41 ValidateActiveShaderProgram(context, angle::EntryPoint::GLActiveShaderProgram, in GL_ActiveShaderProgram()
45 context->activeShaderProgram(pipelinePacked, programPacked); in GL_ActiveShaderProgram()
47 ANGLE_CAPTURE_GL(ActiveShaderProgram, isCallValid, context, pipelinePacked, programPacked); in GL_ActiveShaderProgram()
[all …]
Dentry_points_gles_ext_autogen.cpp15 #include "libANGLE/Context.h"
16 #include "libANGLE/Context.inl.h"
45 Context *context = GetValidGlobalContext(); in GL_BeginPerfMonitorAMD() local
46 EVENT(context, GLBeginPerfMonitorAMD, "context = %d, monitor = %u", CID(context), monitor); in GL_BeginPerfMonitorAMD()
48 if (context) in GL_BeginPerfMonitorAMD()
50 SCOPED_SHARE_CONTEXT_LOCK(context); in GL_BeginPerfMonitorAMD()
51 bool isCallValid = (context->skipValidation() || in GL_BeginPerfMonitorAMD()
53 context, angle::EntryPoint::GLBeginPerfMonitorAMD, monitor)); in GL_BeginPerfMonitorAMD()
56 context->beginPerfMonitor(monitor); in GL_BeginPerfMonitorAMD()
58 ANGLE_CAPTURE_GL(BeginPerfMonitorAMD, isCallValid, context, monitor); in GL_BeginPerfMonitorAMD()
[all …]
Dentry_points_gles_3_2_autogen.cpp15 #include "libANGLE/Context.h"
16 #include "libANGLE/Context.inl.h"
30 Context *context = GetValidGlobalContext(); in GL_BlendBarrier() local
31 EVENT(context, GLBlendBarrier, "context = %d", CID(context)); in GL_BlendBarrier()
33 if (context) in GL_BlendBarrier()
35 SCOPED_SHARE_CONTEXT_LOCK(context); in GL_BlendBarrier()
36 bool isCallValid = (context->skipValidation() || in GL_BlendBarrier()
37 ValidateBlendBarrier(context, angle::EntryPoint::GLBlendBarrier)); in GL_BlendBarrier()
40 context->blendBarrier(); in GL_BlendBarrier()
42 ANGLE_CAPTURE_GL(BlendBarrier, isCallValid, context); in GL_BlendBarrier()
[all …]
Dentry_points_gles_3_0_autogen.cpp15 #include "libANGLE/Context.h"
16 #include "libANGLE/Context.inl.h"
30 Context *context = GetValidGlobalContext(); in GL_BeginQuery() local
31 EVENT(context, GLBeginQuery, "context = %d, target = %s, id = %u", CID(context), in GL_BeginQuery()
34 if (context) in GL_BeginQuery()
38 SCOPED_SHARE_CONTEXT_LOCK(context); in GL_BeginQuery()
40 (context->skipValidation() || in GL_BeginQuery()
41 ValidateBeginQuery(context, angle::EntryPoint::GLBeginQuery, targetPacked, idPacked)); in GL_BeginQuery()
44 context->beginQuery(targetPacked, idPacked); in GL_BeginQuery()
46 ANGLE_CAPTURE_GL(BeginQuery, isCallValid, context, targetPacked, idPacked); in GL_BeginQuery()
[all …]
/external/angle/src/libANGLE/
DvalidationESEXT_autogen.h19 class Context; variable
24 bool ValidateBeginPerfMonitorAMD(const Context *context,
27 bool ValidateDeletePerfMonitorsAMD(const Context *context,
31 bool ValidateEndPerfMonitorAMD(const Context *context,
34 bool ValidateGenPerfMonitorsAMD(const Context *context,
38 bool ValidateGetPerfMonitorCounterDataAMD(const Context *context,
45 bool ValidateGetPerfMonitorCounterInfoAMD(const Context *context,
51 bool ValidateGetPerfMonitorCounterStringAMD(const Context *context,
58 bool ValidateGetPerfMonitorCountersAMD(const Context *context,
65 bool ValidateGetPerfMonitorGroupStringAMD(const Context *context,
[all …]
DvalidationES3_autogen.h19 class Context; variable
23 bool ValidateBeginQuery(const Context *context,
27 bool ValidateBeginTransformFeedback(const Context *context,
30 bool ValidateBindBufferBase(const Context *context,
35 bool ValidateBindBufferRange(const Context *context,
42 bool ValidateBindSampler(const Context *context,
46 bool ValidateBindTransformFeedback(const Context *context,
50 bool ValidateBindVertexArray(const Context *context,
53 bool ValidateBlitFramebuffer(const Context *context,
65 bool ValidateClearBufferfi(const Context *context,
[all …]
DvalidationES31_autogen.h19 class Context; variable
23 bool ValidateActiveShaderProgram(const Context *context,
27 bool ValidateBindImageTexture(const Context *context,
36 bool ValidateBindProgramPipeline(const Context *context,
39 bool ValidateBindVertexBuffer(const Context *context,
45 bool ValidateCreateShaderProgramv(const Context *context,
50 bool ValidateDeleteProgramPipelines(const Context *context,
54 bool ValidateDispatchCompute(const Context *context,
59 bool ValidateDispatchComputeIndirect(const Context *context,
62 bool ValidateDrawArraysIndirect(const Context *context,
[all …]
DvalidationES2_autogen.h19 class Context; variable
27 bool ValidateAttachShader(const Context *context,
31 bool ValidateBindAttribLocation(const Context *context,
36 bool ValidateBindBuffer(const Context *context,
40 bool ValidateBindFramebuffer(const Context *context,
44 bool ValidateBindRenderbuffer(const Context *context,
48 bool ValidateBindTexture(const Context *context,
80 bool ValidateBufferData(const Context *context,
86 bool ValidateBufferSubData(const Context *context,
92 bool ValidateCheckFramebufferStatus(const Context *context,
[all …]
DvalidationES.h15 #include "libANGLE/Context.h"
32 class Context; variable
40 context->getMutableErrorSetForValidation()->validationError(entryPoint, errorCode, message)
42 context->getMutableErrorSetForValidation()->validationErrorF(entryPoint, errorCode, __VA_ARGS__)
45 bool ValidTextureTarget(const Context *context, TextureType type);
46 bool ValidTexture2DTarget(const Context *context, TextureType type);
47 bool ValidTexture3DTarget(const Context *context, TextureType target);
48 bool ValidTextureExternalTarget(const Context *context, TextureType target);
49 bool ValidTextureExternalTarget(const Context *context, TextureTarget target);
50 bool ValidTexture2DDestinationTarget(const Context *context, TextureTarget target);
[all …]
DvalidationES2.h18 ANGLE_INLINE bool ValidateDrawArrays(const Context *context, in ValidateDrawArrays() argument
24 return ValidateDrawArraysCommon(context, entryPoint, mode, first, count, 1); in ValidateDrawArrays()
27 ANGLE_INLINE bool ValidateUniform1f(const Context *context, in ValidateUniform1f() argument
32 return ValidateUniform(context, entryPoint, GL_FLOAT, location, 1); in ValidateUniform1f()
35 ANGLE_INLINE bool ValidateUniform1fv(const Context *context, in ValidateUniform1fv() argument
41 return ValidateUniform(context, entryPoint, GL_FLOAT, location, count); in ValidateUniform1fv()
44 ANGLE_INLINE bool ValidateUniform1i(const Context *context, in ValidateUniform1i() argument
49 return ValidateUniform1iv(context, entryPoint, location, 1, &x); in ValidateUniform1i()
52 ANGLE_INLINE bool ValidateUniform2f(const Context *context, in ValidateUniform2f() argument
58 return ValidateUniform(context, entryPoint, GL_FLOAT_VEC2, location, 1); in ValidateUniform2f()
[all …]
DvalidationES31.h18 bool ValidateTexBufferBase(const Context *context,
23 bool ValidateTexBufferRangeBase(const Context *context,
32 bool ValidateFramebufferTextureCommon(const Context *context,
40 bool ValidateMultiDrawIndirectBase(const Context *context,
46 bool ValidateActiveShaderProgramBase(const Context *context,
50 bool ValidateBindProgramPipelineBase(const Context *context,
53 bool ValidateCreateShaderProgramvBase(const Context *context,
58 bool ValidateDeleteProgramPipelinesBase(const Context *context,
62 bool ValidateGenProgramPipelinesBase(const Context *context,
66 bool ValidateGetProgramPipelineInfoLogBase(const Context *context,
[all …]
/external/mesa3d/src/gallium/drivers/tegra/
Dtegra_context.c39 struct tegra_context *context = to_tegra_context(pcontext); in tegra_destroy() local
41 if (context->base.stream_uploader) in tegra_destroy()
42 u_upload_destroy(context->base.stream_uploader); in tegra_destroy()
44 context->gpu->destroy(context->gpu); in tegra_destroy()
45 free(context); in tegra_destroy()
64 struct tegra_context *context = to_tegra_context(pcontext); in tegra_draw_vbo() local
84 context->gpu->draw_vbo(context->gpu, pinfo, drawid_offset, pindirect, draws, num_draws); in tegra_draw_vbo()
93 struct tegra_context *context = to_tegra_context(pcontext); in tegra_render_condition() local
95 context->gpu->render_condition(context->gpu, query, condition, mode); in tegra_render_condition()
102 struct tegra_context *context = to_tegra_context(pcontext); in tegra_create_query() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DZ3Solver.cpp42 void Z3ErrorHandler(Z3_context Context, Z3_error_code Error) { in Z3ErrorHandler() argument
44 llvm::Twine(Z3_get_error_msg(Context, Error))); in Z3ErrorHandler()
47 /// Wrapper for Z3 context
50 Z3_context Context; member in __anon9badfbde0111::Z3Context
53 Context = Z3_mk_context_rc(Z3Config().Config); in Z3Context()
54 // The error function is set here because the context is the first object in Z3Context()
56 Z3_set_error_handler(Context, Z3ErrorHandler); in Z3Context()
60 Z3_del_context(Context); in ~Z3Context()
61 Context = nullptr; in ~Z3Context()
69 Z3Context &Context; member in __anon9badfbde0111::Z3Sort
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Support/
DZ3Solver.cpp45 void Z3ErrorHandler(Z3_context Context, Z3_error_code Error) { in Z3ErrorHandler() argument
47 llvm::Twine(Z3_get_error_msg(Context, Error))); in Z3ErrorHandler()
50 /// Wrapper for Z3 context
53 Z3_context Context; member in __anon02fc93e40111::Z3Context
56 Context = Z3_mk_context_rc(Z3Config().Config); in Z3Context()
57 // The error function is set here because the context is the first object in Z3Context()
59 Z3_set_error_handler(Context, Z3ErrorHandler); in Z3Context()
63 Z3_del_context(Context); in ~Z3Context()
64 Context = nullptr; in ~Z3Context()
72 Z3Context &Context; member in __anon02fc93e40111::Z3Sort
[all …]
/external/mesa3d/src/gallium/frontends/va/
Dpicture.c42 vlVaSetSurfaceContext(vlVaDriver *drv, vlVaSurface *surf, vlVaContext *context) in vlVaSetSurfaceContext() argument
44 if (surf->ctx == context) in vlVaSetSurfaceContext()
52 * decoder for postproc context and thus be able to wait on and destroy in vlVaSetSurfaceContext()
57 if (surf->fence && !context->decoder && in vlVaSetSurfaceContext()
58 context->templat.entrypoint == PIPE_VIDEO_ENTRYPOINT_PROCESSING && in vlVaSetSurfaceContext()
69 surf->ctx = context; in vlVaSetSurfaceContext()
74 vlVaSetBufferContext(vlVaDriver *drv, vlVaBuffer *buf, vlVaContext *context) in vlVaSetBufferContext() argument
76 if (buf->ctx == context) in vlVaSetBufferContext()
84 buf->ctx = context; in vlVaSetBufferContext()
92 vlVaContext *context; in vlVaBeginPicture() local
[all …]
/external/angle/src/libANGLE/renderer/d3d/
DTextureD3D.h39 void onDestroy(const gl::Context *context) override;
41 angle::Result getNativeTexture(const gl::Context *context, TextureStorage **outStorage);
49 angle::Result getImageAndSyncFromStorage(const gl::Context *context,
57 angle::Result setStorage(const gl::Context *context,
63 angle::Result setStorageMultisample(const gl::Context *context,
70 angle::Result setBuffer(const gl::Context *context, GLenum internalFormat) override;
72 angle::Result setStorageExternalMemory(const gl::Context *context,
85 virtual angle::Result getRenderTarget(const gl::Context *context,
98 angle::Result setImageExternal(const gl::Context *context,
102 angle::Result generateMipmap(const gl::Context *context) override;
[all …]
/external/angle/src/third_party/volk/
Dvolk.c49 static void volkGenLoadLoader(void* context, PFN_vkVoidFunction (*load)(void*, const char*));
50 static void volkGenLoadInstance(void* context, PFN_vkVoidFunction (*load)(void*, const char*));
51 static void volkGenLoadDevice(void* context, PFN_vkVoidFunction (*load)(void*, const char*));
52 static void volkGenLoadDeviceTable(struct VolkDeviceTable* table, void* context, PFN_vkVoidFunction…
54 static PFN_vkVoidFunction vkGetInstanceProcAddrStub(void* context, const char* name) in vkGetInstanceProcAddrStub() argument
56 return vkGetInstanceProcAddr((VkInstance)context, name); in vkGetInstanceProcAddrStub()
59 static PFN_vkVoidFunction vkGetDeviceProcAddrStub(void* context, const char* name) in vkGetDeviceProcAddrStub() argument
61 return vkGetDeviceProcAddr((VkDevice)context, name); in vkGetDeviceProcAddrStub()
64 static PFN_vkVoidFunction nullProcAddrStub(void* context, const char* name) in nullProcAddrStub() argument
66 (void)context; in nullProcAddrStub()
[all …]
/external/llvm/unittests/IR/
DTypeBuilderTest.cpp19 LLVMContext Context; in TEST() local
20 EXPECT_EQ(Type::getVoidTy(Context), (TypeBuilder<void, true>::get(Context))); in TEST()
21 EXPECT_EQ(Type::getVoidTy(Context), (TypeBuilder<void, false>::get(Context))); in TEST()
23 EXPECT_EQ(Type::getInt8PtrTy(Context), in TEST()
24 (TypeBuilder<void *, false>::get(Context))); in TEST()
25 EXPECT_EQ(Type::getInt8PtrTy(Context), in TEST()
26 (TypeBuilder<const void *, false>::get(Context))); in TEST()
27 EXPECT_EQ(Type::getInt8PtrTy(Context), in TEST()
28 (TypeBuilder<volatile void *, false>::get(Context))); in TEST()
29 EXPECT_EQ(Type::getInt8PtrTy(Context), in TEST()
[all …]
/external/OpenCL-CTS/test_conformance/basic/
Dprocs.h24 extern int test_hostptr(cl_device_id deviceID, cl_context context, cl_command_queue queue, int…
25 extern int test_fpmath(cl_device_id deviceID, cl_context context,
27 extern int test_intmath_int(cl_device_id deviceID, cl_context context, cl_command_queue queue,…
28 extern int test_intmath_int2(cl_device_id deviceID, cl_context context, cl_command_queue queue…
29 extern int test_intmath_int4(cl_device_id deviceID, cl_context context, cl_command_queue queue…
30 extern int test_intmath_long(cl_device_id deviceID, cl_context context, cl_command_queue queue…
31 extern int test_intmath_long2(cl_device_id deviceID, cl_context context, cl_command_queue queu…
32 extern int test_intmath_long4(cl_device_id deviceID, cl_context context, cl_command_queue queu…
33 extern int test_hiloeo(cl_device_id deviceID, cl_context context, cl_command_queue queue, int …
34 extern int test_if(cl_device_id deviceID, cl_context context, cl_command_queue queue, int nu…
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DTextureStorage11.h80 angle::Result getSRVLevels(const gl::Context *context,
85 angle::Result generateSwizzles(const gl::Context *context,
90 angle::Result updateSubresourceLevel(const gl::Context *context,
96 angle::Result copySubresourceLevel(const gl::Context *context,
109 bool isMultiplanar(const gl::Context *context) override;
111 angle::Result generateMipmap(const gl::Context *context,
114 angle::Result copyToStorage(const gl::Context *context, TextureStorage *destStorage) override;
115 angle::Result setData(const gl::Context *context,
124 virtual angle::Result getSRVForSampler(const gl::Context *context,
128 angle::Result getSRVForImage(const gl::Context *context,
[all …]
/external/sdv/vsomeip/third_party/boost/phoenix/include/boost/phoenix/operator/detail/cpp03/preprocessed/
Dmem_fun_ptr_eval_result_of_40.hpp16 template <typename Context, typename A0 , typename A1>
17 struct mem_fun_ptr_eval<Context, A0 , A1>
19 …ename evaluator::impl< A0 , Context , proto::empty_env >::result_type child0; typedef typename eva…
35 template <typename Context, typename A0 , typename A1 , typename A2>
36 struct mem_fun_ptr_eval<Context, A0 , A1 , A2>
38Context , proto::empty_env >::result_type child0; typedef typename evaluator::impl< A1 , Context ,…
54 template <typename Context, typename A0 , typename A1 , typename A2 , typename A3>
55 struct mem_fun_ptr_eval<Context, A0 , A1 , A2 , A3>
57Context , proto::empty_env >::result_type child0; typedef typename evaluator::impl< A1 , Context ,…
73 … template <typename Context, typename A0 , typename A1 , typename A2 , typename A3 , typename A4>
[all …]
/external/sdv/vsomeip/third_party/boost/proto/include/boost/proto/context/detail/preprocessed/
Ddefault_eval.hpp8 template<typename Expr, typename Context>
9 struct default_eval<Expr, Context, proto::tag::function, 3>
13 …name remove_reference< typename proto::result_of::child_c< Expr, 0>::type >::type , Context >::type
18 … , Context >::type , typename proto::result_of::eval< typename remove_reference< typename proto::r…
21 result_type operator ()(Expr &expr, Context &context) const in operator ()()
23 return this->invoke(expr, context, is_member_function_pointer<function_type>()); in operator ()()
26 result_type invoke(Expr &expr, Context &context, mpl::false_) const in invoke()
28 return proto::eval(proto::child_c< 0>( expr), context)( in invoke()
29 … proto::eval(proto::child_c< 1>( expr), context) , proto::eval(proto::child_c< 2>( expr), context) in invoke()
32 result_type invoke(Expr &expr, Context &context, mpl::true_) const in invoke()
[all …]

12345678910>>...769