Home
last modified time | relevance | path

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

12345678910>>...560

/external/angle/src/libANGLE/
DvalidationGL1_autogen.h19 class Context; variable
24 bool ValidateAccum(const Context *context, angle::EntryPoint entryPoint, GLenum op, GLfloat value);
25 bool ValidateBegin(const Context *context, angle::EntryPoint entryPoint, GLenum mode);
26 bool ValidateBitmap(const Context *context,
35 bool ValidateCallList(const Context *context, angle::EntryPoint entryPoint, GLuint list);
36 bool ValidateCallLists(const Context *context,
41 bool ValidateClearAccum(const Context *context,
47 bool ValidateClearDepth(const Context *context, angle::EntryPoint entryPoint, GLdouble depth);
48 bool ValidateClearIndex(const Context *context, angle::EntryPoint entryPoint, GLfloat c);
49 bool ValidateClipPlane(const Context *context,
[all …]
DvalidationGL4_autogen.h19 class Context; variable
24 bool ValidateBeginQueryIndexed(const Context *context,
29 bool ValidateDrawTransformFeedback(const Context *context,
33 bool ValidateDrawTransformFeedbackStream(const Context *context,
38 bool ValidateEndQueryIndexed(const Context *context,
42 bool ValidateGetActiveSubroutineName(const Context *context,
50 bool ValidateGetActiveSubroutineUniformName(const Context *context,
58 bool ValidateGetActiveSubroutineUniformiv(const Context *context,
65 bool ValidateGetProgramStageiv(const Context *context,
71 bool ValidateGetQueryIndexediv(const Context *context,
[all …]
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 …]
DvalidationGL4.cpp14 bool ValidateBeginQueryIndexed(const Context *context, in ValidateBeginQueryIndexed() argument
23 bool ValidateDrawTransformFeedback(const Context *context, in ValidateDrawTransformFeedback() argument
31 bool ValidateDrawTransformFeedbackStream(const Context *context, in ValidateDrawTransformFeedbackStream() argument
40 bool ValidateEndQueryIndexed(const Context *context, in ValidateEndQueryIndexed() argument
48 bool ValidateGetActiveSubroutineName(const Context *context, in ValidateGetActiveSubroutineName() argument
60 bool ValidateGetActiveSubroutineUniformName(const Context *context, in ValidateGetActiveSubroutineUniformName() argument
72 bool ValidateGetActiveSubroutineUniformiv(const Context *context, in ValidateGetActiveSubroutineUniformiv() argument
83 bool ValidateGetProgramStageiv(const Context *context, in ValidateGetProgramStageiv() argument
93 bool ValidateGetQueryIndexediv(const Context *context, in ValidateGetQueryIndexediv() argument
103 bool ValidateGetSubroutineIndex(const Context *context, in ValidateGetSubroutineIndex() argument
[all …]
DvalidationGL1.cpp14 bool ValidateAccum(const Context *, angle::EntryPoint entryPoint, GLenum op, GLfloat value) in ValidateAccum() argument
19 bool ValidateBegin(const Context *, angle::EntryPoint entryPoint, GLenum mode) in ValidateBegin() argument
24 bool ValidateBitmap(const Context *, in ValidateBitmap() argument
37 bool ValidateCallList(const Context *, angle::EntryPoint entryPoint, GLuint list) in ValidateCallList() argument
42 bool ValidateCallLists(const Context *, in ValidateCallLists() argument
51 bool ValidateClearAccum(const Context *, in ValidateClearAccum() argument
61 bool ValidateClearDepth(const Context *, angle::EntryPoint entryPoint, GLdouble depth) in ValidateClearDepth() argument
66 bool ValidateClearIndex(const Context *, angle::EntryPoint entryPoint, GLfloat c) in ValidateClearIndex() argument
71 bool ValidateClipPlane(const Context *, in ValidateClipPlane() argument
79 bool ValidateColor3b(const Context *, in ValidateColor3b() argument
[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_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 …]
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 …]
DContext_gl.cpp8 // Context_gl.cpp: Implements the GL specific parts of Context.
10 #include "Context.h"
16 void Context::compressedTexImage1D(GLenum target, in compressedTexImage1D()
27 void Context::compressedTexSubImage1D(GLenum target, in compressedTexSubImage1D()
38 void Context::loadTransposeMatrixd(const GLdouble *m) in loadTransposeMatrixd()
43 void Context::loadTransposeMatrixf(const GLfloat *m) in loadTransposeMatrixf()
48 void Context::multTransposeMatrixd(const GLdouble *m) in multTransposeMatrixd()
53 void Context::multTransposeMatrixf(const GLfloat *m) in multTransposeMatrixf()
58 void Context::multiTexCoord1d(GLenum target, GLdouble s) in multiTexCoord1d()
63 void Context::multiTexCoord1dv(GLenum target, const GLdouble *v) in multiTexCoord1dv()
[all …]
/external/angle/src/libGLESv2/
Dentry_points_gl_1_autogen.cpp14 #include "libANGLE/Context.h"
15 #include "libANGLE/Context.inl.h"
38 Context *context = GetValidGlobalContext(); in GL_Accum() local
39 EVENT(context, GLAccum, "context = %d, op = %s, value = %f", CID(context), in GL_Accum()
42 if (context) in GL_Accum()
44 SCOPED_SHARE_CONTEXT_LOCK(context); in GL_Accum()
46 (context->skipValidation() || in GL_Accum()
47 (ValidatePixelLocalStorageInactive(context->getPrivateState(), in GL_Accum()
48 context->getMutableErrorSetForValidation(), in GL_Accum()
50 ValidateAccum(context, angle::EntryPoint::GLAccum, op, value))); in GL_Accum()
[all …]
Dentry_points_gles_1_0_autogen.cpp15 #include "libANGLE/Context.h"
16 #include "libANGLE/Context.inl.h"
28 Context *context = GetValidGlobalContext(); in GL_AlphaFunc() local
29 EVENT(context, GLAlphaFunc, "context = %d, func = %s, ref = %f", CID(context), in GL_AlphaFunc()
32 if (context) in GL_AlphaFunc()
36 (context->skipValidation() || in GL_AlphaFunc()
37 (ValidatePixelLocalStorageInactive(context->getPrivateState(), in GL_AlphaFunc()
38 context->getMutableErrorSetForValidation(), in GL_AlphaFunc()
40 ValidateAlphaFunc(context->getPrivateState(), in GL_AlphaFunc()
41 context->getMutableErrorSetForValidation(), in GL_AlphaFunc()
[all …]
Dentry_points_gl_3_autogen.cpp14 #include "libANGLE/Context.h"
15 #include "libANGLE/Context.inl.h"
38 Context *context = GetValidGlobalContext(); in GL_BeginConditionalRender() local
39 EVENT(context, GLBeginConditionalRender, "context = %d, id = %u, mode = %s", CID(context), id, in GL_BeginConditionalRender()
42 if (context) in GL_BeginConditionalRender()
44 SCOPED_SHARE_CONTEXT_LOCK(context); in GL_BeginConditionalRender()
46 (context->skipValidation() || in GL_BeginConditionalRender()
47 (ValidatePixelLocalStorageInactive(context->getPrivateState(), in GL_BeginConditionalRender()
48 context->getMutableErrorSetForValidation(), in GL_BeginConditionalRender()
50 ValidateBeginConditionalRender(context, angle::EntryPoint::GLBeginConditionalRender, in GL_BeginConditionalRender()
[all …]
Dentry_points_gles_2_0_autogen.cpp15 #include "libANGLE/Context.h"
16 #include "libANGLE/Context.inl.h"
28 Context *context = GetValidGlobalContext(); in GL_ActiveTexture() local
29 EVENT(context, GLActiveTexture, "context = %d, texture = %s", CID(context), in GL_ActiveTexture()
32 if (context) in GL_ActiveTexture()
34 bool isCallValid = (context->skipValidation() || in GL_ActiveTexture()
35 ValidateActiveTexture(context->getPrivateState(), in GL_ActiveTexture()
36 context->getMutableErrorSetForValidation(), in GL_ActiveTexture()
40 ContextPrivateActiveTexture(context->getMutablePrivateState(), in GL_ActiveTexture()
41 context->getMutablePrivateStateCache(), texture); in GL_ActiveTexture()
[all …]
Dentry_points_gl_4_autogen.cpp14 #include "libANGLE/Context.h"
15 #include "libANGLE/Context.inl.h"
38 Context *context = GetValidGlobalContext(); in GL_BeginQueryIndexed() local
39 EVENT(context, GLBeginQueryIndexed, "context = %d, target = %s, index = %u, id = %u", in GL_BeginQueryIndexed()
40 CID(context), GLenumToString(BigGLEnum::QueryTarget, target), index, id); in GL_BeginQueryIndexed()
42 if (context) in GL_BeginQueryIndexed()
45 SCOPED_SHARE_CONTEXT_LOCK(context); in GL_BeginQueryIndexed()
47 (context->skipValidation() || in GL_BeginQueryIndexed()
48 (ValidatePixelLocalStorageInactive(context->getPrivateState(), in GL_BeginQueryIndexed()
49 context->getMutableErrorSetForValidation(), in GL_BeginQueryIndexed()
[all …]
Dentry_points_gles_ext_autogen.cpp15 #include "libANGLE/Context.h"
16 #include "libANGLE/Context.inl.h"
43 Context *context = GetValidGlobalContext(); in GL_BeginPerfMonitorAMD() local
44 EVENT(context, GLBeginPerfMonitorAMD, "context = %d, monitor = %u", CID(context), monitor); in GL_BeginPerfMonitorAMD()
46 if (context) in GL_BeginPerfMonitorAMD()
48 SCOPED_SHARE_CONTEXT_LOCK(context); in GL_BeginPerfMonitorAMD()
50 (context->skipValidation() || in GL_BeginPerfMonitorAMD()
51 (ValidatePixelLocalStorageInactive(context->getPrivateState(), in GL_BeginPerfMonitorAMD()
52 context->getMutableErrorSetForValidation(), in GL_BeginPerfMonitorAMD()
54 ValidateBeginPerfMonitorAMD(context, angle::EntryPoint::GLBeginPerfMonitorAMD, in GL_BeginPerfMonitorAMD()
[all …]
Dentry_points_gles_3_0_autogen.cpp15 #include "libANGLE/Context.h"
16 #include "libANGLE/Context.inl.h"
28 Context *context = GetValidGlobalContext(); in GL_BeginQuery() local
29 EVENT(context, GLBeginQuery, "context = %d, target = %s, id = %u", CID(context), in GL_BeginQuery()
32 if (context) in GL_BeginQuery()
36 SCOPED_SHARE_CONTEXT_LOCK(context); in GL_BeginQuery()
38 (context->skipValidation() || in GL_BeginQuery()
39 (ValidatePixelLocalStorageInactive(context->getPrivateState(), in GL_BeginQuery()
40 context->getMutableErrorSetForValidation(), in GL_BeginQuery()
42 ValidateBeginQuery(context, angle::EntryPoint::GLBeginQuery, targetPacked, in GL_BeginQuery()
[all …]
Dentry_points_gl_2_autogen.cpp14 #include "libANGLE/Context.h"
15 #include "libANGLE/Context.inl.h"
38 Context *context = GetValidGlobalContext(); in GL_GetVertexAttribdv() local
39 EVENT(context, GLGetVertexAttribdv, in GL_GetVertexAttribdv()
40 "context = %d, index = %u, pname = %s, params = 0x%016" PRIxPTR "", CID(context), index, in GL_GetVertexAttribdv()
43 if (context) in GL_GetVertexAttribdv()
45 SCOPED_SHARE_CONTEXT_LOCK(context); in GL_GetVertexAttribdv()
47 (context->skipValidation() || in GL_GetVertexAttribdv()
48 ValidateGetVertexAttribdv(context, angle::EntryPoint::GLGetVertexAttribdv, index, in GL_GetVertexAttribdv()
52 context->getVertexAttribdv(index, pname, params); in GL_GetVertexAttribdv()
[all …]
Dentry_points_gles_3_1_autogen.cpp15 #include "libANGLE/Context.h"
16 #include "libANGLE/Context.inl.h"
28 Context *context = GetValidGlobalContext(); in GL_ActiveShaderProgram() local
29 EVENT(context, GLActiveShaderProgram, "context = %d, pipeline = %u, program = %u", CID(context), in GL_ActiveShaderProgram()
32 if (context) in GL_ActiveShaderProgram()
36 SCOPED_SHARE_CONTEXT_LOCK(context); in GL_ActiveShaderProgram()
38 (context->skipValidation() || in GL_ActiveShaderProgram()
39 (ValidatePixelLocalStorageInactive(context->getPrivateState(), in GL_ActiveShaderProgram()
40 context->getMutableErrorSetForValidation(), in GL_ActiveShaderProgram()
42 ValidateActiveShaderProgram(context, angle::EntryPoint::GLActiveShaderProgram, in GL_ActiveShaderProgram()
[all …]
Dentry_points_gles_3_2_autogen.cpp15 #include "libANGLE/Context.h"
16 #include "libANGLE/Context.inl.h"
28 Context *context = GetValidGlobalContext(); in GL_BlendBarrier() local
29 EVENT(context, GLBlendBarrier, "context = %d", CID(context)); in GL_BlendBarrier()
31 if (context) in GL_BlendBarrier()
33 SCOPED_SHARE_CONTEXT_LOCK(context); in GL_BlendBarrier()
35 (context->skipValidation() || in GL_BlendBarrier()
36 (ValidatePixelLocalStorageInactive(context->getPrivateState(), in GL_BlendBarrier()
37 context->getMutableErrorSetForValidation(), in GL_BlendBarrier()
39 ValidateBlendBarrier(context, angle::EntryPoint::GLBlendBarrier))); in GL_BlendBarrier()
[all …]
/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/mesa3d/src/gallium/drivers/tegra/
Dtegra_context.c38 struct tegra_context *context = to_tegra_context(pcontext); in tegra_destroy() local
40 if (context->base.stream_uploader) in tegra_destroy()
41 u_upload_destroy(context->base.stream_uploader); in tegra_destroy()
43 context->gpu->destroy(context->gpu); in tegra_destroy()
44 free(context); in tegra_destroy()
51 struct tegra_context *context = to_tegra_context(pcontext); in tegra_draw_vbo() local
70 context->gpu->draw_vbo(context->gpu, pinfo); in tegra_draw_vbo()
79 struct tegra_context *context = to_tegra_context(pcontext); in tegra_render_condition() local
81 context->gpu->render_condition(context->gpu, query, condition, mode); in tegra_render_condition()
88 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 __anonfa99afad0111::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 __anonfa99afad0111::Z3Sort
[all …]
/external/angle/src/third_party/volk/
Dvolk.c30 static void volkGenLoadLoader(void* context, PFN_vkVoidFunction (*load)(void*, const char*));
31 static void volkGenLoadInstance(void* context, PFN_vkVoidFunction (*load)(void*, const char*));
32 static void volkGenLoadDevice(void* context, PFN_vkVoidFunction (*load)(void*, const char*));
33 static void volkGenLoadDeviceTable(struct VolkDeviceTable* table, void* context, PFN_vkVoidFunction…
35 static PFN_vkVoidFunction vkGetInstanceProcAddrStub(void* context, const char* name) in vkGetInstanceProcAddrStub() argument
37 return vkGetInstanceProcAddr((VkInstance)context, name); in vkGetInstanceProcAddrStub()
40 static PFN_vkVoidFunction vkGetDeviceProcAddrStub(void* context, const char* name) in vkGetDeviceProcAddrStub() argument
42 return vkGetDeviceProcAddr((VkDevice)context, name); in vkGetDeviceProcAddrStub()
134 static void volkGenLoadLoader(void* context, PFN_vkVoidFunction (*load)(void*, const char*)) in volkGenLoadLoader() argument
138 vkCreateInstance = (PFN_vkCreateInstance)load(context, "vkCreateInstance"); in volkGenLoadLoader()
[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 …]

12345678910>>...560