VESA draw the small speedup
git-svn-id: svn://kolibrios.org@2451 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
1e9db5557e
commit
145124ff4e
@ -166,6 +166,7 @@ dll_cur_addr dd MIN_DEFAULT_DLL_ADDR
|
|||||||
; mike.dld {
|
; mike.dld {
|
||||||
db 0
|
db 0
|
||||||
dd servetable-0x10000
|
dd servetable-0x10000
|
||||||
|
align 4
|
||||||
draw_line dd __sys_draw_line
|
draw_line dd __sys_draw_line
|
||||||
draw_pointer dd __sys_draw_pointer
|
draw_pointer dd __sys_draw_pointer
|
||||||
;//mike.dld, 2006-08-02 [
|
;//mike.dld, 2006-08-02 [
|
||||||
|
@ -381,9 +381,9 @@ align 4
|
|||||||
mov eax, [esi+ecx*4]
|
mov eax, [esi+ecx*4]
|
||||||
|
|
||||||
; check for hardware cursor
|
; check for hardware cursor
|
||||||
cmp [_display.select_cursor], 0
|
|
||||||
je @f
|
|
||||||
cmp [_display.select_cursor], select_cursor
|
cmp [_display.select_cursor], select_cursor
|
||||||
|
je @f
|
||||||
|
cmp [_display.select_cursor], 0
|
||||||
jne .no_mouseunder
|
jne .no_mouseunder
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
align 4
|
align 4
|
||||||
@ -451,9 +451,9 @@ align 4
|
|||||||
lea edi, [edi+ecx*2]
|
lea edi, [edi+ecx*2]
|
||||||
|
|
||||||
; check for hardware cursor
|
; check for hardware cursor
|
||||||
cmp [_display.select_cursor], 0
|
|
||||||
je @f
|
|
||||||
cmp [_display.select_cursor], select_cursor
|
cmp [_display.select_cursor], select_cursor
|
||||||
|
je @f
|
||||||
|
cmp [_display.select_cursor], 0
|
||||||
jne .no_mouseunder_1
|
jne .no_mouseunder_1
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
align 4
|
align 4
|
||||||
|
@ -54,9 +54,9 @@ Vesa20_getpixel24:
|
|||||||
; ebx = y
|
; ebx = y
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
; check for hardware cursor
|
; check for hardware cursor
|
||||||
cmp [_display.select_cursor], 0
|
|
||||||
je @f
|
|
||||||
cmp [_display.select_cursor], select_cursor
|
cmp [_display.select_cursor], select_cursor
|
||||||
|
je @f
|
||||||
|
cmp [_display.select_cursor], 0
|
||||||
jne .no_mouseunder
|
jne .no_mouseunder
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
align 4
|
align 4
|
||||||
@ -87,9 +87,9 @@ align 4
|
|||||||
Vesa20_getpixel32:
|
Vesa20_getpixel32:
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
; check for hardware cursor
|
; check for hardware cursor
|
||||||
cmp [_display.select_cursor], 0
|
|
||||||
je @f
|
|
||||||
cmp [_display.select_cursor], select_cursor
|
cmp [_display.select_cursor], select_cursor
|
||||||
|
je @f
|
||||||
|
cmp [_display.select_cursor], 0
|
||||||
jne .no_mouseunder
|
jne .no_mouseunder
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
align 4
|
align 4
|
||||||
@ -1565,9 +1565,9 @@ dp3:
|
|||||||
mov eax, [esi]
|
mov eax, [esi]
|
||||||
|
|
||||||
; check for hardware cursor
|
; check for hardware cursor
|
||||||
cmp [_display.select_cursor], 0
|
|
||||||
je @f
|
|
||||||
cmp [_display.select_cursor], select_cursor
|
cmp [_display.select_cursor], select_cursor
|
||||||
|
je @f
|
||||||
|
cmp [_display.select_cursor], 0
|
||||||
jne .no_mouseunder
|
jne .no_mouseunder
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
align 4
|
align 4
|
||||||
@ -1766,9 +1766,9 @@ align 4
|
|||||||
.novert:
|
.novert:
|
||||||
push ecx
|
push ecx
|
||||||
; check for hardware cursor
|
; check for hardware cursor
|
||||||
cmp [_display.select_cursor], 0
|
|
||||||
jne @f
|
|
||||||
cmp [_display.select_cursor], select_cursor
|
cmp [_display.select_cursor], select_cursor
|
||||||
|
jne @f
|
||||||
|
cmp [_display.select_cursor], 0
|
||||||
jne .no_mouseunder
|
jne .no_mouseunder
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
align 4
|
align 4
|
||||||
|
@ -381,9 +381,9 @@ VGA_putpixel:
|
|||||||
mov eax, [esp+32-8+4] ; color
|
mov eax, [esp+32-8+4] ; color
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
; check for hardware cursor
|
; check for hardware cursor
|
||||||
cmp [_display.select_cursor], 0
|
|
||||||
je @f
|
|
||||||
cmp [_display.select_cursor], select_cursor
|
cmp [_display.select_cursor], select_cursor
|
||||||
|
je @f
|
||||||
|
cmp [_display.select_cursor], 0
|
||||||
jne .no_mouseunder
|
jne .no_mouseunder
|
||||||
;--------------------------------------
|
;--------------------------------------
|
||||||
align 4
|
align 4
|
||||||
|
Loading…
Reference in New Issue
Block a user