Tattoo Projection Paint Demo

Miscellaneous Forums/Content Creation Tools/Tattoo Projection Paint Demo

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

@lee

memoryswap is to slow to make a fast dll

the texturetest (your code)
need 60 ms here (only the function)

BUT the memory swapping need 1692 ms

In this case i have more ms as bb function'S
i must swapp the texture 3 times ,grrr
if i use memory directly in the dll it's also slower
grrrrrr

sorry i cant help u in this case
Anyone knows a fast way to access imagebuffer ?

if i use asm it's not fast
if i use rtlmovememory also
get bytes from a bb application is slow

! cld
! mov esi, src ; bb memory
! mov edi, dst ; dll memory
! mov ecx, ln ;1024*1024*4
! shr ecx, 2
! rep movsd
! mov ecx, ln
! and ecx, 3
! rep movsb

this is the fastet memorymove that i know
but i get over 1000 ms if src a adress in the bb application
is it windows ?
i dont know ?
hm
need i a call for windows or dx that i will use the memory

Mr. Sibly u know why ?