OK, I've checked and it appears that we don't use the
DirectDraw scale loops for Bilinear filtering,
presumably because we can't control the filtering
algorithm when doing a DirectDraw stretch Blit.
The OpenGL pipeline handles it just fine, though.
As well as the upcoming Direct3D 9
But if you're really set on using the d3d pipeline,
here's another alternative, which may only work
on jdk6 and earlier releases.
1. set -Dsun.java2d.allowrastersteal=true
set -Dsun.java2d.accthreshold=0
set -Dsun.java2d.d3d=true (or for earlier
releases,
Hi,
I'm unable to use Java2D with the Direct3D pipeline for fast image scaling
(video rendering). Nearest neighbour works fine, no need for Direct3D, but the
quality is poor. Using either bilinear or bicubic scaling leads to poor
performance. What has to be enabled in order to get hardware
Hello,
the d3d pipeline (in java6) does support bilinear filtering.
Are you creating the BufferedImages yourself like
you'd shown or using the 'new BufferedImage(w,h,type)'
constructor? If it's the former, the images will
not be managed.
Also, if you render to this image on every