[OpenJDK 2D-Dev] Question about SurfaceData lock functions

Clemens Eisserer linuxhippy at gmail.com
Fri Jul 1 08:03:41 UTC 2011


Hi,

Just to be sure, Is it allowed/possible to use a per-surface locking
structure for SurfaceData's lock/unlock functions to improve
concurrency?
All OpenJDK pipeline implementations seem to lock the toolkit lock, so
maybe the software routines expect the toolkit lock to be locked.

How do fallbacks work with the OpenGL pipeline? I just realized it
doesn't implement the native lock/unlock/getrasinfo functions, and
getRaster() seems to be unimplemented also.

Thanks, Clemens



More information about the 2d-dev mailing list