Skip to main content

Clipping Issues on k300

4 replies [Last post]
Anonymous

Hi,

Is anyone aware of any strange clipping issues on the SEk300?

I have a very odd bug which seems as though it's clip/paint related
(screen not updating properly), if there's any 'known issues' it
would give me some idea as to where to look as I'm pretty stumped at
the mo...

ta

====

James Closs, Director, bitBull Ltd

http://www.bitbull.com

07771 991171

====

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Robin Chaddock

Clipping of which drawing operations?

I've just tested one of our K300s and it appears to (in all our test cases)
clip all primitive types correctly.

However I don't think there is a single handset that implements clipping
100% correctly (which in itself is rather depressing...)
The best I have seen are the SonyEricssons, they seem to clip the vast
majority of primitive rendering operations correctly.
The Sun WTK (2.2) fails a number of clip tests, WTK 2.5 fails an even
greater number!
Samsungs are laughably inaccurate with their primitve rendering, many
implementations having managed to implement something as simple as drawRect
incorrectly!
It is a little unfair to single out Samsung though, across the board the
implementations of primitive rendering operations is embarrasingly poor.

Anyone would think these manufacturers don't unit test their api code.....
oh hang on, most don't! *sigh*

----- Original Message -----
From: "James Closs"
To:
Sent: Wednesday, August 22, 2007 3:15 PM
Subject: Clipping Issues on k300

> Hi,
>
> Is anyone aware of any strange clipping issues on the SEk300?
>
> I have a very odd bug which seems as though it's clip/paint related
> (screen not updating properly), if there's any 'known issues' it
> would give me some idea as to where to look as I'm pretty stumped at
> the mo...
>
> ta
>
> ====
>
> James Closs, Director, bitBull Ltd
>
> http://www.bitbull.com
>
> 07771 991171
>
> ====
>
> ===========================================================================
> To unsubscribe, send email to listserv@java.sun.com and include in the
> body
> of the message "signoff KVM-INTEREST". For general help, send email to
> listserv@java.sun.com and include in the body of the message "help".
>

________________________________________________________________________
E-mail is an informal method of communication and may be subject to data corruption, interception and unauthorised amendment for which I-play, a trading name of Digital Bridges Ltd will accept no liability. Therefore, it will normally be inappropriate to rely on information contained on e-mail without obtaining written confirmation.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

(C) 2005. I-play is a trademark and trading name of Digital Bridges Limited. All Rights Reserved.
________________________________________________________________________
This message has been checked for all known viruses by the
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

James Closs

> Clipping of which drawing operations?

drawImage()

> I've just tested one of our K300s and it appears to (in all our
> test cases)
> clip all primitive types correctly.

OK, thanks very much. It's possible it's not clipping at all but
that's the only thing I can think of at the moment!

====

James Closs, Director, bitBull Ltd

http://www.bitbull.com

07771 991171

====

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

James Closs

Hi,

There is definitely some clipping weirdness here.

I have an image the is larger than full screen. The user can move the
image about. What's happening is that even though the image is moving
(all variables are updated correctly etc) the image is drawn in the
same place. This happens on no other handsets and stuff that's drawn
over the image appears fine.

I've tried the usual solutions for fixing clipping bugs, explicitly
setting the clip full screen etc, but this does no good. The only
(hacky) way I've found to fix the problem is to draw some text
'behind' the image before the image is drawn, then everything is
fine. Go figure...

Anyway, hope this is of some use to someone if they run into similar
problems.

cheers

>> Clipping of which drawing operations?
>
> drawImage()
>
>> I've just tested one of our K300s and it appears to (in all our
>> test cases)
>> clip all primitive types correctly.
>
> OK, thanks very much. It's possible it's not clipping at all but
> that's the only thing I can think of at the moment!

====

James Closs, Director, bitBull Ltd

http://www.bitbull.com

07771 991171

====

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Robin Chaddock

A cleaner (and often more performant) solution for midp2 handsets is to
compute the clip yourself and use drawRegion.

----- Original Message -----
From: "James Closs"
To:
Sent: Thursday, August 23, 2007 12:13 PM
Subject: Re: Clipping Issues on k300

> Hi,
>
> There is definitely some clipping weirdness here.
>
> I have an image the is larger than full screen. The user can move the
> image about. What's happening is that even though the image is moving
> (all variables are updated correctly etc) the image is drawn in the
> same place. This happens on no other handsets and stuff that's drawn
> over the image appears fine.
>
> I've tried the usual solutions for fixing clipping bugs, explicitly
> setting the clip full screen etc, but this does no good. The only
> (hacky) way I've found to fix the problem is to draw some text
> 'behind' the image before the image is drawn, then everything is
> fine. Go figure...
>
> Anyway, hope this is of some use to someone if they run into similar
> problems.
>
> cheers
>
>
>>> Clipping of which drawing operations?
>>
>> drawImage()
>>
>>> I've just tested one of our K300s and it appears to (in all our
>>> test cases)
>>> clip all primitive types correctly.
>>
>> OK, thanks very much. It's possible it's not clipping at all but
>> that's the only thing I can think of at the moment!
>
> ====
>
> James Closs, Director, bitBull Ltd
>
> http://www.bitbull.com
>
> 07771 991171
>
> ====
>
> ===========================================================================
> To unsubscribe, send email to listserv@java.sun.com and include in the
> body
> of the message "signoff KVM-INTEREST". For general help, send email to
> listserv@java.sun.com and include in the body of the message "help".
>

________________________________________________________________________
E-mail is an informal method of communication and may be subject to data corruption, interception and unauthorised amendment for which I-play, a trading name of Digital Bridges Ltd will accept no liability. Therefore, it will normally be inappropriate to rely on information contained on e-mail without obtaining written confirmation.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

(C) 2005. I-play is a trademark and trading name of Digital Bridges Limited. All Rights Reserved.
________________________________________________________________________
This message has been checked for all known viruses by the
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".