Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 009371A923B for ; Wed, 27 Jan 2021 22:42:54 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 9941084DD7; Wed, 27 Jan 2021 22:42:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C516A84DC7 for ; Wed, 27 Jan 2021 22:42:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id MW86iTCtwQ81 for ; Wed, 27 Jan 2021 22:42:53 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 6232184D75 for ; Wed, 27 Jan 2021 22:42:53 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 5AD84FA90; Wed, 27 Jan 2021 22:42:53 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 27 Jan 2021 22:42:53 +0000 From: "Michael Lorenz" Subject: CVS commit: src/sys/dev/wsfb To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20210127224253.5AD84FA90@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Michael Lorenz" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: macallan Date: Wed Jan 27 22:42:53 UTC 2021 Modified Files: src/sys/dev/wsfb: files.wsfb genfb.c genfbvar.h Log Message: add optional glyph cache for genfb enable with options GENFB_GLYPHCACHE=n with n being the desired size of the cache in MB. Should be enough to cache at least 900 glyphs in whatever video mode used in order to be effective in 32bit per pixel that's about 1MB To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/dev/wsfb/files.wsfb cvs rdiff -u -r1.80 -r1.81 src/sys/dev/wsfb/genfb.c cvs rdiff -u -r1.25 -r1.26 src/sys/dev/wsfb/genfbvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.