mgb: use static buffer for blitter picture

git-svn-id: svn://kolibrios.org@5064 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
CleverMouse 2014-08-29 11:25:11 +00:00
parent bdd53026f1
commit 2c8f986720

View File

@ -270,7 +270,6 @@ align 4
jnz .next_test jnz .next_test
xor dword [wFlags],1 xor dword [wFlags],1
mcall 68,13,[area_for_f36] mcall 68,13,[area_for_f36]
mcall 68,13,[params_f73.pointer]
mcall -1 mcall -1
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
draw_window: draw_window:
@ -338,9 +337,8 @@ testDrawPicture:
ret ret
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
prepare_f73: prepare_f73:
mcall 68,12,90*123*4 mov ecx, 90*123
mov [params_f73.pointer], eax mov eax, params_f73.data
shr ecx, 2
mov ebx, [area_for_f36] mov ebx, [area_for_f36]
@@: @@:
mov edx, [ebx] mov edx, [ebx]
@ -882,7 +880,7 @@ params_f73:
.width_src dd 90 ; +24 .width_src dd 90 ; +24
.height_src dd 123 ; +28 .height_src dd 123 ; +28
; other ; other
.pointer dd 0 ; 90*4 ; +32 .pointer dd .data; 90*4 ; +32
.row_size dd 90*4 ; +36 .row_size dd 90*4 ; +36
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
align 4 align 4
@ -1038,6 +1036,6 @@ thread_stack1:
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
align 4 align 4
rb 4096 rb 4096
rb 0x2884 ; for F73 image size 123*90*4
stacktop: stacktop:
params_f73.data rb 123*90*4
I_END: I_END: