From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlev Zundel Date: Fri, 27 Aug 2010 15:14:00 +0200 Subject: [U-Boot] [PATCH 2/2] cmp_bmp: allow negative X, Y values for display command In-Reply-To: <5610599F537DD74A8D1F5CC946A75073034791B5@az33exm25.fsl.freescale.net> (Tabi Timur-B's message of "Fri, 27 Aug 2010 05:00:47 -0700") References: <1282772210-27066-1-git-send-email-timur@freescale.com> <5610599F537DD74A8D1F5CC946A75073034791B5@az33exm25.fsl.freescale.net> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Timur, > Detlev Zundel wrote: > >> Can't you come up with a scheme which does not destroy this valuable >> property of our coordinates? > > I'm only doing two things: > > 1) Exposing a feature of the existing code. Notice that I only had to change > two lines in the cmd_bmp code, not any of the core bitmap code, which already > takes signed integers. Yes, I fully expected such an answer. Please show me the "existing feature" which started to leak in such virtual coordinates into the code. We should take a look at this and re-evaluate it. > 2) Trying to use the existing bitmap code to do the same thing that we do > with the Freescale-specific bitmap code. > > If you can tell me how I can display a logo on top of the screen, and have > all of the boot text appear below the logo, I'll be happy to do that instead. > The logo will then scroll off the top of the screen, but that's okay. We can discuss this once I see the code that makes virtual coordinates neccessary. Cheers Detlev -- Quality isn't something you lay on top of subjects and objects like tinsel on a christmas tree. Real Quality must be the source of the subjects and objects, the cone from which the tree must start. -- Robert M. Pirsig -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de