Forums - using dynamicly loaded opengles api on android

1 post / 0 new
using dynamicly loaded opengles api on android
sophiepeithos
Join Date: 8 Jul 11
Posts: 2
Posted: Fri, 2011-07-08 03:53

hi,

i want my project to create opengles1.1/2.0 renderer during program run without recompile.so i load opengles procs from so file using dlopen and dlsym.

but in my app when i call the loaded glClearColor and glClean func,logcat will output texts similar as 

W/SharedBufferStack(  251): waitForCondition(LockCondition) timed out (identity=4, status=0). CPU may be pegged. trying again.

and eventually a phone restart.

i am using a htc desire phone, and i tried to load procs from system/lib/egl/libGLESv1_CM_adreno200.so and system/lib/libGLESv1_CM.so 

both will give the same result above.

some one can help?

thanks

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.