/external/angle/src/libANGLE/ |
D | validationGL1_autogen.h | 18 class Context; variable 21 bool ValidateAccum(const Context *context, GLenum op, GLfloat value); 22 bool ValidateBegin(const Context *context, GLenum mode); 23 bool ValidateBitmap(const Context *context, 31 bool ValidateCallList(const Context *context, GLuint list); 32 bool ValidateCallLists(const Context *context, GLsizei n, GLenum type, const void *lists); 33 bool ValidateClearAccum(const Context *context, 38 bool ValidateClearDepth(const Context *context, GLdouble depth); 39 bool ValidateClearIndex(const Context *context, GLfloat c); 40 bool ValidateClipPlane(const Context *context, GLenum plane, const GLdouble *equation); [all …]
|
D | validationES2_autogen.h | 18 class Context; variable 20 bool ValidateActiveTexture(const Context *context, GLenum texture); 21 bool ValidateAttachShader(const Context *context, 24 bool ValidateBindAttribLocation(const Context *context, 28 bool ValidateBindBuffer(const Context *context, BufferBinding targetPacked, BufferID bufferPacked); 29 bool ValidateBindFramebuffer(const Context *context, 32 bool ValidateBindRenderbuffer(const Context *context, 35 bool ValidateBindTexture(const Context *context, TextureType targetPacked, TextureID texturePacked); 36 bool ValidateBlendColor(const Context *context, 41 bool ValidateBlendEquation(const Context *context, GLenum mode); [all …]
|
D | validationGL4_autogen.h | 18 class Context; variable 21 bool ValidateBeginQueryIndexed(const Context *context, 25 bool ValidateDrawTransformFeedback(const Context *context, 28 bool ValidateDrawTransformFeedbackStream(const Context *context, 32 bool ValidateEndQueryIndexed(const Context *context, GLenum target, GLuint index); 33 bool ValidateGetActiveSubroutineName(const Context *context, 40 bool ValidateGetActiveSubroutineUniformName(const Context *context, 47 bool ValidateGetActiveSubroutineUniformiv(const Context *context, 53 bool ValidateGetProgramStageiv(const Context *context, 58 bool ValidateGetQueryIndexediv(const Context *context, [all …]
|
D | validationESEXT_autogen.h | 18 class Context; variable 21 bool ValidateDrawArraysInstancedBaseInstanceANGLE(const Context *context, 27 bool ValidateDrawElementsInstancedBaseVertexBaseInstanceANGLE(const Context *context, 35 bool ValidateMultiDrawArraysInstancedBaseInstanceANGLE(const Context *context, 42 bool ValidateMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE(const Context *context, 53 bool ValidateCopyTexture3DANGLE(const Context *context, 64 bool ValidateCopySubTexture3DANGLE(const Context *context, 84 bool ValidateBlitFramebufferANGLE(const Context *context, 97 bool ValidateRenderbufferStorageMultisampleANGLE(const Context *context, 105 bool ValidateGetTexImageANGLE(const Context *context, [all …]
|
D | validationES3_autogen.h | 18 class Context; variable 20 bool ValidateBeginQuery(const Context *context, QueryType targetPacked, QueryID idPacked); 21 bool ValidateBeginTransformFeedback(const Context *context, PrimitiveMode primitiveModePacked); 22 bool ValidateBindBufferBase(const Context *context, 26 bool ValidateBindBufferRange(const Context *context, 32 bool ValidateBindSampler(const Context *context, GLuint unit, SamplerID samplerPacked); 33 bool ValidateBindTransformFeedback(const Context *context, 36 bool ValidateBindVertexArray(const Context *context, VertexArrayID arrayPacked); 37 bool ValidateBlitFramebuffer(const Context *context, 48 bool ValidateClearBufferfi(const Context *context, [all …]
|
D | validationGL4.cpp | 14 bool ValidateBeginQueryIndexed(const Context *context, GLenum target, GLuint index, QueryID id) in ValidateBeginQueryIndexed() argument 19 bool ValidateDrawTransformFeedback(const Context *context, GLenum mode, TransformFeedbackID id) in ValidateDrawTransformFeedback() argument 24 bool ValidateDrawTransformFeedbackStream(const Context *context, in ValidateDrawTransformFeedbackStream() argument 32 bool ValidateEndQueryIndexed(const Context *context, GLenum target, GLuint index) in ValidateEndQueryIndexed() argument 37 bool ValidateGetActiveSubroutineName(const Context *context, in ValidateGetActiveSubroutineName() argument 48 bool ValidateGetActiveSubroutineUniformName(const Context *context, in ValidateGetActiveSubroutineUniformName() argument 59 bool ValidateGetActiveSubroutineUniformiv(const Context *context, in ValidateGetActiveSubroutineUniformiv() argument 69 bool ValidateGetProgramStageiv(const Context *context, in ValidateGetProgramStageiv() argument 78 bool ValidateGetQueryIndexediv(const Context *context, in ValidateGetQueryIndexediv() argument 87 bool ValidateGetSubroutineIndex(const Context *context, in ValidateGetSubroutineIndex() argument [all …]
|
D | validationES1_autogen.h | 18 class Context; variable 20 bool ValidateAlphaFunc(const Context *context, AlphaTestFunc funcPacked, GLfloat ref); 21 bool ValidateAlphaFuncx(const Context *context, AlphaTestFunc funcPacked, GLfixed ref); 22 bool ValidateClearColorx(const Context *context, 27 bool ValidateClearDepthx(const Context *context, GLfixed depth); 28 bool ValidateClientActiveTexture(const Context *context, GLenum texture); 29 bool ValidateClipPlanef(const Context *context, GLenum p, const GLfloat *eqn); 30 bool ValidateClipPlanex(const Context *context, GLenum plane, const GLfixed *equation); 31 bool ValidateColor4f(const Context *context, 36 bool ValidateColor4ub(const Context *context, [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 | validationESEXT.cpp | 10 #include "libANGLE/Context.h" 26 bool ValidateGetImageFormatAndType(const Context *context, ObjectT *obj, GLenum format, GLenum type) in ValidateGetImageFormatAndType() argument 28 GLenum implFormat = obj->getImplementationColorReadFormat(context); in ValidateGetImageFormatAndType() 31 context->validationError(GL_INVALID_ENUM, kInvalidFormat); in ValidateGetImageFormatAndType() 35 GLenum implType = obj->getImplementationColorReadType(context); in ValidateGetImageFormatAndType() 38 context->validationError(GL_INVALID_ENUM, kInvalidType); in ValidateGetImageFormatAndType() 68 bool IsValidMemoryObjectParamater(const Context *context, GLenum pname) in IsValidMemoryObjectParamater() argument 80 bool ValidateObjectIdentifierAndName(const Context *context, GLenum identifier, GLuint name) in ValidateObjectIdentifierAndName() argument 82 bool isGLES11 = context->getClientVersion() == Version(1, 1); in ValidateObjectIdentifierAndName() 83 bool isGLES3 = context->getClientMajorVersion() >= 3; in ValidateObjectIdentifierAndName() [all …]
|
D | validationES1.cpp | 12 #include "libANGLE/Context.h" 19 #define ANGLE_VALIDATE_IS_GLES1(context) \ argument 22 if (context->getClientType() != EGL_OPENGL_API && context->getClientMajorVersion() > 1) \ 24 context->validationError(GL_INVALID_OPERATION, kGLES1Only); \ 33 bool ValidateAlphaFuncCommon(const Context *context, AlphaTestFunc func) in ValidateAlphaFuncCommon() argument 47 context->validationError(GL_INVALID_ENUM, kEnumNotSupported); in ValidateAlphaFuncCommon() 52 bool ValidateClientStateCommon(const Context *context, ClientVertexArrayType arrayType) in ValidateClientStateCommon() argument 54 ANGLE_VALIDATE_IS_GLES1(context); in ValidateClientStateCommon() 63 if (!context->getExtensions().pointSizeArrayOES) in ValidateClientStateCommon() 65 context->validationError(GL_INVALID_ENUM, kPointSizeArrayExtensionNotEnabled); in ValidateClientStateCommon() [all …]
|
D | validationGL3_autogen.h | 18 class Context; variable 21 bool ValidateBeginConditionalRender(const Context *context, GLuint id, GLenum mode); 22 bool ValidateBindFragDataLocation(const Context *context, 26 bool ValidateClampColor(const Context *context, GLenum target, GLenum clamp); 27 bool ValidateEndConditionalRender(const Context *context); 28 bool ValidateFramebufferTexture1D(const Context *context, 34 bool ValidateFramebufferTexture3D(const Context *context, 41 bool ValidateVertexAttribI1i(const Context *context, GLuint index, GLint x); 42 bool ValidateVertexAttribI1iv(const Context *context, GLuint index, const GLint *v); 43 bool ValidateVertexAttribI1ui(const Context *context, GLuint index, GLuint x); [all …]
|
D | validationGL1.cpp | 14 bool ValidateAccum(const Context *, GLenum op, GLfloat value) in ValidateAccum() argument 19 bool ValidateBegin(const Context *, GLenum mode) in ValidateBegin() argument 24 bool ValidateBitmap(const Context *, in ValidateBitmap() argument 36 bool ValidateCallList(const Context *, GLuint list) in ValidateCallList() argument 41 bool ValidateCallLists(const Context *, GLsizei n, GLenum type, const void *lists) in ValidateCallLists() argument 46 bool ValidateClearAccum(const Context *, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) in ValidateClearAccum() argument 51 bool ValidateClearDepth(const Context *, GLdouble depth) in ValidateClearDepth() argument 56 bool ValidateClearIndex(const Context *, GLfloat c) in ValidateClearIndex() argument 61 bool ValidateClipPlane(const Context *, GLenum plane, const GLdouble *equation) in ValidateClipPlane() argument 66 bool ValidateColor3b(const Context *, GLbyte red, GLbyte green, GLbyte blue) in ValidateColor3b() argument [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 | validationES31.cpp | 11 #include "libANGLE/Context.h" 68 bool ValidateProgramResourceProperty(const Context *context, GLenum prop) in ValidateProgramResourceProperty() argument 70 ASSERT(context); in ValidateProgramResourceProperty() 105 return context->getExtensions().geometryShaderAny() || in ValidateProgramResourceProperty() 106 context->getClientVersion() >= ES_3_2; in ValidateProgramResourceProperty() 111 return context->getExtensions().tessellationShaderEXT || in ValidateProgramResourceProperty() 112 context->getClientVersion() >= ES_3_2; in ValidateProgramResourceProperty() 115 return context->getExtensions().blendFuncExtended; in ValidateProgramResourceProperty() 319 bool ValidateProgramUniformBase(const Context *context, in ValidateProgramUniformBase() argument 326 Program *programObject = GetValidProgram(context, program); in ValidateProgramUniformBase() [all …]
|
D | validationGL3.cpp | 13 bool ValidateBeginConditionalRender(const Context *context, GLuint id, GLenum mode) in ValidateBeginConditionalRender() argument 18 bool ValidateBindFragDataLocation(const Context *context, in ValidateBindFragDataLocation() argument 26 bool ValidateClampColor(const Context *context, GLenum target, GLenum clamp) in ValidateClampColor() argument 31 bool ValidateEndConditionalRender(const Context *context) in ValidateEndConditionalRender() argument 36 bool ValidateFramebufferTexture1D(const Context *context, in ValidateFramebufferTexture1D() argument 46 bool ValidateFramebufferTexture3D(const Context *context, in ValidateFramebufferTexture3D() argument 57 bool ValidateVertexAttribI1i(const Context *context, GLuint index, GLint x) in ValidateVertexAttribI1i() argument 62 bool ValidateVertexAttribI1iv(const Context *context, GLuint index, const GLint *v) in ValidateVertexAttribI1iv() argument 67 bool ValidateVertexAttribI1ui(const Context *context, GLuint index, GLuint x) in ValidateVertexAttribI1ui() argument 72 bool ValidateVertexAttribI1uiv(const Context *context, GLuint index, const GLuint *v) in ValidateVertexAttribI1uiv() argument [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() || ValidateAccum(context, op, value)); in GL_Accum() 45 context->accum(op, value); in GL_Accum() 47 ANGLE_CAPTURE(Accum, isCallValid, context, op, value); in GL_Accum() 57 Context *context = GetValidGlobalContext(); in GL_AlphaFunc() local [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, programPacked, shaderPacked)); in GL_AttachShader() 48 context->attachShader(programPacked, shaderPacked); in GL_AttachShader() 50 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() 43 (context->skipValidation() || ValidateBeginConditionalRender(context, id, mode)); in GL_BeginConditionalRender() 46 context->beginConditionalRender(id, mode); in GL_BeginConditionalRender() 48 ANGLE_CAPTURE(BeginConditionalRender, isCallValid, context, id, mode); in GL_BeginConditionalRender() 58 Context *context = GetValidGlobalContext(); in GL_BeginTransformFeedback() local [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() 43 bool isCallValid = (context->skipValidation() || in GL_BeginQueryIndexed() 44 ValidateBeginQueryIndexed(context, target, index, idPacked)); in GL_BeginQueryIndexed() 47 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() 34 bool isCallValid = (context->skipValidation() || ValidateActiveTexture(context, texture)); in GL_ActiveTexture() 37 context->activeTexture(texture); in GL_ActiveTexture() 39 ANGLE_CAPTURE(ActiveTexture, isCallValid, context, texture); in GL_ActiveTexture() 49 Context *context = GetValidGlobalContext(); in GL_AttachShader() local [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() || ValidateAlphaFunc(context, funcPacked, ref)); in GL_AlphaFunc() 39 context->alphaFunc(funcPacked, ref); in GL_AlphaFunc() 41 ANGLE_CAPTURE(AlphaFunc, isCallValid, context, funcPacked, ref); in GL_AlphaFunc() 51 Context *context = GetValidGlobalContext(); in GL_AlphaFuncx() local [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() || ValidateBeginQuery(context, targetPacked, idPacked)); in GL_BeginQuery() 40 context->beginQuery(targetPacked, idPacked); in GL_BeginQuery() 42 ANGLE_CAPTURE(BeginQuery, isCallValid, context, targetPacked, idPacked); in GL_BeginQuery() 52 Context *context = GetValidGlobalContext(); in GL_BeginTransformFeedback() local [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() 36 bool isCallValid = (context->skipValidation() || in GL_ActiveShaderProgram() 37 ValidateActiveShaderProgram(context, pipelinePacked, programPacked)); in GL_ActiveShaderProgram() 40 context->activeShaderProgram(pipelinePacked, programPacked); in GL_ActiveShaderProgram() 42 ANGLE_CAPTURE(ActiveShaderProgram, isCallValid, context, pipelinePacked, programPacked); in GL_ActiveShaderProgram() [all …]
|
D | entry_points_gles_ext_autogen.cpp | 14 #include "libANGLE/Context.h" 15 #include "libANGLE/Context.inl.h" 46 Context *context = GetValidGlobalContext(); in GL_DrawArraysInstancedBaseInstanceANGLE() local 47 EVENT(context, GLDrawArraysInstancedBaseInstanceANGLE, in GL_DrawArraysInstancedBaseInstanceANGLE() 48 "context = %d, mode = %s, first = %d, count = %d, instanceCount = %d, baseInstance = %u", in GL_DrawArraysInstancedBaseInstanceANGLE() 49 CID(context), GLenumToString(GLenumGroup::PrimitiveType, mode), first, count, in GL_DrawArraysInstancedBaseInstanceANGLE() 52 if (context) in GL_DrawArraysInstancedBaseInstanceANGLE() 55 std::unique_lock<angle::GlobalMutex> shareContextLock = GetContextLock(context); in GL_DrawArraysInstancedBaseInstanceANGLE() 56 bool isCallValid = (context->skipValidation() || in GL_DrawArraysInstancedBaseInstanceANGLE() 58 context, modePacked, first, count, instanceCount, baseInstance)); in GL_DrawArraysInstancedBaseInstanceANGLE() [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 …]
|