Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
dc8e5240
You need to sign in or sign up before continuing.
Unverified
Commit
dc8e5240
authored
Jul 31, 2017
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sunweaver-pr/fix-multi-trapez-requests' into 3.6.x
Attributes GH PR #496:
https://github.com/ArcticaProject/nx-libs/pull/496
parents
7897834c
da43f047
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
Render.c
nx-X11/programs/Xserver/hw/nxagent/Render.c
+1
-14
No files found.
nx-X11/programs/Xserver/hw/nxagent/Render.c
View file @
dc8e5240
...
...
@@ -93,12 +93,6 @@ FIXME: Most operations don't seem to produce any visible result
#undef SKIP_REALLY_ALL_LOUSY_RENDER_OPERATIONS
/*
* Do we split the big trapezoid requests?
*/
#define TRAPEZOIDS_PER_REQUEST 256
/*
* Margin added around the glyphs extent (in pixels).
*/
...
...
@@ -1803,8 +1797,6 @@ FIXME: Is this useful or just a waste of bandwidth?
nxagentSynchronizeBox
(
pDst
->
pDrawable
,
nxagentTrapezoidExtents
,
NEVER_BREAK
);
}
while
(
remaining
>
0
)
{
XRenderCompositeTrapezoids
(
nxagentDisplay
,
op
,
nxagentPicturePriv
(
pSrc
)
->
picture
,
...
...
@@ -1812,13 +1804,8 @@ FIXME: Is this useful or just a waste of bandwidth?
pForm
,
xSrc
,
ySrc
,
(
XTrapezoid
*
)
current
,
(
remaining
>
TRAPEZOIDS_PER_REQUEST
?
TRAPEZOIDS_PER_REQUEST
:
remaining
));
(
XTrapezoid
*
)
current
,
remaining
);
remaining
-=
TRAPEZOIDS_PER_REQUEST
;
current
+=
TRAPEZOIDS_PER_REQUEST
;
}
#endif
...
...
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