platform/upstream/libSkiaSharp.git
13 years agowhitespace change to trigger buildbots
epoger@google.com [Thu, 25 Aug 2011 20:18:33 +0000 (20:18 +0000)]
whitespace change to trigger buildbots

git-svn-id: http://skia.googlecode.com/svn/trunk@2174 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoMove multiple calls to random() out of parameter lists so that the
tomhudson@google.com [Thu, 25 Aug 2011 19:56:04 +0000 (19:56 +0000)]
Move multiple calls to random() out of parameter lists so that the
evaluation order is consistent across compilers.

git-svn-id: http://skia.googlecode.com/svn/trunk@2173 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoExport SkPDFDevice::setDrawingArea as SK_API.
twiz@google.com [Thu, 25 Aug 2011 19:27:20 +0000 (19:27 +0000)]
Export SkPDFDevice::setDrawingArea as SK_API.

git-svn-id: http://skia.googlecode.com/svn/trunk@2172 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRemove compiler warnings (Linux clang, mostly).
tomhudson@google.com [Thu, 25 Aug 2011 15:50:54 +0000 (15:50 +0000)]
Remove compiler warnings (Linux clang, mostly).
Fix indentation.
Remove unnecessary virtual destructor.
codereview.appspot.com/4965043/

git-svn-id: http://skia.googlecode.com/svn/trunk@2171 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRemove compiler warnings (gcc on Linux).
tomhudson@google.com [Thu, 25 Aug 2011 15:37:03 +0000 (15:37 +0000)]
Remove compiler warnings (gcc on Linux).
codereview.appspot.com/4922052/

git-svn-id: http://skia.googlecode.com/svn/trunk@2170 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agomove SkComputeAxisAlignmentForHText(const SkMatrix& matrix) out of inline,
reed@google.com [Wed, 24 Aug 2011 15:38:46 +0000 (15:38 +0000)]
move SkComputeAxisAlignmentForHText(const SkMatrix& matrix) out of inline,
since that isn't really necessary, and it is generating a warning/error for
some builds ('defined but not used')

git-svn-id: http://skia.googlecode.com/svn/trunk@2169 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoadd more samples
reed@google.com [Wed, 24 Aug 2011 13:14:47 +0000 (13:14 +0000)]
add more samples

git-svn-id: http://skia.googlecode.com/svn/trunk@2168 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoSkip test GLPrograms test when GL or Gr context can't be created.
bsalomon@google.com [Wed, 24 Aug 2011 03:29:11 +0000 (03:29 +0000)]
Skip test GLPrograms test when GL or Gr context can't be created.

TBR: http://codereview.appspot.com/4946041/

git-svn-id: http://skia.googlecode.com/svn/trunk@2167 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agorebaseline now that subpixel position is respected
reed@google.com [Tue, 23 Aug 2011 21:34:51 +0000 (21:34 +0000)]
rebaseline now that subpixel position is respected

git-svn-id: http://skia.googlecode.com/svn/trunk@2166 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agorespect subpixel positioning
reed@google.com [Tue, 23 Aug 2011 21:30:47 +0000 (21:30 +0000)]
respect subpixel positioning

git-svn-id: http://skia.googlecode.com/svn/trunk@2165 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoMore prep work in Gr for landing AA hairline renderer.
bsalomon@google.com [Tue, 23 Aug 2011 20:54:07 +0000 (20:54 +0000)]
More prep work in Gr for landing AA hairline renderer.

Review URL: http://codereview.appspot.com/4944045

git-svn-id: http://skia.googlecode.com/svn/trunk@2164 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoClean up PDF code for text decoration change.
bungeman@google.com [Tue, 23 Aug 2011 17:02:18 +0000 (17:02 +0000)]
Clean up PDF code for text decoration change.
http://codereview.appspot.com/4939044/

git-svn-id: http://skia.googlecode.com/svn/trunk@2163 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoCorrectly determine whether HW AA lines can be used
bsalomon@google.com [Tue, 23 Aug 2011 15:45:25 +0000 (15:45 +0000)]
Correctly determine whether HW AA lines can be used
Review URL: http://codereview.appspot.com/4937049/

git-svn-id: http://skia.googlecode.com/svn/trunk@2162 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agotest subpixeltext
reed@google.com [Tue, 23 Aug 2011 15:30:44 +0000 (15:30 +0000)]
test subpixeltext

