aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
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
* 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
* 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
* 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
* 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
* 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
* 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
* 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/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
* 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
* reenable vertical lcd supportGravatar reed@google.com2012-03-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3351 2bbb7eff-a529-9590-31e7-b0007b416f81
* disable 64bit opt for now, as I debug skew failure in DRTGravatar reed@google.com2012-03-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3349 2bbb7eff-a529-9590-31e7-b0007b416f81
* apply FractionalInt improvement to rotatedGravatar reed@google.com2012-03-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3348 2bbb7eff-a529-9590-31e7-b0007b416f81
* use floats to compute texture matrix / coordsGravatar bsalomon@google.com2012-03-08
| | | | | | | | Review URL: http://codereview.appspot.com/5781059/ git-svn-id: http://skia.googlecode.com/svn/trunk@3347 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Treat TTF Fonts that report zero glyphs as other font type.Gravatar vandebo@chromium.org2012-03-08
| | | | | | | | | | Fix crbug.com/117322 crash Patch from Arthur Hsu, Original CL: http://codereview.appspot.com/5786057/ Review URL: https://codereview.appspot.com/5792050 git-svn-id: http://skia.googlecode.com/svn/trunk@3345 2bbb7eff-a529-9590-31e7-b0007b416f81
* Don't override the user's hinting level.Gravatar bungeman@google.com2012-03-08
| | | | | | | http://codereview.appspot.com/5792049/ git-svn-id: http://skia.googlecode.com/svn/trunk@3344 2bbb7eff-a529-9590-31e7-b0007b416f81
* Turn off pedantic check that causes too much noise in GL logs.Gravatar bsalomon@google.com2012-03-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3343 2bbb7eff-a529-9590-31e7-b0007b416f81
* Misc bug fix in GrInOrderDrawBufferGravatar bsalomon@google.com2012-03-08
| | | | | | | | Code review: http://codereview.appspot.com/5787054/ git-svn-id: http://skia.googlecode.com/svn/trunk@3342 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix GrBufferAllocPool to include padding in bytes used for an allocationGravatar bsalomon@google.com2012-03-08
| | | | | | | | Review URL: http://codereview.appspot.com/5784053/ git-svn-id: http://skia.googlecode.com/svn/trunk@3339 2bbb7eff-a529-9590-31e7-b0007b416f81
* use higher precision (64bit) fixed-point for matrix procGravatar reed@google.com2012-03-07
| | | | | | Review URL: https://codereview.appspot.com/5772044 git-svn-id: http://skia.googlecode.com/svn/trunk@3336 2bbb7eff-a529-9590-31e7-b0007b416f81
* make pathrenderers release their geometry before returningGravatar bsalomon@google.com2012-03-07
| | | | | | | | Review URL: http://codereview.appspot.com/5753073/ git-svn-id: http://skia.googlecode.com/svn/trunk@3335 2bbb7eff-a529-9590-31e7-b0007b416f81
* SSSE3 code for drawing rotated bitmaps; produces 25-30% speedup.Gravatar tomhudson@google.com2012-03-06
| | | | | | | | | | Courtesy of Jin Yang. http://codereview.appspot.com/5704055/ git-svn-id: http://skia.googlecode.com/svn/trunk@3331 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix debug build: move assertions to GrContext callers, not static callees.Gravatar senorblanco@chromium.org2012-03-05
| | | | | | | | Debug build fix; unreviewed. git-svn-id: http://skia.googlecode.com/svn/trunk@3329 2bbb7eff-a529-9590-31e7-b0007b416f81
* Recommit r3321 with fix for path orientation reversal.Gravatar bsalomon@google.com2012-03-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3328 2bbb7eff-a529-9590-31e7-b0007b416f81
* Refactor Gaussian blur and morphology from SkGpuDevice into GrContext.Gravatar senorblanco@chromium.org2012-03-05
| | | | | | | | Review URL: http://codereview.appspot.com/5720060/ git-svn-id: http://skia.googlecode.com/svn/trunk@3327 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r3321 because of GM failureGravatar bsalomon@google.com2012-03-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3323 2bbb7eff-a529-9590-31e7-b0007b416f81
* make skpaint2grpaint functions be local to skgpudevice.cppGravatar bsalomon@google.com2012-03-05
| | | | | | | | Review URL: http://codereview.appspot.com/5726061/ git-svn-id: http://skia.googlecode.com/svn/trunk@3322 2bbb7eff-a529-9590-31e7-b0007b416f81
* Avoid making a copy of the path in GrAAConvexPathRendererGravatar bsalomon@google.com2012-03-05
| | | | | | | Review URL: http://codereview.appspot.com/5720074/ git-svn-id: http://skia.googlecode.com/svn/trunk@3321 2bbb7eff-a529-9590-31e7-b0007b416f81
* [PDF] Fix name objects containing characters > 0x80 and add a test.Gravatar vandebo@chromium.org2012-03-05
| | | | | | | | This fixes chrome bug http://crbug.com/115258 Review URL: https://codereview.appspot.com/5726048 git-svn-id: http://skia.googlecode.com/svn/trunk@3319 2bbb7eff-a529-9590-31e7-b0007b416f81
* Prealloc space for ~10 segments in GrAAConvexPathRendererGravatar bsalomon@google.com2012-03-05
| | | | | | | | Review URL: http://codereview.appspot.com/5726058/ git-svn-id: http://skia.googlecode.com/svn/trunk@3317 2bbb7eff-a529-9590-31e7-b0007b416f81
* minor improvement, remove some conditionals in GrAAConvexPathRendererGravatar bsalomon@google.com2012-03-05
| | | | | | | | Review URL: http://codereview.appspot.com/5728060 git-svn-id: http://skia.googlecode.com/svn/trunk@3316 2bbb7eff-a529-9590-31e7-b0007b416f81
* Avoid hairline coverage mul when possibleGravatar bsalomon@google.com2012-03-05
| | | | | | | Review URL: http://codereview.appspot.com/5727062/ git-svn-id: http://skia.googlecode.com/svn/trunk@3315 2bbb7eff-a529-9590-31e7-b0007b416f81
* When guessing at the dest, use linear space instead of color space.Gravatar bungeman@google.com2012-03-05
| | | | | | | | | | http://codereview.appspot.com/5732044/ --this line, and those below, will be ignored-- M src/ports/SkFontHost_FreeType.cpp git-svn-id: http://skia.googlecode.com/svn/trunk@3313 2bbb7eff-a529-9590-31e7-b0007b416f81
* simplify GrPathRenderer interfaceGravatar bsalomon@google.com2012-03-02
| | | | | | | | Review URL: http://codereview.appspot.com/5706053/ git-svn-id: http://skia.googlecode.com/svn/trunk@3312 2bbb7eff-a529-9590-31e7-b0007b416f81
* On Mac, also check for a loca table before calling a font true type.Gravatar vandebo@chromium.org2012-03-02
| | | | | | Review URL: https://codereview.appspot.com/5720056 git-svn-id: http://skia.googlecode.com/svn/trunk@3311 2bbb7eff-a529-9590-31e7-b0007b416f81
* Erode and dilate image filter effects, CPU and GPU implementations.Gravatar senorblanco@chromium.org2012-03-02
| | | | | | | | Review URL: http://codereview.appspot.com/5656067/ git-svn-id: http://skia.googlecode.com/svn/trunk@3310 2bbb7eff-a529-9590-31e7-b0007b416f81