Questions tagged [openglrenderer]

11 questions
6
votes
1 answer

Android - Detect OpenGLRenderer out of memory

is there a way to detect that OpenGLRenderer has run out of memory ? I'm setting big image as drawable to ImageView background and on device with FullHD display sometimes the ImageView stays blank and I get this in logcat D/OpenGLRenderer﹕ GL error…
TheJudge
  • 576
  • 1
  • 9
  • 30
4
votes
0 answers

java.lang.NoClassDefFoundError: and View$OnUnhandledKeyEventListener exception

Out of nowhere i get this exception.It gives this exception 4-5 times after launch with Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError: Failed resolution of: …
redduckto
  • 55
  • 4
4
votes
0 answers

Android studio error "E/OpenGLRenderer: GL error: GL_INVALID_VALUE"

I'm using a font which is some "playing cards" on a button and when i press the button, I change the caracter so the font change. Tu display all the 54 cards of a deck. It works like 15 times and then I get an error and the font turns totally white,…
4
votes
1 answer

OpenGLRenderer flushing caches (mode 0) and (mode 1)

Whenever I install my application, I am able to copy database from asset folder to /data/data/packagename/databases/ . Till this, application works very fine. But after 10 or 15 seconds, all cache folders like cache/SharedPreference/databases, all…
SilentKiller
  • 6,944
  • 6
  • 40
  • 75
2
votes
1 answer

Simple 3D Shape faces not rendering as expected - OpenGL ES in Android Studio

I am trying to make a rotating octahedron display correctly, I have successfully achieved other shapes such as a cube and tetrahedron, but I am experiencing some difficulty with this one. Here is the simple obj file I am using: v 0 -1 0 v 1 0 0 v 0…
Kash1
  • 53
  • 1
  • 6
1
vote
0 answers

How to display a video from camera on jupyter notebook

I’ve written a Jupyter notebook application to capture video from a camera and perform face detection and display it on the jupyter notebook using gstreamer framework with Python bindings. However, the video is very slow because I’ve to convert that…
1
vote
1 answer

openGL drawing GL_LINES giving incorrect result

I am trying to draw a grid of velocity vectors, I expect the velocity at each grid point to be a line with a slop of 1. A slanting line, but I always end up with a vertical line. I'm not sure what I'm doing wrong. Is there something I'm…
1
vote
0 answers

There is always a error when i'm going to run a android app

when i am going to run a android app,there is always a text which is " E/OpenGLRenderer: construct program from binary, position:0, texCoord-1" in my logcat
lee poter
  • 11
  • 1
0
votes
0 answers

Three-globe markers do not relocate accordingly while resizing the globe with the window

I have written a html with javascript to create a globe and place some markers on it. wheeler+ctrl does zooming in/out. But, When resize the window, the globe resizes accordingly but not the markers. What I need is, When resizing the window, the…
Udith Indrakantha
  • 860
  • 11
  • 17
0
votes
1 answer

Espresso Tests Hangs after fragment replace called

Espresso tests hangs in infinite loop and never ends and no error.... Navigated from fragment to fragment without any animation. Espresso not able to identify any views in the current fragment and hangs on... found below logs whenever fragment…
0
votes
3 answers

Load huge image from file

I'm using pictures which are stored on the Environment.getDataDirectory() and they are 1920 width and 1080 high and I want to load them in a Image View with this code: File imgFile = new File(Environment.getDataDirectory() +…