sharplispers / clx

a fork of crhodes' fork of danb's fork of the CLX library, an X11 client for Common Lisp
Other
116 stars 46 forks source link

Revert "Memorize the bit depth for drawable". #151

Closed dkochmanski closed 5 years ago

dkochmanski commented 5 years ago

This commit reverts functional changes in 662e60ce4ad88827441ca6ad04b202cb46e29314.

For context see:

In short: XQuartz X11 server has a very unoptimized code path for probing the bit depth. Usually this operation is fast, so McCLIM did check for this bit each time. After finding the issue first fix was here in clx but that raised a dispute which resulted in this reversal and caching the depth on McCLIM side.