platform/upstream/libSkiaSharp.git
12 years agoDon't look at current vertex layout when vertex source hasn't been set
bsalomon@google.com [Thu, 29 Mar 2012 19:07:12 +0000 (19:07 +0000)]
Don't look at current vertex layout when vertex source hasn't been set

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

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

12 years agoRemove unused static functions from SampleApp and effects
djsollen@google.com [Thu, 29 Mar 2012 17:54:05 +0000 (17:54 +0000)]
Remove unused static functions from SampleApp and effects
Review URL: https://codereview.appspot.com/5956050

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

12 years agopartial revert of r3541 to removed accidentally uploaded file
djsollen@google.com [Thu, 29 Mar 2012 16:09:48 +0000 (16:09 +0000)]
partial revert of r3541 to removed accidentally uploaded file

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

12 years agoLanding arm patch from contributor.
djsollen@google.com [Thu, 29 Mar 2012 16:06:32 +0000 (16:06 +0000)]
Landing arm patch from contributor.

http://codereview.appspot.com/5649055

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

12 years agoCleanup code related to SkFlattenable::flatten()
djsollen@google.com [Thu, 29 Mar 2012 15:18:04 +0000 (15:18 +0000)]
Cleanup code related to SkFlattenable::flatten()

The following changes were made by this CL:

1. Make flatten() a protected method as callers should use
   SkFlattenableWriteBuffer to flatten an object
2. Make flatten a const method (including subclasses)
3. Mark subclass implementation of flatten with SK_OVERRIDE
4. Ensure overridden flatten impls call their parent
5. Remove no-op implementations of flatten from subclasses

Additionally, if necessary the unflattening constructor was
also moved to the protected section of the subclasses
header if it was not already there.

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

12 years agoRevert 3538.
bungeman@google.com [Thu, 29 Mar 2012 14:51:56 +0000 (14:51 +0000)]
Revert 3538.

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

12 years agoCorrect dependencies in gyp files.
bungeman@google.com [Thu, 29 Mar 2012 14:28:59 +0000 (14:28 +0000)]
Correct dependencies in gyp files.
http://codereview.appspot.com/5934044/

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

12 years agoRevert 3507
bsalomon@google.com [Wed, 28 Mar 2012 21:34:22 +0000 (21:34 +0000)]
Revert 3507

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

12 years agoFix coverity defects in FontHost_FreeType
vandebo@chromium.org [Wed, 28 Mar 2012 21:24:27 +0000 (21:24 +0000)]
Fix coverity defects in FontHost_FreeType

Reviewed in https://codereview.appspot.com/5940049/

Review URL: https://codereview.appspot.com/5942043

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

12 years agoMove SkColorMatrix to effects.
bungeman@google.com [Wed, 28 Mar 2012 21:14:17 +0000 (21:14 +0000)]
Move SkColorMatrix to effects.

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

12 years agoFix Coverity reports. (Mostly use of uninitialised values.)
vandebo@chromium.org [Wed, 28 Mar 2012 21:03:22 +0000 (21:03 +0000)]
Fix Coverity reports.  (Mostly use of uninitialised values.)

CID=537,103419,103631,103632,103633

Initial review: https://codereview.appspot.com/5936047/

Review URL: https://codereview.appspot.com/5935051

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

12 years agoConsolidate PixelRef flattables with the standard impl
djsollen@google.com [Wed, 28 Mar 2012 20:47:01 +0000 (20:47 +0000)]
Consolidate PixelRef flattables with the standard impl

The flatten method on these functions can no longer be
const as SkFlattenables declaration is not const and
would result in the const methods only being called when
the reference to the object was const.
Review URL: https://codereview.appspot.com/5941043

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

12 years agoFix a bunch of Coverity defects - class members not initialized in the constructor.
vandebo@chromium.org [Wed, 28 Mar 2012 20:29:38 +0000 (20:29 +0000)]
Fix a bunch of Coverity defects - class members not initialized in the constructor.

CID=14533,14036,9275,9271,4156,4153,4151,1666,1665,1618,1617,1616,1615

Review URL: https://codereview.appspot.com/5940049

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

12 years agoMove SkTextBox.h from utils to views.
bungeman@google.com [Wed, 28 Mar 2012 20:01:06 +0000 (20:01 +0000)]
Move SkTextBox.h from utils to views.

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

12 years agoMoved mac, unix, win and mesa directories under src/gpu/gl
robertphillips@google.com [Wed, 28 Mar 2012 19:37:51 +0000 (19:37 +0000)]
Moved mac, unix, win and mesa directories under src/gpu/gl

http://codereview.appspot.com/5937052/

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

12 years agoRemove unused classes from the build.
djsollen@google.com [Wed, 28 Mar 2012 19:36:39 +0000 (19:36 +0000)]
Remove unused classes from the build.
Review URL: https://codereview.appspot.com/5938053

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

12 years agorebaseline
reed@google.com [Wed, 28 Mar 2012 19:34:27 +0000 (19:34 +0000)]
rebaseline

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

12 years agoFix comparison of GrPaint::fCoverage (which is a byte not a uint32_t)
bsalomon@google.com [Wed, 28 Mar 2012 18:45:58 +0000 (18:45 +0000)]
Fix comparison of GrPaint::fCoverage (which is a byte not a uint32_t)

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

12 years agoMoved Debug GL interface to src/gpu/gl/debug in preparation for splitting it up.
robertphillips@google.com [Wed, 28 Mar 2012 18:22:01 +0000 (18:22 +0000)]
Moved Debug GL interface to src/gpu/gl/debug in preparation for splitting it up.

http://codereview.appspot.com/5938054/

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

12 years agoUpdate skia's gyp to 1284 (was 1139).
bungeman@google.com [Wed, 28 Mar 2012 18:18:26 +0000 (18:18 +0000)]
Update skia's gyp to 1284 (was 1139).
http://codereview.appspot.com/5935050/

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

12 years agoRevert r3523 and r2522
vandebo@chromium.org [Wed, 28 Mar 2012 17:33:26 +0000 (17:33 +0000)]
Revert r3523 and r2522

Review URL: https://codereview.appspot.com/5939051

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

12 years agoFix build break.
vandebo@chromium.org [Wed, 28 Mar 2012 17:30:12 +0000 (17:30 +0000)]
Fix build break.

Review URL: https://codereview.appspot.com/5934055

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

12 years agoFix Coverity reports. (Mostly use of uninitialised values.)
vandebo@chromium.org [Wed, 28 Mar 2012 17:25:21 +0000 (17:25 +0000)]
Fix Coverity reports.  (Mostly use of uninitialised values.)

CID=537,103419,103631,103632,103633

Review URL: https://codereview.appspot.com/5936047

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

12 years agoshape ops builders; fix typo
caryclark@google.com [Wed, 28 Mar 2012 17:04:08 +0000 (17:04 +0000)]
shape ops builders; fix typo

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

12 years agofirst support at shape ops support for quads
caryclark@google.com [Wed, 28 Mar 2012 16:20:21 +0000 (16:20 +0000)]
first support at shape ops support for quads

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

12 years agoCode changes for ANGLE GL interface. .gyp file changes will be delivered later.
robertphillips@google.com [Wed, 28 Mar 2012 16:19:11 +0000 (16:19 +0000)]
Code changes for ANGLE GL interface. .gyp file changes will be delivered later.

http://codereview.appspot.com/5940046/

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

12 years agohandle null-device correctly in setDevice
reed@google.com [Wed, 28 Mar 2012 16:19:15 +0000 (16:19 +0000)]
handle null-device correctly in setDevice

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

12 years agoFix a memory leak in SkAAClip::translate().
tomhudson@google.com [Wed, 28 Mar 2012 15:46:37 +0000 (15:46 +0000)]
Fix a memory leak in SkAAClip::translate().
Originally proposed by Jochen Eisinger.

http://codereview.appspot.com/5934053/

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

12 years agoMake printf in GrContext about partial pixel coverage be debug-only
bsalomon@google.com [Wed, 28 Mar 2012 15:35:05 +0000 (15:35 +0000)]
Make printf in GrContext about partial pixel coverage be debug-only

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

12 years agoshadows GPU GM rebaseline from r3514
bsalomon@google.com [Wed, 28 Mar 2012 15:33:55 +0000 (15:33 +0000)]
shadows GPU GM rebaseline from r3514

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

12 years agodisable GPU blur on small paths
bsalomon@google.com [Wed, 28 Mar 2012 14:44:37 +0000 (14:44 +0000)]
disable GPU blur on small paths

Change originally by Guanqun.Lu@gmail.com with minor edits and sample added by me

COULD POSSIBLY CHANGE GPU RESULTS OF GM SLIDES WITH BLUR, WILL REBASILINE IF SO.

Review URL: https://codereview.appspot.com/5940045/

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

12 years agoRemoved redundant typedef from GrDebugGL class
robertphillips@google.com [Wed, 28 Mar 2012 12:50:24 +0000 (12:50 +0000)]
Removed redundant typedef from GrDebugGL class

Comitted on behalf of Guanqun.Lu@gmail.com

http://codereview.appspot.com/5924049/

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

12 years agowhitespace change to trigger Skia buildbot
epoger@google.com [Tue, 27 Mar 2012 20:14:55 +0000 (20:14 +0000)]
whitespace change to trigger Skia buildbot

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

12 years agoUse a single GrDrawState in GrContext for direct and buffered drawing
bsalomon@google.com [Tue, 27 Mar 2012 17:40:15 +0000 (17:40 +0000)]
Use a single GrDrawState in GrContext for direct and buffered drawing

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

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

12 years agoReland 3503 with fix
bsalomon@google.com [Tue, 27 Mar 2012 15:59:58 +0000 (15:59 +0000)]
Reland 3503 with fix

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

12 years agoadd debuggin matrix-proc to validate its output before calling the samplers
reed@google.com [Tue, 27 Mar 2012 15:54:28 +0000 (15:54 +0000)]
add debuggin matrix-proc to validate its output before calling the samplers
Review URL: https://codereview.appspot.com/5901063

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

12 years agoRevert 3503
bsalomon@google.com [Tue, 27 Mar 2012 14:34:08 +0000 (14:34 +0000)]
Revert 3503

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

12 years agoMake GrDrawState object used by GrDrawTarget be settable; set in GrInOrderDrawBuffer...
bsalomon@google.com [Tue, 27 Mar 2012 14:27:27 +0000 (14:27 +0000)]
Make GrDrawState object used by GrDrawTarget be settable; set in GrInOrderDrawBuffer playback

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

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

12 years agooverzealously deleted files
caryclark@google.com [Tue, 27 Mar 2012 13:45:24 +0000 (13:45 +0000)]
overzealously deleted files

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

12 years agoFiles to build Cary's Shape Ops test projects.
caryclark@google.com [Tue, 27 Mar 2012 13:27:36 +0000 (13:27 +0000)]
Files to build Cary's Shape Ops test projects.
These will be moved to experimental/Intersection
later.

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

12 years agowork in progress
caryclark@google.com [Tue, 27 Mar 2012 13:23:51 +0000 (13:23 +0000)]
work in progress
nearly coincident mostly work
support files for creating projects from gyp

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

12 years ago[PDF] Really fix font metric array initialization.
vandebo@chromium.org [Mon, 26 Mar 2012 23:58:04 +0000 (23:58 +0000)]
[PDF] Really fix font metric array initialization.

Review URL: https://codereview.appspot.com/5919043

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

12 years agoMake GrDrawState ref counted. (Small step towards a perf improvement.)
bsalomon@google.com [Mon, 26 Mar 2012 20:33:54 +0000 (20:33 +0000)]
Make GrDrawState ref counted. (Small step towards a perf improvement.)

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

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

12 years agoBuild libjpeg from source for all platforms
epoger@google.com [Mon, 26 Mar 2012 20:04:54 +0000 (20:04 +0000)]
Build libjpeg from source for all platforms

(We were already doing so on Mac and Windows.)
Review URL: https://codereview.appspot.com/5909067

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

