aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Perform degenerate check in device coords in convex path rendererGravatar bsalomon@google.com2012-03-15
| | | | | | | | Review URL: http://codereview.appspot.com/5821053/ git-svn-id: http://skia.googlecode.com/svn/trunk@3401 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't clamp the stopScale to 0 unless it originally exceeded the clip. This isGravatar reed@google.com2012-03-15
| | | | | | | | | a tweak on the fix in 3366, but in that earlier change, I mistakenly changed > to >=. This CL just restores the compare to > git-svn-id: http://skia.googlecode.com/svn/trunk@3400 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaseline GMs from r3397Gravatar bsalomon@google.com2012-03-15
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3399 2bbb7eff-a529-9590-31e7-b0007b416f81
* Allow compiler to optimize applying quadratic UV matrix to vertsGravatar bsalomon@google.com2012-03-15
| | | | | | | | Code Review: http://codereview.appspot.com/5833048/ git-svn-id: http://skia.googlecode.com/svn/trunk@3398 2bbb7eff-a529-9590-31e7-b0007b416f81
* Close an (incidental) memory leak in gmmain.Gravatar tomhudson@google.com2012-03-15
| | | | | | | | | | | | Create a suppressions file for gm so that valgrind doesn't warn about dubious actions the driver takes. There *may* be one of those that we could do something about... http://codereview.appspot.com/5820056/ git-svn-id: http://skia.googlecode.com/svn/trunk@3396 2bbb7eff-a529-9590-31e7-b0007b416f81
* Expand SkMatrix type mask from uint8 to uint32, aligning the structGravatar tomhudson@google.com2012-03-15
| | | | | | | | | | | | so there's no uninitialized padding and potentially allowing future expansion. http://codereview.appspot.com/5824056/ http://code.google.com/p/skia/issues/detail?id=354 git-svn-id: http://skia.googlecode.com/svn/trunk@3395 2bbb7eff-a529-9590-31e7-b0007b416f81
* make commonBitmap un-virtual. That was a leftover from previous subclassingGravatar reed@google.com2012-03-15
| | | | | | | | I think. git-svn-id: http://skia.googlecode.com/svn/trunk@3394 2bbb7eff-a529-9590-31e7-b0007b416f81
* update testGravatar reed@google.com2012-03-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3393 2bbb7eff-a529-9590-31e7-b0007b416f81
* add baselinesGravatar reed@google.com2012-03-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3392 2bbb7eff-a529-9590-31e7-b0007b416f81
* add baselinesGravatar reed@google.com2012-03-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3391 2bbb7eff-a529-9590-31e7-b0007b416f81
* unittest for kUTF32_TextEncodingGravatar reed@google.com2012-03-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3390 2bbb7eff-a529-9590-31e7-b0007b416f81
* add baselinesGravatar reed@google.com2012-03-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3389 2bbb7eff-a529-9590-31e7-b0007b416f81
* tweak gm bounds to better fit the contentGravatar reed@google.com2012-03-14
| | | | | | | | | remove assert that is too strict if the src is the dst of a prev draw (where alpha might be 0xFE, even if it *should* be 0xFF) git-svn-id: http://skia.googlecode.com/svn/trunk@3388 2bbb7eff-a529-9590-31e7-b0007b416f81
* add kUTF32_TextEncodingGravatar reed@google.com2012-03-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3387 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix four memory leaks uncovered by valgrinding gm tests.Gravatar vandebo@chromium.org2012-03-14
| | | | | | | | | | | | | All are triggered by PDF code. Two are missing unref's on SkData. One is a missing unref on a SkAdvancedTypefaceMetrics. The last is missing destruction of SkClipStack internal state. BUG=526 Review URL: https://codereview.appspot.com/5824049 git-svn-id: http://skia.googlecode.com/svn/trunk@3386 2bbb7eff-a529-9590-31e7-b0007b416f81
* Disable overly heavy benchmark - 15x slower than any other benchmarkGravatar tomhudson@google.com2012-03-14
| | | | | | | | | | and not giving us particularly important information. It may be useful to occasionally reactivate it when trying to optimize rectangle blits, but otherwise it was a waste to have clogging up the performance bots. git-svn-id: http://skia.googlecode.com/svn/trunk@3385 2bbb7eff-a529-9590-31e7-b0007b416f81
* This update fixes the problem with GLX failing to find a valid configuration ↵Gravatar robertphillips@google.com2012-03-14
| | | | | | | | | | | | on Linux laptops (Issue 513). The base issue here was that the default GLX implementation on some Linux laptops lies about its version numbering. Code in SkNativeGLContext_unix.cpp was checking the version number to avoid using FBConfigs in versions prior to 1.3 and thus incorrectly stopped processing. To resolve this a separate configuration path has been added that uses the pre-1.3 method (i.e., XGetVisualInfo and glXGetConfig). The run-time version check has also been removed and a #define has been added to toggle between the two implementations. This allows the FBConfig method to be used with the wayward GLX implementation while the legacy method can be used with older implementations. Please see http://codereview.appspot.com/5823049/ for more information. git-svn-id: http://skia.googlecode.com/svn/trunk@3384 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaselines from r3382 for bots that completed before bot reset.Gravatar bsalomon@google.com2012-03-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3383 2bbb7eff-a529-9590-31e7-b0007b416f81
* Batch path draws.Gravatar bsalomon@google.com2012-03-14
| | | | | | | | | | | THIS IS EXPECTED TO SUBTLY CHANGE ONE GM IMAGE, WILL REBASELINE. Review URL: http://codereview.appspot.com/5796080/ git-svn-id: http://skia.googlecode.com/svn/trunk@3382 2bbb7eff-a529-9590-31e7-b0007b416f81
* enable fractionalint (64bit) math in bitmap procsGravatar reed@google.com2012-03-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3381 2bbb7eff-a529-9590-31e7-b0007b416f81
* add baselinesGravatar reed@google.com2012-03-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3380 2bbb7eff-a529-9590-31e7-b0007b416f81
* add baselinesGravatar reed@google.com2012-03-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3379 2bbb7eff-a529-9590-31e7-b0007b416f81
* add baselinesGravatar reed@google.com2012-03-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3378 2bbb7eff-a529-9590-31e7-b0007b416f81
* need to pack the two values into a 32bit longGravatar mike@reedtribe.org2012-03-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3377 2bbb7eff-a529-9590-31e7-b0007b416f81
* add build option to revert hairline-clipping fix from 3366Gravatar reed@google.com2012-03-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3376 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaseline for r3374.Gravatar bungeman@google.com2012-03-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3375 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use floats for mask table for accuracy.Gravatar bungeman@google.com2012-03-13
| | | | | | | | http://codereview.appspot.com/5783099/ git-svn-id: http://skia.googlecode.com/svn/trunk@3374 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix missing return statementGravatar bsalomon@google.com2012-03-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3373 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add option to automatically flush GrInOrderDrawBuffer based on previewing ↵Gravatar bsalomon@google.com2012-03-13
| | | | | | | | | | vtx/idx request sizes Review URL: http://codereview.appspot.com/5794079/ git-svn-id: http://skia.googlecode.com/svn/trunk@3372 2bbb7eff-a529-9590-31e7-b0007b416f81
* Change interface on GrDrawTarget to reserve vtx/idx space at same timeGravatar bsalomon@google.com2012-03-13
| | | | | | | Review URL: https://codereview.appspot.com/5796066/ git-svn-id: http://skia.googlecode.com/svn/trunk@3371 2bbb7eff-a529-9590-31e7-b0007b416f81
* promote floats to scalars for the fixed-point buildGravatar reed@google.com2012-03-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3370 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't draw in constructor (makes debugging harder)Gravatar reed@google.com2012-03-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3369 2bbb7eff-a529-9590-31e7-b0007b416f81
* add init() method, so we don't draw in our constructor (makes debugging harder)Gravatar reed@google.com2012-03-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3368 2bbb7eff-a529-9590-31e7-b0007b416f81
* add unittest for rev. 3366 -- clipping antihairlinesGravatar reed@google.com2012-03-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3367 2bbb7eff-a529-9590-31e7-b0007b416f81
* if we are extending past our clip in antihairlines, don't draw that lastGravatar reed@google.com2012-03-12
| | | | | | | | | row/col (setting its scale to 0), so we don't violate the clip-rule and possibly double-draw the last pixel. git-svn-id: http://skia.googlecode.com/svn/trunk@3366 2bbb7eff-a529-9590-31e7-b0007b416f81
* detect all masks, and don't use masksuperblitter with thoseGravatar reed@google.com2012-03-12
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3364 2bbb7eff-a529-9590-31e7-b0007b416f81
* Updating SkAvoidXferMode to use new 4byte interp function.Gravatar djsollen@google.com2012-03-12
| | | | | | Review URL: https://codereview.appspot.com/5795058 git-svn-id: http://skia.googlecode.com/svn/trunk@3363 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkFourByteInterp256 variant, when the caller has already scaled the lastGravatar reed@google.com2012-03-12
| | | | | | | | parameter to 0..256 git-svn-id: http://skia.googlecode.com/svn/trunk@3362 2bbb7eff-a529-9590-31e7-b0007b416f81
* add/delete some comments to path renderer interfaceGravatar bsalomon@google.com2012-03-12
| | | | | | | | | | Submitted by Guanqun.Lu@gmail.com Review URL: http://codereview.appspot.com/5783060/ git-svn-id: http://skia.googlecode.com/svn/trunk@3361 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Fix memory hungry inefficiency in pdf resource tracking.Gravatar vandebo@chromium.org2012-03-09
| | | | | | | | | | | | | When moving the content of a device into a PDF object like SkPDFFormXObject or SkPDFShader does, we only need the top level resources in the new object's resource list, not the recursive set of objects. Otherwise, when you put a form on a form on form, etc, references to the objects multiply. This fixed http://crbug.com/117321 Review URL: https://codereview.appspot.com/5796048 git-svn-id: http://skia.googlecode.com/svn/trunk@3360 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaseline for r3358.Gravatar bungeman@google.com2012-03-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3359 2bbb7eff-a529-9590-31e7-b0007b416f81
* Use default lcd filter until we have the means to specify one.Gravatar bungeman@google.com2012-03-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3358 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't flip the fractional bits (low 4) for bilerp when in kMirror_TileModeGravatar reed@google.com2012-03-09
| | | | | | Review URL: https://codereview.appspot.com/5795043 git-svn-id: http://skia.googlecode.com/svn/trunk@3357 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Fix some fixed/float-point mismatches for image shaders.Gravatar vandebo@chromium.org2012-03-09
| | | | | | | | BUG=520 Review URL: https://codereview.appspot.com/5787061 git-svn-id: http://skia.googlecode.com/svn/trunk@3356 2bbb7eff-a529-9590-31e7-b0007b416f81
* If we try to clip against a path and the path only contains a rect, treat it ↵Gravatar tomhudson@google.com2012-03-09
| | | | | | | | | | | | | | as a clip against a rect. (Works around a performance issue: JavaScript Canvas2D API only provides canvas.clipPath(), and we don't optimize path clips nearly as much as we can rects; this shows up more in Ganesh than in the software rasterizer.) http://codereview.appspot.com/5795044/ git-svn-id: http://skia.googlecode.com/svn/trunk@3355 2bbb7eff-a529-9590-31e7-b0007b416f81
* whitespace change to trigger Skia buildbotGravatar epoger@google.com2012-03-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3354 2bbb7eff-a529-9590-31e7-b0007b416f81
* add more modes/flags to giantbitmap testGravatar reed@google.com2012-03-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3353 2bbb7eff-a529-9590-31e7-b0007b416f81
* defer any drawing until our first time, so we don't do it in ourGravatar reed@google.com2012-03-08
| | | | | | | | constructor (which may get called multiple times) git-svn-id: http://skia.googlecode.com/svn/trunk@3352 2bbb7eff-a529-9590-31e7-b0007b416f81
* reenable vertical lcd supportGravatar reed@google.com2012-03-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3351 2bbb7eff-a529-9590-31e7-b0007b416f81
* delete for now, as I rework this testGravatar reed@google.com2012-03-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3350 2bbb7eff-a529-9590-31e7-b0007b416f81