-
Bug
-
Resolution: Fixed
-
P3
-
8
While fixing RT-29954, we again ran into a problem rendering into an RTT whose content size is bigger than the viewport into which we want to render. A partial fix (more of a workaround, really) was implemented in the ES2 pipeline to allow ParallelCamera to work for for systems without NPOT support -- specifically BeagleBoard.
This solution is incomplete in that it doesn't work correctly for PerspectiveCamera. Also, by setting the forcepowerof2 flag, I verified that if we ever find a D3D system without NPOT suport, it would break as well.
A longer term solution should involve having the RTT itself be aware of the viewport into which it is rendered. Note that this is an issue that affects more than just the camera transforms. SeeRT-26216, RT-26217, RT-26218 for other examples of why not having that information is a problem. Note that there could be other cases besides lack of NPOT support where an RTT could be bigger than the viewport into which you are rendering (e.g., reusing an RTT that is bigger than you need to avoid recreating it). It is possible we just haven't hit those cases yet in testing on BeagleBoard.
This solution is incomplete in that it doesn't work correctly for PerspectiveCamera. Also, by setting the forcepowerof2 flag, I verified that if we ever find a D3D system without NPOT suport, it would break as well.
A longer term solution should involve having the RTT itself be aware of the viewport into which it is rendered. Note that this is an issue that affects more than just the camera transforms. See
- blocks
-
JDK-8095862 Webkit RTImage needs to use width/height correctly for readPixels.
-
- Closed
-
-
JDK-8097319 Quantum Painters need to use readPixels correctly.
-
- Closed
-
- relates to
-
JDK-8093993 Camera regression on devices that lack non-power-of-2 texture support
-
- Closed
-
-
JDK-8123020 Resizing a Window causes the size of objects to jitter
-
- Closed
-
-
JDK-8102550 Need to Evaluate ES2 implementation of contentWidth/Height and RTT Interface.
-
- Closed
-
-
JDK-8124960 Oversized and incomplete components shown on osx 10.8.3 using jdk 1.8.0
-
- Closed
-
(1 relates to)