aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Speculative Android GM blend fix (unreviewed).Gravatar senorblanco@chromium.org2012-08-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5257 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change scratch texture cache behavior to only reuse scratch textures used as ↵Gravatar rileya@google.com2012-08-23
| | | | | | | | | render targets if they will be reused as render targets. The original behavior could sometimes confuse the driver; textures would alternate between being used as render targets and having data uploaded into them. Review URL: https://codereview.appspot.com/6480049 git-svn-id: http://skia.googlecode.com/svn/trunk@5252 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed compiler error in r5247 (unreviewed)Gravatar robertphillips@google.com2012-08-23
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5248 2bbb7eff-a529-9590-31e7-b0007b416f81
* Refactored GrDLinkedList into SkTDLinkedListGravatar robertphillips@google.com2012-08-23
| | | | | | | | http://codereview.appspot.com/6484045/ git-svn-id: http://skia.googlecode.com/svn/trunk@5247 2bbb7eff-a529-9590-31e7-b0007b416f81
* Split out SkFontHost_FreeType into common filesGravatar george@mozilla.com2012-08-23
| | | | | | Review URL: https://codereview.appspot.com/6442092 git-svn-id: http://skia.googlecode.com/svn/trunk@5246 2bbb7eff-a529-9590-31e7-b0007b416f81
* Actually remove the GrMorphologyEffect.* files from svn, which I should'veGravatar senorblanco@chromium.org2012-08-22
| | | | | | | | done in my last patch. Unreviewed. git-svn-id: http://skia.googlecode.com/svn/trunk@5242 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move the code for the GPU implementation of morphology effects from GrContextGravatar senorblanco@chromium.org2012-08-22
| | | | | | | | | | and GrMorphologyEffect.* into SkMorphologyImageFilter.cpp. Review URL: https://codereview.appspot.com/6458065/ git-svn-id: http://skia.googlecode.com/svn/trunk@5241 2bbb7eff-a529-9590-31e7-b0007b416f81
* Another speculative Android build fix (unreviewed).Gravatar senorblanco@chromium.org2012-08-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5240 2bbb7eff-a529-9590-31e7-b0007b416f81
* Android build fix (unreviewed).Gravatar senorblanco@chromium.org2012-08-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5236 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed instance counting for templated classesGravatar robertphillips@google.com2012-08-22
| | | | | | | | http://codereview.appspot.com/6478045/ git-svn-id: http://skia.googlecode.com/svn/trunk@5233 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix for no-GPU build (unreviewed).Gravatar senorblanco@chromium.org2012-08-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5232 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implements the non-Porter-Duff compositing modes required for SVG's feBlendGravatar senorblanco@chromium.org2012-08-22
| | | | | | | | | | | | element. This filter has two inputs, since normal blending can't be used. The GPU side uses two filter stages to accomplish this: one to sample the background, and one to sample the foreground and blend it. Review URL: https://codereview.appspot.com/6463081/ git-svn-id: http://skia.googlecode.com/svn/trunk@5231 2bbb7eff-a529-9590-31e7-b0007b416f81
* SkBitmap::scrollRect changes pixels, but only if not immutable.Gravatar scroggo@google.com2012-08-22
| | | | | | | | | | scrollRect will now return false if the bitmap is immutable, and call notifyPixelsChanged when changing the pixels. This will give the bitmap a new generation ID. Review URL: https://codereview.appspot.com/6480046 git-svn-id: http://skia.googlecode.com/svn/trunk@5230 2bbb7eff-a529-9590-31e7-b0007b416f81
* When copying a bitmap, copy the generation ID.Gravatar scroggo@google.com2012-08-22
| | | | | | Review URL: https://codereview.appspot.com/6462084 git-svn-id: http://skia.googlecode.com/svn/trunk@5227 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove unnecessary flush from SkGpuDeviceGravatar bsalomon@google.com2012-08-22
| | | | | | | | | Review URL: http://codereview.appspot.com/6476046/ git-svn-id: http://skia.googlecode.com/svn/trunk@5224 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert 5213. WK r126226 has landed in Chromium and the workaround is no ↵Gravatar bsalomon@google.com2012-08-22
| | | | | | longer necessary. git-svn-id: http://skia.googlecode.com/svn/trunk@5223 2bbb7eff-a529-9590-31e7-b0007b416f81
* Scratch textures are no longer removed from the cache in DebugGravatar robertphillips@google.com2012-08-22
| | | | | | | | http://codereview.appspot.com/6465079/ git-svn-id: http://skia.googlecode.com/svn/trunk@5221 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added resource cache debug output to help track changesGravatar robertphillips@google.com2012-08-22
| | | | | | | | http://codereview.appspot.com/6463079/ git-svn-id: http://skia.googlecode.com/svn/trunk@5220 2bbb7eff-a529-9590-31e7-b0007b416f81
* Force opaque in SkBlendLCD16Opaque_SSE2 to match SkBlendLCD16.Gravatar bungeman@google.com2012-08-21
| | | | | | | https://codereview.appspot.com/6460123/ git-svn-id: http://skia.googlecode.com/svn/trunk@5218 2bbb7eff-a529-9590-31e7-b0007b416f81
* Flush in ~SkGpuDevice to unblock Skia rollGravatar bsalomon@google.com2012-08-21
| | | | | | | Review URL: http://codereview.appspot.com/6453160/ git-svn-id: http://skia.googlecode.com/svn/trunk@5213 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add check for EDSP to the 565 opaque blitter.Gravatar djsollen@google.com2012-08-21
| | | | | | Review URL: https://codereview.appspot.com/6464082 git-svn-id: http://skia.googlecode.com/svn/trunk@5212 2bbb7eff-a529-9590-31e7-b0007b416f81
* Upstream ARM 565 optimizations from AOSP.Gravatar djsollen@google.com2012-08-21
| | | | | | Review URL: https://codereview.appspot.com/6461101 git-svn-id: http://skia.googlecode.com/svn/trunk@5211 2bbb7eff-a529-9590-31e7-b0007b416f81
* Android build fix; unreviewed.Gravatar senorblanco@chromium.org2012-08-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5199 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move SkColorFilterImageFilter into its own file.Gravatar senorblanco@chromium.org2012-08-20
| | | | | | | | Review URL: https://codereview.appspot.com/6463072/ git-svn-id: http://skia.googlecode.com/svn/trunk@5197 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove _UPM_ GrPixelConfigsGravatar bsalomon@google.com2012-08-20
| | | | | | | | Review URL: http://codereview.appspot.com/6460113/ git-svn-id: http://skia.googlecode.com/svn/trunk@5196 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add TexParameteriv entry point so ANGLE interface will validateGravatar robertphillips@google.com2012-08-20
| | | | | | | | http://codereview.appspot.com/6441165/ git-svn-id: http://skia.googlecode.com/svn/trunk@5194 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reapply r5101 and r5102: Made gradient effects use GrTextureStripAtlas.Gravatar rileya@google.com2012-08-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5192 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add fast path in arcTo and addArc for 0==sweep && 0|360==sweepAngleGravatar robertphillips@google.com2012-08-20
| | | | | | | | http://codereview.appspot.com/6463071/ git-svn-id: http://skia.googlecode.com/svn/trunk@5190 2bbb7eff-a529-9590-31e7-b0007b416f81
* Refactor SkImageFilter into its own .cpp file.Gravatar senorblanco@chromium.org2012-08-20
| | | | | | | | Review URL: https://codereview.appspot.com/6465073/ git-svn-id: http://skia.googlecode.com/svn/trunk@5188 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implements a new class, SkSingleInputImageFilter, to handle DAG connectivityGravatar senorblanco@chromium.org2012-08-20
| | | | | | | | | | | | | | | | | | | | | for filters with a single image input. This provides functionality to store, flatten and unflatten a single SkImageFilter input, as well as to recursively evaluate it on the CPU or GPU. The following classes were re-parented to implement DAG connectivity: SkBlurImageFilter, SkDilateImageFilter, SkErodeImageFilter, SkColorFilterImageFilter. The constructors for each have been appended with a new parameter, representing the input filter (default NULL). This change also implements an arbitrary SkBitmap input source for filtering, SkBitmapSource. NOTE: This CL will require gyp file changes when rolling past this revision. Review URL: https://codereview.appspot.com/6462071/ git-svn-id: http://skia.googlecode.com/svn/trunk@5170 2bbb7eff-a529-9590-31e7-b0007b416f81
* Stop refcounting SkDeferredCanvas::NotificationClientGravatar junov@chromium.org2012-08-20
| | | | | | | | User code (i.e. WebKit) is now responsible for the lifetime scope of the notification client. With http://trac.webkit.org/changeset/125804 skia-side ref counting has become unnecessary and undesirable. Review URL: https://codereview.appspot.com/6443146 git-svn-id: http://skia.googlecode.com/svn/trunk@5169 2bbb7eff-a529-9590-31e7-b0007b416f81
* Cleaning up deprecated API in SkDeferredCanvasGravatar junov@chromium.org2012-08-17
| | | | | | Review URL: https://codereview.appspot.com/6461077 git-svn-id: http://skia.googlecode.com/svn/trunk@5152 2bbb7eff-a529-9590-31e7-b0007b416f81
* Decrease SkClipStack memory allocations & deallocationsGravatar robertphillips@google.com2012-08-17
| | | | | | | | http://codereview.appspot.com/6443138 git-svn-id: http://skia.googlecode.com/svn/trunk@5151 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove unnecessary GrContext flushesGravatar bsalomon@google.com2012-08-17
| | | | | | | | Review URL: http://codereview.appspot.com/6446150/ git-svn-id: http://skia.googlecode.com/svn/trunk@5150 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make SkDeque::back faster & inlineGravatar robertphillips@google.com2012-08-17
| | | | | | | | http://codereview.appspot.com/6462073/ git-svn-id: http://skia.googlecode.com/svn/trunk@5149 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix clear records in IODBGravatar bsalomon@google.com2012-08-17
| | | | | | | | Review URL: http://codereview.appspot.com/6465061/ git-svn-id: http://skia.googlecode.com/svn/trunk@5148 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added Serialization of SkPath's boundGravatar robertphillips@google.com2012-08-17
| | | | | | | | http://codereview.appspot.com/6458143/ git-svn-id: http://skia.googlecode.com/svn/trunk@5143 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove EdgeType enum. Unimportant distinction, and removing speeds up ↵Gravatar reed@google.com2012-08-16
| | | | | | | | quickReject Review URL: https://codereview.appspot.com/6448161 git-svn-id: http://skia.googlecode.com/svn/trunk@5140 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix a memory leak in SkBitmapHeap.Gravatar scroggo2012-08-16
| | | | | | | | | | | When I switched fLookupTable to be an array of pointers, I did not delete those pointers when I was done with them. Do it now. Also modify SkTDArray::deleteAll to call SkDELETE instead of delete. Review URL: https://codereview.appspot.com/6453129 git-svn-id: http://skia.googlecode.com/svn/trunk@5137 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make all GrContext draws go through the draw buffer.Gravatar bsalomon@google.com2012-08-16
| | | | | | | Review URL: http://codereview.appspot.com/6462069/ git-svn-id: http://skia.googlecode.com/svn/trunk@5136 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SK_ENABLE_CLIP_QUICKREJECT option (currently disabled)Gravatar reed@google.com2012-08-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5135 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix a parenthesis bug.Gravatar scroggo@google.com2012-08-16
| | | | | | | | | | | | | | | | SkGPipeCanvas::needOpBytes was being called with the wrong value due to a misplaced parens in clipRect and clipPath. This can cause a crash if clip is called at just the right (wrong) time. Instead of writing a boolean to the stream, I have added a flag, which helps to avoid the parens problem. Also renamed some flags from _DrawOpsFlag to _DrawOpFlag for consistency. Lastly, added an assert that the size provided by the SkGPipeController is a multiple of four. Review URL: https://codereview.appspot.com/6453126 git-svn-id: http://skia.googlecode.com/svn/trunk@5134 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove SK_FONTHOST_WIN_DW define.Gravatar bungeman@google.com2012-08-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5132 2bbb7eff-a529-9590-31e7-b0007b416f81
* we have no subclasses, so change protected to private.Gravatar reed@google.com2012-08-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5131 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix assertion in in order draw bufferGravatar bsalomon@google.com2012-08-16
| | | | | | | Review URL: http://codereview.appspot.com/6460095/ git-svn-id: http://skia.googlecode.com/svn/trunk@5130 2bbb7eff-a529-9590-31e7-b0007b416f81
* DirectWrite font host for skia.Gravatar bungeman@google.com2012-08-16
| | | | | | | https://codereview.appspot.com/5417063/ git-svn-id: http://skia.googlecode.com/svn/trunk@5128 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkClipStack::clipEmpty() as an optimized way to say clipDevRect(empty, ↵Gravatar reed@google.com2012-08-16
| | | | | | | | | intersect) if the caller knows up-front that it wants the clipstact to become empty. Review URL: https://codereview.appspot.com/6443132 git-svn-id: http://skia.googlecode.com/svn/trunk@5127 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix overrun in aa rect rendererGravatar bsalomon@google.com2012-08-16
| | | | | | | | Review URL: http://codereview.appspot.com/6446146/ git-svn-id: http://skia.googlecode.com/svn/trunk@5126 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix uninitialized color filter data on GrPaintGravatar bsalomon@google.com2012-08-16
| | | | | | | Review URL: http://codereview.appspot.com/6443135/ git-svn-id: http://skia.googlecode.com/svn/trunk@5125 2bbb7eff-a529-9590-31e7-b0007b416f81
* Compilation fix for r5123 (disabling template inst count tracking)Gravatar robertphillips@google.com2012-08-16
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5124 2bbb7eff-a529-9590-31e7-b0007b416f81