git-svn-id: http://skia.googlecode.com/svn/trunk@2161 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoCore skia changes to prepare for Gr AA Hairline renderer
bsalomon@google.com [Tue, 23 Aug 2011 14:39:01 +0000 (14:39 +0000)]
Core skia changes to prepare for Gr AA Hairline renderer

Review URL: http://codereview.appspot.com/4940045/

git-svn-id: http://skia.googlecode.com/svn/trunk@2160 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoExit early from 0 prim draws in GrDrawTarget
bsalomon@google.com [Tue, 23 Aug 2011 14:32:40 +0000 (14:32 +0000)]
Exit early from 0 prim draws in GrDrawTarget

Review URL: http://codereview.appspot.com/4929045/

git-svn-id: http://skia.googlecode.com/svn/trunk@2159 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoGpu can draw underlined text.
bungeman@google.com [Mon, 22 Aug 2011 21:30:43 +0000 (21:30 +0000)]
Gpu can draw underlined text.
http://codereview.appspot.com/4919047/

git-svn-id: http://skia.googlecode.com/svn/trunk@2154 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agorefactor utility code to create a mask (any format) from the path, for those
reed@google.com [Mon, 22 Aug 2011 21:13:23 +0000 (21:13 +0000)]
refactor utility code to create a mask (any format) from the path, for those
cases when we need to do that instead of the scalercontext subclass (e.g.
stroking, patheffects, etc.)

This also now keeps the LCD formats, rather than forcing those down to grayscale.

This also respects subpixel position when it requests the path from the subclass.
Note it is still up to the subclass to notice that, and potentially adjust their
hinting to respect subpixelness (e.g. hinting in Y but not X for horizontal text)

git-svn-id: http://skia.googlecode.com/svn/trunk@2153 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoAllow the y-baseline to float except when text is horizontal, as we were already
reed@google.com [Mon, 22 Aug 2011 20:09:13 +0000 (20:09 +0000)]
Allow the y-baseline to float except when text is horizontal, as we were already
doing for the gpu case. Note: drawPosText was already behaving this way, this
change just brings drawText into line with drawPosText.

git-svn-id: http://skia.googlecode.com/svn/trunk@2152 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoFix gm/bitmapscroll.cpp to actually draw in both Debug and Release modes.
epoger@google.com [Mon, 22 Aug 2011 18:14:07 +0000 (18:14 +0000)]
Fix gm/bitmapscroll.cpp to actually draw in both Debug and Release modes.
Review URL: http://codereview.appspot.com/4922047

git-svn-id: http://skia.googlecode.com/svn/trunk@2151 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRemove bitmapscroll baseline images--they were drawn incorrectly.
epoger@google.com [Mon, 22 Aug 2011 18:03:14 +0000 (18:03 +0000)]
Remove bitmapscroll baseline images--they were drawn incorrectly.
Review URL: http://codereview.appspot.com/4924044

git-svn-id: http://skia.googlecode.com/svn/trunk@2150 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agosilence end of file LF warning on chrome's mac builds
bsalomon@google.com [Mon, 22 Aug 2011 17:32:24 +0000 (17:32 +0000)]
silence end of file LF warning on chrome's mac builds

Review URL: http://codereview.appspot.com/4921042/

git-svn-id: http://skia.googlecode.com/svn/trunk@2149 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoadd initial versions
reed@google.com [Mon, 22 Aug 2011 17:30:46 +0000 (17:30 +0000)]
add initial versions

git-svn-id: http://skia.googlecode.com/svn/trunk@2148 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoFix GrResourceCache::removeAll when one resource holds a lock on another
bsalomon@google.com [Mon, 22 Aug 2011 17:06:16 +0000 (17:06 +0000)]
Fix GrResourceCache::removeAll when one resource holds a lock on another

Review URL: http://codereview.appspot.com/4929042/

git-svn-id: http://skia.googlecode.com/svn/trunk@2147 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoNo effect cleanup in pdf code.
ctguil@chromium.org [Sat, 20 Aug 2011 00:36:18 +0000 (00:36 +0000)]
No effect cleanup in pdf code.
Review URL: http://codereview.appspot.com/4927042

