aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
...
* use new template class SkTLazy for deferred paint initializationGravatar reed@google.com2011-04-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1070 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix Two Pt Radial when circles are concentric.Gravatar bsalomon@google.com2011-04-06
| | | | | | | | Review URL: http://codereview.appspot.com/4368047/ git-svn-id: http://skia.googlecode.com/svn/trunk@1069 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove transitionary version of getAdvancedTypefaceMetrics. Webkit has been ↵Gravatar vandebo@chromium.org2011-04-06
| | | | | | | | updated. Review URL: http://codereview.appspot.com/4383041 git-svn-id: http://skia.googlecode.com/svn/trunk@1068 2bbb7eff-a529-9590-31e7-b0007b416f81
* re-re-enable antialiased rects for gpuGravatar reed@google.com2011-04-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1065 2bbb7eff-a529-9590-31e7-b0007b416f81
* eeek, revert last CL until I fix texture matrixGravatar reed@google.com2011-04-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1064 2bbb7eff-a529-9590-31e7-b0007b416f81
* enable antialiased rectsGravatar reed@google.com2011-04-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1063 2bbb7eff-a529-9590-31e7-b0007b416f81
* support BW text on GPUGravatar mike@reedtribe.org2011-04-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1062 2bbb7eff-a529-9590-31e7-b0007b416f81
* check-point (disabled) for antialiased rectsGravatar reed@google.com2011-04-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1060 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make SkFlate buffers statically sized (fixes Windows compile).Gravatar vandebo@chromium.org2011-04-05
| | | | | | Review URL: http://codereview.appspot.com/4357054 git-svn-id: http://skia.googlecode.com/svn/trunk@1059 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adds read pixels to GrTexture and GrRenderTargetGravatar bsalomon@google.com2011-04-05
| | | | | | | | | Adds SkGrRenderTargetPixelRef for SkBitmaps that are backed by RTs that aren't textures. Adds onReadPixels implementations for SkGr pixel ref types git-svn-id: http://skia.googlecode.com/svn/trunk@1056 2bbb7eff-a529-9590-31e7-b0007b416f81
* export SkDraw::ComputeRectType() and share that with SkGpuDeviceGravatar reed@google.com2011-04-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1055 2bbb7eff-a529-9590-31e7-b0007b416f81
* support BW textGravatar reed@google.com2011-04-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1053 2bbb7eff-a529-9590-31e7-b0007b416f81
* handle scale < 0 for stroke-rectsGravatar reed@google.com2011-04-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1052 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Make the NOT_IMPLEMENTED macro not print anything by default.Gravatar vandebo@chromium.org2011-04-04
| | | | | | Review URL: http://codereview.appspot.com/4351046 git-svn-id: http://skia.googlecode.com/svn/trunk@1050 2bbb7eff-a529-9590-31e7-b0007b416f81
* reenable fast stroked rects, now that we correctly handle non-square scaleGravatar reed@google.com2011-04-04
| | | | | | | | also, degenerate non-antialias rectangles now draw properly git-svn-id: http://skia.googlecode.com/svn/trunk@1049 2bbb7eff-a529-9590-31e7-b0007b416f81
* temporarily disable fast stroking, until we handle non-square scales in matrixGravatar reed@google.com2011-04-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1047 2bbb7eff-a529-9590-31e7-b0007b416f81
* add #ifdef SK_DISABLE_FAST_AA_STROKE_RECT to disable new 8x faster antialiasedGravatar reed@google.com2011-04-04
| | | | | | | | | stroked rects, since it draws slightly different (more correct) pixels, for clients that want pixel compatibility. git-svn-id: http://skia.googlecode.com/svn/trunk@1043 2bbb7eff-a529-9590-31e7-b0007b416f81
* faster stroke rectsGravatar mike@reedtribe.org2011-04-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1042 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove SkMetaData from makefile.Gravatar scroggo2011-04-04
| | | | | | | | | | This makefile is used to build the sample app on unix. The file is not needed, and prevents the build from working. git-svn-id: http://skia.googlecode.com/svn/trunk@1039 2bbb7eff-a529-9590-31e7-b0007b416f81
* add pixelref->readPixels()Gravatar reed@google.com2011-04-01
| | | | | | | | unimplemented (for now) on the gpu side git-svn-id: http://skia.googlecode.com/svn/trunk@1037 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move where compression enable/disable is done to make recompilation faster.Gravatar vandebo@chromium.org2011-04-01
| | | | | | Review URL: http://codereview.appspot.com/4354043 git-svn-id: http://skia.googlecode.com/svn/trunk@1035 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add GrResource base class for ibs, texs, vbs, etc.Gravatar bsalomon@google.com2011-03-30
| | | | | | | | | | Add lostContext() to GrContext. Review URL: http://codereview.appspot.com/4328044/ git-svn-id: http://skia.googlecode.com/svn/trunk@1026 2bbb7eff-a529-9590-31e7-b0007b416f81
* replace SkRefDict with SkMetaData (much more general)Gravatar reed@google.com2011-03-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1025 2bbb7eff-a529-9590-31e7-b0007b416f81
* Prepend SkAdvancedTypefaceMetrics on enum usage.Gravatar ctguil@chromium.org2011-03-30
| | | | | | Review URL: http://codereview.appspot.com/4321047 git-svn-id: http://skia.googlecode.com/svn/trunk@1024 2bbb7eff-a529-9590-31e7-b0007b416f81
* Improve the SkAdvancedTypefaceMetrics interface w.r.t. vertical advances.Gravatar vandebo@chromium.org2011-03-30
| | | | | | | | Add a template function to type safe-combine bits of a bit field. Review URL: http://codereview.appspot.com/4313053 git-svn-id: http://skia.googlecode.com/svn/trunk@1020 2bbb7eff-a529-9590-31e7-b0007b416f81
* add refcnt helper to metadataGravatar reed@google.com2011-03-30
| | | | | | | | add unittests for metadata git-svn-id: http://skia.googlecode.com/svn/trunk@1019 2bbb7eff-a529-9590-31e7-b0007b416f81
* move SkMetaData into coreGravatar reed@google.com2011-03-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1018 2bbb7eff-a529-9590-31e7-b0007b416f81
* add getTopLayer(), so clients don't have to use a LayerIter just to getGravatar reed@google.com2011-03-30
| | | | | | | | the top. (very common for chrome) git-svn-id: http://skia.googlecode.com/svn/trunk@1016 2bbb7eff-a529-9590-31e7-b0007b416f81
* Store content streams in an SkStream instead of an SkString (64k size limit).Gravatar vandebo@chromium.org2011-03-28
| | | | | | Review URL: http://codereview.appspot.com/4272070 git-svn-id: http://skia.googlecode.com/svn/trunk@1011 2bbb7eff-a529-9590-31e7-b0007b416f81
* Hairline stroke 1px wide paths. Gravatar bsalomon@google.com2011-03-25
| | | | | | | | Review URL: http://codereview.appspot.com/4317041/ git-svn-id: http://skia.googlecode.com/svn/trunk@1008 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move zoomer into SampleAppGravatar Scroggo2011-03-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1002 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix a crash.Gravatar scroggo2011-03-23
| | | | | | | http://codereview.appspot.com/4272065/ git-svn-id: http://skia.googlecode.com/svn/trunk@986 2bbb7eff-a529-9590-31e7-b0007b416f81
* Initialize fClip in SkBounder, in case doIRect() is called before it is usedGravatar reed@google.com2011-03-23
| | | | | | | | | | inside a canvas (which calls setClip). Export a global empty region. Used by SkBounder's constructor. git-svn-id: http://skia.googlecode.com/svn/trunk@985 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix SK build macro.Gravatar bsalomon@google.com2011-03-22
| | | | | | | | Review URL: http://codereview.appspot.com/4312041/ git-svn-id: http://skia.googlecode.com/svn/trunk@983 2bbb7eff-a529-9590-31e7-b0007b416f81
* inline knowledge that our pointsize is always 1 when we measure/drawGravatar reed@google.com2011-03-22
| | | | | | | | #ifdef protect 10.6 or later APIs (not available on 10.5) git-svn-id: http://skia.googlecode.com/svn/trunk@982 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkCreateTypefaceFromCTFont() to create a typeface directly from a CTFontRefGravatar reed@google.com2011-03-22
| | | | | | | | | Compute the actual style from the returned CTFontRef, rather than assuming the request will always be met. git-svn-id: http://skia.googlecode.com/svn/trunk@979 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a 'fatbits' mode to unix sample app.Gravatar scroggo2011-03-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@978 2bbb7eff-a529-9590-31e7-b0007b416f81
* map canonical css names to real fontsGravatar mike@reedtribe.org2011-03-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@975 2bbb7eff-a529-9590-31e7-b0007b416f81
* convert fixed->scalar directly, since we know that theGravatar reed@google.com2011-03-21
| | | | | | | | glyph's advance is already base-1000 git-svn-id: http://skia.googlecode.com/svn/trunk@973 2bbb7eff-a529-9590-31e7-b0007b416f81
* increase intermediate precision when chopping lines. This avoids returning aGravatar reed@google.com2011-03-21
| | | | | | | | computed value that is accidentally outside of the original range. git-svn-id: http://skia.googlecode.com/svn/trunk@971 2bbb7eff-a529-9590-31e7-b0007b416f81
* allow window-subclass to handle dispatching click events (for resize)Gravatar mike@reedtribe.org2011-03-21
| | | | | | | | add drag tracking to Draw git-svn-id: http://skia.googlecode.com/svn/trunk@967 2bbb7eff-a529-9590-31e7-b0007b416f81
* Updates to the unix sample app.Gravatar scroggo2011-03-18
| | | | | | | | | | | | | | | Rather than placing pixels, use XPutImage to place the bitmap on screen. Modify the color arrangements for 8888 when building the sample app, so they agree with X. Add a title to simple sample. Include SkTouchGesture. git-svn-id: http://skia.googlecode.com/svn/trunk@963 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix scalar math to work with float and fixedGravatar reed@google.com2011-03-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@962 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings of int->float and double->floatGravatar reed@google.com2011-03-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@961 2bbb7eff-a529-9590-31e7-b0007b416f81
* change operator== to return bool instead of intGravatar reed@google.com2011-03-18
| | | | | | | | update dox formating git-svn-id: http://skia.googlecode.com/svn/trunk@956 2bbb7eff-a529-9590-31e7-b0007b416f81
* Initial GYP file for skia / gr. Builds SampleApp on Mac, Windows, Linux.Gravatar bsalomon@google.com2011-03-18
| | | | | | Review URL: http://codereview.appspot.com/4282056/ git-svn-id: http://skia.googlecode.com/svn/trunk@955 2bbb7eff-a529-9590-31e7-b0007b416f81
* use SkSafeUnref()Gravatar mike@reedtribe.org2011-03-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@954 2bbb7eff-a529-9590-31e7-b0007b416f81
* abort drawing if srcRect is outside of the bitmap boundsGravatar reed@google.com2011-03-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@951 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove dependence on glew for creating SkOSWindow_Win's GL ctx.Gravatar bsalomon@google.com2011-03-16
| | | | | | Review URL: http://codereview.appspot.com/4276053/ git-svn-id: http://skia.googlecode.com/svn/trunk@947 2bbb7eff-a529-9590-31e7-b0007b416f81
* add flingGravatar reed@google.com2011-03-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@946 2bbb7eff-a529-9590-31e7-b0007b416f81