All Questions
Tagged with framebuffer android
127
questions
0
votes
1
answer
103
views
Android Kernel module to modify the Framebuffer
I am in search of a tutorial or guidance on how to access the framebuffer (fb0) from an Android device and modify specific pixel columns. From my research, it seems this can be achieved by creating a ...
0
votes
0
answers
108
views
GL_INVALID_OPERAION in glDrawElements while rendering to Framebuffer from external texture
I am trying to render the contents of an external texture (which gets its data from android MediaCodec) to a framebuffer with a texture atttachment (first pass) and then using that texture to render ...
1
vote
1
answer
224
views
Delayed Pixel Buffer Read from Multiple Framebuffers on GL_TEXTURE_2D_ARRAY
Using Android, OpenGL ES 3.0
Attempting to write multiple layers of a GL_TEXTURE_2D_ARRAY using framebuffer objects to create heightmaps in sequence, and then read from all of the layers of the ...
0
votes
0
answers
91
views
android - record of background activity
I am trying to record meetimg application in the background. The application is not shown on the display, it is in the background. Something like record an app with xvfb in linux.
Is it possible ? The ...
0
votes
0
answers
766
views
opengl es 3 glBlitFramebuffer - copying one texture into another
I'm trying to copy a texture into another using 'glBlitFramebuffer', I'm working on the classic open gl example hello-gl2 from android ndk-samples. I changed the shaders to support texture and i can ...
0
votes
1
answer
343
views
Enable Framebuffer console on android device, "fail to wake up" error
I'm trying to fix the framebuffer console on a sony e1 phone. I have all the required configurations, removed all references to qcom cont-splash-enabled from dts. I slightly modified the drivers/video/...
0
votes
1
answer
1k
views
Android NDK - how to get surface from native code
I want to develop a small binary tool for Android 10 which I'll call with adb shell from PC. This tool should capture requested part of the screen and return it back (on stdout or anything else). I ...
0
votes
0
answers
294
views
Read from framebuffer on Android
I try to get data from default framebuffer on Android (GLES 3.1). Andriod version 6.0. Device: Levono TAB 2 A-10.
If I use glReadPixels it works fine, but I want to avoid copying data to the CPU and ...
1
vote
2
answers
502
views
Android: draw using fb0 on eink device
I've been looking a lot around, and can't find much of anything clear. The context is I have a stylus-enabled e-ink tablet that I program on for fun, and I'd love to use a native library to read the ...
1
vote
0
answers
179
views
How can I show framebuffer drawing on surfaceview?
I have done some drawings on framebuffer, but they just do not show up on my surfaceview?
JNI code:
extern "C" JNIEXPORT jint JNICALL
Java_com_example_testskia_Skia_initFramebuffer(JNIEnv *env, ...
7
votes
1
answer
633
views
Drawing to a FrameBuffer causes Y to be inverted
I want to use a framebuffer to create an image using a shader program.
This works well, except that the Y is inverted.
It seems that the bottom left corner becomes the top left corner.
Why does this ...
1
vote
0
answers
83
views
Can't get Samsung Galaxy Note 10.1 (N8010) framebuffer, fb0 only shows top bar [duplicate]
My final goal is to get certain pixel values on a real android device screen very fast which I hope I can use to automate certain apps/games by analyzing the pixel values and performing touch action ...
2
votes
2
answers
2k
views
Read from GL_TEXTURE_EXTERNAL_OES to GL_TEXTURE_2D have perfomance issues and glitches
I'm need to send data from GL_TEXTURE_EXTERNAL_OES to simple GL_TEXTURE_2D (Render image from Android player to Unity texture) and currently do it through read pixels from buffer with attached source ...
0
votes
1
answer
377
views
OpenGL ES 2.0 FrameBuffer gives back a blackscreen
Alright I made an application that uses a FBO to render to a texture and later uses this texture to display it on a quad.
That's the code I am using to initialize the FBO and the texture:
...
0
votes
0
answers
82
views
Launching Activity causes crash
I'll try to make the best sense of this I can...
This app is written in Android Studio, but not using any XML. It's all framebuffer. I know that may seem unusual, but if you are building a game, ...