git-svn-id: http://skia.googlecode.com/svn/trunk@2146 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoGet rid of createRenderTargetFrom3DAPIState and associated glGets necessary to suppor...
bsalomon@google.com [Fri, 19 Aug 2011 17:22:05 +0000 (17:22 +0000)]
Get rid of createRenderTargetFrom3DAPIState and associated glGets necessary to support it.

Review URL: http://codereview.appspot.com/4928041/

git-svn-id: http://skia.googlecode.com/svn/trunk@2144 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoUse a prioritized list of path renderers in Gr.
bsalomon@google.com [Fri, 19 Aug 2011 15:42:31 +0000 (15:42 +0000)]
Use a prioritized list of path renderers in Gr.

http://codereview.appspot.com/4867058

git-svn-id: http://skia.googlecode.com/svn/trunk@2143 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoChange GrSafeUnref / GrSafeRef from static inlines to #defines. Chrome buid is chokin...
bsalomon@google.com [Fri, 19 Aug 2011 15:37:34 +0000 (15:37 +0000)]
Change GrSafeUnref / GrSafeRef from static inlines to #defines. Chrome buid is choking on defined but not use warnings.

Review URL: http://codereview.appspot.com/4929041/

git-svn-id: http://skia.googlecode.com/svn/trunk@2142 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoInclude GrRenderTarget.h in GrContext.h to unblock skia roll due to WK dependency...
bsalomon@google.com [Fri, 19 Aug 2011 14:49:36 +0000 (14:49 +0000)]
Include GrRenderTarget.h in GrContext.h to unblock skia roll due to WK dependency on this include

Review URL: http://codereview.appspot.com/4927041/

git-svn-id: http://skia.googlecode.com/svn/trunk@2141 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoMake GrGLInterface a per-GrContext refcounted object rather than a global
bsalomon@google.com [Fri, 19 Aug 2011 13:28:54 +0000 (13:28 +0000)]
Make GrGLInterface a per-GrContext refcounted object rather than a global

Review URL: http://codereview.appspot.com/4901046/

git-svn-id: http://skia.googlecode.com/svn/trunk@2140 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoUse gcc intrinsic functions for atomic incr and decr
bsalomon@google.com [Thu, 18 Aug 2011 20:31:35 +0000 (20:31 +0000)]
Use gcc intrinsic functions for atomic incr and decr

Review URL: http://codereview.appspot.com/4894055/

git-svn-id: http://skia.googlecode.com/svn/trunk@2138 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoFix build break in r2136
bsalomon@google.com [Thu, 18 Aug 2011 20:23:09 +0000 (20:23 +0000)]
Fix build break in r2136

TBR=junov@chromium.org

git-svn-id: http://skia.googlecode.com/svn/trunk@2137 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoClening up GrBinHashKey. Removing unnecessary streaming capability
junov@google.com [Thu, 18 Aug 2011 18:15:16 +0000 (18:15 +0000)]
Clening up GrBinHashKey. Removing unnecessary streaming capability

BUG=http://code.google.com/p/skia/issues/detail?id=278
REVIEW=http://codereview.appspot.com/4910045/

git-svn-id: http://skia.googlecode.com/svn/trunk@2136 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years ago[PDF] Subset font advance data (W array).
vandebo@chromium.org [Thu, 18 Aug 2011 02:38:50 +0000 (02:38 +0000)]
[PDF] Subset font advance data (W array).

Patch by arthurhsu@chromium.org. Original CL:
http://codereview.appspot.com/4830068
http://codereview.appspot.com/4905051/

Review URL: http://codereview.appspot.com/4911042

git-svn-id: http://skia.googlecode.com/svn/trunk@2134 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agowhitespace change to trigger buildbots
epoger@google.com [Wed, 17 Aug 2011 17:51:03 +0000 (17:51 +0000)]
whitespace change to trigger buildbots

git-svn-id: http://skia.googlecode.com/svn/trunk@2133 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoCanvas to handle null layer device.
bungeman@google.com [Wed, 17 Aug 2011 14:53:54 +0000 (14:53 +0000)]
Canvas to handle null layer device.
http://codereview.appspot.com/4907045/

See also http://code.google.com/p/chromium/issues/detail?id=93000.

git-svn-id: http://skia.googlecode.com/svn/trunk@2130 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoFixed r2125. Identical change but also moves GrTesselatedPathRenderer.h to src dir.
bsalomon@google.com [Wed, 17 Aug 2011 13:42:46 +0000 (13:42 +0000)]
Fixed r2125. Identical change but also moves GrTesselatedPathRenderer.h to src dir.

