Skip to main content

All Questions

Tagged with
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 ...
dhan's user avatar
  • 63
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 ...
bsguru's user avatar
  • 462
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 ...
G. Putnam's user avatar
  • 1,322
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 ...
Guy-dev's user avatar
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 ...
AndrewBloom's user avatar
  • 2,341
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/...
Krzysztof Janiuk's user avatar
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 ...
voldi's user avatar
  • 433
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 ...
Vitalii Kharchenko's user avatar
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 ...
Pierre's user avatar
  • 853
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, ...
johnhao's user avatar
  • 11
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 ...
Alexanus's user avatar
  • 689
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 ...
Paul's user avatar
  • 11
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 ...
Urbanovich Andrew's user avatar
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: ...
Lucas Berger's user avatar
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, ...
durbnpoisn's user avatar
  • 4,664

15 30 50 per page
1
2 3 4 5
9