#12138 NORM 13.1.0: Incorrect repeat rendering on XO-1.5

Zarro Boogs per Child bugtracker at laptop.org
Fri Oct 5 16:41:52 EDT 2012


#12138: Incorrect repeat rendering on XO-1.5
---------------------------------------+------------------------------------
           Reporter:  dsd              |       Owner:  jnettlet     
               Type:  defect           |      Status:  new          
           Priority:  normal           |   Milestone:  13.1.0       
          Component:  x window system  |     Version:  not specified
         Resolution:                   |    Keywords:               
        Next_action:  never set        |    Verified:  0            
Deployment_affected:                   |   Blockedby:               
           Blocking:                   |  
---------------------------------------+------------------------------------

Comment(by dsd):

 The render spec also explains clearly what Repeat=None means w.r.t. out-
 of-bounds data access:

 {{{
 9. Source and Mask Transformations

 When fetching pixels from the source or mask pictures, Render provides
 four
 options for pixel values which fall outside the drawable (this includes
 pixels within a window geometry obscured by other windows).

  +      None.  Missing values are replaced with transparent.
 }}}

 So I guess when I wrote "black" above I really meant "transparent".

 Yes, I have checked that the repeat flag is not being set.

 I got lucky and stumbled across a fix here; the ViaTextureModes enum
 values control what the hardware does w.r.t. accessing out-of-bounds data.

 Patch attached - fixes the problem, and can't see any regressions after a
 quick spin in GNOME and Sugar.

-- 
Ticket URL: <http://dev.laptop.org/ticket/12138#comment:5>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list