Verbal SGTM from Tom who reviewed the original version at: http://codereview.appspot.com/4894050/

git-svn-id: http://skia.googlecode.com/svn/trunk@2129 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRevert "Improve generation of glyph advance array." This reverts commit r2126
vandebo@chromium.org [Tue, 16 Aug 2011 23:30:48 +0000 (23:30 +0000)]
Revert "Improve generation of glyph advance array." This reverts commit r2126

gm segfaults in font id retrieval.

TBR=arthurhsu@chromium.org

Review URL: http://codereview.appspot.com/4901049

git-svn-id: http://skia.googlecode.com/svn/trunk@2128 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRevert "Make GrDrawTarget.h and GrPathRenderer.h be private headers"
vandebo@chromium.org [Tue, 16 Aug 2011 23:20:31 +0000 (23:20 +0000)]
Revert "Make GrDrawTarget.h and GrPathRenderer.h be private headers"

This reverts commit r2125

Looks like GrPathRenderer.h is used from gpu/include/GrTesselatedPathRenderer.h

There also seems to be a dependency tracking problem, because r2125 didn't go red, but the next revision did.

Review URL: http://codereview.appspot.com/4896048

git-svn-id: http://skia.googlecode.com/svn/trunk@2127 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoImprove generation of glyph advance array.
vandebo@chromium.org [Tue, 16 Aug 2011 22:45:43 +0000 (22:45 +0000)]
Improve generation of glyph advance array.

Review URL: http://codereview.appspot.com/4830068

git-svn-id: http://skia.googlecode.com/svn/trunk@2126 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoMake GrDrawTarget.h and GrPathRenderer.h be private headers
bsalomon@google.com [Tue, 16 Aug 2011 20:38:11 +0000 (20:38 +0000)]
Make GrDrawTarget.h and GrPathRenderer.h be private headers

Review URL: http://codereview.appspot.com/4894050/

git-svn-id: http://skia.googlecode.com/svn/trunk@2125 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRemove GrContext::drawCustomVertices
bsalomon@google.com [Tue, 16 Aug 2011 19:20:44 +0000 (19:20 +0000)]
Remove GrContext::drawCustomVertices

Review URL: http://codereview.appspot.com/4910042/

git-svn-id: http://skia.googlecode.com/svn/trunk@2124 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRemove unneeded sk/gr conversion code
bsalomon@google.com [Tue, 16 Aug 2011 18:48:48 +0000 (18:48 +0000)]
Remove unneeded sk/gr conversion code
Review URL: http://codereview.appspot.com/4876055/

git-svn-id: http://skia.googlecode.com/svn/trunk@2123 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoMark setMatrixClip as public only for VectorPlatformDeviceSkia.
vandebo@chromium.org [Tue, 16 Aug 2011 17:11:48 +0000 (17:11 +0000)]
Mark setMatrixClip as public only for VectorPlatformDeviceSkia.

Review URL: http://codereview.appspot.com/4903044

git-svn-id: http://skia.googlecode.com/svn/trunk@2122 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoMake program unit test run clean and add it to tests program
bsalomon@google.com [Tue, 16 Aug 2011 15:45:58 +0000 (15:45 +0000)]
Make program unit test run clean and add it to tests program

Review URL: http://codereview.appspot.com/4898049/

git-svn-id: http://skia.googlecode.com/svn/trunk@2121 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoFix header build breakage caused by moving GrGpu.h to src dir
bsalomon@google.com [Tue, 16 Aug 2011 15:13:54 +0000 (15:13 +0000)]
Fix header build breakage caused by moving GrGpu.h to src dir

git-svn-id: http://skia.googlecode.com/svn/trunk@2120 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoMove some gpu headers out of the public include dir
bsalomon@google.com [Tue, 16 Aug 2011 15:09:46 +0000 (15:09 +0000)]
Move some gpu headers out of the public include dir
Review URL: http://codereview.appspot.com/4902045/

git-svn-id: http://skia.googlecode.com/svn/trunk@2119 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoAdd xcodebuild and build to trunk's svn ignore property
bsalomon@google.com [Tue, 16 Aug 2011 15:08:29 +0000 (15:08 +0000)]
Add xcodebuild and build to trunk's svn ignore property

