Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Two GLSurfaceViews of the same kind

Two GLSurfaceViews of the same kind

Problems with Canvas, OpenGL, etc...

Two GLSurfaceViews of the same kind

Postby Thijsiez » Fri Dec 16, 2011 12:02 am

Hi all,
I'm trying to make an OpenGL thumbstick/joystick as a library for games or rc apps etc. I'm using OpenGL for this since I wanted to save CPU power for any other calculations, which is also the reason I didn't use a regular SurfaceView. Now I have my Thumbstick.java all set up and running, but once I add a second Thumbstick to my layout I can only use one at a time and the one I use starts lagging heavily. After some Googling I came to the conclusion that this is being caused by both sticks using the same Context. Is this correct, and what could I do about it?
If a code snippet is needed you'll unfortunately have to wait because it's 00:03 here so the earliest I can upload a snippet is in about 8 hours, sorry :(
Thijsiez
Junior Developer
Junior Developer
 
Posts: 12
Joined: Sat Dec 25, 2010 12:36 am

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 2 guests