/external/angle/src/libANGLE/ |
D | validationGL1_autogen.h | 19 class Context; variable 22 bool ValidateAccum(const Context *context, angle::EntryPoint entryPoint, GLenum op, GLfloat value); 23 bool ValidateBegin(const Context *context, angle::EntryPoint entryPoint, GLenum mode); 24 bool ValidateBitmap(const Context *context, 33 bool ValidateCallList(const Context *context, angle::EntryPoint entryPoint, GLuint list); 34 bool ValidateCallLists(const Context *context, 39 bool ValidateClearAccum(const Context *context, 45 bool ValidateClearDepth(const Context *context, angle::EntryPoint entryPoint, GLdouble depth); 46 bool ValidateClearIndex(const Context *context, angle::EntryPoint entryPoint, GLfloat c); 47 bool ValidateClipPlane(const Context *context, [all …]
|
D | validationESEXT_autogen.h | 19 class Context; variable 22 bool ValidateBeginPerfMonitorAMD(const Context *context, 25 bool ValidateDeletePerfMonitorsAMD(const Context *context, 29 bool ValidateEndPerfMonitorAMD(const Context *context, 32 bool ValidateGenPerfMonitorsAMD(const Context *context, 36 bool ValidateGetPerfMonitorCounterDataAMD(const Context *context, 43 bool ValidateGetPerfMonitorCounterInfoAMD(const Context *context, 49 bool ValidateGetPerfMonitorCounterStringAMD(const Context *context, 56 bool ValidateGetPerfMonitorCountersAMD(const Context *context, 63 bool ValidateGetPerfMonitorGroupStringAMD(const Context *context, [all …]
|
D | validationES2_autogen.h | 19 class Context; variable 21 bool ValidateActiveTexture(const Context *context, angle::EntryPoint entryPoint, GLenum texture); 22 bool ValidateAttachShader(const Context *context, 26 bool ValidateBindAttribLocation(const Context *context, 31 bool ValidateBindBuffer(const Context *context, 35 bool ValidateBindFramebuffer(const Context *context, 39 bool ValidateBindRenderbuffer(const Context *context, 43 bool ValidateBindTexture(const Context *context, 47 bool ValidateBlendColor(const Context *context, 53 bool ValidateBlendEquation(const Context *context, angle::EntryPoint entryPoint, GLenum mode); [all …]
|
D | validationGL45_autogen.h | 18 class Context; variable 20 bool ValidateBindTextureUnit(const Context *context, GLuint unit, TextureID texturePacked); 21 bool ValidateBlitNamedFramebuffer(const Context *context, 34 bool ValidateCheckNamedFramebufferStatus(const Context *context, 37 bool ValidateClearNamedBufferData(const Context *context, 43 bool ValidateClearNamedBufferSubData(const Context *context, 51 bool ValidateClearNamedFramebufferfi(const Context *context, 57 bool ValidateClearNamedFramebufferfv(const Context *context, 62 bool ValidateClearNamedFramebufferiv(const Context *context, 67 bool ValidateClearNamedFramebufferuiv(const Context *context, [all …]
|
D | validationGL4_autogen.h | 19 class Context; variable 22 bool ValidateBeginQueryIndexed(const Context *context, 27 bool ValidateDrawTransformFeedback(const Context *context, 31 bool ValidateDrawTransformFeedbackStream(const Context *context, 36 bool ValidateEndQueryIndexed(const Context *context, 40 bool ValidateGetActiveSubroutineName(const Context *context, 48 bool ValidateGetActiveSubroutineUniformName(const Context *context, 56 bool ValidateGetActiveSubroutineUniformiv(const Context *context, 63 bool ValidateGetProgramStageiv(const Context *context, 69 bool ValidateGetQueryIndexediv(const Context *context, [all …]
|
D | validationESEXT.cpp | 10 #include "libANGLE/Context.h" 26 bool ValidateGetImageFormatAndType(const Context *context, in ValidateGetImageFormatAndType() argument 32 GLenum implFormat = obj->getImplementationColorReadFormat(context); in ValidateGetImageFormatAndType() 35 context->validationError(entryPoint, GL_INVALID_ENUM, kInvalidFormat); in ValidateGetImageFormatAndType() 39 GLenum implType = obj->getImplementationColorReadType(context); in ValidateGetImageFormatAndType() 42 context->validationError(entryPoint, GL_INVALID_ENUM, kInvalidType); in ValidateGetImageFormatAndType() 72 bool IsValidMemoryObjectParamater(const Context *context, in IsValidMemoryObjectParamater() argument 82 if (!context->getExtensions().protectedTexturesEXT) in IsValidMemoryObjectParamater() 84 context->validationError(entryPoint, GL_INVALID_OPERATION, kExtensionNotEnabled); in IsValidMemoryObjectParamater() 94 bool ValidateObjectIdentifierAndName(const Context *context, in ValidateObjectIdentifierAndName() argument [all …]
|
D | validationES1_autogen.h | 19 class Context; variable 21 bool ValidateAlphaFunc(const Context *context, 25 bool ValidateAlphaFuncx(const Context *context, 29 bool ValidateClearColorx(const Context *context, 35 bool ValidateClearDepthx(const Context *context, angle::EntryPoint entryPoint, GLfixed depth); 36 bool ValidateClientActiveTexture(const Context *context, 39 bool ValidateClipPlanef(const Context *context, 43 bool ValidateClipPlanex(const Context *context, 47 bool ValidateColor4f(const Context *context, 53 bool ValidateColor4ub(const Context *context, [all …]
|
D | validationGL4.cpp | 14 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 …]
|
D | validationES1.cpp | 12 #include "libANGLE/Context.h" 19 #define ANGLE_VALIDATE_IS_GLES1(context, entryPoint) \ argument 22 if (context->getClientType() != EGL_OPENGL_API && context->getClientMajorVersion() > 1) \ 24 context->validationError(entryPoint, GL_INVALID_OPERATION, kGLES1Only); \ 33 bool ValidateAlphaFuncCommon(const Context *context, in ValidateAlphaFuncCommon() argument 49 context->validationError(entryPoint, GL_INVALID_ENUM, kEnumNotSupported); in ValidateAlphaFuncCommon() 54 bool ValidateClientStateCommon(const Context *context, in ValidateClientStateCommon() argument 58 ANGLE_VALIDATE_IS_GLES1(context, entryPoint); in ValidateClientStateCommon() 67 if (!context->getExtensions().pointSizeArrayOES) in ValidateClientStateCommon() 69 context->validationError(entryPoint, GL_INVALID_ENUM, in ValidateClientStateCommon() [all …]
|
D | validationES3_autogen.h | 19 class Context; variable 21 bool ValidateBeginQuery(const Context *context, 25 bool ValidateBeginTransformFeedback(const Context *context, 28 bool ValidateBindBufferBase(const Context *context, 33 bool ValidateBindBufferRange(const Context *context, 40 bool ValidateBindSampler(const Context *context, 44 bool ValidateBindTransformFeedback(const Context *context, 48 bool ValidateBindVertexArray(const Context *context, 51 bool ValidateBlitFramebuffer(const Context *context, 63 bool ValidateClearBufferfi(const Context *context, [all …]
|
D | validationES31.cpp | 11 #include "libANGLE/Context.h" 68 bool ValidateProgramResourceProperty(const Context *context, in ValidateProgramResourceProperty() argument 72 ASSERT(context); in ValidateProgramResourceProperty() 107 return context->getExtensions().geometryShaderAny() || in ValidateProgramResourceProperty() 108 context->getClientVersion() >= ES_3_2; in ValidateProgramResourceProperty() 113 return context->getExtensions().tessellationShaderEXT || in ValidateProgramResourceProperty() 114 context->getClientVersion() >= ES_3_2; in ValidateProgramResourceProperty() 117 return context->getExtensions().blendFuncExtendedEXT; in ValidateProgramResourceProperty() 321 bool ValidateProgramUniformBase(const Context *context, in ValidateProgramUniformBase() argument 329 Program *programObject = GetValidProgram(context, entryPoint, program); in ValidateProgramUniformBase() [all …]
|
D | validationES.h | 15 #include "libANGLE/Context.h" 32 class Context; variable 40 bool ValidTextureTarget(const Context *context, TextureType type); 41 bool ValidTexture2DTarget(const Context *context, TextureType type); 42 bool ValidTexture3DTarget(const Context *context, TextureType target); 43 bool ValidTextureExternalTarget(const Context *context, TextureType target); 44 bool ValidTextureExternalTarget(const Context *context, TextureTarget target); 45 bool ValidTexture2DDestinationTarget(const Context *context, TextureTarget target); 46 bool ValidTexture3DDestinationTarget(const Context *context, TextureTarget target); 47 bool ValidTexLevelDestinationTarget(const Context *context, TextureType type); [all …]
|
D | validationGL3_autogen.h | 19 class Context; variable 22 bool ValidateBeginConditionalRender(const Context *context, 26 bool ValidateBindFragDataLocation(const Context *context, 31 bool ValidateClampColor(const Context *context, 35 bool ValidateEndConditionalRender(const Context *context, angle::EntryPoint entryPoint); 36 bool ValidateFramebufferTexture1D(const Context *context, 43 bool ValidateFramebufferTexture3D(const Context *context, 51 bool ValidateVertexAttribI1i(const Context *context, 55 bool ValidateVertexAttribI1iv(const Context *context, 59 bool ValidateVertexAttribI1ui(const Context *context, [all …]
|
/external/angle/src/libGL/ |
D | entry_points_gl_1_autogen.cpp | 13 #include "libANGLE/Context.h" 14 #include "libANGLE/Context.inl.h" 35 Context *context = GetValidGlobalContext(); in GL_Accum() local 36 EVENT(context, GLAccum, "context = %d, op = %s, value = %f", CID(context), in GL_Accum() 39 if (context) in GL_Accum() 41 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_Accum() 42 bool isCallValid = (context->skipValidation() || in GL_Accum() 43 ValidateAccum(context, angle::EntryPoint::GLAccum, op, value)); in GL_Accum() 46 context->accum(op, value); in GL_Accum() 48 ANGLE_CAPTURE(Accum, isCallValid, context, op, value); in GL_Accum() [all …]
|
D | entry_points_gl_2_autogen.cpp | 13 #include "libANGLE/Context.h" 14 #include "libANGLE/Context.inl.h" 35 Context *context = GetValidGlobalContext(); in GL_AttachShader() local 36 EVENT(context, GLAttachShader, "context = %d, program = %u, shader = %u", CID(context), program, in GL_AttachShader() 39 if (context) in GL_AttachShader() 43 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_AttachShader() 44 bool isCallValid = (context->skipValidation() || in GL_AttachShader() 45 ValidateAttachShader(context, angle::EntryPoint::GLAttachShader, in GL_AttachShader() 49 context->attachShader(programPacked, shaderPacked); in GL_AttachShader() 51 ANGLE_CAPTURE(AttachShader, isCallValid, context, programPacked, shaderPacked); in GL_AttachShader() [all …]
|
D | entry_points_gl_3_autogen.cpp | 13 #include "libANGLE/Context.h" 14 #include "libANGLE/Context.inl.h" 35 Context *context = GetValidGlobalContext(); in GL_BeginConditionalRender() local 36 EVENT(context, GLBeginConditionalRender, "context = %d, id = %u, mode = %s", CID(context), id, in GL_BeginConditionalRender() 39 if (context) in GL_BeginConditionalRender() 41 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BeginConditionalRender() 42 bool isCallValid = (context->skipValidation() || in GL_BeginConditionalRender() 44 context, angle::EntryPoint::GLBeginConditionalRender, id, mode)); in GL_BeginConditionalRender() 47 context->beginConditionalRender(id, mode); in GL_BeginConditionalRender() 49 ANGLE_CAPTURE(BeginConditionalRender, isCallValid, context, id, mode); in GL_BeginConditionalRender() [all …]
|
D | entry_points_gl_4_autogen.cpp | 13 #include "libANGLE/Context.h" 14 #include "libANGLE/Context.inl.h" 35 Context *context = GetValidGlobalContext(); in GL_BeginQueryIndexed() local 36 EVENT(context, GLBeginQueryIndexed, "context = %d, target = %s, index = %u, id = %u", in GL_BeginQueryIndexed() 37 CID(context), GLenumToString(GLenumGroup::QueryTarget, target), index, id); in GL_BeginQueryIndexed() 39 if (context) in GL_BeginQueryIndexed() 42 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BeginQueryIndexed() 44 (context->skipValidation() || in GL_BeginQueryIndexed() 45 ValidateBeginQueryIndexed(context, angle::EntryPoint::GLBeginQueryIndexed, target, in GL_BeginQueryIndexed() 49 context->beginQueryIndexed(target, index, idPacked); in GL_BeginQueryIndexed() [all …]
|
/external/angle/src/libGLESv2/ |
D | entry_points_gles_2_0_autogen.cpp | 14 #include "libANGLE/Context.h" 15 #include "libANGLE/Context.inl.h" 27 Context *context = GetValidGlobalContext(); in GL_ActiveTexture() local 28 EVENT(context, GLActiveTexture, "context = %d, texture = %s", CID(context), in GL_ActiveTexture() 31 if (context) in GL_ActiveTexture() 33 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_ActiveTexture() 35 (context->skipValidation() || in GL_ActiveTexture() 36 ValidateActiveTexture(context, angle::EntryPoint::GLActiveTexture, texture)); in GL_ActiveTexture() 39 context->activeTexture(texture); in GL_ActiveTexture() 41 ANGLE_CAPTURE(ActiveTexture, isCallValid, context, texture); in GL_ActiveTexture() [all …]
|
D | entry_points_gles_1_0_autogen.cpp | 14 #include "libANGLE/Context.h" 15 #include "libANGLE/Context.inl.h" 27 Context *context = GetValidGlobalContext(); in GL_AlphaFunc() local 28 EVENT(context, GLAlphaFunc, "context = %d, func = %s, ref = %f", CID(context), in GL_AlphaFunc() 31 if (context) in GL_AlphaFunc() 34 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_AlphaFunc() 36 (context->skipValidation() || in GL_AlphaFunc() 37 ValidateAlphaFunc(context, angle::EntryPoint::GLAlphaFunc, funcPacked, ref)); in GL_AlphaFunc() 40 context->alphaFunc(funcPacked, ref); in GL_AlphaFunc() 42 ANGLE_CAPTURE(AlphaFunc, isCallValid, context, funcPacked, ref); in GL_AlphaFunc() [all …]
|
D | entry_points_gles_3_0_autogen.cpp | 14 #include "libANGLE/Context.h" 15 #include "libANGLE/Context.inl.h" 27 Context *context = GetValidGlobalContext(); in GL_BeginQuery() local 28 EVENT(context, GLBeginQuery, "context = %d, target = %s, id = %u", CID(context), in GL_BeginQuery() 31 if (context) in GL_BeginQuery() 35 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BeginQuery() 37 (context->skipValidation() || in GL_BeginQuery() 38 ValidateBeginQuery(context, angle::EntryPoint::GLBeginQuery, targetPacked, idPacked)); in GL_BeginQuery() 41 context->beginQuery(targetPacked, idPacked); in GL_BeginQuery() 43 ANGLE_CAPTURE(BeginQuery, isCallValid, context, targetPacked, idPacked); in GL_BeginQuery() [all …]
|
D | entry_points_gles_ext_autogen.cpp | 14 #include "libANGLE/Context.h" 15 #include "libANGLE/Context.inl.h" 42 Context *context = GetValidGlobalContext(); in GL_BeginPerfMonitorAMD() local 43 EVENT(context, GLBeginPerfMonitorAMD, "context = %d, monitor = %u", CID(context), monitor); in GL_BeginPerfMonitorAMD() 45 if (context) in GL_BeginPerfMonitorAMD() 47 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BeginPerfMonitorAMD() 48 bool isCallValid = (context->skipValidation() || in GL_BeginPerfMonitorAMD() 50 context, angle::EntryPoint::GLBeginPerfMonitorAMD, monitor)); in GL_BeginPerfMonitorAMD() 53 context->beginPerfMonitor(monitor); in GL_BeginPerfMonitorAMD() 55 ANGLE_CAPTURE(BeginPerfMonitorAMD, isCallValid, context, monitor); in GL_BeginPerfMonitorAMD() [all …]
|
D | entry_points_gles_3_1_autogen.cpp | 14 #include "libANGLE/Context.h" 15 #include "libANGLE/Context.inl.h" 27 Context *context = GetValidGlobalContext(); in GL_ActiveShaderProgram() local 28 EVENT(context, GLActiveShaderProgram, "context = %d, pipeline = %u, program = %u", CID(context), in GL_ActiveShaderProgram() 31 if (context) in GL_ActiveShaderProgram() 35 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_ActiveShaderProgram() 37 (context->skipValidation() || in GL_ActiveShaderProgram() 38 ValidateActiveShaderProgram(context, angle::EntryPoint::GLActiveShaderProgram, in GL_ActiveShaderProgram() 42 context->activeShaderProgram(pipelinePacked, programPacked); in GL_ActiveShaderProgram() 44 ANGLE_CAPTURE(ActiveShaderProgram, isCallValid, context, pipelinePacked, programPacked); in GL_ActiveShaderProgram() [all …]
|
D | entry_points_gles_3_2_autogen.cpp | 14 #include "libANGLE/Context.h" 15 #include "libANGLE/Context.inl.h" 27 Context *context = GetValidGlobalContext(); in GL_BlendBarrier() local 28 EVENT(context, GLBlendBarrier, "context = %d", CID(context)); in GL_BlendBarrier() 30 if (context) in GL_BlendBarrier() 32 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_BlendBarrier() 33 bool isCallValid = (context->skipValidation() || in GL_BlendBarrier() 34 ValidateBlendBarrier(context, angle::EntryPoint::GLBlendBarrier)); in GL_BlendBarrier() 37 context->blendBarrier(); in GL_BlendBarrier() 39 ANGLE_CAPTURE(BlendBarrier, isCallValid, context); in GL_BlendBarrier() [all …]
|
/external/XNNPACK/src/ |
D | operator-run.c | 25 const struct gemm_context context[restrict XNN_MIN_ELEMENTS(1)], in xnn_compute_grouped_gemm() 32 const size_t k_scaled = context->k_scaled; in xnn_compute_grouped_gemm() 33 const size_t a_stride = context->a_stride; in xnn_compute_grouped_gemm() 34 const size_t cm_stride = context->cm_stride; in xnn_compute_grouped_gemm() 36 context->ukernel.function[XNN_UARCH_DEFAULT]( in xnn_compute_grouped_gemm() 40 (const void*) ((uintptr_t) context->a + mr_block_start * a_stride + group_index * k_scaled), in xnn_compute_grouped_gemm() 42 …(const void*) ((uintptr_t) context->packed_w + nr_block_start * context->w_stride + group_index * … in xnn_compute_grouped_gemm() 43 …(void*) ((uintptr_t) context->c + mr_block_start * cm_stride + (nr_block_start << context->log2_cs… in xnn_compute_grouped_gemm() 45 context->cn_stride, in xnn_compute_grouped_gemm() 46 &context->params); in xnn_compute_grouped_gemm() [all …]
|
/external/mesa3d/src/gallium/drivers/tegra/ |
D | tegra_context.c | 38 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 …]
|