Review URL: http://codereview.appspot.com/4905047/

git-svn-id: http://skia.googlecode.com/svn/trunk@2118 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoAddress lint issues in pdf directories.
ctguil@chromium.org [Mon, 15 Aug 2011 23:55:03 +0000 (23:55 +0000)]
Address lint issues in pdf directories.
Review URL: http://codereview.appspot.com/4887042

git-svn-id: http://skia.googlecode.com/svn/trunk@2117 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoMake SkPDFDevice::setOrigin accessible to Chrome's VectorPlatformDeviceSkia.
vandebo@chromium.org [Mon, 15 Aug 2011 21:20:59 +0000 (21:20 +0000)]
Make SkPDFDevice::setOrigin accessible to Chrome's VectorPlatformDeviceSkia.

BUG=chrome 82746

Review URL: http://codereview.appspot.com/4888048

git-svn-id: http://skia.googlecode.com/svn/trunk@2116 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agogyp DEPS roll, and remove no-longer-needed msvs_abspath_output flag
epoger@google.com [Mon, 15 Aug 2011 19:53:17 +0000 (19:53 +0000)]
gyp DEPS roll, and remove no-longer-needed msvs_abspath_output flag

git-svn-id: http://skia.googlecode.com/svn/trunk@2115 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agowhitespace change to trigger buildbots
epoger@google.com [Mon, 15 Aug 2011 19:38:11 +0000 (19:38 +0000)]
whitespace change to trigger buildbots

git-svn-id: http://skia.googlecode.com/svn/trunk@2114 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoStop packaging command-line Mac tools as a bundle.
epoger@google.com [Mon, 15 Aug 2011 19:22:39 +0000 (19:22 +0000)]
Stop packaging command-line Mac tools as a bundle.
Review URL: http://codereview.appspot.com/4894046

git-svn-id: http://skia.googlecode.com/svn/trunk@2113 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoAdd missing function declarations.
caryclark@google.com [Mon, 15 Aug 2011 17:37:01 +0000 (17:37 +0000)]
Add missing function declarations.
http://codereview.appspot.com/4904043/

M    src/ports/SkFontHost_mac_coretext.cpp

git-svn-id: http://skia.googlecode.com/svn/trunk@2112 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agorevert r2110, which broke Mac builds
epoger@google.com [Mon, 15 Aug 2011 17:12:59 +0000 (17:12 +0000)]
revert r2110, which broke Mac builds

git-svn-id: http://skia.googlecode.com/svn/trunk@2111 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoUpdate gyp so that we no longer need msvs_abspath_output generator flag.
epoger@google.com [Mon, 15 Aug 2011 17:04:51 +0000 (17:04 +0000)]
Update gyp so that we no longer need msvs_abspath_output generator flag.
Review URL: http://codereview.appspot.com/4905044

git-svn-id: http://skia.googlecode.com/svn/trunk@2110 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoMake SkIStream closer to spec, to work with more consumers.
bungeman@google.com [Sat, 13 Aug 2011 00:06:17 +0000 (00:06 +0000)]
Make SkIStream closer to spec, to work with more consumers.

git-svn-id: http://skia.googlecode.com/svn/trunk@2109 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agomove setOrigin to protected, as a stop-gap fix for proxy devices. will revert
reed@google.com [Fri, 12 Aug 2011 16:13:34 +0000 (16:13 +0000)]
move setOrigin to protected, as a stop-gap fix for proxy devices. will revert
soon I expect.

git-svn-id: http://skia.googlecode.com/svn/trunk@2108 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoAdded samplecode as an include directory for SampleApp.gyp
yangsu@google.com [Fri, 12 Aug 2011 16:06:24 +0000 (16:06 +0000)]
Added samplecode as an include directory for SampleApp.gyp

git-svn-id: http://skia.googlecode.com/svn/trunk@2107 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRemoved networking dependencies from SampleApp that caused errors
yangsu@google.com [Fri, 12 Aug 2011 15:18:25 +0000 (15:18 +0000)]
Removed networking dependencies from SampleApp that caused errors
Fixed error in Debugger

git-svn-id: http://skia.googlecode.com/svn/trunk@2106 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoIncluded dependencies for networked pipe and debugger in SampleApp
yangsu@google.com [Fri, 12 Aug 2011 15:04:12 +0000 (15:04 +0000)]
Included dependencies for networked pipe and debugger in SampleApp

