-
Bug
-
Resolution: Unresolved
-
P4
-
17
-
x86_64
-
os_x
This code path is taken only for XOR mode on external monitor (or with uiScale=1.0 on retina monitor)
I have fixed the visual traces with poly-line drawn in XOR mode as a fix ofJDK-8251167. That fix is not optimal as it draws N line segments separately.
This can be optimized as follows -
1. Apply magic numbers for the pixel alignment to the points of the poly-line and store the new values
2. Use these new values to draw poly-line preferably using line-strip or line-list.
I have fixed the visual traces with poly-line drawn in XOR mode as a fix of
This can be optimized as follows -
1. Apply magic numbers for the pixel alignment to the points of the poly-line and store the new values
2. Use these new values to draw poly-line preferably using line-strip or line-list.
- relates to
-
JDK-8251167 Drawing polyline twice in XOR mode leaves out some traces on screen (only with uiScale=1.0)
-
- Resolved
-