Searched defs:GLFrame (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_frame.h32 // 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 { class in namespace:android::filterfw
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* fram
[all...]
H A Dgl_frame.cpp31 // A GLFrame stores pixel data on the GPU. It uses two kinds of GL data
34 // and when pixel data is uploaded to a GLFrame. The FBO is used as a rendering
38 GLFrame::GLFrame(GLEnv* gl_env) function in class:android::filterfw::GLFrame
56 bool GLFrame::Init(int width, int height) {
65 bool GLFrame::InitWithTexture(GLint texture_id, int width, int height) {
72 bool GLFrame::InitWithFbo(GLint fbo_id, int width, int height) {
80 bool GLFrame::InitWithExternalTexture() {
87 void GLFrame::InitDimensions(int width, int height) {
94 GLFrame
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLFrame.java47 public class GLFrame extends Frame { class in inherits:Frame
70 GLFrame(FrameFormat format, FrameManager frameManager) { method in class:GLFrame
74 GLFrame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) { method in class:GLFrame
267 } else if (frame instanceof GLFrame) {
268 nativeCopyFromGL((GLFrame)frame);
299 "for GLFrame!");
313 throw new RuntimeException("Could not focus on GLFrame for drawing!");
319 return "GLFrame id: " + glFrameId + " (" + getFormat() + ") with texture ID "
326 throw new RuntimeException("Could not reset GLFrame texture parameters!");
410 private native boolean nativeCopyFromGL(GLFrame fram
[all...]

Completed in 49 milliseconds