git-svn-id: http://skia.googlecode.com/svn/trunk@2105 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agostyle cleanup
reed@google.com [Fri, 12 Aug 2011 14:59:59 +0000 (14:59 +0000)]
style cleanup

git-svn-id: http://skia.googlecode.com/svn/trunk@2104 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoundef Status to undo the evil that XLib.h has done
reed@google.com [Fri, 12 Aug 2011 14:49:55 +0000 (14:49 +0000)]
undef Status to undo the evil that XLib.h has done

git-svn-id: http://skia.googlecode.com/svn/trunk@2103 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoAdded Debugger to Sample App, off by default
yangsu@google.com [Fri, 12 Aug 2011 14:27:47 +0000 (14:27 +0000)]
Added Debugger to Sample App, off by default
Removed CocoaDebugger from experimental
Slight changes to SkOSMenu
Bug fixes for NetPipeReader and DrawingBoard

git-svn-id: http://skia.googlecode.com/svn/trunk@2102 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agostyle cleanup
reed@google.com [Fri, 12 Aug 2011 14:10:27 +0000 (14:10 +0000)]
style cleanup

git-svn-id: http://skia.googlecode.com/svn/trunk@2101 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agostyle cleanup
reed@google.com [Fri, 12 Aug 2011 14:04:15 +0000 (14:04 +0000)]
style cleanup

git-svn-id: http://skia.googlecode.com/svn/trunk@2100 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoWrite null for any function pointers when using the cross process flag
yangsu@google.com [Wed, 10 Aug 2011 18:34:50 +0000 (18:34 +0000)]
Write null for any function pointers when using the cross process flag

git-svn-id: http://skia.googlecode.com/svn/trunk@2096 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years ago[Committed on behalf of scottmg@chromium.org]
senorblanco@chromium.org [Wed, 10 Aug 2011 17:49:41 +0000 (17:49 +0000)]
[Committed on behalf of scottmg@chromium.org]

Rename all __gl_ functions to Sk__gl_ to avoid conflicting with other copies
of libtess that might be statically linked by Skia clients (done via
gluos.h, rather than touching source directly).

Specfically, this is required to enable incremental linking on Windows builds
of Chromium because WebKit has a copy of libtess also.

http://code.google.com/p/chromium/issues/detail?id=92172
http://code.google.com/p/skia/issues/detail?id=338

Review URL:  http://codereview.appspot.com/4853046/

git-svn-id: http://skia.googlecode.com/svn/trunk@2095 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agore-get the function-ptr when we unflatten a ProcCoeffXfermode
reed@google.com [Tue, 9 Aug 2011 22:42:10 +0000 (22:42 +0000)]
re-get the function-ptr when we unflatten a ProcCoeffXfermode

git-svn-id: http://skia.googlecode.com/svn/trunk@2093 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agowhitespace change to trigger buildbots
epoger@google.com [Tue, 9 Aug 2011 20:07:15 +0000 (20:07 +0000)]
whitespace change to trigger buildbots

git-svn-id: http://skia.googlecode.com/svn/trunk@2091 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoAdd means to release object from ScopedComPtr.
bungeman@google.com [Tue, 9 Aug 2011 19:25:05 +0000 (19:25 +0000)]
Add means to release object from ScopedComPtr.
http://codereview.appspot.com/4801088/

git-svn-id: http://skia.googlecode.com/svn/trunk@2090 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agowhitespace change to trigger buildbots
epoger@google.com [Tue, 9 Aug 2011 19:16:22 +0000 (19:16 +0000)]
whitespace change to trigger buildbots

git-svn-id: http://skia.googlecode.com/svn/trunk@2089 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoadd serialization to SkLayerRasterizer
reed@google.com [Tue, 9 Aug 2011 19:01:50 +0000 (19:01 +0000)]
add serialization to SkLayerRasterizer

git-svn-id: http://skia.googlecode.com/svn/trunk@2088 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agouse common subclass SkPath2DPathEffect, which can be serialized
reed@google.com [Tue, 9 Aug 2011 18:47:40 +0000 (18:47 +0000)]
use common subclass SkPath2DPathEffect, which can be serialized

