bsalomon@google.com
5f017a4ab0
Fix GL attach/detach in Mac SampleApp
...
Review URL: http://codereview.appspot.com/5984043/
git-svn-id: http://skia.googlecode.com/svn/trunk@3587 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-03 18:03:03 +00:00
tomhudson@google.com
86bb9b73a0
Add usage message and -h|--help arguments to bench.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3583 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-03 13:28:57 +00:00
bsalomon@google.com
730ca3b5d9
Fix NULL as SkColor warning on clang.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3582 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-03 13:25:12 +00:00
bsalomon@google.com
2858b31d4b
Fix line endings in src/view/win (and set the eol style property)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3581 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-02 20:44:38 +00:00
robertphillips@google.com
021bce94a3
Delivering .gyp files to enable building & linking w/ ANGLE on Windows
...
http://codereview.appspot.com/5933057/
git-svn-id: http://skia.googlecode.com/svn/trunk@3580 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-02 20:42:26 +00:00
robertphillips@google.com
d5b05ef06b
Patching Mac files missed in first delivery
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3579 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-02 20:19:28 +00:00
robertphillips@google.com
b442a6d572
Redelivering r3555 to re-add run-time switching between ANGLE and native opengl
...
http://codereview.appspot.com/5969044/
git-svn-id: http://skia.googlecode.com/svn/trunk@3578 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-02 19:24:21 +00:00
epoger@google.com
f3df5254ca
whitespace change to trigger Skia buildbot
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3576 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-02 18:25:25 +00:00
epoger@google.com
ff158211f5
whitespace change to trigger Skia buildbot
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3573 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-02 17:30:35 +00:00
robertphillips@google.com
d5c8fe6f34
Removed ANGLE namespace requirement
...
http://codereview.appspot.com/5969065/
git-svn-id: http://skia.googlecode.com/svn/trunk@3571 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-02 15:04:16 +00:00
bungeman@google.com
5582e63606
Compare scalars to scalars (fixes fixed point).
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3570 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-02 14:51:54 +00:00
bungeman@google.com
8cf322666f
Temp fix for very large text sizes.
...
http://codereview.appspot.com/5970065/
git-svn-id: http://skia.googlecode.com/svn/trunk@3569 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-04-02 14:34:30 +00:00
reed@google.com
d42e3f60cd
defer drawing/work until first draw, to make debugging easier and speedup
...
instantiating the obj just to get its name.
git-svn-id: http://skia.googlecode.com/svn/trunk@3568 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-30 20:04:21 +00:00
reed@google.com
bbbe9ed59e
rm obsolete build-flag SK_IGNORE_HAIRLINE_CLIP_FIX
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3567 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-30 18:56:08 +00:00
caryclark@google.com
198e054b33
shape ops work in progress
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3566 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-30 18:47:02 +00:00
bsalomon@google.com
06cd732eff
Reland 3563
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3565 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-30 18:45:35 +00:00
bsalomon@google.com
18bbb8be02
Revet 3563 due to mac bot failure
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3564 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-30 18:29:01 +00:00
bsalomon@google.com
423d6d9070
Improve save layer handling in SkGpuDevice
...
http://codereview.appspot.com/5966048/
git-svn-id: http://skia.googlecode.com/svn/trunk@3563 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-30 18:22:01 +00:00
reed@google.com
6de0bfc51a
regression unittest for the fix in rev. 3558 (handling nan in antihairpaths)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3562 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-30 17:43:33 +00:00
bsalomon@google.com
193395c7a3
Unify text flushing with other deferred drawing
...
Review URL: http://codereview.appspot.com/5936054/
git-svn-id: http://skia.googlecode.com/svn/trunk@3560 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-30 17:35:12 +00:00
bsalomon@google.com
b4725b4ee6
Add assert to catch circular drawing higher up the call stack.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3559 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-30 17:24:17 +00:00
reed@google.com
8a812c252d
check for integer-nan (0x8000...) and don't draw those as antihairlines
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3558 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-30 16:24:00 +00:00
bsalomon@google.com
873ea0c93f
Make fewer copies when using GrDrawTarget::AutoStateRestore
...
Review URL: http://codereview.appspot.com/5938043/
git-svn-id: http://skia.googlecode.com/svn/trunk@3557 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-30 15:55:32 +00:00
robertphillips@google.com
bd8d7adb0a
Reverting r3555
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3556 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-30 15:18:14 +00:00
robertphillips@google.com
53e96a14ca
Added run-time switching between OpenGL & ANGLE in SampleApp
...
http://codereview.appspot.com/5969044/
git-svn-id: http://skia.googlecode.com/svn/trunk@3555 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-30 14:47:53 +00:00
bsalomon@google.com
10e04bf1c5
Reland 3507
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3554 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-30 14:35:04 +00:00
bsalomon@google.com
b9014f4f2e
Remove deprecated names from Gr (WK is no longer using them)
...
Review URL: http://codereview.appspot.com/5969046/
git-svn-id: http://skia.googlecode.com/svn/trunk@3553 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-30 14:22:41 +00:00
djsollen@google.com
4cccc6b224
Fix deadlock in Android's font deserializer.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3551 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-30 12:42:12 +00:00
robertphillips@google.com
a0b63b8631
Reverting bench tests to pre-3546 (i.e., readding "Debug" option) with a SK_DEBUG guard
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3550 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-30 12:23:56 +00:00
bsalomon@google.com
ba800e2225
Alphabetize gl function pointer typedefs / decls. Wrap pointers to auto-NULL them.
...
Review URL: http://codereview.appspot.com/5959048/
git-svn-id: http://skia.googlecode.com/svn/trunk@3549 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-29 21:04:52 +00:00
epoger@google.com
48ea377b3a
whitespace change to trigger Skia buildbot
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3547 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-29 20:53:50 +00:00
robertphillips@google.com
39a058f122
Removing "Debug" option from bench tests to evaluate possible regression
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3546 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-29 19:16:07 +00:00
bsalomon@google.com
e79c815bca
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
2012-03-29 19:07:12 +00:00
djsollen@google.com
257fc5bd13
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
2012-03-29 17:54:05 +00:00
djsollen@google.com
e6488add7f
partial revert of r3541 to removed accidentally uploaded file
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3542 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-29 16:09:48 +00:00
djsollen@google.com
bff29d59ee
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
2012-03-29 16:06:32 +00:00
djsollen@google.com
54924243c1
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
2012-03-29 15:18:04 +00:00
bungeman@google.com
5a64e58ebb
Revert 3538.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3539 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-29 14:51:56 +00:00
bungeman@google.com
29b63dc863
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
2012-03-29 14:28:59 +00:00
bsalomon@google.com
5b819c1f6d
Revert 3507
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3537 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 21:34:22 +00:00
vandebo@chromium.org
9af25f3d98
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
2012-03-28 21:24:27 +00:00
bungeman@google.com
998547641c
Move SkColorMatrix to effects.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3535 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 21:14:17 +00:00
vandebo@chromium.org
6390c72cfb
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
2012-03-28 21:03:22 +00:00
djsollen@google.com
5370cd969d
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
2012-03-28 20:47:01 +00:00
vandebo@chromium.org
a728e35edc
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
2012-03-28 20:29:38 +00:00
bungeman@google.com
802eee956c
Move SkTextBox.h from utils to views.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3531 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 20:01:06 +00:00
robertphillips@google.com
78ff6b4ab6
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
2012-03-28 19:37:51 +00:00
djsollen@google.com
3d29b6330d
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
2012-03-28 19:36:39 +00:00
reed@google.com
954f56c77e
rebaseline
...
git-svn-id: http://skia.googlecode.com/svn/trunk@3528 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-28 19:34:27 +00:00
bsalomon@google.com
4fd99ea449
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
2012-03-28 18:45:58 +00:00