×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    3

    porting a App into S60 3rd (NOKIA N91) OK. but S60 3rd FP1 (NOKIA N95) error

    porting a App into S60 3rd (NOKIA N91) OK. but S60 3rd FP1 (NOKIA N95) error.

    In the application, I use Open GL to draw a .jpg file as background.
    In NOKIA N95, the background will not be shown.
    I debug it in Emulator, didn't find any error.
    In Emulator, it can't shown also.

    Help~~~
    Thank you in advance.

  2. #2
    Registered User
    Join Date
    Sep 2007
    Posts
    3

    Re: porting a App into S60 3rd (NOKIA N91) OK. but S60 3rd FP1 (NOKIA N95) error

    In N95,
    windows diaplay mode EColor16MU,
    config in EGL_WINDOW_BIT,
    eglCreateWindowSurface, only one surface.

    I create a bitmap EColor16M mode. And get the bitmap in BGR mode. I swap the bytes, and add the alpha data.
    now the bitmap information in 8-8-8-8 EColor16MU.

    when draw,
    1) glBindTexture set ID of bitmap decoed from jpg/gif file
    2) I call glTexImage2D push the bytes data into memory.
    3) call glBindTexture to set texture.
    4) then call glDrawElements to draw.
    5) eglSwapBuffers

    In this way, NOKIA N70/N80/N91 are all ok, but in N95 it redenring Texture error.
    Boring...
    I don't know why, help~~

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: porting a App into S60 3rd (NOKIA N91) OK. but S60 3rd FP1 (NOKIA N95) error

    N95 uses hardware acceleration, that may introduce some restrictions. You might want to check if Flame (http://discussion.forum.nokia.com/fo...er.php?u=49373) has written something in this topic.

  4. #4
    Registered User
    Join Date
    Sep 2007
    Posts
    3

    Re: porting a App into S60 3rd (NOKIA N91) OK. but S60 3rd FP1 (NOKIA N95) error

    Dear wizard_hu_, Thank you very much.

Similar Threads

  1. S60 2nd to 3rd/ PlatformSecurity / Capabilities
    By jarkoos in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2007-04-14, 14:08
  2. problem with Code Warrior 5.2
    By mayankkedia in forum Symbian
    Replies: 4
    Last Post: 2006-06-22, 08:26
  3. Series 60Series 60 MIDP Concept SDK Beta 0.2 Linux bug?
    By kauppi in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2003-04-07, 09:05
  4. Http connection problem in 6310i
    By teahola in forum Mobile Java General
    Replies: 1
    Last Post: 2002-10-03, 18:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×