git-svn-id: http://skia.googlecode.com/svn/trunk@2087 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoSmall miter limit check on Gr::drawRect.
bungeman@google.com [Tue, 9 Aug 2011 18:32:51 +0000 (18:32 +0000)]
Small miter limit check on Gr::drawRect.
http://codereview.appspot.com/4838057/

git-svn-id: http://skia.googlecode.com/svn/trunk@2086 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoregister 1D and 2D patheffects, so they work when serialized (and piperized)
reed@google.com [Tue, 9 Aug 2011 18:14:31 +0000 (18:14 +0000)]
register 1D and 2D patheffects, so they work when serialized (and piperized)

git-svn-id: http://skia.googlecode.com/svn/trunk@2085 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoFix crash in GrStencilBuffer when it tries to unlock itself but has lost its GrGpu...
bsalomon@google.com [Tue, 9 Aug 2011 17:57:12 +0000 (17:57 +0000)]
Fix crash in GrStencilBuffer when it tries to unlock itself but has lost its GrGpu ptr.

Review URL: http://codereview.appspot.com/4810088/

git-svn-id: http://skia.googlecode.com/svn/trunk@2084 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoIncrease default cache size
bsalomon@google.com [Tue, 9 Aug 2011 16:49:03 +0000 (16:49 +0000)]
Increase default cache size
Review URL: http://codereview.appspot.com/4810087/

git-svn-id: http://skia.googlecode.com/svn/trunk@2083 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoFix some ref leaks
bsalomon@google.com [Tue, 9 Aug 2011 15:30:41 +0000 (15:30 +0000)]
Fix some ref leaks

Review URL: http://codereview.appspot.com/4837068/

git-svn-id: http://skia.googlecode.com/svn/trunk@2082 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoremove bogus (probably copy/paste err) assert. Alpha need not be opaque here,
reed@google.com [Tue, 9 Aug 2011 14:47:31 +0000 (14:47 +0000)]
remove bogus (probably copy/paste err) assert. Alpha need not be opaque here,
in fact it is expected (though not required) to be non-opaque.

git-svn-id: http://skia.googlecode.com/svn/trunk@2081 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRemove unnecessary header include.
bsalomon@google.com [Tue, 9 Aug 2011 14:15:20 +0000 (14:15 +0000)]
Remove unnecessary header include.

git-svn-id: http://skia.googlecode.com/svn/trunk@2080 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoFix sb/rt size computation
bsalomon@google.com [Tue, 9 Aug 2011 13:32:14 +0000 (13:32 +0000)]
Fix sb/rt size computation

Review URL: http://codereview.appspot.com/4809087/

git-svn-id: http://skia.googlecode.com/svn/trunk@2079 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agofix bug in r2077
bsalomon@google.com [Tue, 9 Aug 2011 12:57:56 +0000 (12:57 +0000)]
fix bug in r2077

git-svn-id: http://skia.googlecode.com/svn/trunk@2078 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoSuppress uninit warning.
bsalomon@google.com [Tue, 9 Aug 2011 12:55:53 +0000 (12:55 +0000)]
Suppress uninit warning.

git-svn-id: http://skia.googlecode.com/svn/trunk@2077 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoPort change r2040 to mac
ctguil@chromium.org [Mon, 8 Aug 2011 23:23:20 +0000 (23:23 +0000)]
Port change r2040 to mac

This is to honor fixed width font during PDF generation.  Change r2040 fixed only Windows port.  Linux does not have the problem.

Review URL: http://codereview.appspot.com/4855046

git-svn-id: http://skia.googlecode.com/svn/trunk@2076 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoUse bfrange to shrink ToUnicode table.
vandebo@chromium.org [Mon, 8 Aug 2011 22:33:05 +0000 (22:33 +0000)]
Use bfrange to shrink ToUnicode table.

Patch from Arthur Hsu.  Original CL: http://codereview.appspot.com/4844043/
BUG=258

Review URL: http://codereview.appspot.com/4808083

git-svn-id: http://skia.googlecode.com/svn/trunk@2075 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agowhitespace change to trigger buildbots
epoger@google.com [Mon, 8 Aug 2011 21:31:36 +0000 (21:31 +0000)]
whitespace change to trigger buildbots

git-svn-id: http://skia.googlecode.com/svn/trunk@2074 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agowhitespace change to trigger buildbots
epoger@google.com [Mon, 8 Aug 2011 21:25:00 +0000 (21:25 +0000)]
whitespace change to trigger buildbots

