platform/upstream/libSkiaSharp.git
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

13 years agoiOS/Cocoa SampleApp, Drawingboard, and Networking updates
yangsu@google.com [Mon, 8 Aug 2011 15:12:05 +0000 (15:12 +0000)]
iOS/Cocoa SampleApp, Drawingboard, and Networking updates
http://codereview.appspot.com/4843041/
http://codereview.appspot.com/4826061/
http://codereview.appspot.com/4832044/
http://codereview.appspot.com/4798055/

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

13 years agoMake RT & TEX base classes aware of NPOT/min-RT bloated size
bsalomon@google.com [Mon, 8 Aug 2011 13:21:05 +0000 (13:21 +0000)]
Make RT & TEX base classes aware of NPOT/min-RT bloated size

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

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

13 years agoFixed error in SkOSMenu
yangsu@google.com [Fri, 5 Aug 2011 22:37:18 +0000 (22:37 +0000)]
Fixed error in SkOSMenu

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

13 years agoUpdated SkOSMenu to use the updated SkEvents
yangsu@google.com [Fri, 5 Aug 2011 22:11:41 +0000 (22:11 +0000)]
Updated SkOSMenu to use the updated SkEvents
http://codereview.appspot.com/4809075/

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

13 years agoadd api for scalers to force us to use skia to generate their bits from their
reed@google.com [Fri, 5 Aug 2011 21:40:26 +0000 (21:40 +0000)]
add api for scalers to force us to use skia to generate their bits from their
path. This may allow the windows scaler to do that if GDI is giving bad
results (i.e. not respecting the request for antialiasing).

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

13 years agoFail draws when can't get geom into vb/ib.
bsalomon@google.com [Fri, 5 Aug 2011 20:12:30 +0000 (20:12 +0000)]
Fail draws when can't get geom into vb/ib.

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

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

13 years agoFail path rendering gracefully when vb/ib space alloc fails
bsalomon@google.com [Fri, 5 Aug 2011 16:27:32 +0000 (16:27 +0000)]
Fail path rendering gracefully when vb/ib space alloc fails

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

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

13 years agoignore alphaBit (and mask) for 32bit images, 'cause that seems to break this
reed@google.com [Fri, 5 Aug 2011 16:13:09 +0000 (16:13 +0000)]
ignore alphaBit (and mask) for 32bit images, 'cause that seems to break this
ico image

http://images.delta.com.edgesuite.net/delta/misc/favicon.ico

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

