Commit Graph

1942 Commits

Author SHA1 Message Date
bsalomon@google.com
3008519e9f 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
2011-08-19 15:42:31 +00:00
bsalomon@google.com
b095140596 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
2011-08-19 15:37:34 +00:00
bsalomon@google.com
c287a89fdd 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
2011-08-19 14:49:36 +00:00
bsalomon@google.com
0b77d6892b 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
2011-08-19 13:28:54 +00:00
bsalomon@google.com
098660020c 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
2011-08-18 20:31:35 +00:00
bsalomon@google.com
0a17bec93c Fix build break in r2136
TBR=junov@chromium.org



git-svn-id: http://skia.googlecode.com/svn/trunk@2137 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-18 20:23:09 +00:00
junov@google.com
f7c00f6be1 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
2011-08-18 18:15:16 +00:00
vandebo@chromium.org
37ad8fb72f [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
2011-08-18 02:38:50 +00:00
epoger@google.com
37c472007e whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2133 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-17 17:51:03 +00:00
bungeman@google.com
e25c68402b 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
2011-08-17 14:53:54 +00:00
bsalomon@google.com
583a1e3850 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
2011-08-17 13:42:46 +00:00
vandebo@chromium.org
7b13aca86f 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
2011-08-16 23:30:48 +00:00
vandebo@chromium.org
b4f4c02eff 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
2011-08-16 23:20:31 +00:00
vandebo@chromium.org
e7f3300f42 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
2011-08-16 22:45:43 +00:00
bsalomon@google.com
8b4a64d318 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
2011-08-16 20:38:11 +00:00
bsalomon@google.com
498776ad9f 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
2011-08-16 19:20:44 +00:00
bsalomon@google.com
178d41e750 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
2011-08-16 18:48:48 +00:00
vandebo@chromium.org
37be7b0b01 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
2011-08-16 17:11:48 +00:00
bsalomon@google.com
a8e686eb6c 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
2011-08-16 15:45:58 +00:00
bsalomon@google.com
bbfa1000e7 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
2011-08-16 15:13:54 +00:00
bsalomon@google.com
4d3aaafd90 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
2011-08-16 15:09:46 +00:00
bsalomon@google.com
e0c5787a6a 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
2011-08-16 15:08:29 +00:00
ctguil@chromium.org
a5c7234e81 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
2011-08-15 23:55:03 +00:00
vandebo@chromium.org
7b5e017169 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
2011-08-15 21:20:59 +00:00
epoger@google.com
06546d81f2 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
2011-08-15 19:53:17 +00:00
epoger@google.com
a15cf0e1d7 whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2114 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-15 19:38:11 +00:00
epoger@google.com
ab9b658a2a 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
2011-08-15 19:22:39 +00:00
caryclark@google.com
8fbc3f07a8 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
2011-08-15 17:37:01 +00:00
epoger@google.com
2e7de5a1a7 revert r2110, which broke Mac builds
git-svn-id: http://skia.googlecode.com/svn/trunk@2111 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-15 17:12:59 +00:00
epoger@google.com
3f0254da54 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
2011-08-15 17:04:51 +00:00
bungeman@google.com
60157927e3 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
2011-08-13 00:06:17 +00:00
reed@google.com
ff8a166e29 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
2011-08-12 16:13:34 +00:00
yangsu@google.com
0be0157d70 Added samplecode as an include directory for SampleApp.gyp
git-svn-id: http://skia.googlecode.com/svn/trunk@2107 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-12 16:06:24 +00:00
yangsu@google.com
9b77fbd38b 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
2011-08-12 15:18:25 +00:00
yangsu@google.com
f3523fbc40 Included dependencies for networked pipe and debugger in SampleApp
git-svn-id: http://skia.googlecode.com/svn/trunk@2105 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-12 15:04:12 +00:00
reed@google.com
03016a3620 style cleanup
git-svn-id: http://skia.googlecode.com/svn/trunk@2104 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-12 14:59:59 +00:00
reed@google.com
bc75483241 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
2011-08-12 14:49:55 +00:00
yangsu@google.com
ef7bdfac61 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
2011-08-12 14:27:47 +00:00
reed@google.com
16edff2b1c style cleanup
git-svn-id: http://skia.googlecode.com/svn/trunk@2101 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-12 14:10:27 +00:00
reed@google.com
d7a6fb9779 style cleanup
git-svn-id: http://skia.googlecode.com/svn/trunk@2100 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-12 14:04:15 +00:00
yangsu@google.com
f468e47ba5 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
2011-08-10 18:34:50 +00:00
senorblanco@chromium.org
5ed23dee37 [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
2011-08-10 17:49:41 +00:00
reed@google.com
c34d7cfca1 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
2011-08-09 22:42:10 +00:00
epoger@google.com
236d8e1c8b whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2091 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-09 20:07:15 +00:00
bungeman@google.com
a9e586a21f 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
2011-08-09 19:25:05 +00:00
epoger@google.com
208c590219 whitespace change to trigger buildbots
git-svn-id: http://skia.googlecode.com/svn/trunk@2089 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-09 19:16:22 +00:00
reed@google.com
43e9f20f4b add serialization to SkLayerRasterizer
git-svn-id: http://skia.googlecode.com/svn/trunk@2088 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-09 19:01:50 +00:00
reed@google.com
18dc47731f use common subclass SkPath2DPathEffect, which can be serialized
git-svn-id: http://skia.googlecode.com/svn/trunk@2087 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-09 18:47:40 +00:00
bungeman@google.com
633722ec44 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
2011-08-09 18:32:51 +00:00
reed@google.com
e28b917669 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
2011-08-09 18:14:31 +00:00