12 years agoCopy libjpeg.gyp from third_party/externals/libjpeg/ to gyp/
epoger@google.com [Mon, 26 Mar 2012 18:29:26 +0000 (18:29 +0000)]
Copy libjpeg.gyp from third_party/externals/libjpeg/ to gyp/

This should get our use of libjpeg-from-source unblocked; see http://code.google.com/p/skia/issues/detail?id=543 ('wrap libjpeg.gyp from Chrome's libjpeg port, rather than making our own copy') for a better long-term solution.
Review URL: https://codereview.appspot.com/5908058

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

12 years agoExtended debug GL interface to include textures.
robertphillips@google.com [Mon, 26 Mar 2012 17:58:35 +0000 (17:58 +0000)]
Extended debug GL interface to include textures.

http://codereview.appspot.com/5903043/

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

12 years agoCreate macro for registering classes for deserialization
djsollen@google.com [Mon, 26 Mar 2012 17:57:35 +0000 (17:57 +0000)]
Create macro for registering classes for deserialization
Review URL: https://codereview.appspot.com/5909063

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

12 years agoMake use of the functions in the flattenable reader/writer
djsollen@google.com [Mon, 26 Mar 2012 17:34:39 +0000 (17:34 +0000)]
Make use of the functions in the flattenable reader/writer
Review URL: https://codereview.appspot.com/5905066

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

12 years agorestore line accidentally deleted in MatrixTest.cpp in r3491
bsalomon@google.com [Mon, 26 Mar 2012 17:25:45 +0000 (17:25 +0000)]
restore line accidentally deleted in MatrixTest.cpp in r3491

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

12 years agoAnother fix for fixed point (nan == nan in fixed pt)
bsalomon@google.com [Mon, 26 Mar 2012 15:57:37 +0000 (15:57 +0000)]
Another fix for fixed point (nan == nan in fixed pt)

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

12 years agoFix test to use the flattenable writer class instead of
djsollen@google.com [Mon, 26 Mar 2012 15:52:10 +0000 (15:52 +0000)]
Fix test to use the flattenable writer class instead of
flattening the object directly.
Review URL: https://codereview.appspot.com/5901059

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

12 years agofix compilation bug in fixed pt
bsalomon@google.com [Mon, 26 Mar 2012 15:33:05 +0000 (15:33 +0000)]
fix compilation bug in fixed pt

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

12 years agoAdd SkMatrix::cheapEqualTo, use in Gr code
bsalomon@google.com [Mon, 26 Mar 2012 15:24:27 +0000 (15:24 +0000)]
Add SkMatrix::cheapEqualTo, use in Gr code

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

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

12 years ago[GPU] when paint has patheffect, it should fallback to path render
bsalomon@google.com [Mon, 26 Mar 2012 14:36:55 +0000 (14:36 +0000)]
[GPU] when paint has patheffect, it should fallback to path render

Comitted on behalf of Guanqun.Lu@gmail.com

THIS MAY CAUSE GM TO GO RED, WILL REBASELINE.

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

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

12 years agoadd baselines
reed@google.com [Mon, 26 Mar 2012 14:02:45 +0000 (14:02 +0000)]
add baselines

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

12 years agoRebaseline for 3480.
bungeman@google.com [Fri, 23 Mar 2012 21:39:08 +0000 (21:39 +0000)]
Rebaseline for 3480.

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

12 years agoFix android build
djsollen@google.com [Fri, 23 Mar 2012 19:36:53 +0000 (19:36 +0000)]
Fix android build

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

12 years agoCleanup Macros arround static initializers for SkFlattenable.
djsollen@google.com [Fri, 23 Mar 2012 19:00:34 +0000 (19:00 +0000)]
Cleanup Macros arround static initializers for SkFlattenable.

This CL also removes an unused debugging function from the class
Review URL: https://codereview.appspot.com/5890043

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

12 years agoMake "make gyp" work on Windows
epoger@google.com [Fri, 23 Mar 2012 18:14:25 +0000 (18:14 +0000)]
Make "make gyp" work on Windows

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

