From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ajay kumar Date: Tue, 20 Sep 2011 15:38:57 +0000 Subject: Re: [PATCH 1/3] include: fb: Add definiton for window positioning structure Message-Id: List-Id: References: <1316532641-2657-1-git-send-email-ajaykumar.rs@samsung.com> <1316532641-2657-2-git-send-email-ajaykumar.rs@samsung.com> <20110920112427.GB19695@sapphire.tkos.co.il> In-Reply-To: <20110920112427.GB19695@sapphire.tkos.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-arm-kernel@lists.infradead.org Hi Baruch, On Tue, Sep 20, 2011 at 4:54 PM, Baruch Siach wrote: > Hi Ajay, > > On Tue, Sep 20, 2011 at 11:30:39AM -0400, Ajay Kumar wrote: >> This patch adds a data structure definiton to hold framebuffer windows/p= lanes. >> An ioctl number is also added to provide user access >> to change window position dynamically. > > [snip] > >> +/* Window overlaying */ >> +struct fb_overlay_win_pos { >> + =A0 =A0 __u32 win_pos_x; =A0 =A0 =A0 =A0/* x-offset from LCD(0,0) wher= e window starts */ >> + =A0 =A0 __u32 win_pos_y; =A0 =A0 =A0 =A0/* y-offset from LCD(0,0) wher= e window starts */ >> +}; > > Why not allow negative offsets where the left or upper part of the frameb= uffer > is hidden? Thanks for pointing it out. Are there drivers which place the overlay windows such that some part of the window is hidden from being displayed on the screen? > baruch > > -- > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ~. .~ =A0 Tk Open Systems > =3D}------------------------------------------------ooO--U--Ooo----------= --{> =A0 - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - > -- > To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at =A0http://vger.kernel.org/majordomo-info.html > Ajay