[OpenJDK 2D-Dev] Optimizing pixmap reads and write

2008-11-04 Thread Roman Kennke
I'm currently implementing a SurfaceData for VxWorks/WindML. Unfortunately, this graphics library (WindML) doesn't provide me direct framebuffer access. Therefore I have to perform read and write operations for rendering operations (at least, for images and likewise non-primitives). I was thinking

Re: [OpenJDK 2D-Dev] Optimizing pixmap reads and write

2008-11-04 Thread Jim Graham
Hi Roman, This isn't well documented in SurfaceData.h, but there is a set of flags SD_LOCK_NEED_PIXELS which indicates if you need to do the read. This is used in X11SurfaceData.c, but that file has so many ifdefs and alternate pixel access modes now that you really have to dig through it