RFR: 8218973: SVG with masking is not rendering image with mask effect [v11]

Bhawesh Choudhary bchoudhary at openjdk.java.net
Tue Sep 8 07:43:54 UTC 2020


> Root cause of issue is Specifying a image mask from GraphicsContextJava.cpp in WebKit was not implemented, so masking
> doesn't take place at all while rendering SVGRect. to fix this issue add implementation of function clipToImageBuffer()
> in GraphicsContextJava.cpp and send clip image to WCGraphicsPrismContext.java  While rendering in
> WCGraphicsPrismContext.java if image clip mask is available, use it for rendering using MaskTextureGraphics interface
> otherwise use usual way of rendering.

Bhawesh Choudhary has updated the pull request incrementally with one additional commit since the last revision:

  rendering fix for paths and strokes + refactoring

-------------

Changes:
  - all: https://git.openjdk.java.net/jfx/pull/213/files
  - new: https://git.openjdk.java.net/jfx/pull/213/files/87f63074..ec272623

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jfx&pr=213&range=10
 - incr: https://webrevs.openjdk.java.net/?repo=jfx&pr=213&range=09-10

  Stats: 132 lines in 1 file changed: 54 ins; 70 del; 8 mod
  Patch: https://git.openjdk.java.net/jfx/pull/213.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/213/head:pull/213

PR: https://git.openjdk.java.net/jfx/pull/213


More information about the openjfx-dev mailing list