Skia is a rendering engine, it's not a windowing framework. If you are looking at a windowing framework, you are not looking at the right place. So if you want to have window and view management, you need something like what exists in src/chrome/browser/views/ or the "something else" that exists in android (which I don't know).
If you want to draw stuff and replace GDI calls, then Skia is the right thing. From the main page: « Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. - 3x3 matrices w/ perspective - antialiasing, transparency, filters - shaders, xfermodes, maskfilters, patheffects » M-A On Fri, Jan 23, 2009 at 3:00 PM, Mario Pintaric <[email protected]> wrote: > I realize that the notion of pushing skia support into a win32 application is > probably easy for you given you are knee deep in chromium code however there > is quite a bit of framework code in Chromium that facilitates the use of > skia. I was hoping to find something simpler. I had suspected that you > might be leveraging WTL, but that suspicion is proving to be wrong. > > I wanted to create a simple Win32 application that was as minimal as possible > yet made use of skia for its rendering. I'm figuring it out slowly. So far > I've only found one example on the net that comes close to doing what I'm > trying to do. > > Clearly, outside of Google and Android, there's not much going on with skia > and Win32. Looks like I'll be one of the first to burst that bubble > unfortunately. Was hoping for a shorter path than having to build up a > little framework. > > As for the WTL bits, I just wanted to point out a problem that might affect > things though I had already suspected that this wasn't being used. > > Thanks for the feedback, and I'd appreciate any skia bones you might be able > to throw my way. I've yet to see a native win32 sample, just xbox and opengl > variants. > > Mario > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of Marc-Antoine > Ruel > Sent: Friday, January 23, 2009 2:36 PM > To: Mario Pintaric > Subject: Re: [chromium-dev] Inconsistent patching in WTL > > My memory is coming back. The README is incorrect, we grabbed the > version directly from Microsoft at > http://www.microsoft.com/downloads/details.aspx?familyid=E5BA5BA4-6E6B-462A-B24C-61115E846F0C > > About your skia question, if you look at > http://code.google.com/p/skia/ you'll see there's 2 skia client. But > you may answer your own question by saying that "chromium is a typical > win32 application". I don't know what you are looking for exactly so I > can't answer. > > M-A > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