git-svn-id: http://skia.googlecode.com/svn/trunk@2073 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agowhitespace change to trigger buildbots
epoger@google.com [Mon, 8 Aug 2011 21:14:01 +0000 (21:14 +0000)]
whitespace change to trigger buildbots

git-svn-id: http://skia.googlecode.com/svn/trunk@2072 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agowhitespace change to trigger buildbots
epoger@google.com [Mon, 8 Aug 2011 21:07:35 +0000 (21:07 +0000)]
whitespace change to trigger buildbots

git-svn-id: http://skia.googlecode.com/svn/trunk@2071 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoWhitespace commit to trigger buildbot
epoger@google.com [Mon, 8 Aug 2011 20:44:40 +0000 (20:44 +0000)]
Whitespace commit to trigger buildbot

git-svn-id: http://skia.googlecode.com/svn/trunk@2069 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoMore little improvements to bench_graph_svg.py
epoger@google.com [Mon, 8 Aug 2011 20:27:04 +0000 (20:27 +0000)]
More little improvements to bench_graph_svg.py

- add ability to express revision numbers as offset from latest
- add configurable title
Review URL: http://codereview.appspot.com/4808081

git-svn-id: http://skia.googlecode.com/svn/trunk@2067 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoProtect much of SkDevice and clarify usage of drawDevice.
bungeman@google.com [Mon, 8 Aug 2011 19:41:56 +0000 (19:41 +0000)]
Protect much of SkDevice and clarify usage of drawDevice.
http://codereview.appspot.com/4798069/

git-svn-id: http://skia.googlecode.com/svn/trunk@2066 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoFixed Compiler flag error in CocoaSampleApp.gyp
yangsu@google.com [Mon, 8 Aug 2011 19:34:16 +0000 (19:34 +0000)]
Fixed Compiler flag error in CocoaSampleApp.gyp

git-svn-id: http://skia.googlecode.com/svn/trunk@2065 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoWhitespace change to trigger buildbot
epoger@google.com [Mon, 8 Aug 2011 19:00:41 +0000 (19:00 +0000)]
Whitespace change to trigger buildbot

git-svn-id: http://skia.googlecode.com/svn/trunk@2064 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoCocoaSampleApp no longer depends on SkOSWindow_Mac.h
yangsu@google.com [Mon, 8 Aug 2011 18:38:58 +0000 (18:38 +0000)]
CocoaSampleApp no longer depends on SkOSWindow_Mac.h
./gyp_skia now builds CocoaSampleApp on Mac
http://codereview.appspot.com/4810084/

git-svn-id: http://skia.googlecode.com/svn/trunk@2063 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoIncremental improvements to bench graph generation
epoger@google.com [Mon, 8 Aug 2011 17:19:23 +0000 (17:19 +0000)]
Incremental improvements to bench graph generation

- make revision number a link to that change on code.google.com
- clean up display and add help text
- make revision lines show up a bit more (light yellow)
Review URL: http://codereview.appspot.com/4839053

git-svn-id: http://skia.googlecode.com/svn/trunk@2062 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoUse a single stencil buffer for a given width,height,samplecount
bsalomon@google.com [Mon, 8 Aug 2011 17:01:14 +0000 (17:01 +0000)]
Use a single stencil buffer for a given width,height,samplecount

Review URL: http://codereview.appspot.com/4854044/

git-svn-id: http://skia.googlecode.com/svn/trunk@2061 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoRemoved networking dependencies from SampleApp, Pipe now off by default
yangsu@google.com [Mon, 8 Aug 2011 16:02:51 +0000 (16:02 +0000)]
Removed networking dependencies from SampleApp, Pipe now off by default

git-svn-id: http://skia.googlecode.com/svn/trunk@2060 2bbb7eff-a529-9590-31e7-b0007b416f81

13 years agoAdded transitions and net pipe to SampleApp, updated gyp files
yangsu@google.com [Mon, 8 Aug 2011 15:37:23 +0000 (15:37 +0000)]
Added transitions and net pipe to SampleApp, updated gyp files
http://codereview.appspot.com/4839047/
http://codereview.appspot.com/4801080/

git-svn-id: http://skia.googlecode.com/svn/trunk@2059 2bbb7eff-a529-9590-31e7-b0007b416f81