return transfer_from(frame, bg_color, 0,0, frame->get_w(),frame->get_h());
}
// Required for YUV
return transfer_from(frame, bg_color, 0,0, frame->get_w(),frame->get_h());
}
// Required for YUV
int allocate_compressed_data(long bytes);
// Sequence number. -1 means invalid. Passing frames to the encoder is
int allocate_compressed_data(long bytes);
// Sequence number. -1 means invalid. Passing frames to the encoder is
// Compiles and links the shaders into a program.
// Adds the program with put_shader.
// Returns the program handle.
// Compiles and links the shaders into a program.
// Adds the program with put_shader.
// Returns the program handle.