Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

addTexture() and updateTexture() functions do nothing #6

@mcghorayeb

Description

@mcghorayeb

I want to render a Canvas object into the camera surface so it appears in the recording. After googling it I found that it is done by adding a the bitmap from the canvas as a texture. I found something that does this in your app: the "addTexture" and the "updateTexture" functions, however It's been two working weeks and I'm trying to get this to work, with no result.

I tried extracting the canvas to a file as a bitmap to check if it is drawing successfully, and it does. It seems that there is a problem with those functions found in the "CameraRenderer.java".

Please I need your help, I don't know whether those functions should be used/working or not, nor if this is the way to do it. I also tried to do it using codes copied from from google search without success. Please let me know if it is an error in the function, or if it is not the way it's done, and in both cases, I am kindly asking for your support to do it, because it's been the only way to do my "drawing on camera while recording" app. I tried many ways and found the openGL way the best one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions