[blink-dev] MakeFromStream is not available in Canvaskit

2024-05-08 Thread Steven Whelan
Hi, In C++,I am trying to read a .skp file as SKPicture as below const char* skpFilePath = "layer_0.skp"; SkFILEStream stream(skpFilePath); sk_sp skPicture =SkPicture::MakeFromStream(); canvas->drawPicture(skPicture.get()); This C++ code works fine. I want to do this in browser. I believe skia

[blink-dev] Ops shown in SKIA Debugger not same as PaintOps captured via Chromium

2024-05-07 Thread Steven Whelan
Hi For the same webpage, the ops listed via SKIA Debugger are different from the List on PaintOps that I have captured from Chromium. Example Skia Debugger shows *drawPaint *operation. *I assume drawPaint = kDrawPaint/ DrawPaintOp. * But I cannot see this operation in the PaintOps list.

[blink-dev] On running Chromium - This App can't run on your PC

2024-05-07 Thread Steven Whelan
Hi I am working on Chromium open source. For debugging purposes, I put alerts and rebuild chromium on a daily basis. However suddenly, I am getting the above mentioned error - "This App can't run on your PC" I undid all the changes, but it did not get resolved. Does this mean, I will have to

[blink-dev] SkImage from DrawImageRectOp with isPaintworklet=false

2024-05-06 Thread Steven Whelan
In paint_op_buffer_serializer the drawImageRect op has an if condition for PaintWorklet. While rendering google.com, saw that most of the

Re: [blink-dev] Unable to write Serialized SkPicture into a File

2024-05-06 Thread Steven Whelan
SkPicture recording works - please join > https://groups.google.com/a/chromium.org/g/graphics-dev and email > graphics-...@chromium.org . > > -Ken > > > > On Sat, May 4, 2024 at 6:21 AM Steven Whelan > wrote: > >> Hi I am able to write the seriali

Re: [blink-dev] Unable to write Serialized SkPicture into a File

2024-05-04 Thread Steven Whelan
> > On Tue, Apr 30, 2024 at 10:46 PM Steven Whelan > wrote: > >> Yes, trying to do this in renderer process. Would it work if I run >> Chromium with --nosandbox flag. >> >> On Tue, Apr 30, 2024, 21:58 Ken Russell wrote: >> >>> Are you tryin

Re: [blink-dev] Unable to write Serialized SkPicture into a File

2024-04-30 Thread Steven Whelan
chromium/chromium/src/+/main:sandbox/policy/mac/ > for the macOS sandbox policies. > > -Ken > > > > On Tue, Apr 30, 2024 at 8:59 AM Steven Whelan > wrote: > >> Hi >> I have modified the Serialize >> <https://source.chromium.org/chromium/chromium/src/+/main:cc/pain

[blink-dev] Unable to write Serialized SkPicture into a File

2024-04-30 Thread Steven Whelan
Hi I have modified the Serialize method to Record all PaintOp as SKPicture. I want to replay this SKPicture on a remote browser.

[blink-dev] DisplayItemList::Raster

2024-04-26 Thread Steven Whelan
Purpose: Get all SKIA Commands from Chromium for a page being loaded and replay them on another browser. I was advised to take a look at pain_op_buffer . Saw that in

[blink-dev] intercept Skia draw commands in a Chromium instance

2024-04-01 Thread Steven Whelan
Hi Team I'm trying to intercept Skia draw commands in a running Chromium instance and later replay them in a different browser instance at client-side via CanvasKit , a WebAssembly build of Skia. I saw this Thread on Stack Overflow.

[blink-dev] Capture Skia Commands From Chromium

2024-04-01 Thread Steven Whelan
Hi we are working on Remote Browser Isolation. I want to capture SKIA commands from the remote Chromium Browser and replay it on the client browser. I have gone through the Rendering Pipeline of Chromium as per this answer on stack overflow-