Lines Matching defs:GLFrame
32 // A GLFrame stores pixel data on the GPU. While pixel data may be uploaded to
33 // a GLFrame and also read out of a GLFrame (access in place is not supported),
35 // processing from one GLFrame to another.
36 class GLFrame : public GLBufferHandle {
38 // Create an empty GL frame in the specified GL environment. Note, that the GLFrame does NOT
39 // take ownership. The caller must make sure the GLEnv stays valid as long as the GLFrame is
41 GLFrame(GLEnv* gl_env);
44 ~GLFrame();
67 bool CopyPixelsFrom(const GLFrame* frame);
73 GLFrame* Clone() const;
75 // Returns the held texture id. Only call this if the GLFrame holds a
78 // new GLFrame, and you need it to be bound to a texture, upload (zeroed)
82 // Returns the held FBO id. Only call this if the GLFrame holds an FBO. You