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 - Pixel copy performance problem while onTouchEvent !

Pixel copy performance problem while onTouchEvent !

Problems with Canvas, OpenGL, etc...

Pixel copy performance problem while onTouchEvent !

Postby UrbanLegend » Sat Jun 26, 2010 1:36 pm

Hi,

I m developing an application which is very simple function:
There is 3 image.

1. top image
2. hidden image
3. "eraser" image

The function of the app goes like this, the top image covers the hidden image initially, and the eraser image is on top of the top image. User will be able to move the eraser image, and as the eraser moves, the top image is "erased" and the hidden image below will be revealed accordingly to the path of the eraser movement (just like wiping snow off the window will review the world outside).

And i implemented this application but application is too laggy and sometimes it skip some pixels without sweeping.
This is how i am sweeping the image .
Code: Select all
    nBitmap.getPixels(q, 0, eWidth, xpos, ypos, eWidth, eHeight) ;
      mBitmap.setPixels(q, 0, eWidth, xpos, ypos, eWidth, eHeight) ;


i am updating xpos and ypos from onTouchEvent.
UrbanLegend
Freshman
Freshman
 
Posts: 4
Joined: Sun Jun 20, 2010 9:59 pm

Top

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

Who is online

Users browsing this forum: No registered users and 1 guest