We currently rely on the fact that nvidia serializes glFlush calls
to ensure synchronization, but we should be using fences to handle
this synchronization step.
bug:
4098273
Change-Id: I13c4790434dea07d9da68b8ebebbba15b1e085a5
m_supportsEGLImage = GLUtils::isEGLImageSupported();
m_supportsEGLFenceSyncKHR = GLUtils::isEGLFenceSyncSupported();
- //TODO temporarily disable fence sync until nvidia implementation is complete
- m_supportsEGLFenceSyncKHR = false;
-
LOGI("imageEGL: %d syncKHR: %d", m_supportsEGLImage, m_supportsEGLFenceSyncKHR);
glGenTextures(1, &m_sourceTexture.m_textureId);