JDK-8097794 : Mac Glass: use Prism for managing FBO
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Won't Fix
  • Submitted: 2012-10-23
  • Updated: 2015-06-12
  • Resolved: 2015-01-17
Related Reports
Relates :  
Relates :  
Description
Mac Glass: use Prism for managing FBO

Currently Mac Glass uses a native implementation of its own FBO, which it uses to provide content when the View layer wants to paint. Strictly speaking, we could use the FBO architecture used by Prism itself. I imagine Prism would need to change, so that it draws into 2 FBOs (double buffer) and provides the already drawn FBO to Glass. The switch between the FBOs would need to happen inside View.lock/unlock

This would allow us to simplify Mac native code greatly.
Comments
The fix to RT-39008 has greatly reduce complexity of FBO management between Glass and Prism.
17-01-2015

Move to Van Ness and up Priority to Major.
16-07-2013

Removed 8-client-defer-candidate tag since this is a Tweak. Only bugs need to be explicitly deferred.
16-07-2013

This is a good clean up task but we might have past the window of opportunity for this tweak to get done. Tag with 8-client-defer-candidate for evaluation.
16-07-2013

This is mostly a Graphics issue. Actually, I propose to move all OpenGL-related code from Glass to Prism (just like on Windows all DirectX code is in Prism only).
02-11-2012