Results 1 to 5 of 5

Thread: Alpha Mask

  1. #1
    Senior Member
    Join Date
    Feb 2006
    Posts
    115

    Alpha Mask

    Is the only way that the alpha mask can be modified through the vgMask() API, or does the result of the rendering also modify this buffer.

    I've played around with the reference implementation, and it looks like that rendering doesn't change the alpha mask, but I'd like to be sure.

    The last paragraph in 7.2 on p.39 has me a bit confused.

    Thanks in advance.

  2. #2

    Re: Alpha Mask

    Quote Originally Posted by Ivo Moravec
    Is the only way that the alpha mask can be modified through the vgMask() API, or does the result of the rendering also modify this buffer.

    I've played around with the reference implementation, and it looks like that rendering doesn't change the alpha mask, but I'd like to be sure.

    The last paragraph in 7.2 on p.39 has me a bit confused.

    Thanks in advance.
    Hi Ivo.
    The function vgMask is the only way to modify the alpha mask.
    As you can see from the specifications, it's possible to use external VGImage(s) coupled with vgMask function.
    Regards,
    Matteo.
    AmanithVG Lead Programmer

  3. #3
    Senior Member
    Join Date
    Feb 2006
    Posts
    115
    Thank you.

  4. #4
    Junior Member
    Join Date
    Jan 2007
    Posts
    1
    Do we always need support alpha mask? From the spec, I think it is an option. But in the vg 1.0 conformance test, it is tested regardless of EGLConfig. What's your opinon?

  5. #5
    Senior Member
    Join Date
    Feb 2006
    Posts
    115
    Quote Originally Posted by trumy
    Do we always need support alpha mask? From the spec, I think it is an option. But in the vg 1.0 conformance test, it is tested regardless of EGLConfig. What's your opinon?
    The Alpha Mask always needs to be supported.
    It's destination surfaces that contain alpha channels which may or may not be supported based on the EGLConfig().

Similar Threads

  1. No API for rendering glyphs to a mask?
    By HabeusCorpse in forum OpenVG and VGU
    Replies: 1
    Last Post: 10-05-2011, 11:11 AM
  2. glClear alpha vs geometry alpha -- blending result confusin
    By jasontrice in forum OpenGL ES 2X - for programmable 3D graphics pipelines
    Replies: 3
    Last Post: 06-16-2011, 11:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •