class RectangleCompositorParameterizedOpacityTest_TransparencyTest_Test
Defined at line 464 of file ../../src/ui/lib/escher/test/flatland/rectangle_compositor_unittest.cc
This test makes sure that alpha-blending transparency works.
It renders a blue rectangle with 0.6 alpha on top of an
opaque red rectangle.
It does this test *twice*, once with is_opaque turned off
and one with it on. Transparency should only be applied when
the flag is on, even if the RectangleRenderable color has an
alpha that is
<
1.0.
TODO(43394): Add testing for multiple interleaved opaque and
transparent rectangles.
Public Methods
void RectangleCompositorParameterizedOpacityTest_TransparencyTest_Test ()
Defined at line 464 of file ../../src/ui/lib/escher/test/flatland/rectangle_compositor_unittest.cc
void RectangleCompositorParameterizedOpacityTest_TransparencyTest_Test (const RectangleCompositorParameterizedOpacityTest_TransparencyTest_Test & )
Defined at line 464 of file ../../src/ui/lib/escher/test/flatland/rectangle_compositor_unittest.cc
RectangleCompositorParameterizedOpacityTest_TransparencyTest_Test & operator= (const RectangleCompositorParameterizedOpacityTest_TransparencyTest_Test & )
Defined at line 464 of file ../../src/ui/lib/escher/test/flatland/rectangle_compositor_unittest.cc
void TestBody ()
Defined at line 464 of file ../../src/ui/lib/escher/test/flatland/rectangle_compositor_unittest.cc