#ifndef UI_GL_ANDROID_SURFACE_TEXTURE_TRACKER_H_
#define UI_GL_ANDROID_SURFACE_TEXTURE_TRACKER_H_
#include "base/memory/ref_counted.h"
#include "ui/gl/gl_export.h"
namespace gfx {
class SurfaceTexture;
class GL_EXPORT SurfaceTextureTracker {
public:
static SurfaceTextureTracker* GetInstance();
static void InitInstance(SurfaceTextureTracker* tracker);
virtual scoped_refptr<SurfaceTexture> AcquireSurfaceTexture(
int primary_id,
int secondary_id) = 0;
protected:
virtual ~SurfaceTextureTracker() {}
};
}
#endif