blob: 1d7533522b3b63afcea9cea16a7b4177f8fabf51 [file] [log] [blame]
#ifndef ANDROID_DVR_GL_FENCED_FLUSH_H_
#define ANDROID_DVR_GL_FENCED_FLUSH_H_
#include <EGL/egl.h>
#include <pdx/file_handle.h>
namespace android {
namespace dvr {
// Creates a EGL_SYNC_NATIVE_FENCE_ANDROID and flushes. Returns the fence as a
// file descriptor.
pdx::LocalHandle CreateGLSyncAndFlush(EGLDisplay display);
} // namespace dvr
} // namespace android
#endif // ANDROID_DVR_GL_FENCED_FLUSH_H_