Re: [RFC weston] compositor: optimize/simplify shaders

2012-09-04 Thread Pekka Paalanen
On Fri, 31 Aug 2012 16:58:24 +0300 Pekka Paalanen wrote: > I couldn't find exactly duplicated vertices in cliptest, but I found > problems: > > http://people.collabora.com/~pq/geometry-test-1.png > http://people.collabora.com/~pq/geometry-test-2.png > http://people.collabora.com/~pq/geometry-tes

Re: [RFC weston] compositor: optimize/simplify shaders

2012-08-31 Thread Pekka Paalanen
On Fri, 31 Aug 2012 12:27:38 +0300 Pekka Paalanen wrote: > On Thu, 30 Aug 2012 12:15:52 -0500 > Rob Clark wrote: > > > On Thu, Aug 30, 2012 at 6:11 AM, Pekka Paalanen wrote: > > > I got these with your 'pq' branch: > > > > > > http://people.collabora.com/~pq/geometry-debug-6.png > > > It appea

Re: [RFC weston] compositor: optimize/simplify shaders

2012-08-31 Thread Pekka Paalanen
On Thu, 30 Aug 2012 12:15:52 -0500 Rob Clark wrote: > On Thu, Aug 30, 2012 at 6:11 AM, Pekka Paalanen wrote: > > Hi Rob, > > > > that's definitely interesting. I'm working based on your 'pq' branch, > > though, because you missed these commits: > > > > 1e17e4a compositor: fix blending for full-s

Re: [RFC weston] compositor: optimize/simplify shaders

2012-08-30 Thread Rob Clark
On Thu, Aug 30, 2012 at 6:11 AM, Pekka Paalanen wrote: > On Wed, 29 Aug 2012 19:18:17 -0500 > Rob Clark wrote: > >> On Tue, Aug 28, 2012 at 8:27 AM, Pekka Paalanen wrote: >> > On Mon, 27 Aug 2012 17:03:10 +0300 >> > Pekka Paalanen wrote: >> > >> >> Hi Rob, >> >> >> >> I've started reviewing you

Re: [RFC weston] compositor: optimize/simplify shaders

2012-08-30 Thread Pekka Paalanen
On Thu, 30 Aug 2012 14:11:41 +0300 Pekka Paalanen wrote: > On Wed, 29 Aug 2012 19:18:17 -0500 > Rob Clark wrote: > > > On Tue, Aug 28, 2012 at 8:27 AM, Pekka Paalanen wrote: > > > On Mon, 27 Aug 2012 17:03:10 +0300 > > > Pekka Paalanen wrote: > > > > > >> Hi Rob, > > >> > > >> I've started re

Re: [RFC weston] compositor: optimize/simplify shaders

2012-08-30 Thread Pekka Paalanen
On Wed, 29 Aug 2012 19:18:17 -0500 Rob Clark wrote: > On Tue, Aug 28, 2012 at 8:27 AM, Pekka Paalanen wrote: > > On Mon, 27 Aug 2012 17:03:10 +0300 > > Pekka Paalanen wrote: > > > >> Hi Rob, > >> > >> I've started reviewing your patch and fixing the remaining bugs. So far > >> I think I got mos

Re: [RFC weston] compositor: optimize/simplify shaders

2012-08-29 Thread Rob Clark
On Tue, Aug 28, 2012 at 8:27 AM, Pekka Paalanen wrote: > On Mon, 27 Aug 2012 17:03:10 +0300 > Pekka Paalanen wrote: > >> Hi Rob, >> >> I've started reviewing your patch and fixing the remaining bugs. So far >> I think I got most of the blend/opaque region stuff sorted out. I >> haven't still gott

Re: [RFC weston] compositor: optimize/simplify shaders

2012-08-28 Thread Pekka Paalanen
On Mon, 27 Aug 2012 17:03:10 +0300 Pekka Paalanen wrote: > Hi Rob, > > I've started reviewing your patch and fixing the remaining bugs. So far > I think I got most of the blend/opaque region stuff sorted out. I > haven't still gotten to the geometry, where I can trigger visual bugs > with and wi

Re: [RFC weston] compositor: optimize/simplify shaders

2012-08-27 Thread Pekka Paalanen
On Wed, 22 Aug 2012 19:09:28 -0500 Rob Clark wrote: > From: Rob Clark > > Re-work how the shaders and emitted vertices work. Rather than always > rendering clip-rect sized quads and doing transformation in tex coords > (and requiring the corresponding clipping in frag shader), instead > emit t

Re: [RFC weston] compositor: optimize/simplify shaders

2012-08-27 Thread Pekka Paalanen
On Wed, 22 Aug 2012 19:48:28 -0500 Rob Clark wrote: > On Wed, Aug 22, 2012 at 7:38 PM, Scott Moreau wrote: > > > > > > On Wed, Aug 22, 2012 at 6:09 PM, Rob Clark wrote: > >> > >> From: Rob Clark > >> > >> Re-work how the shaders and emitted vertices work. Rather than always > >> rendering cli

Re: [RFC weston] compositor: optimize/simplify shaders

2012-08-22 Thread Rob Clark
On Wed, Aug 22, 2012 at 7:38 PM, Scott Moreau wrote: > > > On Wed, Aug 22, 2012 at 6:09 PM, Rob Clark wrote: >> >> From: Rob Clark >> >> Re-work how the shaders and emitted vertices work. Rather than always >> rendering clip-rect sized quads and doing transformation in tex coords >> (and requir

Re: [RFC weston] compositor: optimize/simplify shaders

2012-08-22 Thread Scott Moreau
On Wed, Aug 22, 2012 at 6:09 PM, Rob Clark wrote: > From: Rob Clark > > Re-work how the shaders and emitted vertices work. Rather than always > rendering clip-rect sized quads and doing transformation in tex coords > (and requiring the corresponding clipping in frag shader), instead > emit tran

[RFC weston] compositor: optimize/simplify shaders

2012-08-22 Thread Rob Clark
From: Rob Clark Re-work how the shaders and emitted vertices work. Rather than always rendering clip-rect sized quads and doing transformation in tex coords (and requiring the corresponding clipping in frag shader), instead emit transformed vertices, clipped wrt. dirty region, and use simpler fr