I skipped PDF for this new GM because it crashes. You can actually see the ...
12 years, 5 months ago
(2012-06-28 19:21:53 UTC)
#1
I skipped PDF for this new GM because it crashes. You can actually see the crash
by running "SampleApp --slide Shaders" (since I borrowed this code from that
slide) and attempting to save to PDF. Is that a known bug?
On 2012/06/28 19:21:53, scroggo-work wrote: > I skipped PDF for this new GM because it ...
12 years, 5 months ago
(2012-06-28 21:15:13 UTC)
#2
On 2012/06/28 19:21:53, scroggo-work wrote:
> I skipped PDF for this new GM because it crashes. You can actually see the
crash
> by running "SampleApp --slide Shaders" (since I borrowed this code from that
> slide) and attempting to save to PDF. Is that a known bug?
PDF doesn't currently support ComposeShader, but it shouldn't crash. I'm
sending you a CL to fix the crash.
It seems like PDF could handle ComposeShader by, on a layer, drawing with the
first shader, setting the xfer mode and drawing again with the second shader,
then applying the layer to the original drawing?
On 2012/06/28 21:15:13, Steve VanDeBogart wrote: > On 2012/06/28 19:21:53, scroggo-work wrote: > > I ...
12 years, 5 months ago
(2012-06-28 21:17:22 UTC)
#3
On 2012/06/28 21:15:13, Steve VanDeBogart wrote:
> On 2012/06/28 19:21:53, scroggo-work wrote:
> > I skipped PDF for this new GM because it crashes. You can actually see the
> crash
> > by running "SampleApp --slide Shaders" (since I borrowed this code from that
> > slide) and attempting to save to PDF. Is that a known bug?
>
> PDF doesn't currently support ComposeShader, but it shouldn't crash. I'm
> sending you a CL to fix the crash.
>
> It seems like PDF could handle ComposeShader by, on a layer, drawing with the
> first shader, setting the xfer mode and drawing again with the second shader,
> then applying the layer to the original drawing?
That sounds reasonable to me.
https://codereview.appspot.com/6371043/diff/1/gm/composeshader.cpp File gm/composeshader.cpp (right): https://codereview.appspot.com/6371043/diff/1/gm/composeshader.cpp#newcode63 gm/composeshader.cpp:63: return this->INHERITED::onGetFlags() | GM::kSkipPDF_Flag; No need to skip PDF ...
12 years, 5 months ago
(2012-06-29 17:32:50 UTC)
#4
Issue 6371043: Create a new GM to exercise ComposeShader.
(Closed)
Created 12 years, 5 months ago by Leon
Modified 12 years, 5 months ago
Reviewers: Steve VanDeBogart
Base URL: https://skia.googlecode.com/svn/trunk
Comments: 1