| 755 | |
| 756 | |
| 757 | EGLDisplay eglGetCurrentDisplay(void) |
| 758 | { |
| 759 | EGLDisplay display = 0; |
| 760 | |
| 761 | TRY(); |
| 762 | |
| 763 | if(faker::getEGLExcludeCurrent() || !faker::getEGLXContextCurrent()) |
| 764 | return _eglGetCurrentDisplay(); |
| 765 | |
| 766 | DISABLE_FAKER(); |
| 767 | |
| 768 | ///////////////////////////////////////////////////////////////////////////// |
| 769 | OPENTRACE(eglGetCurrentDisplay); STARTTRACE(); |
| 770 | ///////////////////////////////////////////////////////////////////////////// |
| 771 | |
| 772 | display = (EGLDisplay)faker::getCurrentEGLXDisplay(); |
| 773 | |
| 774 | ///////////////////////////////////////////////////////////////////////////// |
| 775 | STOPTRACE(); PRARGX(display); CLOSETRACE(); |
| 776 | ///////////////////////////////////////////////////////////////////////////// |
| 777 | |
| 778 | CATCH(); |
| 779 | ENABLE_FAKER(); |
| 780 | return display; |
| 781 | } |
| 782 | |
| 783 | |
| 784 | EGLSurface eglGetCurrentSurface(EGLint readdraw) |
no outgoing calls
no test coverage detected