Send plymouth mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.freedesktop.org/mailman/listinfo/plymouth
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of plymouth digest..."


Today's Topics:

   1. Gradient Framebuffer Fill Bug? (Jonathan Greig)
   2. Spinfinity Plugin Simple 1 Line Fix (Jonathan Greig)


----------------------------------------------------------------------

Message: 1
Date: Sat, 14 Mar 2009 17:52:52 -0500
From: Jonathan Greig <[email protected]>
Subject: Gradient Framebuffer Fill Bug?
To: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

On the 0.7.0 version of plymouth(pretty recent from the past day or so, not
sure how to get the exact rev)

I've been testing the gradient framebuffer filling function out some. It
doesn't work as expected. Below is a modified snipplet from the spinfinity
plugin demonstrating this. The gradient should start at 80% height and stop
at the bottom of the screen. What the actual result is a cropped area of a
fullscreen gradient.

Also, I noticed that there are some odd bars appearing near the top of the
screen that are a little glitchy. Not sure if this is due to testing the
plugin without rebooting or what.


void
on_erase (ply_boot_splash_plugin_t *plugin,
          int                       x,
          int                       y,
          int                       width,
          int                       height)
{
  ply_frame_buffer_area_t area;
  ply_frame_buffer_area_t gradarea;

  area.x = x;
  area.y = y;
  area.width = width;
  area.height = height;
  gradarea.x = 0;
  gradarea.y = height-(height/5);
  gradarea.width = width;
  gradarea.height = height/5;


  ply_frame_buffer_fill_with_color (plugin->frame_buffer, &area,
                                     0,255,0,255);     // GREEN FILL
  ply_frame_buffer_fill_with_gradient (plugin->frame_buffer, &gradarea,
                                       0x000000,       // BLACK
                                       0xFF0000);      // RED
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.freedesktop.org/archives/plymouth/attachments/20090314/cecaf742/attachment.html
 

------------------------------

Message: 2
Date: Sun, 15 Mar 2009 04:59:23 -0500
From: Jonathan Greig <[email protected]>
Subject: Spinfinity Plugin Simple 1 Line Fix
To: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

In the spinfinity plugin, in the stop_animation function, should look like
this:

#ifdef ENABLE_FADE_OUT
int i;
  for (i = 0; i < 10; i++)


i was never declared. It's a simple 1 line fix.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.freedesktop.org/archives/plymouth/attachments/20090315/be5c8bfa/attachment-0001.htm
 

------------------------------

_______________________________________________
plymouth mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/plymouth


End of plymouth Digest, Vol 6, Issue 7
**************************************

Reply via email to