[OpenJDK 2D-Dev] How to use D3DRTTSurfaceToSurfaceBlit

Andrew Brygin andrew.brygin at oracle.com
Thu Mar 21 14:55:57 UTC 2013


Hello Mikhail,

  -Dsun.java2d.d3d=false can be used to disable d3d pipeline.
   You can use -Dsun.java2d.trace=log to see what particular
  operations are performed by the pipeline.

  The blit that you refer to likely can be used when you render
  a volatile image to screen. However, any swing app may run
  into this blit due to buffering. For example, I can see it in a trace
  of the Notepad demo.

   Hope it helps.

Thanks,
Andrew

On 3/21/2013 6:44 PM, mikhail cherkasov wrote:
> Hi all,
>
> I have stack trace of dead lock where D3DRTTSurfaceToSurfaceBlit appears.
>
> But I don't know to do to make  Blit.getFromCache(srcType, comp, 
> dstType); return D3DRTTSurfaceToSurfaceBli.
>
> Could you please advise how to build test case that will involve 
> D3DRTTSurfaceToSurfaceBlit for rendering?
>
> BTW is there some flag that will prevent application of using d3d 
> acceleration?
> As workaround I need to make application not to use 
> D3DRTTSurfaceToSurfaceBlit.
>
> Thanks,
> Mikhail.
>




More information about the 2d-dev mailing list