From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MbE9T-000881-Hj for mharc-grub-devel@gnu.org; Wed, 12 Aug 2009 09:46:03 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbE9R-000876-Gd for grub-devel@gnu.org; Wed, 12 Aug 2009 09:46:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbE9M-00085U-7G for grub-devel@gnu.org; Wed, 12 Aug 2009 09:46:00 -0400 Received: from [199.232.76.173] (port=33045 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbE9M-00085P-3d for grub-devel@gnu.org; Wed, 12 Aug 2009 09:45:56 -0400 Received: from mail-bw0-f222.google.com ([209.85.218.222]:56450) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbE9L-0003xl-Fq for grub-devel@gnu.org; Wed, 12 Aug 2009 09:45:55 -0400 Received: by bwz22 with SMTP id 22so10776bwz.42 for ; Wed, 12 Aug 2009 06:45:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=0/N7Rx/oxzXL24A0MkbTr4ADv7nw14eFKO0ncw8wEL4=; b=LT0ASoh16Fvt4CD/AD3fTRYXu+6GRlFqOzFMaWRMFuI40TQrvuCn4ovQX//517/0ZK YTkx37qDo7HL1VjJCJYDmMvB2Oek2qaagJzqj4YSKZL32BITIVT2do5279VQWmmT5es1 e+PuVBrGnuwOG0dNEu8MAY3+V2tLuWNZTI6Fc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=lWMJU4RkUjHqhyhh5DTZAg4irmzz7RkCRZfpsQX0Jb6Xf4tQWklMpIYePp2uGiYvdW AIRD7YvkCOeWVgafneYCcpKyt6DXvqqp6tWC60HiMzn7I9jqDd+GMZurQRoujqB8nlcV pwJ05D/JR+0P60Fkd4r+juP2H5RF2BurztDyk= MIME-Version: 1.0 Received: by 10.204.52.196 with SMTP id j4mr60106bkg.170.1250084748930; Wed, 12 Aug 2009 06:45:48 -0700 (PDT) In-Reply-To: References: Date: Wed, 12 Aug 2009 15:45:48 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Fwd: [PATCH 1/2] Framebuffer split X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2009 13:46:02 -0000 On Wed, Aug 12, 2009 at 3:17 PM, Michal Suchanek wrote: > 2009/8/10 Vladimir 'phcoder' Serbinenko : >>> I would like a video_fb function like >>> grub_video_fb_create_render_target_from_buffer(void * buffer, int >>> allocated, const grub_video_mode_info_t * mode_info) >> Well this is pretty much what we do directly. New fields can be added >> to fbrender_target with no problem. (btw currently driver manages only >> screen render target and completely delegates other functions to >> video_fb) >>> I am sure that for doing transparent rotation in video_fb >>> encapsulation is good. I can do without it or patch it in with the >>> rotation if I get it into working state. >> Actually it's enough to follow simple rules like >> blitting target on target isn't rotated but coordinates are adjusted > >> framebuffer can apply any transformation, not just rotation w/o driver >> to know. > > Obviously, the video_fb can do anything (within reason - it needs to > follow the current interface) behind the driver's back as long as > there is working encapsulation in place. Considering that vbe.c and sdl.c currently aren't affected a lot whether there is or there isn't encapsulation in place, I'm ok tih encapsulating it but if any driver needs the breach of encapsulation it will be broken and I'll post no opposition to it. I'll do the encapsulation tomorrow. > > Thanks > > Michal > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git