Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xserver
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexander Volkov
xserver
Commits
d9b8bfbf
Commit
d9b8bfbf
authored
Apr 03, 2006
by
Adam Jackson
💣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #5478: More use of fbSOlidFillmmx. (Jim Huang)
parent
b0e67782
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
2 deletions
+34
-2
ChangeLog
ChangeLog
+6
-0
fb/fbfill.c
fb/fbfill.c
+11
-1
fb/fbwindow.c
fb/fbwindow.c
+17
-1
No files found.
ChangeLog
View file @
d9b8bfbf
2006-04-03 Adam Jackson <ajax@freedesktop.org>
* fb/fbfill.c:
* fb/fbwindow.c:
Bug #5478: More use of fbSOlidFillmmx. (Jim Huang)
2006-04-03 Adam Jackson <ajax@freedesktop.org>
* fb/fbmmx.c:
...
...
fb/fbfill.c
View file @
d9b8bfbf
...
...
@@ -209,7 +209,17 @@ fbSolidBoxClipped (DrawablePtr pDrawable,
if
(
partY2
<=
partY1
)
continue
;
#ifdef USE_MMX
if
(
!
and
&&
fbHaveMMX
())
{
if
(
fbSolidFillmmx
(
pDrawable
,
partX1
,
partY1
,
(
partX2
-
partX1
),
(
partY2
-
partY1
),
xor
))
return
;
}
#endif
fbSolid
(
dst
+
(
partY1
+
dstYoff
)
*
dstStride
,
dstStride
,
(
partX1
+
dstXoff
)
*
dstBpp
,
...
...
fb/fbwindow.c
View file @
d9b8bfbf
/* $XdotOrg: xserver/xorg/fb/fbwindow.c,v 1.
9 2005/10/02 08:28:26
anholt Exp $ */
/* $XdotOrg: xserver/xorg/fb/fbwindow.c,v 1.
10 2006/02/10 22:00:21
anholt Exp $ */
/*
* Id: fbwindow.c,v 1.1 1999/11/02 03:54:45 keithp Exp $
*
...
...
@@ -217,10 +217,23 @@ fbFillRegionSolid (DrawablePtr pDrawable,
int
n
=
REGION_NUM_RECTS
(
pRegion
);
BoxPtr
pbox
=
REGION_RECTS
(
pRegion
);
#ifdef USE_MMX
int
has_mmx
=
0
;
if
(
!
and
&&
fbHaveMMX
())
has_mmx
=
1
;
#endif
fbGetDrawable
(
pDrawable
,
dst
,
dstStride
,
dstBpp
,
dstXoff
,
dstYoff
);
while
(
n
--
)
{
#ifdef USE_MMX
if
(
!
has_mmx
||
!
fbSolidFillmmx
(
pDrawable
,
pbox
->
x1
,
pbox
->
y1
,
(
pbox
->
x2
-
pbox
->
x1
),
(
pbox
->
y2
-
pbox
->
y1
),
xor
))
{
#endif
fbSolid
(
dst
+
(
pbox
->
y1
+
dstYoff
)
*
dstStride
,
dstStride
,
(
pbox
->
x1
+
dstXoff
)
*
dstBpp
,
...
...
@@ -228,6 +241,9 @@ fbFillRegionSolid (DrawablePtr pDrawable,
(
pbox
->
x2
-
pbox
->
x1
)
*
dstBpp
,
pbox
->
y2
-
pbox
->
y1
,
and
,
xor
);
#ifdef USE_MMX
}
#endif
fbValidateDrawable
(
pDrawable
);
pbox
++
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment