bsalomon@google.com [Sat, 5 Nov 2011 14:51:01 +0000 (14:51 +0000)]
More removal of texture fUploadByteCount and rename fFormat to fConfig for consistency.
git-svn-id: http://skia.googlecode.com/svn/trunk@2608
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Sat, 5 Nov 2011 13:25:21 +0000 (13:25 +0000)]
Remove unneeded field from GrGLTexture
git-svn-id: http://skia.googlecode.com/svn/trunk@2607
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Sat, 5 Nov 2011 12:47:43 +0000 (12:47 +0000)]
bump GrGpu reset context timestamp size
git-svn-id: http://skia.googlecode.com/svn/trunk@2606
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Sat, 5 Nov 2011 12:18:58 +0000 (12:18 +0000)]
Add reset context count to GrGpu
git-svn-id: http://skia.googlecode.com/svn/trunk@2605
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Fri, 4 Nov 2011 16:06:33 +0000 (16:06 +0000)]
Back out fontscaler gm, as it seems to show up a gpu issue.
git-svn-id: http://skia.googlecode.com/svn/trunk@2604
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Fri, 4 Nov 2011 15:47:41 +0000 (15:47 +0000)]
Add font scaler gm.
http://codereview.appspot.com/5337044/
git-svn-id: http://skia.googlecode.com/svn/trunk@2603
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Fri, 4 Nov 2011 13:00:18 +0000 (13:00 +0000)]
Move the Android sample app into the android repo.
Review URL: http://codereview.appspot.com/5332054
git-svn-id: http://skia.googlecode.com/svn/trunk@2602
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 3 Nov 2011 20:29:47 +0000 (20:29 +0000)]
Override 32BPP format in SkCanvas::readPixels
Review URL: http://codereview.appspot.com/5330073/
git-svn-id: http://skia.googlecode.com/svn/trunk@2600
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 3 Nov 2011 19:29:08 +0000 (19:29 +0000)]
experimental -- add SkImageFilter to paint. Not called yet.
git-svn-id: http://skia.googlecode.com/svn/trunk@2599
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Thu, 3 Nov 2011 17:31:41 +0000 (17:31 +0000)]
Update the Skia gyp files to use the external android sources.
Review URL: http://codereview.appspot.com/5336048
git-svn-id: http://skia.googlecode.com/svn/trunk@2598
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 3 Nov 2011 14:29:38 +0000 (14:29 +0000)]
revert accidental change to lcd format pref
git-svn-id: http://skia.googlecode.com/svn/trunk@2596
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 3 Nov 2011 14:28:35 +0000 (14:28 +0000)]
create inline versions of common CGRect functions, since they appeared on
our profile of FontScalerBench
git-svn-id: http://skia.googlecode.com/svn/trunk@2595
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 3 Nov 2011 13:45:38 +0000 (13:45 +0000)]
custom memset32 to speed up erasing the offscreen when its width is small.
git-svn-id: http://skia.googlecode.com/svn/trunk@2594
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Thu, 3 Nov 2011 13:13:27 +0000 (13:13 +0000)]
Fix for missing file from previous CL that broke the build.
The file defines skia_target_arch to '' for non-arm platforms.
git-svn-id: http://skia.googlecode.com/svn/trunk@2593
2bbb7eff-a529-9590-31e7-
b0007b416f81
djsollen@google.com [Thu, 3 Nov 2011 13:08:29 +0000 (13:08 +0000)]
Adding support to trunk for building Skia using the Android NDK.
This CL depends on a subsequent CL to add the appropriate NDK
toolchain and system sources to the skia repo.
Review URL: http://codereview.appspot.com/5306089/
Review URL: http://codereview.appspot.com/5306089
git-svn-id: http://skia.googlecode.com/svn/trunk@2592
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 2 Nov 2011 21:04:12 +0000 (21:04 +0000)]
speed up font cache creation (20x using FontScalerBench)
git-svn-id: http://skia.googlecode.com/svn/trunk@2591
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 2 Nov 2011 21:02:57 +0000 (21:02 +0000)]
add bench for building the font cache
git-svn-id: http://skia.googlecode.com/svn/trunk@2590
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 2 Nov 2011 21:02:36 +0000 (21:02 +0000)]
add hack for testing gSkSuppressFontCachePurgeSpew
git-svn-id: http://skia.googlecode.com/svn/trunk@2589
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 2 Nov 2011 20:10:48 +0000 (20:10 +0000)]
Line-endings only change (some windows line-endings snuck in)
git-svn-id: http://skia.googlecode.com/svn/trunk@2588
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 2 Nov 2011 20:06:25 +0000 (20:06 +0000)]
Make SkDevice::onReadPixels take a const& rather than const*
git-svn-id: http://skia.googlecode.com/svn/trunk@2587
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 2 Nov 2011 19:57:21 +0000 (19:57 +0000)]
Recommit r2584 with gpu pass of the new ReadPixels test disabled in fixed pt (gpu code doesn't work in general in fixed pt).
git-svn-id: http://skia.googlecode.com/svn/trunk@2586
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 2 Nov 2011 19:39:51 +0000 (19:39 +0000)]
Revert r2584 (new test fails in fixed pt builds)
git-svn-id: http://skia.googlecode.com/svn/trunk@2585
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 2 Nov 2011 19:34:16 +0000 (19:34 +0000)]
Changes the SkCanvas::readPixels API. Allows caller to read into prealloced bitmap pixels. Changes how clipping to device bounds is handled.
Review URL: http://codereview.appspot.com/5307077/
git-svn-id: http://skia.googlecode.com/svn/trunk@2584
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Wed, 2 Nov 2011 18:16:22 +0000 (18:16 +0000)]
fix font id calculation
M src/ports/SkFontHost_mac_coretext.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2583
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 2 Nov 2011 15:20:15 +0000 (15:20 +0000)]
up glyphcache hash table to 12bits (from 8bits).
Experimenting shows that is the sweetspot when drawing lots of CJK
git-svn-id: http://skia.googlecode.com/svn/trunk@2582
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Tue, 1 Nov 2011 23:03:20 +0000 (23:03 +0000)]
[PDF] Add debug assert to detect failure of GDI cache hack.
If we start hitting this check, then it's likely that something has regressed in WebKit.
Original CL from arthurhsu@chromium.org: http://codereview.appspot.com/5322063/
Review URL: http://codereview.appspot.com/5320062
git-svn-id: http://skia.googlecode.com/svn/trunk@2581
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 1 Nov 2011 16:03:35 +0000 (16:03 +0000)]
remove tests for copyPixelsFrom (it is not gone)
git-svn-id: http://skia.googlecode.com/svn/trunk@2580
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 1 Nov 2011 15:53:28 +0000 (15:53 +0000)]
remove unused copyPixelsFrom ... (copyPixelsTo is next on the chopping block)
git-svn-id: http://skia.googlecode.com/svn/trunk@2579
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 1 Nov 2011 14:42:29 +0000 (14:42 +0000)]
fix monospace glyph bounds on Lion
M src/ports/SkFontHost_mac_coretext.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2578
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 1 Nov 2011 14:24:23 +0000 (14:24 +0000)]
add getDeviceSize() so callers won't need to call getDevice() so much
... we hope to make devices private in the future
git-svn-id: http://skia.googlecode.com/svn/trunk@2577
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 1 Nov 2011 11:42:42 +0000 (11:42 +0000)]
match blitH computation for coverage in new blitRect for supersampler
git-svn-id: http://skia.googlecode.com/svn/trunk@2576
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 31 Oct 2011 19:37:58 +0000 (19:37 +0000)]
specialize blitRect in supersampler:
10% fast aa-roundrects blits,
2x faster aa-roundrect-clips building
git-svn-id: http://skia.googlecode.com/svn/trunk@2575
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Mon, 31 Oct 2011 18:06:07 +0000 (18:06 +0000)]
Delete DEPS.android in favor of a different approach
git-svn-id: http://skia.googlecode.com/svn/trunk@2573
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Mon, 31 Oct 2011 17:39:33 +0000 (17:39 +0000)]
First attempt at DEPS.android file
git-svn-id: http://skia.googlecode.com/svn/trunk@2572
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 31 Oct 2011 17:37:14 +0000 (17:37 +0000)]
internalDrawBitmap is using kShaderTextureIdx. It should be kBitmapTextureIdx. No functional change, both are names for 0.
git-svn-id: http://skia.googlecode.com/svn/trunk@2571
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 31 Oct 2011 16:47:13 +0000 (16:47 +0000)]
Remove SK_OVERRIDE from func defn
git-svn-id: http://skia.googlecode.com/svn/trunk@2570
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 31 Oct 2011 16:33:52 +0000 (16:33 +0000)]
support multiple (OR'd) -match parameters
git-svn-id: http://skia.googlecode.com/svn/trunk@2568
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 31 Oct 2011 16:30:04 +0000 (16:30 +0000)]
all for multiple --match foo args, which will be logically OR'd together
git-svn-id: http://skia.googlecode.com/svn/trunk@2567
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 31 Oct 2011 16:07:28 +0000 (16:07 +0000)]
implement blitRect for aaclip builder. This speeds up setRect by 15x (for 640x480)
git-svn-id: http://skia.googlecode.com/svn/trunk@2566
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 31 Oct 2011 14:33:35 +0000 (14:33 +0000)]
add bench for building aaclips
git-svn-id: http://skia.googlecode.com/svn/trunk@2565
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 31 Oct 2011 14:18:20 +0000 (14:18 +0000)]
Import all GMs as Samples.
Review URL: http://codereview.appspot.com/5332043/
git-svn-id: http://skia.googlecode.com/svn/trunk@2564
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 31 Oct 2011 14:14:18 +0000 (14:14 +0000)]
call blitRect in our convex scanconverter (next: take advantage of that in our
region and soft-region builders, and in our supersampler)
git-svn-id: http://skia.googlecode.com/svn/trunk@2563
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 31 Oct 2011 12:55:49 +0000 (12:55 +0000)]
can't assume (ever :( ) that a 2-ptr src will convex
git-svn-id: http://skia.googlecode.com/svn/trunk@2562
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 31 Oct 2011 12:12:12 +0000 (12:12 +0000)]
don't assume a 2-point path is convex, unless its also not closed
git-svn-id: http://skia.googlecode.com/svn/trunk@2561
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Mon, 31 Oct 2011 02:58:27 +0000 (02:58 +0000)]
handle when initial edges don't agree on start-y
git-svn-id: http://skia.googlecode.com/svn/trunk@2560
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Sun, 30 Oct 2011 19:13:26 +0000 (19:13 +0000)]
PDF: Fix bug in weak pointer pattern.
For Canonicalized objects, only remove an object from the canonical list if it is the canonical object and not if it is an instance equal to the canonical object.
BUG=381
TBR=reed@google.com
Review URL: http://codereview.appspot.com/5330058
git-svn-id: http://skia.googlecode.com/svn/trunk@2559
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Sun, 30 Oct 2011 17:06:24 +0000 (17:06 +0000)]
be sure to erase complete (i.e. before the softclip)
git-svn-id: http://skia.googlecode.com/svn/trunk@2558
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Sun, 30 Oct 2011 16:25:09 +0000 (16:25 +0000)]
Can't put a variable sized array of non-pod on the stack. Use SkAutoTDeleteArray instead.
git-svn-id: http://skia.googlecode.com/svn/trunk@2557
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 28 Oct 2011 19:50:21 +0000 (19:50 +0000)]
Fix pure virtual call from destructor and turn VertBench back on
git-svn-id: http://skia.googlecode.com/svn/trunk@2556
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 28 Oct 2011 19:24:58 +0000 (19:24 +0000)]
disable for now (brian is fixing)
git-svn-id: http://skia.googlecode.com/svn/trunk@2555
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 28 Oct 2011 18:58:46 +0000 (18:58 +0000)]
add convex special case in scanconverter. about 10% faster for modest ovals and rrects
git-svn-id: http://skia.googlecode.com/svn/trunk@2554
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 28 Oct 2011 18:57:32 +0000 (18:57 +0000)]
add initial bench for drawVertices
git-svn-id: http://skia.googlecode.com/svn/trunk@2553
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Fri, 28 Oct 2011 15:34:49 +0000 (15:34 +0000)]
In debug builds, only run each benchmark 1 time (test for assertion-breakage,
not performance).
codereview.appspot.com/5314064/
git-svn-id: http://skia.googlecode.com/svn/trunk@2552
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Fri, 28 Oct 2011 14:59:07 +0000 (14:59 +0000)]
Instead of using fixed size for GPU context in benchmain, walk list of
benchmarks and find the largest size required.
codereview.appspot.com/5330045/
git-svn-id: http://skia.googlecode.com/svn/trunk@2551
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 28 Oct 2011 14:55:53 +0000 (14:55 +0000)]
clean up, add test for soft-clip
git-svn-id: http://skia.googlecode.com/svn/trunk@2550
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 28 Oct 2011 02:39:17 +0000 (02:39 +0000)]
reload base after we call memmove
git-svn-id: http://skia.googlecode.com/svn/trunk@2549
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 27 Oct 2011 21:47:03 +0000 (21:47 +0000)]
warning fixes
Review URL http://codereview.appspot.com/5328050/
git-svn-id: http://skia.googlecode.com/svn/trunk@2548
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 27 Oct 2011 21:15:36 +0000 (21:15 +0000)]
fix bad return type (should have been void)
git-svn-id: http://skia.googlecode.com/svn/trunk@2547
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 27 Oct 2011 20:55:06 +0000 (20:55 +0000)]
Rebasline windows fixed point hairmodes
git-svn-id: http://skia.googlecode.com/svn/trunk@2546
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 27 Oct 2011 20:44:19 +0000 (20:44 +0000)]
Add NULL GL context implementation. Use in bench (-nullgl) and SampleApp (backspace key)
Review URL: http://codereview.appspot.com/5303080/
git-svn-id: http://skia.googlecode.com/svn/trunk@2545
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Thu, 27 Oct 2011 20:21:16 +0000 (20:21 +0000)]
Extract GrDrawTarget::DrState into independent GrDrawState struct.
This is intended to be a first step towards making the stack of states
maintained by GrDrawTarget cheaper to maintain.
git-svn-id: http://skia.googlecode.com/svn/trunk@2544
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 27 Oct 2011 17:17:44 +0000 (17:17 +0000)]
Fix leak, reset not called in ~GrTAllocator
Review URL: http://codereview.appspot.com/5328047/
git-svn-id: http://skia.googlecode.com/svn/trunk@2543
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 27 Oct 2011 16:58:46 +0000 (16:58 +0000)]
now we trim the aaclip after building it, to ensure that it has tight bounds
around its (rle compressed) image.
git-svn-id: http://skia.googlecode.com/svn/trunk@2542
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Thu, 27 Oct 2011 15:27:51 +0000 (15:27 +0000)]
Remove warnings (trailing \, signed vs unsigned, parenthesization).
Convert some tabs into spaces.
git-svn-id: http://skia.googlecode.com/svn/trunk@2541
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Thu, 27 Oct 2011 13:27:20 +0000 (13:27 +0000)]
New benchmark for blitRect based on call frequency observed while scrolling
Gmail inside Chrome. Is a bit slow...
git-svn-id: http://skia.googlecode.com/svn/trunk@2540
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 27 Oct 2011 12:34:25 +0000 (12:34 +0000)]
Don't use GrDrawTarget's AA state bit to convey whether to do custom-aa
Review URL: http://codereview.appspot.com/5314061/
git-svn-id: http://skia.googlecode.com/svn/trunk@2539
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Wed, 26 Oct 2011 21:00:37 +0000 (21:00 +0000)]
Fix cmdline argument passing in SampleApp/Mac.
When SampleApp was ported to Cocoa, it lost the ability to pass a test
name on the command line. Fix it.
Review URL: http://codereview.appspot.com/5328042/
git-svn-id: http://skia.googlecode.com/svn/trunk@2538
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 26 Oct 2011 18:01:25 +0000 (18:01 +0000)]
add test for rgn-ops. some disable for now as they don't work (yet)
git-svn-id: http://skia.googlecode.com/svn/trunk@2537
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 26 Oct 2011 15:25:18 +0000 (15:25 +0000)]
add header to document debug-vs-release, fixed-vs-float
git-svn-id: http://skia.googlecode.com/svn/trunk@2536
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 26 Oct 2011 15:19:36 +0000 (15:19 +0000)]
fix new test to work in fixed-point
git-svn-id: http://skia.googlecode.com/svn/trunk@2535
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 26 Oct 2011 15:03:48 +0000 (15:03 +0000)]
add initial unittests for aaclip. Fix case where BuilderBlitter skipped the top
few scanlines (of its bounds) and therefore didn't know to trim its bounds back
down. This can happen when the path's bounds are larger than the curve's bounds
(i.e. the control points are outside of the tight-bounds of the shape.)
git-svn-id: http://skia.googlecode.com/svn/trunk@2534
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 25 Oct 2011 20:47:10 +0000 (20:47 +0000)]
remove unhelpful pixel cache in blitV
git-svn-id: http://skia.googlecode.com/svn/trunk@2533
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Tue, 25 Oct 2011 19:51:09 +0000 (19:51 +0000)]
Move helper functions out of header file, write new genProgram helpers.
Review: codereview.appspot.com/5304045/
git-svn-id: http://skia.googlecode.com/svn/trunk@2532
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 25 Oct 2011 19:44:21 +0000 (19:44 +0000)]
rebaseline after Color32 fix
git-svn-id: http://skia.googlecode.com/svn/trunk@2531
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 25 Oct 2011 19:31:22 +0000 (19:31 +0000)]
rebaselines for Color32 earlier fix
git-svn-id: http://skia.googlecode.com/svn/trunk@2530
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 25 Oct 2011 19:27:43 +0000 (19:27 +0000)]
check-point for convex scan-converter (disabled for now)
git-svn-id: http://skia.googlecode.com/svn/trunk@2529
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 25 Oct 2011 19:10:45 +0000 (19:10 +0000)]
Don't use LCD on grayscale devices.
http://codereview.appspot.com/5281041
M src/ports/SkFontHost_mac_coretext.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2528
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 25 Oct 2011 19:07:23 +0000 (19:07 +0000)]
don't blend with zero in colorproc (forgot to return after memcpy check).
git-svn-id: http://skia.googlecode.com/svn/trunk@2527
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 25 Oct 2011 18:41:23 +0000 (18:41 +0000)]
remember our convexity when we're transformed (when not perspective)
git-svn-id: http://skia.googlecode.com/svn/trunk@2526
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 25 Oct 2011 16:18:44 +0000 (16:18 +0000)]
fix Leopard glyph bounds
M src/ports/SkFontHost_mac_coretext.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2525
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 25 Oct 2011 15:00:44 +0000 (15:00 +0000)]
get proc addresses of gl funcs not declared in gl SDK headers on mac
Review URL: http://codereview.appspot.com/5297057/
git-svn-id: http://skia.googlecode.com/svn/trunk@2524
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 25 Oct 2011 13:43:54 +0000 (13:43 +0000)]
add support for local fonts
http://codereview.appspot.com/5295052/
M src/ports/SkFontHost_mac_coretext.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@2523
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Mon, 24 Oct 2011 21:25:01 +0000 (21:25 +0000)]
Remove duplicate GetFontStyle from SkFontHost_win.
http://codereview.appspot.com/5306058/
git-svn-id: http://skia.googlecode.com/svn/trunk@2522
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 24 Oct 2011 21:17:53 +0000 (21:17 +0000)]
Recommit r2510 now that mac build bot issue has been fixed.
git-svn-id: http://skia.googlecode.com/svn/trunk@2521
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 24 Oct 2011 21:09:40 +0000 (21:09 +0000)]
Fix some warnings on VS2010
Review URL: http://codereview.appspot.com/5312051/
git-svn-id: http://skia.googlecode.com/svn/trunk@2520
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Mon, 24 Oct 2011 19:21:05 +0000 (19:21 +0000)]
Whitespace change to trigger buildbot and make sure the mac buildbot still
succeeds, even though the Mac build slave is now connected to a fake
"VGA dongle" rather than an actual monitor.
git-svn-id: http://skia.googlecode.com/svn/trunk@2519
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Mon, 24 Oct 2011 18:27:56 +0000 (18:27 +0000)]
Update gm baselines to work when the bot is plugged into the big screen
(as opposed to headless, as it has been running for a while)
I forced LCD font smoothing on for the machine by running this command:
defaults -currentHost write -globalDomain AppleFontSmoothing -int 2
git-svn-id: http://skia.googlecode.com/svn/trunk@2518
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Mon, 24 Oct 2011 14:26:17 +0000 (14:26 +0000)]
Whitespace change to trigger buildbot
git-svn-id: http://skia.googlecode.com/svn/trunk@2517
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 24 Oct 2011 12:56:20 +0000 (12:56 +0000)]
fix scalar=fixed by implementing SkRegion form of AntiFillRect
git-svn-id: http://skia.googlecode.com/svn/trunk@2516
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 24 Oct 2011 12:19:46 +0000 (12:19 +0000)]
enable soft clipping (yikes)
git-svn-id: http://skia.googlecode.com/svn/trunk@2515
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 21 Oct 2011 14:05:33 +0000 (14:05 +0000)]
don't mention the neon functions if no neon is available
git-svn-id: http://skia.googlecode.com/svn/trunk@2514
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 21 Oct 2011 14:05:06 +0000 (14:05 +0000)]
add SkRect::intersect(a, b), matching what was already available in SkIRect
git-svn-id: http://skia.googlecode.com/svn/trunk@2513
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Thu, 20 Oct 2011 22:23:38 +0000 (22:23 +0000)]
Just use ExtTextOutW for glyphs.
http://codereview.appspot.com/5308047/
git-svn-id: http://skia.googlecode.com/svn/trunk@2512
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 20 Oct 2011 21:54:46 +0000 (21:54 +0000)]
Temporary revert of r2510. The test that it introduced fails on the Mac build bots. I suspect there is something wrong with the Mac bot machine's GL that is preventing context creation from succeeding. The OpenGL Driver monitor on the machine only shows a software rasterizer. aglChoosePixelFormat seems to fail regardless of input. It may just need a reboot. I'll investigate it more on Monday.
git-svn-id: http://skia.googlecode.com/svn/trunk@2511
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 20 Oct 2011 21:09:45 +0000 (21:09 +0000)]
Add test that validates GrGLInterfaces
Review URL: http://codereview.appspot.com/5304048/
git-svn-id: http://skia.googlecode.com/svn/trunk@2510
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 20 Oct 2011 13:43:13 +0000 (13:43 +0000)]
Move a bunch of headers from include/gpu to src/gpu. Delete some unused files.
Review URL: http://codereview.appspot.com/5304047/
git-svn-id: http://skia.googlecode.com/svn/trunk@2506
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 20 Oct 2011 13:26:21 +0000 (13:26 +0000)]
Fix macro call for getting fn ptr to EXT version of glGetQueryObjectui64v on windows.
git-svn-id: http://skia.googlecode.com/svn/trunk@2505
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 20 Oct 2011 13:18:37 +0000 (13:18 +0000)]
add typefacecache to be purged in SkGraphics::Term()
git-svn-id: http://skia.googlecode.com/svn/trunk@2504
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Wed, 19 Oct 2011 22:10:21 +0000 (22:10 +0000)]
Fix wall clock in bench system timer on Windows.
git-svn-id: http://skia.googlecode.com/svn/trunk@2503
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 19 Oct 2011 21:35:26 +0000 (21:35 +0000)]
GrGLInterface fixes wrt r2499
git-svn-id: http://skia.googlecode.com/svn/trunk@2502
2bbb7eff-a529-9590-31e7-
b0007b416f81