13 years agoFixes for iOS / Ganesh (consistent fs/vs uni precision decl and don't use stencil...
bsalomon@google.com [Fri, 5 Aug 2011 15:46:40 +0000 (15:46 +0000)]
Fixes for iOS / Ganesh (consistent fs/vs uni precision decl and don't use stencil-only fbo for clear)

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

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

13 years agoFix dumb copy/paste error
bsalomon@google.com [Fri, 5 Aug 2011 15:38:49 +0000 (15:38 +0000)]
Fix dumb copy/paste error

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

13 years agorevert rotated-lcd workaround until I can render gray/lcd+subpixel myself
reed@google.com [Fri, 5 Aug 2011 14:28:31 +0000 (14:28 +0000)]
revert rotated-lcd workaround until I can render gray/lcd+subpixel myself

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

13 years agosubmit LCD alpha support
caryclark@google.com [Fri, 5 Aug 2011 14:17:12 +0000 (14:17 +0000)]
submit LCD alpha support

http://codereview.appspot.com/4851042/

M    src/core/SkBlitter_ARGB32.cpp

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

13 years agoHandle recursive call into GrResourceCache::purgeAsNeeded
bsalomon@google.com [Fri, 5 Aug 2011 14:02:41 +0000 (14:02 +0000)]
Handle recursive call into GrResourceCache::purgeAsNeeded

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

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

13 years agodisable test
reed@google.com [Thu, 4 Aug 2011 18:11:01 +0000 (18:11 +0000)]
disable test

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

13 years agouse new SkEvent notion of passing targetID to constructor
reed@google.com [Thu, 4 Aug 2011 13:57:56 +0000 (13:57 +0000)]
use new SkEvent notion of passing targetID to constructor

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

13 years agoretool SkEvent to own its target ID or target proc
reed@google.com [Thu, 4 Aug 2011 13:50:17 +0000 (13:50 +0000)]
retool SkEvent to own its target ID or target proc

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

13 years agoHonor fixed width font in Windows.
ctguil@chromium.org [Thu, 4 Aug 2011 01:01:24 +0000 (01:01 +0000)]
Honor fixed width font in Windows.

BUG=none
TEST=none
Review URL: http://codereview.appspot.com/4850041

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

13 years agowhitespace commit to trigger buildbot
epoger@google.com [Wed, 3 Aug 2011 21:31:51 +0000 (21:31 +0000)]
whitespace commit to trigger buildbot

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

13 years agoallow events to store their target sink ID
reed@google.com [Wed, 3 Aug 2011 19:41:24 +0000 (19:41 +0000)]
allow events to store their target sink ID

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

13 years agoAdd GrStencilBuffer as a separate resource type from render target
bsalomon@google.com [Wed, 3 Aug 2011 15:18:33 +0000 (15:18 +0000)]
Add GrStencilBuffer as a separate resource type from render target

This is a resubmission of the changes in r2026 with fixes for FBO completeness issues.

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

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

13 years agoAdd glReadBuffer to GrGLInterface.
bsalomon@google.com [Wed, 3 Aug 2011 14:22:30 +0000 (14:22 +0000)]
Add glReadBuffer to GrGLInterface.

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

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

13 years agoAdd glDrawBuffer(s) to GrGLInterface
bsalomon@google.com [Tue, 2 Aug 2011 19:29:03 +0000 (19:29 +0000)]
Add glDrawBuffer(s) to GrGLInterface

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

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

13 years agoMoved references of SkOSWindow_mac.cpp and skia_main.cpp out of utils to SampleApp.gyp
yangsu@google.com [Tue, 2 Aug 2011 16:35:00 +0000 (16:35 +0000)]
Moved references of SkOSWindow_mac.cpp and skia_main.cpp out of utils to SampleApp.gyp

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

13 years agoCorrect check against GR_USE_PLATFORM_CREATE_SAMPLE_COUNT
bsalomon@google.com [Tue, 2 Aug 2011 15:29:38 +0000 (15:29 +0000)]
Correct check against GR_USE_PLATFORM_CREATE_SAMPLE_COUNT

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

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

13 years agoRevert r2026 due to bot failures
bsalomon@google.com [Tue, 2 Aug 2011 14:19:11 +0000 (14:19 +0000)]
Revert r2026 due to bot failures

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

13 years agoCreate a separate GrStencilBuffer class apart from GrRenderTarget.
bsalomon@google.com [Tue, 2 Aug 2011 14:07:52 +0000 (14:07 +0000)]
Create a separate GrStencilBuffer class apart from GrRenderTarget.

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

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

13 years agoMove SkBitmap members of the skdiff DiffRecord to pointers so that they
tomhudson@google.com [Tue, 2 Aug 2011 14:10:04 +0000 (14:10 +0000)]
Move SkBitmap members of the skdiff DiffRecord to pointers so that they
can be deleted as soon as they're written. When we're running in --chromium
mode we now have much larger datasets.

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

13 years agoSet up global options for SampleApp and now allows SampleApp to request menu items...
yangsu@google.com [Tue, 2 Aug 2011 13:39:12 +0000 (13:39 +0000)]
Set up global options for SampleApp and now allows SampleApp to request menu items from the slides
http://codereview.appspot.com/4807056/

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

13 years agoiOS SampleApp menu related changes
yangsu@google.com [Tue, 2 Aug 2011 13:23:15 +0000 (13:23 +0000)]
iOS SampleApp menu related changes

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

13 years agoiOS Sample App menu implementation
yangsu@google.com [Tue, 2 Aug 2011 13:20:22 +0000 (13:20 +0000)]
iOS Sample App menu implementation
http://codereview.appspot.com/4798055/

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

13 years agoRemove unneeded include in SkBitSet.
bungeman@google.com [Mon, 1 Aug 2011 21:37:19 +0000 (21:37 +0000)]
Remove unneeded include in SkBitSet.
http://codereview.appspot.com/4801072/

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

13 years agoClip GPU blur against clip bounds. Clip the size of the FBOs used for blurs
senorblanco@chromium.org [Mon, 1 Aug 2011 21:20:31 +0000 (21:20 +0000)]
Clip GPU blur against clip bounds.  Clip the size of the FBOs used for blurs
to the bounds of the clipping region, inflated by the blur radius.  This is a
little tricky, since we want the rect we use for downsampling to be an integer
multiple of the scale factor, so we scale down the clip rect to downsampled
space, inflate by the (scaled) kernel width, and intersect the rects there.

Also check the blur radius against 0 and abort early, to prevent the fuzzer
blowing up on a missing uniform.

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

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

13 years agoadd roundOut()
reed@google.com [Mon, 1 Aug 2011 20:53:19 +0000 (20:53 +0000)]
add roundOut()

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

13 years agodeprecate SkScalarFloor, SkScalarCeil, SkScalarRound
reed@google.com [Mon, 1 Aug 2011 20:49:45 +0000 (20:49 +0000)]
deprecate SkScalarFloor, SkScalarCeil, SkScalarRound
Should instead use the explicit version that returns either a scalar or int

e.g.
    SkScalarRoundToInt
    SkScalarROundToScalar

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

13 years agoAdd Commit to SkWIStream.
bungeman@google.com [Mon, 1 Aug 2011 20:41:53 +0000 (20:41 +0000)]
Add Commit to SkWIStream.
http://codereview.appspot.com/4809069/

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

13 years agoMake WIC encoder lock the bitmap pixels.
bungeman@google.com [Mon, 1 Aug 2011 20:18:45 +0000 (20:18 +0000)]
Make WIC encoder lock the bitmap pixels.
http://codereview.appspot.com/4832045/

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

13 years agoWindows image decoder should handle all bitmap formats.
bungeman@google.com [Mon, 1 Aug 2011 19:37:43 +0000 (19:37 +0000)]
Windows image decoder should handle all bitmap formats.
http://codereview.appspot.com/4801070/

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

13 years agoFix comment alignment
bsalomon@google.com [Mon, 1 Aug 2011 17:35:01 +0000 (17:35 +0000)]
Fix comment alignment

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

13 years agoRevised SkOSMenu
yangsu@google.com [Mon, 1 Aug 2011 17:27:33 +0000 (17:27 +0000)]
Revised SkOSMenu
http://codereview.appspot.com/4827042/

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

13 years agoCocoa SampleApp files
yangsu@google.com [Mon, 1 Aug 2011 17:07:12 +0000 (17:07 +0000)]
Cocoa SampleApp files
http://codereview.appspot.com/4843041/
http://codereview.appspot.com/4832044/
http://codereview.appspot.com/4826061/

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

13 years agoRemove unnecessary dirty clip flag in GrGpu, remove getUsableStencilBits()
bsalomon@google.com [Mon, 1 Aug 2011 15:51:05 +0000 (15:51 +0000)]
Remove unnecessary dirty clip flag in GrGpu, remove getUsableStencilBits()

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

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

13 years agowhitespace commit to trigger buildbot
epoger@google.com [Mon, 1 Aug 2011 15:38:07 +0000 (15:38 +0000)]
whitespace commit to trigger buildbot

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

13 years agoAdd trunk/out to svn:ignore list
bsalomon@google.com [Mon, 1 Aug 2011 15:02:03 +0000 (15:02 +0000)]
Add trunk/out to svn:ignore list

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

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

13 years agoSplit texture upload out from onCreateTexture
bsalomon@google.com [Mon, 1 Aug 2011 13:36:00 +0000 (13:36 +0000)]
Split texture upload out from onCreateTexture

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

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

13 years agoFix bug in SkMatrix::invert where typemask is not set on inverse when a matrix is...
bsalomon@google.com [Mon, 1 Aug 2011 13:26:01 +0000 (13:26 +0000)]
Fix bug in SkMatrix::invert where typemask is not set on inverse when a matrix is inverted into itself.

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

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

13 years agoupdate dox for LCD text
reed@google.com [Mon, 1 Aug 2011 12:45:35 +0000 (12:45 +0000)]
update dox for LCD text

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

13 years agoanother whitespace commit to trigger buildbot
epoger@google.com [Fri, 29 Jul 2011 21:05:40 +0000 (21:05 +0000)]
another whitespace commit to trigger buildbot

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

13 years agowhitespace commit to trigger buildbot
epoger@google.com [Fri, 29 Jul 2011 20:48:47 +0000 (20:48 +0000)]
whitespace commit to trigger buildbot

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

13 years agocleanup GrGLTexture / GrGLRenderTarget cons. Make GrRenderTarget aware of its msaa...
bsalomon@google.com [Fri, 29 Jul 2011 20:29:05 +0000 (20:29 +0000)]
cleanup GrGLTexture / GrGLRenderTarget cons. Make GrRenderTarget aware of its msaa sample count.

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

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

13 years agomove render target decls / defs to their own headers / srcs
bsalomon@google.com [Fri, 29 Jul 2011 15:13:20 +0000 (15:13 +0000)]
move render target decls / defs to their own headers / srcs

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

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

13 years agodisable optimization in Mac debug build
epoger@google.com [Fri, 29 Jul 2011 13:46:56 +0000 (13:46 +0000)]
disable optimization in Mac debug build

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

13 years agoMore variable initializations and curly braces to avoid Linux compiler
tomhudson@google.com [Fri, 29 Jul 2011 13:44:30 +0000 (13:44 +0000)]
More variable initializations and curly braces to avoid Linux compiler
warnings.

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

13 years agoMove GL headers out of public include dir
bsalomon@google.com [Fri, 29 Jul 2011 13:39:53 +0000 (13:39 +0000)]
Move GL headers out of public include dir

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

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

13 years agoEliminate Linux compile warnings throughout animator/ with variable
tomhudson@google.com [Fri, 29 Jul 2011 13:20:06 +0000 (13:20 +0000)]
Eliminate Linux compile warnings throughout animator/ with variable
initializations, missing braces.

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

13 years agoFix initialization of variables; eliminates warnings on Linux.
tomhudson@google.com [Thu, 28 Jul 2011 21:10:29 +0000 (21:10 +0000)]
Fix initialization of variables; eliminates warnings on Linux.

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

13 years agoBreak onEncode() into two functions to avoid clobbering variables with
tomhudson@google.com [Thu, 28 Jul 2011 21:06:40 +0000 (21:06 +0000)]
Break onEncode() into two functions to avoid clobbering variables with
setjmp/longjmp; gets rid of warnings on Linux.

Over-the-shoulder review by reed@.

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

13 years agobalance destructor's CFRelease with a CFRetain when we get the cgfont
reed@google.com [Thu, 28 Jul 2011 20:36:32 +0000 (20:36 +0000)]
balance destructor's CFRelease with a CFRetain when we get the cgfont

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

13 years agoFixing the ignore transform flag in Ganesh with mask filter and drawBitmap
junov@google.com [Thu, 28 Jul 2011 20:10:09 +0000 (20:10 +0000)]
Fixing the ignore transform flag in Ganesh with mask filter and drawBitmap

TEST=SampleApp/Texture Domain
BUG=http://code.google.com/p/skia/issues/detail?id=335
REVIEW=http://codereview.appspot.com/4803052/

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

13 years agowhitespace commit to trigger buildbot
epoger@google.com [Thu, 28 Jul 2011 19:29:02 +0000 (19:29 +0000)]
whitespace commit to trigger buildbot

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

13 years agoInclude <new> required for placement new in SkTLazy.
bungeman@google.com [Thu, 28 Jul 2011 16:51:20 +0000 (16:51 +0000)]
Include <new> required for placement new in SkTLazy.

Also, add SkTLazy to gyp and remove old includes.

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

13 years agoScript to automatically update copyright notices in C/C++ source code.
epoger@google.com [Thu, 28 Jul 2011 14:29:58 +0000 (14:29 +0000)]
Script to automatically update copyright notices in C/C++ source code.

Created to implement http://codereview.appspot.com/4816058/ ('Automatic update of all copyright notices to reflect new license terms.')

We can also use this to periodically clean up our code headers.
Review URL: http://codereview.appspot.com/4800055

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

13 years agoAutomatic update of all copyright notices to reflect new license terms.
epoger@google.com [Thu, 28 Jul 2011 14:26:00 +0000 (14:26 +0000)]
update of all copyright notices to reflect new license terms.

I have manually examined all of these diffs and restored a few files that
seem to require manual adjustment.

The following files still need to be modified manually, in a separate CL:

android_sample/SampleApp/AndroidManifest.xml
android_sample/SampleApp/res/layout/layout.xml
android_sample/SampleApp/res/menu/sample.xml
android_sample/SampleApp/res/values/strings.xml
android_sample/SampleApp/src/com/skia/sampleapp/SampleApp.java
android_sample/SampleApp/src/com/skia/sampleapp/SampleView.java
experimental/CiCarbonSampleMain.c
experimental/CocoaDebugger/main.m
experimental/FileReaderApp/main.m
experimental/SimpleCocoaApp/main.m
experimental/iOSSampleApp/Shared/SkAlertPrompt.h
experimental/iOSSampleApp/Shared/SkAlertPrompt.m
experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig
experimental/iOSSampleApp/SkiOSSampleApp-Debug.xcconfig
experimental/iOSSampleApp/SkiOSSampleApp-Release.xcconfig
gpu/src/android/GrGLDefaultInterface_android.cpp
gyp/common.gypi
gyp_skia
include/ports/SkHarfBuzzFont.h
include/views/SkOSWindow_wxwidgets.h
make.bat
make.py
src/opts/memset.arm.S
src/opts/memset16_neon.S
src/opts/memset32_neon.S
src/opts/opts_check_arm.cpp
src/ports/SkDebug_brew.cpp
src/ports/SkMemory_brew.cpp
src/ports/SkOSFile_brew.cpp
src/ports/SkXMLParser_empty.cpp
src/utils/ios/SkImageDecoder_iOS.mm
src/utils/ios/SkOSFile_iOS.mm
src/utils/ios/SkStream_NSData.mm
tests/FillPathTest.cpp
Review URL: http://codereview.appspot.com/4816058

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

13 years agoManually update copyright notices in files that defied the automated process
epoger@google.com [Thu, 28 Jul 2011 14:24:55 +0000 (14:24 +0000)]
Manually update copyright notices in files that defied the automated process
used in http://codereview.appspot.com/4816058/ ('Automatic update of all copyright notices to reflect new license terms.')

Note that the following files have been left alone, because they name
copyright holders outside of Google.  Please let me know if we need to update
these files:

experimental/CiCarbonSampleMain.c
src/opts/memset16_neon.S
src/opts/memset32_neon.S
src/opts/opts_check_arm.cpp
src/ports/SkDebug_brew.cpp
src/ports/SkMemory_brew.cpp
src/ports/SkOSFile_brew.cpp
Review URL: http://codereview.appspot.com/4806054

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

13 years agodelete dead file
reed@google.com [Thu, 28 Jul 2011 13:47:12 +0000 (13:47 +0000)]
delete dead file

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

13 years agoThis new test provides a test case for
junov@google.com [Thu, 28 Jul 2011 13:34:31 +0000 (13:34 +0000)]
This new test provides a test case for
http://code.google.com/p/skia/issues/detail?id=332

REVIEW=http://codereview.appspot.com/4808058/

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

13 years ago[PDF] Improve efficiency of glyph id collection during font subsetting.
vandebo@chromium.org [Wed, 27 Jul 2011 20:59:55 +0000 (20:59 +0000)]
[PDF] Improve efficiency of glyph id collection during font subsetting.

Patch from Arthur Hsu, original CL: http://codereview.appspot.com/4828044/

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

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

13 years ago[PDF] Fix mem leak in font subsetting.
vandebo@chromium.org [Wed, 27 Jul 2011 18:38:11 +0000 (18:38 +0000)]
[PDF] Fix mem leak in font subsetting.

Original CL: http://codereview.appspot.com/4809053/

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

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

13 years agoinclude <new> for SkTLazy, since windows seems to need it.
reed@google.com [Wed, 27 Jul 2011 18:31:43 +0000 (18:31 +0000)]
include <new> for SkTLazy, since windows seems to need it.

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

13 years agonew baseline now that we're using the built-in quad->cubic converter
reed@google.com [Wed, 27 Jul 2011 18:28:18 +0000 (18:28 +0000)]
new baseline now that we're using the built-in quad->cubic converter

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

13 years agodon't modify a const paint
reed@google.com [Wed, 27 Jul 2011 18:25:57 +0000 (18:25 +0000)]
don't modify a const paint

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

13 years agouse SkConvertQuadToCubic()
reed@google.com [Wed, 27 Jul 2011 18:24:25 +0000 (18:24 +0000)]
use SkConvertQuadToCubic()

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

13 years agoadd simple test for writepixels
reed@google.com [Wed, 27 Jul 2011 18:21:37 +0000 (18:21 +0000)]
add simple test for writepixels

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

13 years agowhitespace commit to trigger buildbot
epoger@google.com [Wed, 27 Jul 2011 14:47:25 +0000 (14:47 +0000)]
whitespace commit to trigger buildbot

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

13 years agore-enable "core" build target lost in r1968
epoger@google.com [Wed, 27 Jul 2011 14:17:35 +0000 (14:17 +0000)]
re-enable "core" build target lost in r1968

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

13 years agouse safeunref on typefaces, since Deserialize might return NULL.
reed@google.com [Wed, 27 Jul 2011 14:16:03 +0000 (14:16 +0000)]
use safeunref on typefaces, since Deserialize might return NULL.

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

13 years agoProperly handle parallel make ("make -j"), and only rerun gyp if necessary.
epoger@google.com [Wed, 27 Jul 2011 14:06:25 +0000 (14:06 +0000)]
Properly handle parallel make ("make -j"), and only rerun gyp if necessary.

This should completely resolve http://code.google.com/p/skia/issues/detail?id=330 ('building multiple targets in parallel fails on Linux')

This should resolve http://code.google.com/p/skia/issues/detail?id=313 ('toplevel makefile always reruns gyp_skia') for Linux, but not Mac.  (See details in comments within the file)
Review URL: http://codereview.appspot.com/4827043

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

13 years agoadd test for SkConvertQuadToCubic
reed@google.com [Wed, 27 Jul 2011 13:54:36 +0000 (13:54 +0000)]
add test for SkConvertQuadToCubic

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

13 years agoCleanup from r1843 based on revision comments.
ctguil@chromium.org [Wed, 27 Jul 2011 00:10:51 +0000 (00:10 +0000)]
Cleanup from r1843 based on revision comments.
Review URL: http://codereview.appspot.com/4794044

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

13 years agoMake GrTextureCache into a generic GrResource cache. Also some GrContext texture...
bsalomon@google.com [Tue, 26 Jul 2011 20:45:30 +0000 (20:45 +0000)]
Make GrTextureCache into a generic GrResource cache. Also some GrContext texture interface cleanup.

http://codereview.appspot.com/4815055/

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

13 years agoAdd functionality for isRect() to SkPath.
caryclark@google.com [Tue, 26 Jul 2011 19:54:45 +0000 (19:54 +0000)]
Add functionality for isRect() to SkPath.
http://codereview.appspot.com/4807052/

M    src/core/SkPath.cpp
M    tests/PathTest.cpp

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

13 years agoremove this, since diff Win machines differ on LCD settings
reed@google.com [Tue, 26 Jul 2011 19:51:50 +0000 (19:51 +0000)]
remove this, since diff Win machines differ on LCD settings

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

13 years agorebaseline given new AA text generation in SkFontHost_win.cpp
reed@google.com [Tue, 26 Jul 2011 19:37:13 +0000 (19:37 +0000)]
rebaseline given new AA text generation in SkFontHost_win.cpp

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

13 years agoGetGlyphOutline can return clipped results :( so we now draw offscreen
reed@google.com [Tue, 26 Jul 2011 19:33:08 +0000 (19:33 +0000)]
GetGlyphOutline can return clipped results :( so we now draw offscreen
instead, as we always did for BW and lcd. This means sometimes we get
BG results when we requested AA, since GDI can decide (based on user-settings)
that we're too small for AA :(

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

13 years agoReapply r1951.
bsalomon@google.com [Tue, 26 Jul 2011 12:32:36 +0000 (12:32 +0000)]
Reapply r1951.

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