bugGnash - The GNU Flash player - Bugs: bug #19406, agg seems to get invisibilty out...

 
 

bug #19406: agg seems to get invisibilty out by one

Submitted by:  Martin Guy <martinwguy>
Submitted on:  Sat 24 Mar 2007 06:06:11 PM UTC  
 
Category: render-aggSeverity: 3 - Normal
Release: NoneStatus: None
Privacy: PublicAssigned to: Udo Giacomozzi <udog>
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

 Spam posted by an anonymous
Fri 25 Jan 2008 04:06:46 PM UTC, comment #7:

I added that comment because in the gtk glue I always use (bpp+7)/8 to get 2 bytes for 15 bpp mode. I'm pretty sure this is wrong, but didn't want to touch KDE code since I never used it.

Anyway, such an mistake should lead to extreme problems - I would expect a segfault or something like that (since the buffer if half the required size).

Udo Giacomozzi <udog>
Project MemberIn charge of this item.
Thu 24 Jan 2008 09:45:48 AM UTC, comment #6:

Can this be related with the failure we getin mask_test2runner ?
Basically, it seems white is not always white in RGB555...

I noticed a comment of Bastiaan in kde agg glue
asking udo if it was correct for _depth to be 1 for 15 bit
pixel formats (sounds wrong to me too..)
The comment is beside a code using bpp/8, which is 1 for bpp=15

Sandro Santilli <strk>
Project Member
Mon 29 Oct 2007 10:03:45 AM UTC, comment #5:

The background colour for whack-a-doc is as follows, by the way:

15852] 11:01:30: background r: 255 b: 255 g: 0 a: 255

Benjamin Wolsey <bwy>
Project Member
Mon 29 Oct 2007 08:15:59 AM UTC, comment #4:

I have the same problem with whack-a-doc on agg-gtk with 16 bpp colour (but not with 24-bpp, I think). Looks like same bug as the problems reported in bug #21367. File #12269 looks like what I get.

Agg output:
8558] 09:13:10: Your X server expects RGB24 pixmap data for standard mode.
8558] 09:13:10: X server pixel format is (R11:5, G5:6, B0:5, 16 bpp)
8558] 09:13:10: X server is using RGB565 pixel format
8558] 09:13:10: framebuffer pixel format is RGB565 (little-endian host)

Benjamin Wolsey <bwy>
Project Member
Tue 22 May 2007 09:38:25 AM UTC, comment #3:

Hmm, I don't think the background color is incorrect, but let's check it to be sure..

In render_handler_agg.cpp, function begin_display() (near line 638) print out the value of "background_color". Most interesting is of course it's alpha (m_a) member.

Udo Giacomozzi <udog>
Project MemberIn charge of this item.
Fri 18 May 2007 11:41:45 AM UTC, comment #2:

It looks like the alpha of the background wash is 99% instead of 100%.

Martin Guy <martinwguy>
Tue 08 May 2007 01:53:30 PM UTC, comment #1:

I have no explanation for this.

- could these be left-overs from previously visible characters (like the background not being completely erased) ?

- are there other differences in the SDL implementation?

Udo Giacomozzi <udog>
Project MemberIn charge of this item.
Sat 24 Mar 2007 06:06:11 PM UTC, original submission:

In whack-a-doc the single combination AGG-SDL renderers ghostly doctors where they should be invisible. agg-gtk and opengl-sdl get this right.

Martin Guy <martinwguy>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #12272:  whack-a-doc-v2.swf added by martinwguy (76kB - application/x-shockwave-flash)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Updated the item)
  • -unavailable- added by bwy (Posted a comment)
  • -unavailable- added by udog (Posted a comment)
  • -unavailable- added by martinwguy (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 09 Jan 2008 11:37:17 AM UTCstrkAssigned toNone=>udog
    Mon 29 Oct 2007 08:15:59 AM UTCbwySummaryagg/SDL seems to get invisibilty out by one=>agg seems to get invisibilty out by one
    Sat 24 Mar 2007 06:07:13 PM UTCmartinwguyAttached File-=>Added whack-a-doc-v2.swf, #12272
    Sat 24 Mar 2007 06:06:11 PM UTCmartinwguyAttached File-=>Added whack-a-doc-macromedia.png, #12268
      Attached File-=>Added whack-a-doc-agg-sdl.png, #12269
      Attached File-=>Added whack-a-doc-agg-gtk.png, #12270
      Attached File-=>Added whack-a-doc-opengl-sdl.png, #12271

    Back to the top


    Powered by Savane 3.1-cleanup