The attached patch fixes a serious problem in the mediaLib patch. The
previous version wasn't setting the medialib_initialized flag in the
gdk_rgb_convert_0888_medialib function and the composite_0888_medialib
functions. Basically the patch adds the setting of
medialib_initialized=TRUE as follows in both functions.
+ if (!medialib_initialized) {
+ medialib_initialized = TRUE;
+ gdk_use_medialib = _gdk_use_medialib ();
+ }
Also the patch has some minor cleanup in the _pixops_use_medialib and
_gdk_use_medialib function to remove some testing where we were checking
the mediaLib version number. This was cruft leftover from the days
when mediaLib was not integrated into Solaris and we used to call
dlopen/dlsym and only used mediaLib if the right version of mediaLib
were installed on the system. We long ago removed the dlopen/dlsym
cruft, but this test was still around. Now removed.
Brian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtk+-04-mediaLib.diff
Type: text/x-patch
Size: 83929 bytes
Desc: not available
URL:
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20070213/1f2d6959/attachment.bin>