| /third_party/skia/third_party/externals/angle2/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 | 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 | validationESEXT_autogen.h | 19 class Context; variable 22 bool ValidateDrawArraysInstancedBaseInstanceANGLE(const Context *context, 29 bool ValidateDrawElementsInstancedBaseVertexBaseInstanceANGLE(const Context *context, 38 bool ValidateMultiDrawArraysInstancedBaseInstanceANGLE(const Context *context, 46 bool ValidateMultiDrawElementsInstancedBaseVertexBaseInstanceANGLE(const Context *context, 58 bool ValidateCopyTexture3DANGLE(const Context *context, 70 bool ValidateCopySubTexture3DANGLE(const Context *context, 93 bool ValidateBlitFramebufferANGLE(const Context *context, 107 bool ValidateRenderbufferStorageMultisampleANGLE(const Context *context, 116 bool ValidateGetTexImageANGLE(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 | 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 | 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 | 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 | 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 | 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 …]
|
| 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, 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 …]
|
| /third_party/skia/third_party/externals/angle2/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 …]
|
| /third_party/skia/third_party/externals/angle2/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" 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, angle::EntryPoint::GLDrawArraysInstancedBaseInstanceANGLE, in GL_DrawArraysInstancedBaseInstanceANGLE() [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 …]
|
| 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 …]
|
| /third_party/mesa3d/src/gallium/drivers/tegra/ |
| D | tegra_context.c | 39 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 …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
| D | Z3Solver.cpp | 42 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 __anon487d0fae0111::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 __anon487d0fae0111::Z3Sort [all …]
|