aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* add 't' to toggle tiling modesGravatar reed@google.com2012-08-15
| | | | | | Review URL: https://codereview.appspot.com/6446138 git-svn-id: http://skia.googlecode.com/svn/trunk@5109 2bbb7eff-a529-9590-31e7-b0007b416f81
* Addressed Windows compiler complaintsGravatar robertphillips@google.com2012-08-15
| | | | | | | | | | http://codereview.appspot.com/6462062/ This CL will require re-baselining of the imagemagnifier GM git-svn-id: http://skia.googlecode.com/svn/trunk@5108 2bbb7eff-a529-9590-31e7-b0007b416f81
* GrContextFactory can now expose the GLContext it is using.Gravatar keyar@chromium.org2012-08-14
| | | | | | Review URL: https://codereview.appspot.com/6461081 git-svn-id: http://skia.googlecode.com/svn/trunk@5105 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert r5100 experimentGravatar bsalomon@google.com2012-08-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5104 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert GrTextureStripAtlas change due to performance concerns.Gravatar rileya@google.com2012-08-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5103 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix for GPU-less Linux build: move #include GrTextureStripAtlas into ↵Gravatar rileya@google.com2012-08-14
| | | | | | SK_SUPPORT_GPU ifdefs. Unreviewed. git-svn-id: http://skia.googlecode.com/svn/trunk@5102 2bbb7eff-a529-9590-31e7-b0007b416f81
* Made gradient effects use GrTextureStripAtlas.Gravatar rileya@google.com2012-08-14
| | | | | | Review URL: https://codereview.appspot.com/6450131 git-svn-id: http://skia.googlecode.com/svn/trunk@5101 2bbb7eff-a529-9590-31e7-b0007b416f81
* Temporary change to bench on android to run limited set of test in order to ↵Gravatar bsalomon@google.com2012-08-14
| | | | | | | | | | see whether it allows bench to complete. Review URL: http://codereview.appspot.com/6459087 git-svn-id: http://skia.googlecode.com/svn/trunk@5100 2bbb7eff-a529-9590-31e7-b0007b416f81
* Ensure that Pipe does not crash when attempting to draw after endRecording.Gravatar scroggo@google.com2012-08-14
| | | | | | | | | | | Add a test for drawing a bitmap and a bitmapshader after endRecording. BUG=https://code.google.com/p/skia/issues/detail?id=774&can=3 Test=PipeTest Review URL: https://codereview.appspot.com/6459088 git-svn-id: http://skia.googlecode.com/svn/trunk@5099 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixing source files that do not have newlines at the end.Gravatar rmistry@google.com2012-08-14
| | | | | | | | Found using the new unsubmitted newline_checker slave script: piraeus.cnc.corp.google.com:10125/builders/Skia_House_Keeping/builds/5/steps/shell_1/logs/stdio Review URL: https://codereview.appspot.com/6443124 git-svn-id: http://skia.googlecode.com/svn/trunk@5097 2bbb7eff-a529-9590-31e7-b0007b416f81
* privatize SkScalerContext.hGravatar reed@google.com2012-08-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5096 2bbb7eff-a529-9590-31e7-b0007b416f81
* Bug Fix: Fixes transformation bug where debugger locked up during ↵Gravatar chudy@google.com2012-08-14
| | | | | | | | incremental draw due to nested clips not being cleared. Review URL: https://codereview.appspot.com/6462060 git-svn-id: http://skia.googlecode.com/svn/trunk@5095 2bbb7eff-a529-9590-31e7-b0007b416f81
* Bug Fix: Fixes incremental drawing in conjunction with the highlighting ↵Gravatar chudy@google.com2012-08-14
| | | | | | | | filter for the OpenGL widget. Review URL: https://codereview.appspot.com/6441141 git-svn-id: http://skia.googlecode.com/svn/trunk@5094 2bbb7eff-a529-9590-31e7-b0007b416f81
* Refactored inspector widget such that creating custom tabs for information ↵Gravatar chudy@google.com2012-08-14
| | | | | | | | is straightforward for future developers. Review URL: https://codereview.appspot.com/6463046 git-svn-id: http://skia.googlecode.com/svn/trunk@5093 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix broken test.Gravatar scroggo@google.com2012-08-14
| | | | | | Review URL: https://codereview.appspot.com/6450133 git-svn-id: http://skia.googlecode.com/svn/trunk@5092 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move write buffer flags used by SkFlataData::Create into SkFlatController.Gravatar scroggo@google.com2012-08-14
| | | | | | Review URL: https://codereview.appspot.com/6446135 git-svn-id: http://skia.googlecode.com/svn/trunk@5091 2bbb7eff-a529-9590-31e7-b0007b416f81
* To allow forward declarations, move SkScalerContext::Rec to SkScalerContextRecGravatar reed@google.com2012-08-14
| | | | | | Review URL: https://codereview.appspot.com/6462059 git-svn-id: http://skia.googlecode.com/svn/trunk@5090 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reduce number of paths created by benchsGravatar bsalomon@google.com2012-08-14
| | | | | | | Review URL:http://codereview.appspot.com/6454151/ git-svn-id: http://skia.googlecode.com/svn/trunk@5088 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove baseline for flaky test.Gravatar scroggo@google.com2012-08-14
| | | | | | | | | | This test goes back and forth, slightly changing the location of a rectangle, only on this bot. Remove the baseline so we no longer see the noise. Review URL: https://codereview.appspot.com/6460088 git-svn-id: http://skia.googlecode.com/svn/trunk@5087 2bbb7eff-a529-9590-31e7-b0007b416f81
* privatize SkDescriptor.hGravatar reed@google.com2012-08-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5086 2bbb7eff-a529-9590-31e7-b0007b416f81
* In SkGPipeCanvas, rename fSharedHeap to fBitmapHeapGravatar scroggo@google.com2012-08-14
| | | | | | | | to reflect the fact that it is only used for storing bitmaps. Review URL: https://codereview.appspot.com/6446134 git-svn-id: http://skia.googlecode.com/svn/trunk@5085 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make SkTArray consider only the new count and reserve when determining how ↵Gravatar bsalomon@google.com2012-08-14
| | | | | | | | | much to alloc Review URL: http://codereview.appspot.com/6459084 git-svn-id: http://skia.googlecode.com/svn/trunk@5084 2bbb7eff-a529-9590-31e7-b0007b416f81
* Bug Fix: Resets the users zoom and translation every picture load. Was ↵Gravatar chudy@google.com2012-08-14
| | | | | | | | acting inconsistently between different viewing widgets, now forces a redraw every new picture. Review URL: https://codereview.appspot.com/6450130 git-svn-id: http://skia.googlecode.com/svn/trunk@5083 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use SkBitmapHeap for shaders in SkGPipe.Gravatar scroggo@google.com2012-08-14
| | | | | | | | | | | | | Required adding a new feature to SkBitmapHeap, allowing it to defer adding owners, since sometimes we flatten a shader, but then do not unflatten it, since we already had a copy in the heap, so the owners never get removed. Reviewed at https://codereview.appspot.com/6464053/ Review URL: https://codereview.appspot.com/6465047 git-svn-id: http://skia.googlecode.com/svn/trunk@5082 2bbb7eff-a529-9590-31e7-b0007b416f81
* Check in r5063 again, along with fix for tests.Gravatar scroggo@google.com2012-08-14
| | | | | | | | | | | | | | | | | Thank you to Android build, for catching the problem, which would show up elsewhere. Now we access entry->fStorageSlot before deleting entry. (Original message:) Use the SkBitmapHeap to handle SkBitmaps in SkGPipe cross process. Required moving the LRU handles from SkBitmapHeapEntry to LookupEntry. Allows simplification of drawBitmap* calls in SkGPipeCanvas. Review URL: https://codereview.appspot.com/6453113 git-svn-id: http://skia.googlecode.com/svn/trunk@5081 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reduce allocations in RandomPathBenchGravatar bsalomon@google.com2012-08-14
| | | | | | | Review URL: http://codereview.appspot.com/6453116 git-svn-id: http://skia.googlecode.com/svn/trunk@5080 2bbb7eff-a529-9590-31e7-b0007b416f81
* Clean up most clang warnings outside animator/Gravatar tomhudson@google.com2012-08-14
| | | | | | | | http://codereview.appspot.com/6464058/ git-svn-id: http://skia.googlecode.com/svn/trunk@5079 2bbb7eff-a529-9590-31e7-b0007b416f81
* Augmenting SkDeferredCanvas notification interface to signal flushes and ↵Gravatar junov@chromium.org2012-08-14
| | | | | | | | | | | | memory allocations Renamed SkDeferredCanvas::DeviceContext to SkDeferredCanvas::NotificationClient BUG=http://code.google.com/p/chromium/issues/detail?id=136828 TEST=Added coverage for new API to DeferredCanvas unit test. Added DeferredCanvas bench test to track deferred canvas overhead cost. Review URL: https://codereview.appspot.com/6442108 git-svn-id: http://skia.googlecode.com/svn/trunk@5078 2bbb7eff-a529-9590-31e7-b0007b416f81
* add LF at the end, for clanginessGravatar reed@google.com2012-08-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5077 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add inst counting to bench and count SkPathsGravatar bsalomon@google.com2012-08-14
| | | | | | | | Review URL: http://codereview.appspot.com/6450129/ git-svn-id: http://skia.googlecode.com/svn/trunk@5076 2bbb7eff-a529-9590-31e7-b0007b416f81
* delete empty fileGravatar mike@reedtribe.org2012-08-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5075 2bbb7eff-a529-9590-31e7-b0007b416f81
* oops, revert the flake on the win shuttleGravatar mike@reedtribe.org2012-08-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5074 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove as flake?Gravatar mike@reedtribe.org2012-08-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5073 2bbb7eff-a529-9590-31e7-b0007b416f81
* Stop bench from leakingGravatar bsalomon@google.com2012-08-13
| | | | | | | | Review URL: http://codereview.appspot.com/6465045/ git-svn-id: http://skia.googlecode.com/svn/trunk@5072 2bbb7eff-a529-9590-31e7-b0007b416f81
* Mac 10.6 build fix: got rid of now-unecessary GrTextureStripAtlas tex cache ↵Gravatar rileya@google.com2012-08-13
| | | | | | id component. Unreviewed. git-svn-id: http://skia.googlecode.com/svn/trunk@5071 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added GrTextureStripAtlas object.Gravatar rileya@google.com2012-08-13
| | | | | | Review URL: https://codereview.appspot.com/6457099 git-svn-id: http://skia.googlecode.com/svn/trunk@5070 2bbb7eff-a529-9590-31e7-b0007b416f81
* Correctly linearize Windows AA from ClearType.Gravatar bungeman@google.com2012-08-13
| | | | | | | http://codereview.appspot.com/6446129/ git-svn-id: http://skia.googlecode.com/svn/trunk@5069 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r5063 until unit tests can be fixed.Gravatar tomhudson@google.com2012-08-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5067 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move resize functionality out of createAndLockTexture and into ↵Gravatar robertphillips@google.com2012-08-13
| | | | | | | | | | createResizedTexture http://codereview.appspot.com/6459080/ git-svn-id: http://skia.googlecode.com/svn/trunk@5066 2bbb7eff-a529-9590-31e7-b0007b416f81
* Split cache-specific fields out of GrTextureDescGravatar robertphillips@google.com2012-08-13
| | | | | | | | http://codereview.appspot.com/6448143/ git-svn-id: http://skia.googlecode.com/svn/trunk@5065 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reduce path_copy iteration count, hopefully allows nexus s bot to complete ↵Gravatar bsalomon@google.com2012-08-13
| | | | | | without OOM. git-svn-id: http://skia.googlecode.com/svn/trunk@5064 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use the SkBitmapHeap to handle SkBitmaps in SkGPipe cross process.Gravatar scroggo@google.com2012-08-13
| | | | | | | | | | Required moving the LRU handles from SkBitmapHeapEntry to LookupEntry. Allows simplification of drawBitmap* calls in SkGPipeCanvas. Review URL: https://codereview.appspot.com/6460073 git-svn-id: http://skia.googlecode.com/svn/trunk@5063 2bbb7eff-a529-9590-31e7-b0007b416f81
* (Attempt to) fix Android build from r5056, thanks to suggestion by senorblanco@.Gravatar tomhudson@google.com2012-08-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5062 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix Windows build from r5056.Gravatar tomhudson@google.com2012-08-13
| | | | | | | | | | We don't use STL, so std::min and std::max won't compile. This new effect still does some undisciplined mixing of float and scalar which deserves to be cleaned up. git-svn-id: http://skia.googlecode.com/svn/trunk@5061 2bbb7eff-a529-9590-31e7-b0007b416f81
* Updated gpu.gyp to move GrCacheID.h from src\gpu to include\gpuGravatar robertphillips@google.com2012-08-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5060 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix GPU-less build from r5056.Gravatar bsalomon@google.com2012-08-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5058 2bbb7eff-a529-9590-31e7-b0007b416f81
* Effects Bug FixGravatar chudy@google.com2012-08-13
| | | | | | | | | | | | Certain compilers in an effort to optimize code chop off files that are never used. By adding a flag to common conditions and variables we can force skia to recompile with global static initializers off. By making a call to SkGraphics::Init we now register all those functions that had been previously automatically excluded by the compiler. Review URL: https://codereview.appspot.com/6443112 git-svn-id: http://skia.googlecode.com/svn/trunk@5057 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a zoom filter to Skia. This will be used on ChromeOS to implement the ↵Gravatar bsalomon@google.com2012-08-13
| | | | | | | | | | | screen magnifier. Committed on behalf of zork@chromium.org Review URL: http://codereview.appspot.com/6354065/ git-svn-id: http://skia.googlecode.com/svn/trunk@5056 2bbb7eff-a529-9590-31e7-b0007b416f81
* arm: dynamic NEON support for SkBitmapProcState functions.Gravatar digit@google.com2012-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch does the following: - Move the NEON-specific code from src/core/SkBitmapProcState_filter.h to src/opts/SkBitmapProcState_filter_neon.h - Implement the NEON-specific functions in the new source file src/opts/SkBitmapProcState_opts_arm_neon.cpp, added to the "opts_neon" static library target. All functions now use the _neon suffix, even in full-NEON builds. - Move most of the content of src/core/SkBitmapProcState.cpp to a new header: src/core/SkBitmapProcState_procs.h This header is included by two source files: src/core/SkBitmapProcState.cpp, to define the regular functions. src/opts/SkBitmapProcState_opts_arm_neon.cpp to define NEON ones. This is to deal with the fact that all NEON functions now use the _neon suffix, even in SK_ARM_NEON_IS_ALWAYS mode, and to be able to include the same header twice in the SK_ARM_NEON_IS_DYNAMIC case. Review URL: https://codereview.appspot.com/6449117 git-svn-id: http://skia.googlecode.com/svn/trunk@5055 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adds a bunch of benchmarks around creating, transforming, testing path equality,Gravatar bsalomon@google.com2012-08-13
| | | | | | | | | | | and concatting paths. Also allows benchs to do setup / tear down steps outside of the cons/destructor via new SkBenchmark virtuals. Review URL: http://codereview.appspot.com/6454137/ git-svn-id: http://skia.googlecode.com/svn/trunk@5054 2bbb7eff-a529-9590-31e7-b0007b416f81