We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be49703 commit bcb14ceCopy full SHA for bcb14ce
include/gui/SurfaceTexture.h
@@ -17,14 +17,16 @@
17
#ifndef ANDROID_GUI_SURFACETEXTURE_H
18
#define ANDROID_GUI_SURFACETEXTURE_H
19
20
+#include <GLES2/gl2ext.h>
21
#include <ui/GraphicBuffer.h>
22
23
namespace android {
24
25
struct SurfaceTexture {
26
struct FrameAvailableListener : public virtual RefBase {};
27
- SurfaceTexture(GLuint, bool allowSynchronousMode = true) {}
28
+ SurfaceTexture(GLuint, bool allowSynchronousMode = true,
29
+ GLenum texTarget = GL_TEXTURE_EXTERNAL_OES) {}
30
void updateTexImage() {}
31
void decStrong(android::sp<android::SurfaceTexture>* const) {}
32
void incStrong(android::sp<android::SurfaceTexture>* const) {}
0 commit comments