12 years agoImproved codec link-forcing system by adding Encoder/Decoder creation entry points
robertphillips@google.com [Fri, 23 Mar 2012 18:13:47 +0000 (18:13 +0000)]
Improved codec link-forcing system by adding Encoder/Decoder creation entry points

http://codereview.appspot.com/5881055/

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

12 years agoGlyph advances from generateAdvance do not always match generateMetrics results.
bungeman@google.com [Fri, 23 Mar 2012 18:11:47 +0000 (18:11 +0000)]
Glyph advances from generateAdvance do not always match generateMetrics results.
http://codereview.appspot.com/5841071/

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

12 years agoUpdate GetAdvancedTypefaceMetrics API in usually-unbuilt files.
tomhudson@google.com [Fri, 23 Mar 2012 15:38:28 +0000 (15:38 +0000)]
Update GetAdvancedTypefaceMetrics API in usually-unbuilt files.
Originally caught by LJin.zq
http://code.google.com/p/skia/issues/detail?id=405

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

12 years agorebaseline (no perceptible diff)
reed@google.com [Fri, 23 Mar 2012 15:37:41 +0000 (15:37 +0000)]
rebaseline (no perceptible diff)

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

12 years agoapply imagefilter to all draw calls
reed@google.com [Fri, 23 Mar 2012 15:36:36 +0000 (15:36 +0000)]
apply imagefilter to all draw calls
Review URL: https://codereview.appspot.com/5856048

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

12 years ago[PDF] Fix font metric array initialization.
vandebo@chromium.org [Fri, 23 Mar 2012 15:17:37 +0000 (15:17 +0000)]
[PDF] Fix font metric array initialization.

Review URL: https://codereview.appspot.com/5885055

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

12 years agoInitialize margin, which was being used uninitialized in compute_bounds()
tomhudson@google.com [Fri, 23 Mar 2012 14:46:48 +0000 (14:46 +0000)]
Initialize margin, which was being used uninitialized in compute_bounds()
on some code paths we apparently aren't exercising.
Caught by Matt Woodrow & gwright@kde.org

http://codereview.appspot.com/5519056/
http://code.google.com/p/skia/issues/detail?id=435

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

12 years agoRemove circular dependency of views and animator.
bungeman@google.com [Fri, 23 Mar 2012 14:11:43 +0000 (14:11 +0000)]
Remove circular dependency of views and animator.
http://codereview.appspot.com/5874056/

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

12 years agofix clang compilation warning
bsalomon@google.com [Thu, 22 Mar 2012 21:29:10 +0000 (21:29 +0000)]
fix clang compilation warning

Submitted on behalf of Guanqun.Lu@gmail.com

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

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

12 years agowork in progress
caryclark@google.com [Thu, 22 Mar 2012 21:11:17 +0000 (21:11 +0000)]
work in progress

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

12 years ago[PDF] Move most of the headers to be private.
vandebo@chromium.org [Thu, 22 Mar 2012 20:45:15 +0000 (20:45 +0000)]
[PDF] Move most of the headers to be private.

Compute font stats in SkPDFDocument in order to make more of the headers private.

Previous review: https://codereview.appspot.com/5868049/

Review URL: https://codereview.appspot.com/5875049

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

12 years agoExtended debug GL interface to include tracking of render buffers
robertphillips@google.com [Thu, 22 Mar 2012 20:43:56 +0000 (20:43 +0000)]
Extended debug GL interface to include tracking of render buffers

http://codereview.appspot.com/5875050/

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

12 years agolanding patch from http://codereview.appspot.com/5874051/
epoger@google.com [Thu, 22 Mar 2012 18:20:06 +0000 (18:20 +0000)]
landing patch from codereview.appspot.com/5874051/

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

12 years agoRemove mutual dependency of gr and skgr.
bungeman@google.com [Thu, 22 Mar 2012 17:56:29 +0000 (17:56 +0000)]
Remove mutual dependency of gr and skgr.
http://codereview.appspot.com/5879043/

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

