aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* arm: dynamic NEON support for SkBitmapProcState matrix operations.Gravatar digit@google.com2012-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch implements dynamic ARM NEON support for the functions implemented by src/core/SkBitmapProcState_matrixProcs.cpp. - Because the SkBitmapProcState_matrix_{clamp,repeat}.h headers are NEON-specific, they are renamed with a _neon.h suffix, and moved to src/opts/ (from src/core/) - Add a new file src/opts/SkBitmapProcState_matrixProcs_neon.cpp which implements the NEON code paths for all builds, and add it to the 'opts_neon' static library. - Modify SkBitmapProcState_matrixProcs.cpp to select the right code-path depending on our build configuration. Note that in the case where 'arm_neon == 1', we do not embed regular ARM code paths in the final binary. Only 'arm_neon_optional == 1' builds will contain both regular and NEON code paths at the same time. Note that there doesn't seem to be a simple way to put the NEON-specific selection from that currently is in SkBitmapProcState_matrixProcs.cpp into src/opts/. Doing so would require much more drastic restructuring. This is also true of the other SkBitmapProcState source files that will be touched in a future patch. Review URL: https://codereview.appspot.com/6453065 git-svn-id: http://skia.googlecode.com/svn/trunk@4888 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to see if local bot triggers a rebuildGravatar borenet@google.com2012-08-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4887 2bbb7eff-a529-9590-31e7-b0007b416f81
* Whitespace change to see if local bot triggers a rebuildGravatar borenet@google.com2012-07-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4877 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix units per em test.Gravatar bungeman@google.com2012-07-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4873 2bbb7eff-a529-9590-31e7-b0007b416f81
* Prevent deferred canvases from recording draw operations that use an SkPaint ↵Gravatar junov@chromium.org2012-07-31
| | | | | | | | | | | object that indirectly references a GPU resource. The specific case targeted by this patch is SkBitmapProcShaders that use an SkBitmap object that references a GPU texture. BUG=http://code.google.com/p/chromium/issues/detail?id=139204 Review URL: https://codereview.appspot.com/6447068 git-svn-id: http://skia.googlecode.com/svn/trunk@4871 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove old constructors from GrGradientEffect subclasses, and moved their ↵Gravatar rileya@google.com2012-07-31
| | | | | | | | declarations into source files. Review URL: https://codereview.appspot.com/6449067 git-svn-id: http://skia.googlecode.com/svn/trunk@4870 2bbb7eff-a529-9590-31e7-b0007b416f81
* Image rebaselines for r4865 (complexclip2 _gpu & _msaa)Gravatar robertphillips@google.com2012-07-31
| | | | | | | | http://codereview.appspot.com/6454075/ git-svn-id: http://skia.googlecode.com/svn/trunk@4869 2bbb7eff-a529-9590-31e7-b0007b416f81
* Getting rid of compile-time warningsGravatar chudy@google.com2012-07-31
| | | | | | Review URL: https://codereview.appspot.com/6447071 git-svn-id: http://skia.googlecode.com/svn/trunk@4868 2bbb7eff-a529-9590-31e7-b0007b416f81
* Optimized hit testing feature, refactored into seperate function from canvas ↵Gravatar chudy@google.com2012-07-31
| | | | | | | | draw calls Review URL: https://codereview.appspot.com/6443068 git-svn-id: http://skia.googlecode.com/svn/trunk@4867 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed minor memory leaksGravatar robertphillips@google.com2012-07-31
| | | | | | | | http://codereview.appspot.com/6453066/ git-svn-id: http://skia.googlecode.com/svn/trunk@4866 2bbb7eff-a529-9590-31e7-b0007b416f81
* Replace GrClip with SkClipStackGravatar robertphillips@google.com2012-07-31
| | | | | | | | http://codereview.appspot.com/6449070/ git-svn-id: http://skia.googlecode.com/svn/trunk@4865 2bbb7eff-a529-9590-31e7-b0007b416f81
* add getUnitsPerEm() to SkTypefaceGravatar reed@google.com2012-07-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4863 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add baseline images for Galaxy NexusGravatar borenet@google.com2012-07-31
| | | | | | Review URL: https://codereview.appspot.com/6447069 git-svn-id: http://skia.googlecode.com/svn/trunk@4862 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix a memory leak in cmykjpeg GM.Gravatar scroggo@google.com2012-07-31
| | | | | | Review URL: https://codereview.appspot.com/6448089 git-svn-id: http://skia.googlecode.com/svn/trunk@4861 2bbb7eff-a529-9590-31e7-b0007b416f81
* Modified GrGpuGL_unittest to no longer use the old constructors to create ↵Gravatar rileya@google.com2012-07-31
| | | | | | | | gradients, also added TwoPointConical to the tests. Review URL: https://codereview.appspot.com/6452068 git-svn-id: http://skia.googlecode.com/svn/trunk@4860 2bbb7eff-a529-9590-31e7-b0007b416f81
* check-point for gpu support in SkImage/SkSurfaceGravatar reed@google.com2012-07-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4859 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make 0-texture GrCustomStages work.Gravatar bsalomon@google.com2012-07-31
| | | | | | | | Review URL: http://codereview.appspot.com/6448080/ git-svn-id: http://skia.googlecode.com/svn/trunk@4858 2bbb7eff-a529-9590-31e7-b0007b416f81
* add flatteningGravatar reed@google.com2012-07-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4857 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added dev- & canv- prefixes to Ganesh bounding boxes to indicate coordinate ↵Gravatar robertphillips@google.com2012-07-31
| | | | | | | | | | space http://codereview.appspot.com/6457061/ git-svn-id: http://skia.googlecode.com/svn/trunk@4856 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove '../gm/image.cpp',Gravatar reed@google.com2012-07-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4855 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix LayerDrawLooper to record its fFlagsMaskGravatar reed@google.com2012-07-31
| | | | | | | | convert SampleDrawLooper to a GM git-svn-id: http://skia.googlecode.com/svn/trunk@4854 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline after text gamma changeGravatar reed@google.com2012-07-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4853 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline after text gamma changeGravatar reed@google.com2012-07-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4852 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline after test gamma changeGravatar reed@google.com2012-07-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4851 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update SkData and SkDataSet to make better use of SkFlattenable.Gravatar djsollen@google.com2012-07-31
| | | | | | | | TEST=DataRefTest.cpp Review URL: https://codereview.appspot.com/6441076 git-svn-id: http://skia.googlecode.com/svn/trunk@4850 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed numerous mem errorsGravatar chudy@google.com2012-07-31
| | | | | | Review URL: https://codereview.appspot.com/6441070 git-svn-id: http://skia.googlecode.com/svn/trunk@4849 2bbb7eff-a529-9590-31e7-b0007b416f81
* GrClip no longer translates its clips (to better mimic SkClipStack's behavior)Gravatar robertphillips@google.com2012-07-31
| | | | | | | | http://codereview.appspot.com/6445052/ git-svn-id: http://skia.googlecode.com/svn/trunk@4848 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added test to ensure getConservativeBounds' result is clamped to render targetGravatar robertphillips@google.com2012-07-31
| | | | | | | | http://codereview.appspot.com/6447063/ git-svn-id: http://skia.googlecode.com/svn/trunk@4846 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkImage from encoded dataGravatar mike@reedtribe.org2012-07-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4845 2bbb7eff-a529-9590-31e7-b0007b416f81
* update to surface.getCanvas()Gravatar mike@reedtribe.org2012-07-31
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4844 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaseline for r4841, gamma correcting masks.Gravatar bungeman@google.com2012-07-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4843 2bbb7eff-a529-9590-31e7-b0007b416f81
* change SkSurface::newCanvas() to getCanvas(), and redefine its life-cycle to beGravatar reed@google.com2012-07-30
| | | | | | | | | | | a single canvas for the lifetime of the surface. Get a playback copy from the src picture, so we can continue to record into the original picture. git-svn-id: http://skia.googlecode.com/svn/trunk@4842 2bbb7eff-a529-9590-31e7-b0007b416f81
* Gamma correcting masks.Gravatar bungeman@google.com2012-07-30
| | | | | | | https://codereview.appspot.com/6244068/ git-svn-id: http://skia.googlecode.com/svn/trunk@4841 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove outdated test code for TEST_SRC_ALPHAGravatar reed@google.com2012-07-30
| | | | | | Review URL: https://codereview.appspot.com/6457056 git-svn-id: http://skia.googlecode.com/svn/trunk@4840 2bbb7eff-a529-9590-31e7-b0007b416f81
* update/add copyright noticesGravatar reed@google.com2012-07-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4839 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix skdiff when using windows path that begins with a drive letterGravatar bsalomon@google.com2012-07-30
| | | | | | | Review URL: https://mail.google.com/mail/u/0/?shva=1#inbox/138d92244ca33549 git-svn-id: http://skia.googlecode.com/svn/trunk@4838 2bbb7eff-a529-9590-31e7-b0007b416f81
* Canvas size initializes correctly when drawing from a skia pictureGravatar chudy@google.com2012-07-30
| | | | | | Review URL: https://codereview.appspot.com/6450065 git-svn-id: http://skia.googlecode.com/svn/trunk@4837 2bbb7eff-a529-9590-31e7-b0007b416f81
* expand internal subclasses into separate filesGravatar reed@google.com2012-07-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4836 2bbb7eff-a529-9590-31e7-b0007b416f81
* expand private subclasses into separate filesGravatar reed@google.com2012-07-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4835 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix for clip assert in Chrome testsGravatar robertphillips@google.com2012-07-30
| | | | | | | | http://codereview.appspot.com/6442063/ git-svn-id: http://skia.googlecode.com/svn/trunk@4834 2bbb7eff-a529-9590-31e7-b0007b416f81
* gyp_skia: Fix module search path.Gravatar digit@google.com2012-07-30
| | | | | | | | | | | | | gyp_skia should prepend the local gyp source path to the python module search path, instead of appending it. Otherwise, if a 'gyp' module is locally installed on the machine, it will be read instead of the current version in the Skia tree. This breaks the Android build when the installed 'gyp' module doesn't support the "make-android" generator. Review URL: https://codereview.appspot.com/6344096 git-svn-id: http://skia.googlecode.com/svn/trunk@4832 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaseline verttext so it can be monitored.Gravatar bungeman@google.com2012-07-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4831 2bbb7eff-a529-9590-31e7-b0007b416f81
* Const correct BlockRef in SkAutoTUnref.Gravatar bungeman@google.com2012-07-30
| | | | | | | https://codereview.appspot.com/6448066/ git-svn-id: http://skia.googlecode.com/svn/trunk@4829 2bbb7eff-a529-9590-31e7-b0007b416f81
* Share code in various SkGPipeCanvas::drawBitmap_ calls.Gravatar scroggo@google.com2012-07-30
| | | | | | | | | | | | | | | | Also implement SkGPipeCanvas::drawBitmapMatrix, and create a GM to make sure it works properly. Use a flag instead of writing a bool for determining whether drawBitmap_ has a paint and whether drawBitmapRect has a source rectangle. BUG= TEST=drawbitmapmatrix GM Review URL: https://codereview.appspot.com/6450053 git-svn-id: http://skia.googlecode.com/svn/trunk@4828 2bbb7eff-a529-9590-31e7-b0007b416f81
* detect null pixles in setPixels() and just clear out any existing pixelref.Gravatar reed@google.com2012-07-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4827 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove GrDrawState::setTexture/getTextureGravatar bsalomon@google.com2012-07-30
| | | | | | | | Review URL: http://codereview.appspot.com/6455051/ git-svn-id: http://skia.googlecode.com/svn/trunk@4826 2bbb7eff-a529-9590-31e7-b0007b416f81
* land https://codereview.appspot.com/6448046/Gravatar reed@google.com2012-07-30
| | | | | | | | Add a method reporting used font cache size to the SkGraphics API git-svn-id: http://skia.googlecode.com/svn/trunk@4825 2bbb7eff-a529-9590-31e7-b0007b416f81
* Deserialization locks up multithreading fix.Gravatar chudy@google.com2012-07-30
| | | | | | Review URL: https://codereview.appspot.com/6448077 git-svn-id: http://skia.googlecode.com/svn/trunk@4824 2bbb7eff-a529-9590-31e7-b0007b416f81
* check-point for image/surface workGravatar mike@reedtribe.org2012-07-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4823 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added missing files to fix build.Gravatar chudy@google.com2012-07-28
| | | | | | | | TBR Review URL: https://codereview.appspot.com/6455058 git-svn-id: http://skia.googlecode.com/svn/trunk@4822 2bbb7eff-a529-9590-31e7-b0007b416f81