This site is no longer active and is available for archival purposes only. Registration and login is disabled.

G_Lock


G_Lock

Postby fast_rx » Jun 2, 2004 @ 3:53pm

Does setpixel use a different function internally after a call to G_Lock?

The reason I ask is because of my experience with pocketfrog and it's lock function.

With PF, you get a pointer to the buffer so you can do direct access, so what's the point of a G_Lock that doesn't return a pointer?

It also seems like doing a lock on a surface just to plot one pixel (as in simple3.ppl) is a bad thing to do (if it works like the lock in pocketfrog).

The reason is that on devices with a non-native NORTH display orentation, all 320x240 pixels must be rotated before and after the lock. It only makes sense if you are going to be doing a LOT of pixel operations.
User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby kornalius » Jun 3, 2004 @ 2:32am

User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby fast_rx » Jun 3, 2004 @ 4:24am

User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby kornalius » Jun 3, 2004 @ 8:46pm

User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby fast_rx » Jun 7, 2004 @ 4:34am

User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby kornalius » Jun 7, 2004 @ 5:48pm

User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby fast_rx » Jun 7, 2004 @ 11:01pm

User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby kornalius » Jun 7, 2004 @ 11:04pm

User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby fast_rx » Jun 8, 2004 @ 3:05am

yes, 0.5a.
User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby kornalius » Jun 8, 2004 @ 2:13pm

User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Return to Pocket Programming Language (PPL)


Sort


Forum Description

Discuss this new development tool.

Moderator:

kornalius

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron