84 jint pmSize;
85
86 jboolean usingShmPixmap;
87 Drawable pixmap;
88 Drawable shmPixmap;
89 jint numBltsSinceRead;
90 jint pixelsReadSinceBlt;
91 jint pixelsReadThreshold;
92 jint numBltsThreshold;
93 } ShmPixmapData;
94 #endif /* MITSHM */
95
96 struct _X11SDOps {
97 SurfaceDataOps sdOps;
98 GetPixmapBgFunc *GetPixmapWithBg;
99 ReleasePixmapBgFunc *ReleasePixmapWithBg;
100 jboolean invalid;
101 jboolean isPixmap;
102 jobject peer;
103 Drawable drawable;
104 Widget widget;
105 GC javaGC; /* used for Java-level GC validation */
106 GC cachedGC; /* cached for use in X11SD_Unlock() */
107 jint depth;
108 jint pixelmask;
109 JDgaSurfaceInfo surfInfo;
110 AwtGraphicsConfigData *configData;
111 ColorData *cData;
112 jboolean dgaAvailable;
113 void *dgaDev;
114 Pixmap bitmask;
115 jint bgPixel; /* bg pixel for the pixmap */
116 jboolean isBgInitialized; /* whether the bg pixel is valid */
117 jint pmWidth; /* width, height of the */
118 jint pmHeight; /* pixmap */
119 Picture xrPic;
120 #ifdef MITSHM
121 ShmPixmapData shmPMData; /* data for switching between shm/nonshm pixmaps*/
122 #endif /* MITSHM */
123 };
124
|
84 jint pmSize;
85
86 jboolean usingShmPixmap;
87 Drawable pixmap;
88 Drawable shmPixmap;
89 jint numBltsSinceRead;
90 jint pixelsReadSinceBlt;
91 jint pixelsReadThreshold;
92 jint numBltsThreshold;
93 } ShmPixmapData;
94 #endif /* MITSHM */
95
96 struct _X11SDOps {
97 SurfaceDataOps sdOps;
98 GetPixmapBgFunc *GetPixmapWithBg;
99 ReleasePixmapBgFunc *ReleasePixmapWithBg;
100 jboolean invalid;
101 jboolean isPixmap;
102 jobject peer;
103 Drawable drawable;
104 GC javaGC; /* used for Java-level GC validation */
105 GC cachedGC; /* cached for use in X11SD_Unlock() */
106 jint depth;
107 jint pixelmask;
108 JDgaSurfaceInfo surfInfo;
109 AwtGraphicsConfigData *configData;
110 ColorData *cData;
111 jboolean dgaAvailable;
112 void *dgaDev;
113 Pixmap bitmask;
114 jint bgPixel; /* bg pixel for the pixmap */
115 jboolean isBgInitialized; /* whether the bg pixel is valid */
116 jint pmWidth; /* width, height of the */
117 jint pmHeight; /* pixmap */
118 Picture xrPic;
119 #ifdef MITSHM
120 ShmPixmapData shmPMData; /* data for switching between shm/nonshm pixmaps*/
121 #endif /* MITSHM */
122 };
123
|