aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Add red black treeGravatar bsalomon@google.com2011-02-22
| | | | | | | | Review URL: http://codereview.appspot.com/4184063 git-svn-id: http://skia.googlecode.com/svn/trunk@823 2bbb7eff-a529-9590-31e7-b0007b416f81
* rename SkDeque::Iter to SkDeque::F2BIter, since it runs front-to-back (in ↵Gravatar reed@google.com2011-02-22
| | | | | | | | | | | | preparation for another iter that runs back-to-front (B2FIter). add unittest for Deque git-svn-id: http://skia.googlecode.com/svn/trunk@821 2bbb7eff-a529-9590-31e7-b0007b416f81
* can't use this in STATIC_ASSERT on windowsGravatar reed@google.com2011-02-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@820 2bbb7eff-a529-9590-31e7-b0007b416f81
* use new high-quality blur in samplesGravatar reed@google.com2011-02-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@819 2bbb7eff-a529-9590-31e7-b0007b416f81
* [Committed on behalf of junov@chromium.org]Gravatar senorblanco@chromium.org2011-02-18
| | | | | | | | | | | | | | | Fixed rendering of shadows under bitmaps. Added an option to SkBlurMask to produce higher quality blurs. The HQ blur option is propagated through SkBlurDrawLooper so that it can be invoked by WebKit for drawing shadows. Added a shadow rendering test to gm. Bugs fixed: 146, 150 Related Chromium bugs: 11153, 42654 Code review: http://codereview.appspot.com/4174049 git-svn-id: http://skia.googlecode.com/svn/trunk@818 2bbb7eff-a529-9590-31e7-b0007b416f81
* Avoid putting adding vertex buffers to the pool when setting the complex clip.Gravatar bsalomon@google.com2011-02-18
| | | | | | Review URL: http://codereview.appspot.com/4180058/ git-svn-id: http://skia.googlecode.com/svn/trunk@817 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make VS2010 project reflect new location of GrGLIRect.hGravatar bsalomon@google.com2011-02-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@816 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix warning about non-local anonymous structGravatar bsalomon@google.com2011-02-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@815 2bbb7eff-a529-9590-31e7-b0007b416f81
* Moving GrGLIRect to include directory to fix build break using make files. ↵Gravatar bsalomon@google.com2011-02-18
| | | | | | (At some point we need to move many of the non-public headers to src) git-svn-id: http://skia.googlecode.com/svn/trunk@814 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reduce glGets for stencil bits.Gravatar bsalomon@google.com2011-02-18
| | | | | | | | Clean up GL vs Gr rect conventions for viewport and scissor. Review URL: http://codereview.appspot.com/4185056/ git-svn-id: http://skia.googlecode.com/svn/trunk@813 2bbb7eff-a529-9590-31e7-b0007b416f81
* call glyph::init() on tmpGlyph, so we have a properly initialized fMaskFormatGravatar reed@google.com2011-02-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@812 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove dead conditional codeGravatar reed@google.com2011-02-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@811 2bbb7eff-a529-9590-31e7-b0007b416f81
* Clean up geterror / log macros and globals for debugging. disable geterror ↵Gravatar bsalomon@google.com2011-02-17
| | | | | | | | in chrome by default. Review URL: http://codereview.appspot.com/4170058/ git-svn-id: http://skia.googlecode.com/svn/trunk@810 2bbb7eff-a529-9590-31e7-b0007b416f81
* Set fLastGlyphID in SkFontHost::GetAdvancedTypefaceMetrics for windows.Gravatar ctguil@chromium.org2011-02-17
| | | | | | Review URL: http://codereview.appspot.com/4178060 git-svn-id: http://skia.googlecode.com/svn/trunk@809 2bbb7eff-a529-9590-31e7-b0007b416f81
* Hide alloc size vs content size below APIGravatar bsalomon@google.com2011-02-17
| | | | | | | Remove old gl shaders class Move texture matrix to sampler class git-svn-id: http://skia.googlecode.com/svn/trunk@808 2bbb7eff-a529-9590-31e7-b0007b416f81
* initial baseline for linux blurs, poly2poly, pointsGravatar reed@google.com2011-02-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@807 2bbb7eff-a529-9590-31e7-b0007b416f81
* add test for pointsGravatar reed@google.com2011-02-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@806 2bbb7eff-a529-9590-31e7-b0007b416f81
* add test for poly2polyGravatar reed@google.com2011-02-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@805 2bbb7eff-a529-9590-31e7-b0007b416f81
* need to apply the prepathmatrix (or perhaps push it on our mv stack)Gravatar reed@google.com2011-02-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@804 2bbb7eff-a529-9590-31e7-b0007b416f81
* add new test for blursGravatar reed@google.com2011-02-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@803 2bbb7eff-a529-9590-31e7-b0007b416f81
* upload generated mask for maskfilter to gpu (does not work with ↵Gravatar reed@google.com2011-02-16
| | | | | | complex-paints yet) git-svn-id: http://skia.googlecode.com/svn/trunk@802 2bbb7eff-a529-9590-31e7-b0007b416f81
* first steps for supporting maskfilters (disabled right now)Gravatar reed@google.com2011-02-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@801 2bbb7eff-a529-9590-31e7-b0007b416f81
* Batch consecutive draw rects.Gravatar bsalomon@google.com2011-02-16
| | | | | | Review URL: http://codereview.appspot.com/4178057/ git-svn-id: http://skia.googlecode.com/svn/trunk@800 2bbb7eff-a529-9590-31e7-b0007b416f81
* add initial linux baseline images for gm (still need gpu backend)Gravatar reed@google.com2011-02-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@799 2bbb7eff-a529-9590-31e7-b0007b416f81
* add textGravatar reed@google.com2011-02-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@798 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix compile error for linuxGravatar reed@google.com2011-02-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@797 2bbb7eff-a529-9590-31e7-b0007b416f81
* add no-check version of SkPackARGB32, for callers that want to deliberatelyGravatar reed@google.com2011-02-15
| | | | | | | | | | | build a SkPMColor that may not be valid premultiplied (e.g. compatibility with webgl) see https://bugs.webkit.org/show_bug.cgi?id=54023 git-svn-id: http://skia.googlecode.com/svn/trunk@796 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix file modes.Gravatar vandebo@chromium.org2011-02-14
| | | | | | Review URL: http://codereview.appspot.com/4178051 git-svn-id: http://skia.googlecode.com/svn/trunk@790 2bbb7eff-a529-9590-31e7-b0007b416f81
* Provide windows font host implementation needed to support TrueType text in ↵Gravatar vandebo@chromium.org2011-02-14
| | | | | | | | | | pdf backend. - Move AdvanceMetric template functions into new file SkAdvancedTypefaceMetrics.cpp Review URL: http://codereview.appspot.com/4174041 git-svn-id: http://skia.googlecode.com/svn/trunk@789 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix param order in setVertexSourceToBuffer calls due to r786 when ↵Gravatar bsalomon@google.com2011-02-14
| | | | | | | | GR_STATIC_RECT_VB is 1 Review URL: http://codereview.appspot.com/4179047/ git-svn-id: http://skia.googlecode.com/svn/trunk@788 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix compile-error, mismatch between fontID and idGravatar reed@google.com2011-02-14
| | | | | | | | http://code.google.com/p/skia/issues/detail?id=149 git-svn-id: http://skia.googlecode.com/svn/trunk@787 2bbb7eff-a529-9590-31e7-b0007b416f81
* Refactor how Gr handles vertex and index data. GrGpu and GrInOrderDrawBuffer ↵Gravatar bsalomon@google.com2011-02-14
| | | | | | | | both GrBufferAllocPool to manage reserved and set-to-array vertex and index data. rietveld issue 4188049 git-svn-id: http://skia.googlecode.com/svn/trunk@786 2bbb7eff-a529-9590-31e7-b0007b416f81
* safeUnref() -> SkSafeUnref()Gravatar bsalomon@google.com2011-02-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@785 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove debugging printf that was accidentally left in 783.Gravatar bsalomon@google.com2011-02-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@784 2bbb7eff-a529-9590-31e7-b0007b416f81
* git-svn-id: http://skia.googlecode.com/svn/trunk@783 ↵Gravatar bsalomon@google.com2011-02-11
| | | | 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use real glyph IDs in the win fonthost to better support pdf.Gravatar vandebo@chromium.org2011-02-10
| | | | | | Review URL: http://codereview.appspot.com/4142044 git-svn-id: http://skia.googlecode.com/svn/trunk@782 2bbb7eff-a529-9590-31e7-b0007b416f81
* add 'c' command, which toggles a semi-complex clip (the pink is what has beenGravatar reed@google.com2011-02-10
| | | | | | | | clipped out). git-svn-id: http://skia.googlecode.com/svn/trunk@781 2bbb7eff-a529-9590-31e7-b0007b416f81
* update to work correctly for scalar == fixed or floatGravatar reed@android.com2011-02-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@780 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove extra stub definition of GetAdvancedTypefaceMetrics.Gravatar vandebo@chromium.org2011-02-09
| | | | | | | | | BUG=140 TEST=NONE Review URL: http://codereview.appspot.com/4150043 git-svn-id: http://skia.googlecode.com/svn/trunk@779 2bbb7eff-a529-9590-31e7-b0007b416f81
* reformatting to match coding style -- no logic changesGravatar reed@google.com2011-02-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@778 2bbb7eff-a529-9590-31e7-b0007b416f81
* safeunref method to SkSafeUnref.Gravatar bsalomon@google.com2011-02-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@777 2bbb7eff-a529-9590-31e7-b0007b416f81
* reformat for coding style, no logic changesGravatar reed@google.com2011-02-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@776 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkScalarIsFinite(), and use it for a more portable impl of ↵Gravatar reed@google.com2011-02-08
| | | | | | SkRect::isValidCoords() git-svn-id: http://skia.googlecode.com/svn/trunk@775 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Add support for xfermodes / blend modes.Gravatar vandebo@chromium.org2011-02-08
| | | | | | | | | | | | - Change SkGraphicState to track and set the blend mode (xfermode) for modes built in to PDF (non porter duff modes + src over). - Add SkXfermode::asMode() to retrieve xfermode as an enum for non porter duff modes. - Move SkXfermode.cpp around a bit to support asMode() -- Generally move utility functions toward the top of the file. - Make SkPDFFormXObject an isolated transparency group, as it used for saveLayer, which draws on transparent, not the device background. - Set the graphic state in drawDevice and drawBitmap in order to get the right xfermode and alpha. Review URL: http://codereview.appspot.com/4131043 git-svn-id: http://skia.googlecode.com/svn/trunk@774 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Change SkPDFFormXObject to not hold a reference to device.Gravatar vandebo@chromium.org2011-02-08
| | | | | | | | This prevents two copies of the content stream from sticking around. It also fixes an invalid memory reference because SkCanvas::internalRestore deletes the device (maybe it should just unref) after drawing it onto the main device. Review URL: http://codereview.appspot.com/4080056 git-svn-id: http://skia.googlecode.com/svn/trunk@773 2bbb7eff-a529-9590-31e7-b0007b416f81
* update dox for readPixels()Gravatar reed@google.com2011-02-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@772 2bbb7eff-a529-9590-31e7-b0007b416f81
* check for SK_BUILD_FOR_BREWGravatar reed@google.com2011-02-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@771 2bbb7eff-a529-9590-31e7-b0007b416f81
* addGravatar reed@google.com2011-02-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@770 2bbb7eff-a529-9590-31e7-b0007b416f81
* addGravatar reed@google.com2011-02-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@769 2bbb7eff-a529-9590-31e7-b0007b416f81
* clear the convex-hint in reset() and rewind(), to match its state in a newlyGravatar reed@google.com2011-02-07
| | | | | | | | | | created path. todo: convexity perhaps should be tristate: yes, no, unknown git-svn-id: http://skia.googlecode.com/svn/trunk@768 2bbb7eff-a529-9590-31e7-b0007b416f81