Issue: document.startViewTransition triggers texture update which is trying to 
access GL based data which is not supported in JavaFX Webkit. 

Solution: After 623.1 upgrade, BitmapTexture and BitmapTextureJava are 
unrelated class, since BitmapTextureJava::updateContent was no op code in 622.1 
upgrade, whose drawing method was commented out. JavaFX Webkit does not have 
the OpenGL texture-upload and surface state hence making 
BitmapTexture:updateContent method no op code for JavaFX Webkit platform which 
restore 622.1 behavior. 

The TextureMapperTest.java test program covers JavaFX TextureMapper behavior, 
the test pass with fix and failed without fix.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - fix Texture mapper crash

Changes: https://git.openjdk.org/jfx/pull/2245/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2245&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8386859
  Stats: 151 lines in 5 files changed: 148 ins; 2 del; 1 mod
  Patch: https://git.openjdk.org/jfx/pull/2245.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/2245/head:pull/2245

PR: https://git.openjdk.org/jfx/pull/2245

Reply via email to