Kimbrough@dsg.csc.ti.COM (Kerry Kimbrough) (07/25/89)
Is it true that a StoreColors request on a GrayScale colormap must always send values for each of red, green, blue (i.e. the same value, three times)? This seems to be the implication of the protocol spec. However, it seems unnecessarily inefficient. Since the server is the only place where it is known which primary drives actual intensity, it could just as easily interpret a StoreColors request with only one value.
rws@EXPO.LCS.MIT.EDU (07/25/89)
Is it true that a StoreColors request on a GrayScale colormap must always send values for each of red, green, blue (i.e. the same value, three times)? Yes. However, it seems unnecessarily inefficient. Hardly. The protocol request is going to have the bytes for all of those values anyway, the only real "overhead" is you setting them up. Not a very big deal. If you're suggesting that there should have been a separate protocol request for this special case, to send fewer bytes, I would argue it isn't worth it.