[Intel-gfx] [PATCH] i965: Add batch_flush_notify hook to create new vertex-buffer bo

Carl Worth cworth at cworth.org
Thu Dec 4 00:16:14 CET 2008


On Wed, 2008-12-03 at 14:17 -0800, Carl Worth wrote:
> So I responded to that with the active stuff. And maybe that wasn't
> thought through well.

It definitely wasn't. Actually looking at where this active code got
used it was plain that this was just a case of a missing call to
require_space. So my new patch to follow drops the active code.

>  Meanwhile, actually running my desktop session
> with this patch in place, I'm regularly seeing an occasional glyph get
> misplaced. So things are definitely not all correct with the patch yet.

And this was just a missing reset of vb_offset to 0. Instead of
decorating each call to undereference with a reset of vb_offset, I've
moved the initialization of that field to the single dri_bo_alloc call
instead.

See patch to follow as reply, (if I succeed in driving git-send-email
that is).

-Carl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20081203/200d8db6/attachment.sig>


More information about the Intel-gfx mailing list