12 years agoMove unix_test_app/main.cpp to src/views/unix/skia_unix.cpp
epoger@google.com [Thu, 22 Mar 2012 15:37:22 +0000 (15:37 +0000)]
Move unix_test_app/main.cpp to src/views/unix/skia_unix.cpp
Review URL: https://codereview.appspot.com/5881048

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

12 years agoRevert r3463, because it broke Linux.
epoger@google.com [Thu, 22 Mar 2012 15:15:07 +0000 (15:15 +0000)]
Revert r3463, because it broke Linux.
Review URL: https://codereview.appspot.com/5876056

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

12 years agoReset Ganesh TextureDomain after use.
tomhudson@google.com [Thu, 22 Mar 2012 14:44:46 +0000 (14:44 +0000)]
Reset Ganesh TextureDomain after use.

http://codereview.appspot.com/5877049/
http://code.google.com/p/skia/issues/detail?id=540

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

12 years agoDelete unix_test_app directory and its contents.
epoger@google.com [Thu, 22 Mar 2012 14:35:10 +0000 (14:35 +0000)]
Delete unix_test_app directory and its contents.

Leon added this in March 2011 ( http://code.google.com/p/skia/source/detail?spec=svn938&r=938 ), but it's not maintained anymore.
Review URL: https://codereview.appspot.com/5876055

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

12 years agoFix for SampleApp command line parsing issue.
robertphillips@google.com [Thu, 22 Mar 2012 14:12:15 +0000 (14:12 +0000)]
Fix for SampleApp command line parsing issue.

http://codereview.appspot.com/5785054/

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

12 years agodelay any drawing until first call to onDraw (eases debugging)
reed@google.com [Thu, 22 Mar 2012 14:09:28 +0000 (14:09 +0000)]
delay any drawing until first call to onDraw (eases debugging)

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

12 years agoMove SkBitSet to utils.
vandebo@chromium.org [Wed, 21 Mar 2012 23:11:46 +0000 (23:11 +0000)]
Move SkBitSet to utils.

Review URL: https://codereview.appspot.com/5875043

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

12 years agoUtils must not depend on Views.
bungeman@google.com [Wed, 21 Mar 2012 20:59:49 +0000 (20:59 +0000)]
Utils must not depend on Views.
http://codereview.appspot.com/5867051/

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

12 years agoRevert "[PDF] Move most of the headers to be private."
vandebo@chromium.org [Wed, 21 Mar 2012 20:31:08 +0000 (20:31 +0000)]
Revert "[PDF] Move most of the headers to be private."

This reverts r3457

TBR=epoger@google.com

Review URL: https://codereview.appspot.com/5866051

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

12 years ago[PDF] Move most of the headers to be private.
vandebo@chromium.org [Wed, 21 Mar 2012 19:59:04 +0000 (19:59 +0000)]
[PDF] Move most of the headers to be private.

Compute font stats in SkPDFDocument in order to make more of the headers private.

Previous review: https://codereview.appspot.com/5865048/

Review URL: https://codereview.appspot.com/5868049

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

12 years agoRe-attempting Linux debug GL interface compiler complaint fix.
robertphillips@google.com [Wed, 21 Mar 2012 19:46:50 +0000 (19:46 +0000)]
Re-attempting Linux debug GL interface compiler complaint fix.
Fixed two additional compiler complaints.

http://codereview.appspot.com/5845068/

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

12 years agoAdded tracking of frame buffer objects to debug GL interface
robertphillips@google.com [Wed, 21 Mar 2012 17:57:55 +0000 (17:57 +0000)]
Added tracking of frame buffer objects to debug GL interface

http://codereview.appspot.com/5866043/

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

12 years agoRevert "[PDF] Move most of the headers to be private."
vandebo@chromium.org [Wed, 21 Mar 2012 17:55:04 +0000 (17:55 +0000)]
Revert "[PDF] Move most of the headers to be private."

This reverts r3453

TBR=epoger@google.com

Review URL: https://codereview.appspot.com/5869048

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

12 years ago[PDF] Move most of the headers to be private.
vandebo@chromium.org [Wed, 21 Mar 2012 17:45:06 +0000 (17:45 +0000)]
[PDF] Move most of the headers to be private.

Compute font stats in SkPDFDocument in order to make more of the headers private.

Review URL: https://codereview.appspot.com/5865048

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

12 years ago[PDF] Add GM and infrastructure to test drawing shaders with an initial transform.
vandebo@chromium.org [Wed, 21 Mar 2012 17:34:30 +0000 (17:34 +0000)]
[PDF] Add GM and infrastructure to test drawing shaders with an initial transform.

Previous review at https://codereview.appspot.com/5867047/ and https://codereview.appspot.com/5849045/

TBR=reed@google.com

Review URL: https://codereview.appspot.com/5860044

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

12 years agoRevert "[PDF] Add GM and infrastructure to test drawing shaders with an initial trans...
vandebo@chromium.org [Wed, 21 Mar 2012 17:11:27 +0000 (17:11 +0000)]
Revert "[PDF] Add GM and infrastructure to test drawing shaders with an initial transform."

This reverts r3450

TBR=reed@google.com

Review URL: https://codereview.appspot.com/5864050

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

12 years ago[PDF] Add GM and infrastructure to test drawing shaders with an initial transform.
vandebo@chromium.org [Wed, 21 Mar 2012 16:45:47 +0000 (16:45 +0000)]
[PDF] Add GM and infrastructure to test drawing shaders with an initial transform.

Review URL: https://codereview.appspot.com/5867047

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

12 years agoUpstream changes from Android repository.
djsollen@google.com [Wed, 21 Mar 2012 15:39:03 +0000 (15:39 +0000)]
Upstream changes from Android repository.
Review URL: https://codereview.appspot.com/5752055

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

12 years agoReverting Linux compiler complaint patch - again
robertphillips@google.com [Wed, 21 Mar 2012 13:05:04 +0000 (13:05 +0000)]
Reverting Linux compiler complaint patch - again

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

12 years agoPartial re-delivery of Linux compiler complaint changes.
robertphillips@google.com [Wed, 21 Mar 2012 12:26:18 +0000 (12:26 +0000)]
Partial re-delivery of Linux compiler complaint changes.
Was originally delivered as r3428 but was backed out due to pixel diffs on Mac mini.

http://codereview.appspot.com/5845068/

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

12 years agoCast the result of SK_OFFSETOF to size_t to match offsetof() and avoid narrowing...
reed@google.com [Wed, 21 Mar 2012 12:25:48 +0000 (12:25 +0000)]
Cast the result of SK_OFFSETOF to size_t to match offsetof() and avoid narrowing conversion errors

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

12 years agoMove SkClampRange into src/effects, where it isn't being advertised as
tomhudson@google.com [Tue, 20 Mar 2012 21:18:43 +0000 (21:18 +0000)]
Move SkClampRange into src/effects, where it isn't being advertised as
something for end-users.

http://codereview.appspot.com/5864044/

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

12 years agoAdd GrDrawTarget::drawIndexedInstance, use in default text context.
bsalomon@google.com [Tue, 20 Mar 2012 21:17:58 +0000 (21:17 +0000)]
Add GrDrawTarget::drawIndexedInstance, use in default text context.

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

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

12 years agowork in progress
caryclark@google.com [Tue, 20 Mar 2012 21:11:59 +0000 (21:11 +0000)]
work in progress

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

12 years agoAdding CMYK jpeg changes w/o .gyp alterations
robertphillips@google.com [Tue, 20 Mar 2012 17:40:58 +0000 (17:40 +0000)]
Adding CMYK jpeg changes w/o .gyp alterations

http://codereview.appspot.com/5785054/

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

12 years agoConvert SkMatrix::I() assignments to SkMatrix::reset() calls
bsalomon@google.com [Tue, 20 Mar 2012 15:36:32 +0000 (15:36 +0000)]
Convert SkMatrix::I() assignments to SkMatrix::reset() calls

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

12 years agoAdd temp android modification to the GLSL version check
djsollen@google.com [Tue, 20 Mar 2012 15:28:14 +0000 (15:28 +0000)]
Add temp android modification to the GLSL version check
Review URL: https://codereview.appspot.com/5845076

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