[Rev 04] RFR: 8238954: Improve performance of tiled snapshot rendering

Frederic Thevenet github.com+7450507+fthevenet at openjdk.java.net
Thu May 14 10:01:56 UTC 2020


On Thu, 14 May 2020 09: 48:14 GMT, Frederic Thevenet <github.com+7450507+fthevenet at openjdk.org> wrote:

>> modules/javafx.graphics/src/main/java/com/sun/javafx/tk/quantum/QuantumToolkit.java line 1483:
>> 
>>> 1482:                                     IntBuffer buffer, ResourceFactory rf, QuantumImage tileImg, QuantumImage
>>> targetImg) { 1483:                 com.sun.prism.RTTexture rt = tileImg.getRT(w, h, rf);
>>> 1484:                 if (rt == null) {
>> 
>> Any reason why the fully qualified name is needed?
>
> Not that I can think of, probably some unfortunate copy/paste.
> I'll fix that.

Indeed ` com.sun.prism.RTTexture rt` was present as is in `renderToImage` before this change, and I reused it
wholesale. I don't think it was needed back then either, maybe it's a left over from a prior refactor.

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

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


More information about the openjfx-dev mailing list