Skip to content

Commit 6ae36a3

Browse files
committed
Update README.md
1 parent f3e6d7f commit 6ae36a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Processing Video implementation for Android
22
In this branch, I'm maintaing another approach to render camera preview on processing's `GLSurfaceView`.
3-
The idea is to render camera preview on a `SurfaceTexture` and as soon as the new frame is received, copy the data from this `SurfaceTexture` to processing's underlying texure.
3+
The idea is to render camera preview on a `SurfaceTexture` and as soon as the new frame is received, copy the data from this `SurfaceTexture` to a custom texure bound to target `GL_TEXTURE_2D`.
44
We cannot directly render to processing's own texture because it's bound `GL_TEXTURE_2D` target, whereas for the preview to happen, the texture should be bound to `GL_TEXTURE_EXTERNAL_OES`.
55

66
**Behind the hood :**

0 commit comments

Comments
 (0)