Lines Matching refs:EGL_NO_CONTEXT
677 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
679 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
688 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
690 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
699 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
701 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
705 return error(EGL_BAD_ATTRIBUTE, EGL_NO_CONTEXT); in CreateContext()
716 return error(EGL_BAD_MATCH, EGL_NO_CONTEXT); in CreateContext()
724 return error(EGL_BAD_MATCH, EGL_NO_CONTEXT); in CreateContext()
728 return error(EGL_BAD_MATCH, EGL_NO_CONTEXT); in CreateContext()
736 return EGL_NO_CONTEXT; in CreateContext()
741 return error(EGL_BAD_CONTEXT, EGL_NO_CONTEXT); in CreateContext()
759 if(ctx == EGL_NO_CONTEXT) in DestroyContext()
779 if(ctx != EGL_NO_CONTEXT || draw != EGL_NO_SURFACE || read != EGL_NO_SURFACE) in MakeCurrent()
787 if(ctx == EGL_NO_CONTEXT && (draw != EGL_NO_SURFACE || read != EGL_NO_SURFACE)) in MakeCurrent()
792 if(ctx != EGL_NO_CONTEXT && !validateContext(display, context)) in MakeCurrent()
978 if(context != EGL_NO_CONTEXT && !display->isValidContext(context)) in CreateImageKHR()