aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
Commit message (Collapse)AuthorAge
* make SkDevice constructors explicit between offscreen and on/directGravatar reed@google.com2011-06-16
| | | | | | | | http://codereview.appspot.com/4632044/ git-svn-id: http://skia.googlecode.com/svn/trunk@1620 2bbb7eff-a529-9590-31e7-b0007b416f81
* First pass at improving temporary tex/rt reuseGravatar bsalomon@google.com2011-06-16
| | | | | | | | | Review URL: http://codereview.appspot.com/4625043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1616 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implement SkPoint::Normalize() for SK_SCALAR_IS_FIXED and add performance ↵Gravatar epoger@google.com2011-06-15
| | | | | | | | | | warning to its declaration http://codereview.appspot.com/4582043/ git-svn-id: http://skia.googlecode.com/svn/trunk@1602 2bbb7eff-a529-9590-31e7-b0007b416f81
* Increase compatibility with clang, mostly around SK_RESTRICT.Gravatar tomhudson@google.com2011-06-15
| | | | | | | | Attempting to fix up our use of __restrict__ so Chrome can enable it. git-svn-id: http://skia.googlecode.com/svn/trunk@1597 2bbb7eff-a529-9590-31e7-b0007b416f81
* Improvements to the SampleApp (primarily Android).Gravatar Scroggo2011-06-15
| | | | | | | | | | | | | | | | | | Reviewed at http://codereview.appspot.com/4587042/ Android - Added buttons for interaction without a keyboard. - Added the ability to zoom in to a specific point (roughly). - Added event handling (for showing a slideshow, for example). - Allow changing screen orientation - Updated README file, explaining how to build Multiplatform changes - Added SampleApp header file - Remove FPS when turning off measure FPS mode git-svn-id: http://skia.googlecode.com/svn/trunk@1596 2bbb7eff-a529-9590-31e7-b0007b416f81
* style and warningsGravatar reed@google.com2011-06-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1590 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkDataRef (for future use)Gravatar reed@google.com2011-06-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1588 2bbb7eff-a529-9590-31e7-b0007b416f81
* Updates to the Android SampleAppGravatar djsollen@google.com2011-06-13
| | | | | | | http://codereview.appspot.com/4602049/ git-svn-id: http://skia.googlecode.com/svn/trunk@1567 2bbb7eff-a529-9590-31e7-b0007b416f81
* add row/col major getters, plus unit-testsGravatar reed@google.com2011-06-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1564 2bbb7eff-a529-9590-31e7-b0007b416f81
* move into utilsGravatar reed@google.com2011-06-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1563 2bbb7eff-a529-9590-31e7-b0007b416f81
* add 2nd parameter to SkFontHost::NextLogicalFont()Gravatar reed@google.com2011-06-13
| | | | | | | | needed by android to map different styles of fallback fonts git-svn-id: http://skia.googlecode.com/svn/trunk@1562 2bbb7eff-a529-9590-31e7-b0007b416f81
* #include <math.h> if SK_SCALAR_IS_FIXED but SK_CAN_USE_FLOATGravatar epoger@google.com2011-06-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1561 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make linux sample app work on my laptop. Reviewed at ↵Gravatar Scroggo2011-06-08
| | | | | | http://codereview.appspot.com/4568050/ git-svn-id: http://skia.googlecode.com/svn/trunk@1539 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkFixedFloorToFixedGravatar reed@google.com2011-06-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1524 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add EGL context for Windows.Gravatar bungeman@google.com2011-06-02
| | | | | | | http://codereview.appspot.com/4517133/ git-svn-id: http://skia.googlecode.com/svn/trunk@1481 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove unneeded check for thumb. see http://codereview.appspot.com/4539048/Gravatar reed@google.com2011-06-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1477 2bbb7eff-a529-9590-31e7-b0007b416f81
* speed-up SkMatrix::preScale by 3x, by special-casing it instead of just callingGravatar reed@google.com2011-06-01
| | | | | | | | concat. Inspired by the profile of the fishtank site git-svn-id: http://skia.googlecode.com/svn/trunk@1462 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add gyp for bench and make run on Windows.Gravatar bungeman@google.com2011-05-31
| | | | | | | http://codereview.appspot.com/4528112/ git-svn-id: http://skia.googlecode.com/svn/trunk@1458 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Add pages accessor to SkPDFDocument.Gravatar vandebo@chromium.org2011-05-31
| | | | | | | | Also add SK_API to SkPDFPage::getFontResources. Review URL: http://codereview.appspot.com/4561050 git-svn-id: http://skia.googlecode.com/svn/trunk@1453 2bbb7eff-a529-9590-31e7-b0007b416f81
* Port the SampleApp (raster) to Android.Gravatar Scroggo2011-05-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1452 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add more SK_API declarations to fix Chrome.Gravatar vandebo@chromium.org2011-05-30
| | | | | | | | TBR=ctguil@chromium.org Review URL: http://codereview.appspot.com/4526088 git-svn-id: http://skia.googlecode.com/svn/trunk@1445 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Add plumbing and accessors so that Chrome can record the font types ↵Gravatar vandebo@chromium.org2011-05-29
| | | | | | | | | | | used in a PDF. - Add a font type accessor to SkPDFFont. - Plumb font resource retrivial up to SkPDFPage. Review URL: http://codereview.appspot.com/4547069 git-svn-id: http://skia.googlecode.com/svn/trunk@1444 2bbb7eff-a529-9590-31e7-b0007b416f81
* Removal of obsolete interface, SkMatrixClipObserver.Gravatar twiz@google.com2011-05-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1435 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Improve the SkClipStack skipping prefix code.Gravatar vandebo@chromium.org2011-05-25
| | | | | | | | Because of intersecting done in SkClipStack, we may have to do more work in the last entry of the prefix. Review URL: http://codereview.appspot.com/4530066 git-svn-id: http://skia.googlecode.com/svn/trunk@1418 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Reuse the invert function object for xform object masks.Gravatar vandebo@chromium.org2011-05-25
| | | | | | Review URL: http://codereview.appspot.com/4557046 git-svn-id: http://skia.googlecode.com/svn/trunk@1417 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Rename ContentEntryAccessor to ScopedContentEntry.Gravatar vandebo@chromium.org2011-05-24
| | | | | | Review URL: http://codereview.appspot.com/4515134 git-svn-id: http://skia.googlecode.com/svn/trunk@1416 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Fix regression - correct for fInitialTrnasform in form xobjects.Gravatar vandebo@chromium.org2011-05-24
| | | | | | | | Chrome bug http://crbug.com/83658 Review URL: http://codereview.appspot.com/4550072 git-svn-id: http://skia.googlecode.com/svn/trunk@1415 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Add helper class to manage ContentEntry set up and completion.Gravatar vandebo@chromium.org2011-05-24
| | | | | | | | This stack object helper class calls finishContentEntry when it goes out of scope, maintains the current content entry, and manages the dst form xobject when it is needed. This can be made cleaner by moving the guts of SkPDFDevice into a core object, which can expose setUp/finishContentEntry as public, but that is left as a todo. Review URL: http://codereview.appspot.com/4515126 git-svn-id: http://skia.googlecode.com/svn/trunk@1409 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Add clip support and some optimizations for "complex" xfer modes.Gravatar vandebo@chromium.org2011-05-24
| | | | | | | | | | | | | | For Clear, Src, Dst/Src-In/Out, we have to consider the current clip, and potentially draw Dst, clipped to the inverse of the current clip before doing the operation of interest. For clear or src, if we haven't drawn anything, or the clip is empty, there's nothing to be done. For Src/Dst-In/Out, if either is empty, the result is empty. Review URL: http://codereview.appspot.com/4538082 git-svn-id: http://skia.googlecode.com/svn/trunk@1407 2bbb7eff-a529-9590-31e7-b0007b416f81
* Warn when an SkScalar is passed into SkIntToScalar() (converted twice)Gravatar epoger@google.com2011-05-24
| | | | | | | | http://codereview.appspot.com/4548051/ git-svn-id: http://skia.googlecode.com/svn/trunk@1405 2bbb7eff-a529-9590-31e7-b0007b416f81
* add optoinal bytesRead argument (output) to playback()Gravatar reed@google.com2011-05-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1400 2bbb7eff-a529-9590-31e7-b0007b416f81
* add cross-process option to gpipeGravatar reed@google.com2011-05-23
| | | | | | | | add unittests for reader32 and writer32 git-svn-id: http://skia.googlecode.com/svn/trunk@1397 2bbb7eff-a529-9590-31e7-b0007b416f81
* Expose SkComposeShader as SK_API.Gravatar ctguil@chromium.org2011-05-20
| | | | | | | This is used by the ChromeOS build of Chrome. Review URL: http://codereview.appspot.com/4548054 git-svn-id: http://skia.googlecode.com/svn/trunk@1396 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add Mesa as a GL backend.Gravatar bungeman@google.com2011-05-19
| | | | | | | http://codereview.appspot.com/4545055/ git-svn-id: http://skia.googlecode.com/svn/trunk@1382 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix windows color orderGravatar bsalomon@google.com2011-05-19
| | | | | | | | Review URL: http://codereview.appspot.com/4553048/ git-svn-id: http://skia.googlecode.com/svn/trunk@1379 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Implement clear xfermode with a mask instead of pushing the clip down.Gravatar vandebo@chromium.org2011-05-18
| | | | | | | | This approach is much less likely to use an SkRegion and ends up working better for Webkit. Review URL: http://codereview.appspot.com/4550057 git-svn-id: http://skia.googlecode.com/svn/trunk@1375 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Fix windows compile warning.Gravatar vandebo@chromium.org2011-05-18
| | | | | | Review URL: http://codereview.appspot.com/4545056 git-svn-id: http://skia.googlecode.com/svn/trunk@1374 2bbb7eff-a529-9590-31e7-b0007b416f81
* move SHIFT default definitions from SkColorPriv.h to SkPostConfig.h, so thatGravatar reed@google.com2011-05-18
| | | | | | | | | clients don't accidentally see them defined on some platforms when they only include SkTypes.h, and not others. git-svn-id: http://skia.googlecode.com/svn/trunk@1373 2bbb7eff-a529-9590-31e7-b0007b416f81
* encode current LCD orientation and order into font-cache-keyGravatar reed@google.com2011-05-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1368 2bbb7eff-a529-9590-31e7-b0007b416f81
* add more keysGravatar reed@google.com2011-05-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1357 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Improve path effect and drawPath(prePathMatrix) support.Gravatar vandebo@chromium.org2011-05-17
| | | | | | | | | | | | Add path effect handling for drawPoints (via drawPath). Move path effect handling from drawRect to drawPath. Add prePathMatrix support to drawPath. BUG=crbug.com/82849 Review URL: http://codereview.appspot.com/4531047 git-svn-id: http://skia.googlecode.com/svn/trunk@1354 2bbb7eff-a529-9590-31e7-b0007b416f81
* get tests closer to passing for SKIA_SCALAR=fixedGravatar epoger@google.com2011-05-17
| | | | | | | | http://codereview.appspot.com/4532064/ git-svn-id: http://skia.googlecode.com/svn/trunk@1351 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add GL context creation for X so that gm can run GPU on Linux.Gravatar bungeman@google.com2011-05-17
| | | | | | | http://codereview.appspot.com/4548047/ git-svn-id: http://skia.googlecode.com/svn/trunk@1343 2bbb7eff-a529-9590-31e7-b0007b416f81
* separate coverage stages from color stages.Gravatar bsalomon@google.com2011-05-16
| | | | | | | | Review URL: http://codereview.appspot.com/4538064/ git-svn-id: http://skia.googlecode.com/svn/trunk@1339 2bbb7eff-a529-9590-31e7-b0007b416f81
* fully expand the initialization for rect (android compiler didn't like {0})Gravatar reed@google.com2011-05-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1336 2bbb7eff-a529-9590-31e7-b0007b416f81
* use SkPath for GrPath, removing GrPathIter entirelyGravatar reed@google.com2011-05-16
| | | | | | | | http://codereview.appspot.com/4515071/ git-svn-id: http://skia.googlecode.com/svn/trunk@1335 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change getConvexity() to now compute it if the value is set to kUnkown.Gravatar reed@google.com2011-05-16
| | | | | | | | Change behavior for degenerate paths: now those return kConvex instead of kUnknown git-svn-id: http://skia.googlecode.com/svn/trunk@1330 2bbb7eff-a529-9590-31e7-b0007b416f81
* Optimize colorfilter path when using a constant color.\nReviewed at ↵Gravatar Scroggo2011-05-16
| | | | | | http://codereview.appspot.com/4548041/ git-svn-id: http://skia.googlecode.com/svn/trunk@1328 2bbb7eff-a529-9590-31e7-b0007b416f81
* add Convexity enum to SkPathGravatar reed@google.com2011-05-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1324 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Add support for SrcIn, SrcOut, DstIn, DstOut xfermodes.Gravatar vandebo@chromium.org2011-05-13
| | | | | | | | | | This change uses the soft mask (aka soft clip) functionality of PDF to implement the xfermodes. It has to put existing content (dst) into a form xobject as well as putting the new (src) content into a different form xobject. It then draws one of them with the other as the soft mask. To accomplish this, we add a call to finishContentEntry after each call to setUpContentEntry - this is kind of a hack, but I don't see a better way to extract src. Unfortunately, soft mask is specified in the Graphic State PDF object (and not in the form xobject), so when handling one of these modes, we add a one time GS object to set the soft mask and invoke a simple GS to reset the soft mask when done. Review URL: http://codereview.appspot.com/4496041 git-svn-id: http://skia.googlecode.com/svn/trunk@1320 2bbb7eff-a529-9590-31e7-b0007b416f81