Bug 245118 - TransformationMatrix: mapPoint, mapRect and mapQuad should clamp a point at infinity such as projectPoint
Summary: TransformationMatrix: mapPoint, mapRect and mapQuad should clamp a point at i...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Fujii Hironori
URL:
Keywords:
Depends on:
Blocks: 244824
  Show dependency treegraph
 
Reported: 2022-09-12 21:31 PDT by Fujii Hironori
Modified: 2022-09-14 05:18 PDT (History)
0 users

See Also:


Attachments
Patch (8.71 KB, patch)
2022-09-12 21:49 PDT, Fujii Hironori
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2022-09-12 21:31:09 PDT
TransformationMatrix: mapPoint, mapRect and mapQuad should clamp a point at infinity such as projectPoint

If w<0, the point is at infinity. projectPoint clamps such points.
mapPoint, mapRect and mapQuad also should do that.

TextureMapper has problems due to this bug (bug#244824 and bug#244915 comment#2).
Comment 1 Fujii Hironori 2022-09-12 21:49:09 PDT
Created attachment 462303 [details]
Patch
Comment 2 Fujii Hironori 2022-09-14 05:18:39 PDT
This patch doesn't solve the problem of bug#244824.