aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Kill GrGpuGL::fHWDrawStateGravatar bsalomon@google.com2012-05-21
| | | | | | | | | Review URL: http://codereview.appspot.com/6227048/ git-svn-id: http://skia.googlecode.com/svn/trunk@4024 2bbb7eff-a529-9590-31e7-b0007b416f81
* Changes accidentally omitted from 4022.Gravatar bsalomon@google.com2012-05-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4023 2bbb7eff-a529-9590-31e7-b0007b416f81
* Stop Tracking const vertex attrib color and coverage using GrDrawStateGravatar bsalomon@google.com2012-05-21
| | | | | | | | | Review URL: http://codereview.appspot.com/6219056/ git-svn-id: http://skia.googlecode.com/svn/trunk@4022 2bbb7eff-a529-9590-31e7-b0007b416f81
* Stop using GrDrawState to track stencil stateGravatar bsalomon@google.com2012-05-21
| | | | | | | | Review URL: http://codereview.appspot.com/6227047/ git-svn-id: http://skia.googlecode.com/svn/trunk@4021 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rename GrProgramStageFactory::stageKey to GrProgramStageFactory::glStageKey ↵Gravatar bsalomon@google.com2012-05-21
| | | | | | | | | | since it is GL-specific Review URL: http://codereview.appspot.com/6218060/ git-svn-id: http://skia.googlecode.com/svn/trunk@4020 2bbb7eff-a529-9590-31e7-b0007b416f81
* Tunnel name requests through factory, forcing custom effect and custom prog ↵Gravatar bsalomon@google.com2012-05-21
| | | | | | | | | | stage to use same impl Review URL: http://codereview.appspot.com/6220061/ git-svn-id: http://skia.googlecode.com/svn/trunk@4019 2bbb7eff-a529-9590-31e7-b0007b416f81
* When GL context is reset set some desktop-only GL state to values that we ↵Gravatar bsalomon@google.com2012-05-21
| | | | | | | | | | | assume later. Review URL: http://codereview.appspot.com/6222052/ git-svn-id: http://skia.googlecode.com/svn/trunk@4018 2bbb7eff-a529-9590-31e7-b0007b416f81
* update dox for NewFromMalloc() to clarify ownershipGravatar reed@google.com2012-05-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4017 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaseline from r4015. Also set PNG mime type on recently added images that ↵Gravatar bsalomon@google.com2012-05-21
| | | | | | were marked octet-stream. git-svn-id: http://skia.googlecode.com/svn/trunk@4016 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use tristate in HW AA tracking, fix msaa disabled for non-smoothed lines bugGravatar bsalomon@google.com2012-05-21
| | | | | | | | Review URL: http://codereview.appspot.com/6222051/ git-svn-id: http://skia.googlecode.com/svn/trunk@4015 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove bogus nearlyzero checksGravatar reed@google.com2012-05-21
| | | | | | Review URL: https://codereview.appspot.com/6213060 git-svn-id: http://skia.googlecode.com/svn/trunk@4014 2bbb7eff-a529-9590-31e7-b0007b416f81
* Stop using GrDrawState to track bound textures and render targetGravatar bsalomon@google.com2012-05-21
| | | | | | | | Review URL: http://codereview.appspot.com/6208086/ git-svn-id: http://skia.googlecode.com/svn/trunk@4013 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make static const var that is only used in an assert be defined in the debug ↵Gravatar bsalomon@google.com2012-05-21
| | | | | | build only to suppress an unused var warning. git-svn-id: http://skia.googlecode.com/svn/trunk@4012 2bbb7eff-a529-9590-31e7-b0007b416f81
* ~glyphcache_globals needs to actually delete its cacheGravatar reed@google.com2012-05-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4011 2bbb7eff-a529-9590-31e7-b0007b416f81
* addGravatar reed@google.com2012-05-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4010 2bbb7eff-a529-9590-31e7-b0007b416f81
* Stop using GrDrawState to track draw face, dither, and color maskGravatar bsalomon@google.com2012-05-21
| | | | | | | | Review URL: http://codereview.appspot.com/6215071/ git-svn-id: http://skia.googlecode.com/svn/trunk@4009 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix assignment of non-copyable.Gravatar bungeman@google.com2012-05-21
| | | | | | | see http://connect.microsoft.com/VisualStudio/feedback/details/552586/inherting-noncopyable-base-allows-equal-sign-initialization git-svn-id: http://skia.googlecode.com/svn/trunk@4008 2bbb7eff-a529-9590-31e7-b0007b416f81
* Stop using GrDrawState to track GPU's blend stateGravatar bsalomon@google.com2012-05-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4007 2bbb7eff-a529-9590-31e7-b0007b416f81
* shape ops work in progressGravatar caryclark@google.com2012-05-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4006 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove chromium mode from skdiff, because it is no longer actively used.Gravatar epoger@google.com2012-05-18
| | | | | | | | | Ran tools/tests/run.sh to validate this change. TBR=caryclark1 Review URL: https://codereview.appspot.com/6222045 git-svn-id: http://skia.googlecode.com/svn/trunk@4005 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix build?Gravatar bsalomon@google.com2012-05-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4004 2bbb7eff-a529-9590-31e7-b0007b416f81
* Some refactoring of GrCustomStage and friendsGravatar bsalomon@google.com2012-05-18
| | | | | | | | Review URL: http://codereview.appspot.com/6209071/ git-svn-id: http://skia.googlecode.com/svn/trunk@4003 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix obviously disallowed copy that Visual Studio allows.Gravatar bungeman@google.com2012-05-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4002 2bbb7eff-a529-9590-31e7-b0007b416f81
* CreateTypefaceFromStream for GDI.Gravatar bungeman@google.com2012-05-18
| | | | | | | http://codereview.appspot.com/5616047/ git-svn-id: http://skia.googlecode.com/svn/trunk@4001 2bbb7eff-a529-9590-31e7-b0007b416f81
* add makedash_ variants to measure applying the dash (not drawing it)Gravatar reed@google.com2012-05-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4000 2bbb7eff-a529-9590-31e7-b0007b416f81
* skdiff test-only change: add test of --nodiffs mode, make tests validate ↵Gravatar epoger@google.com2012-05-18
| | | | | | | | return value Review URL: https://codereview.appspot.com/6206085 git-svn-id: http://skia.googlecode.com/svn/trunk@3999 2bbb7eff-a529-9590-31e7-b0007b416f81
* add baselinesGravatar reed@google.com2012-05-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3998 2bbb7eff-a529-9590-31e7-b0007b416f81
* add dashing2 gm to exercise dashing on curves and polygonsGravatar reed@google.com2012-05-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3997 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move state onto GrGLShaderBuilder, to let us implement mappingsGravatar tomhudson@google.com2012-05-18
| | | | | | | | | | as GrCustomStage objects. http://codereview.appspot.com/6216057/ git-svn-id: http://skia.googlecode.com/svn/trunk@3996 2bbb7eff-a529-9590-31e7-b0007b416f81
* test-only change: update run.sh and rearrange dirs to ease addition of more ↵Gravatar epoger@google.com2012-05-17
| | | | | | | | tests Review URL: https://codereview.appspot.com/6220044 git-svn-id: http://skia.googlecode.com/svn/trunk@3995 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix type errors and a few warnings for Visual Studio 2010 64-bit build.Gravatar tomhudson@google.com2012-05-17
| | | | | | | | | | | | We're still far from 64b statically safe, mostly around SkReader32.h and the address-alignment code in GrTypes.h. Original code provided by jianliang79. http://code.google.com/p/skia/issues/detail?id=601 git-svn-id: http://skia.googlecode.com/svn/trunk@3994 2bbb7eff-a529-9590-31e7-b0007b416f81
* minor cleanups, in prep for more work on improving precisionGravatar reed@google.com2012-05-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3993 2bbb7eff-a529-9590-31e7-b0007b416f81
* add options to enable/disable "FAILED to read ..." messageGravatar reed@google.com2012-05-17
| | | | | | | | | | | --disable-missing-warning --enable-missing-warning default is still enabled git-svn-id: http://skia.googlecode.com/svn/trunk@3992 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use intrinsics instead of inline assembly for detecting CPU ID & SSE2/3 supportGravatar tomhudson@google.com2012-05-17
| | | | | | | | | | | on 64-bit builds in MS Visual Studio 2010. Original code provided by jianliang79. http://code.google.com/p/skia/issues/detail?id=600 git-svn-id: http://skia.googlecode.com/svn/trunk@3991 2bbb7eff-a529-9590-31e7-b0007b416f81
* reuse() is no longer available, call reset()Gravatar reed@google.com2012-05-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3990 2bbb7eff-a529-9590-31e7-b0007b416f81
* change SkChunkAlloc to grow its allocations geometrically (not linearly)Gravatar reed@google.com2012-05-17
| | | | | | | | plus add a bench and unittest for it. git-svn-id: http://skia.googlecode.com/svn/trunk@3989 2bbb7eff-a529-9590-31e7-b0007b416f81
* move Release build to -O3 (from -O2)Gravatar reed@google.com2012-05-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3988 2bbb7eff-a529-9590-31e7-b0007b416f81
* change SetTLSFontCacheLimit to be void, since it doesn't easily know the ↵Gravatar reed@google.com2012-05-17
| | | | | | prev value git-svn-id: http://skia.googlecode.com/svn/trunk@3987 2bbb7eff-a529-9590-31e7-b0007b416f81
* Allow font-cache to use thread_local_storage for a private cacheGravatar reed@google.com2012-05-17
| | | | | | Review URL: https://codereview.appspot.com/6200051 git-svn-id: http://skia.googlecode.com/svn/trunk@3986 2bbb7eff-a529-9590-31e7-b0007b416f81
* Mutexes in pixelrefs were done very sloppily initially. The code (a) assumes allGravatar reed@google.com2012-05-17
| | | | | | | | | | | | | | | | | | | | pixelref subclasses want a mutex to guard their lock/unlock virtuals, and (b) most subclasses use the same mutex for *all* of their instances, even when there is no explicit need to guard modifying one instances with another. When we try drawing bitmaps from multiple threads, we are seeing a lot of slow- down from these mutexes. This CL has two changes to try to speed things up. 1. Add setPreLocked(), for pixelrefs who never need the onLockPixels virtual to be called. This speeds up those subclasses in multithreaded environs as it avoids the mutex lock all together (e.g. SkMallocPixelRef). 2. Add setMutex() to allow a subclass to change the mutex choice. ashmem wants this, since its unflattening constructor cannot pass down the null, it needs to cleanup afterwards. Review URL: https://codereview.appspot.com/6199075 git-svn-id: http://skia.googlecode.com/svn/trunk@3985 2bbb7eff-a529-9590-31e7-b0007b416f81
* First functioning version of SW-only clip mask creatorGravatar robertphillips@google.com2012-05-17
| | | | | | | | http://codereview.appspot.com/6208072/ git-svn-id: http://skia.googlecode.com/svn/trunk@3984 2bbb7eff-a529-9590-31e7-b0007b416f81
* Free cached AA clip mask when create hard/stencil clip maskGravatar robertphillips@google.com2012-05-17
| | | | | | | | http://codereview.appspot.com/6214050/ git-svn-id: http://skia.googlecode.com/svn/trunk@3983 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add 'inline' to suppress unused warnings with Android NDK build.Gravatar bungeman@google.com2012-05-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3982 2bbb7eff-a529-9590-31e7-b0007b416f81
* computeFastStrokeBounds needs to pass kStroke_Style instead of kFill_Style ↵Gravatar reed@google.com2012-05-16
| | | | | | (ya think?) git-svn-id: http://skia.googlecode.com/svn/trunk@3981 2bbb7eff-a529-9590-31e7-b0007b416f81
* pass the region-op to the clipstack for SkCanvas::clipRegion.Gravatar reed@google.com2012-05-16
| | | | | | | | we were defaulting to intersect all the time (doh). git-svn-id: http://skia.googlecode.com/svn/trunk@3980 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix new atomic declarations for Android.Gravatar bungeman@google.com2012-05-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3979 2bbb7eff-a529-9590-31e7-b0007b416f81
* WeakRefCntGravatar bungeman@google.com2012-05-16
| | | | | | | http://codereview.appspot.com/5649046/ git-svn-id: http://skia.googlecode.com/svn/trunk@3978 2bbb7eff-a529-9590-31e7-b0007b416f81
* test-only changes: add more image files to test more skdiff behaviorGravatar epoger@google.com2012-05-16
| | | | | | | | | Tests output order for very vs. slightly different pixels, very vs. slightly different image sizes, etc. TBR=tomhudson@google.com Review URL: https://codereview.appspot.com/6213049 git-svn-id: http://skia.googlecode.com/svn/trunk@3977 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove unused variable (isNaN)Gravatar reed@google.com2012-05-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3976 2bbb7eff-a529-9590-31e7-b0007b416f81
* skdiff: only write out diff images that are included in index.htmlGravatar epoger@google.com2012-05-16
| | | | | | | Not only are those files unnecessary, in some different-image-size cases, their contents are nondeterministic! Review URL: https://codereview.appspot.com/6208073 git-svn-id: http://skia.googlecode.com/svn/trunk@3975 2bbb7eff-a529-9590-31e7-b0007b416f81