Path: utzoo!mnetor!uunet!husc6!ut-sally!utah-cs!shebs From: shebs@utah-cs.UUCP (Stanley Shebs) Newsgroups: comp.windows.x Subject: Graphics Context in X11 Message-ID: <5163X@utah-cs.UUCP> Date: 21 Jan 88 00:00:00 GMT Organization: PASS Research Group Lines: 16 Keywords: caching, cost The X11 Xlib document warns against using too many graphics contexts and switching between them, as opposed to re-setting the attributes of a few. I would like to know: 1. Does anybody actually cache GC data in the hardware, and if so, what sorts of data and how much is typically cached? 2. What is the range in performance variation between using, say, 30 GCs whose attributes are never changed, vs one GC with an average of two attribute settings per graphics call? I'm especially interested in differences between one server and another. Any info will be greatly appreciated. stan shebs shebs@cs.utah.edu