Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

call to OpenGL ES API with no current context (logged once per thread) #27

Closed
ZuzooVn opened this issue Apr 24, 2012 · 10 comments
Closed

Comments

@ZuzooVn
Copy link

ZuzooVn commented Apr 24, 2012

E/libEGL(22343): call to OpenGL ES API with no current context (logged once per thread)
D/ShaderProgram(22343): couldn't load the vertex shader!

Hi, i allway see this line

Is it bug?

@nostra13
Copy link
Owner

Hi, how it applies to Universal Image Loader? Can you tell me when does this line appear?

@ZuzooVn
Copy link
Author

ZuzooVn commented Apr 24, 2012

Hi, i use your example

@nostra13
Copy link
Owner

I don't know. Is this shown as error? Or warning? Can you post more stacktrace info from LogCat?

@ZuzooVn
Copy link
Author

ZuzooVn commented Apr 25, 2012

04-25 19:18:53.187: I/ImageLoader(26484): Cache image in memory [http://xxxxxxxxxxx.net/Files/Subject/3b/bd/0d/46/banh_my_bon_te.jpg_128x128]
04-25 19:18:53.187: I/ImageLoader(26484): Display image in ImageView [http://xxxxxxxxxxx.net/Files/Subject/3b/bd/0d/46/banh_my_bon_te.jpg_128x128]
04-25 19:18:53.187: I/ImageLoader(26484): Start display image task [http://xxxxxxxxxxx.net/Files/Subject/3b/bd/0d/46/cam_mang_ve.jpg_128x128]
04-25 19:18:53.192: I/ImageLoader(26484): Load image from disc cache [http://xxxxxxxxxxx.net/Files/Subject/3b/bd/0d/46/cam_mang_ve.jpg_128x128]
04-25 19:18:53.222: I/ImageLoader(26484): Cache image in memory [http://xxxxxxxxxxx.net/Files/Subject/3b/bd/0d/46/cam_mang_ve.jpg_128x128]
04-25 19:18:53.222: I/ImageLoader(26484): Display image in ImageView [http://xxxxxxxxxxx.net/Files/Subject/3b/bd/0d/46/cam_mang_ve.jpg_128x128]
04-25 19:18:53.227: I/ImageLoader(26484): Start display image task [http://xxxxxxxxxxx.net/Files/Subject/3b/bd/0d/46/viettel.jpg_128x128]
04-25 19:18:53.227: I/ImageLoader(26484): Load image from disc cache [http://xxxxxxxxxxx.net/Files/Subject/3b/bd/0d/46/viettel.jpg_128x128]
04-25 19:18:53.257: D/dalvikvm(26484): GC_FOR_ALLOC freed 1098K, 11% free 13118K/14663K, paused 13ms
04-25 19:18:53.262: I/ImageLoader(26484): Cache image in memory [http://xxxxxxxxxxx.net/Files/Subject/3b/bd/0d/46/viettel.jpg_128x128]
04-25 19:18:53.262: I/ImageLoader(26484): Display image in ImageView [http://xxxxxxxxxxx.net/Files/Subject/3b/bd/0d/46/viettel.jpg_128x128]
04-25 19:18:57.347: E/libEGL(26484): call to OpenGL ES API with no current context (logged once per thread)
04-25 19:18:57.347: D/ShaderProgram(26484): couldn't load the vertex shader!
04-25 19:18:57.347: E/libEGL(26484): call to OpenGL ES API with no current context (logged once per thread)
04-25 19:18:57.347: D/ShaderProgram(26484): couldn't load the vertex shader!
04-25 19:18:57.347: E/libEGL(26484): call to OpenGL ES API with no current context (logged once per thread)
04-25 19:18:57.347: D/ShaderProgram(26484): couldn't load the vertex shader!
04-25 19:18:57.347: E/libEGL(26484): call to OpenGL ES API with no current context (logged once per thread)
04-25 19:18:57.347: D/ShaderProgram(26484): couldn't load the vertex shader!
04-25 19:18:57.347: E/libEGL(26484): call to OpenGL ES API with no current context (logged once per thread)
04-25 19:18:57.347: D/ShaderProgram(26484): couldn't load the vertex shader!

Hi, warning, i see this every time when i use your example

@nostra13
Copy link
Owner

On what device do you test the example? Did you try to run example on other device?

@ZuzooVn
Copy link
Author

ZuzooVn commented Apr 25, 2012

Hi, i use Galaxy s2 Android 4.0.3

I only use my own cellphone!

But i don't see this log in other application, only in your example

REgards

@nostra13
Copy link
Owner

This stuff is showed for high Android version (>4.0) and it's occurred not only during ImageLoader's work. I don't know the reason of it and I think it's not the ImageLoader's fault.

@prianck
Copy link

prianck commented Aug 20, 2015

put android:hardwareAccelerated="true" in manifest.

@jiangchangzheng
Copy link

I find this warning because the following code in class(ImageSizeUtils):
GLES10.glGetIntegerv(GL10.GL_MAX_TEXTURE_SIZE, maxTextureSize, 0);
I find an answer to solve this problem:
http://stackoverflow.com/questions/26985858/gles10-glgetintegerv-returns-0-in-lollipop-only

@spaul13
Copy link

spaul13 commented Jan 31, 2018

I am also getting the same error. While decoding a video using ijkplayer and streaming it on unity (using easymovietexture)

I am using GLES20.glGetBooleanv(GLES20.GL_DEPTH_TEST, abValue, 0);
@JustForHappy can you please tell me where was the error? I can't open the link.

@nameispriyank I added the line in manifest but it's still not working. Anything else you might suggest?
@nostra13 , you mentioned this as image loader fault, did u find how to get rid of this?

Anyone else has any suggestion please tell me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants