reed@google.com [Wed, 3 Oct 2012 20:40:38 +0000 (20:40 +0000)]
revert 5794
git-svn-id: http://skia.googlecode.com/svn/trunk@5795
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 3 Oct 2012 20:17:22 +0000 (20:17 +0000)]
add test for rotated saveLayer, to see that we clip against the specified bounds
(hint: we don't at the moment)
git-svn-id: http://skia.googlecode.com/svn/trunk@5794
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 3 Oct 2012 19:57:01 +0000 (19:57 +0000)]
Adds extra debugging to SkPathRef that can optionally be turned on in a release build.
This is pretty hacky but hopefully will be quite short-lived.
Review URL: https://codereview.appspot.com/6584074
git-svn-id: http://skia.googlecode.com/svn/trunk@5793
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 3 Oct 2012 19:10:31 +0000 (19:10 +0000)]
Fix test_small_segments3 path measure test.
Review URL: https://codereview.appspot.com/6601050
git-svn-id: http://skia.googlecode.com/svn/trunk@5792
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Wed, 3 Oct 2012 17:32:33 +0000 (17:32 +0000)]
Allow render_pictures to render using multiple threads.
Make write() a static function so it can be used by the
thread entry functions.
Add a helper function to append a number to a string and
call write to share code.
Review URL: https://codereview.appspot.com/6589062
git-svn-id: http://skia.googlecode.com/svn/trunk@5789
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 3 Oct 2012 13:46:20 +0000 (13:46 +0000)]
Revert r5557 (which itself was a revert of r5433). Relands SkPathRef. Will follow with change for extra debug checks to attempt to ferret out crbug.com/148637.
git-svn-id: http://skia.googlecode.com/svn/trunk@5783
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 3 Oct 2012 13:25:13 +0000 (13:25 +0000)]
Added bench to replicate Google spreadsheet-style table drawing
https://codereview.appspot.com/6593076/
git-svn-id: http://skia.googlecode.com/svn/trunk@5782
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Wed, 3 Oct 2012 04:46:10 +0000 (04:46 +0000)]
Delete SkStream_Win.h as it appears to never have been used.
https://code.google.com/p/skia/issues/detail?id=281
git-svn-id: http://skia.googlecode.com/svn/trunk@5781
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Wed, 3 Oct 2012 02:01:13 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5780
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 2 Oct 2012 20:00:03 +0000 (20:00 +0000)]
fix return value for render_pictures
Review URL: https://codereview.appspot.com/6590049
git-svn-id: http://skia.googlecode.com/svn/trunk@5779
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 2 Oct 2012 18:43:49 +0000 (18:43 +0000)]
Oops, forgot a file
Review URL: https://codereview.appspot.com/6593064
git-svn-id: http://skia.googlecode.com/svn/trunk@5777
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Tue, 2 Oct 2012 18:33:14 +0000 (18:33 +0000)]
build iOS with 'make all'
This builds all skia tests by treating iOS tools
as executable applications. A few warnings were
fixed as well.
Removed old trace draw code and remnants.
Review URL: https://codereview.appspot.com/6597063
git-svn-id: http://skia.googlecode.com/svn/trunk@5776
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 2 Oct 2012 17:51:29 +0000 (17:51 +0000)]
add getSeed()
git-svn-id: http://skia.googlecode.com/svn/trunk@5775
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 2 Oct 2012 17:42:15 +0000 (17:42 +0000)]
catch empty stack in restorefixup called by clipRect
write stress-test for save/clip/restore peephole optimization
git-svn-id: http://skia.googlecode.com/svn/trunk@5774
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 2 Oct 2012 15:54:26 +0000 (15:54 +0000)]
reenable peephole optimization for save/clip/restore, with build flag
SK_DISABLE_PICTURE_PEEPHOLE_OPTIMIZATION to disable it (optional)
git-svn-id: http://skia.googlecode.com/svn/trunk@5770
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Tue, 2 Oct 2012 15:42:21 +0000 (15:42 +0000)]
xcode_settings OTHER_CPLUSPLUSFLAGS is a list.
https://codereview.appspot.com/6588062/
git-svn-id: http://skia.googlecode.com/svn/trunk@5769
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 2 Oct 2012 15:25:12 +0000 (15:25 +0000)]
Add SkNativeGLContext implementation for iOS.
R=caryclark@google.com
Review URL: https://codereview.appspot.com/6589055
git-svn-id: http://skia.googlecode.com/svn/trunk@5767
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Tue, 2 Oct 2012 14:24:22 +0000 (14:24 +0000)]
When processing a morphology filter on the GPU, pass the processed texture,
not the original source texture.
Review URL: https://codereview.appspot.com/6587057/
git-svn-id: http://skia.googlecode.com/svn/trunk@5766
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Tue, 2 Oct 2012 13:40:30 +0000 (13:40 +0000)]
Roll gyp to 1509 for ninja compatibility.
https://codereview.appspot.com/6588059/
git-svn-id: http://skia.googlecode.com/svn/trunk@5765
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 2 Oct 2012 12:32:22 +0000 (12:32 +0000)]
Fixed canvas creation in SampleApp
https://codereview.appspot.com/6588061/
git-svn-id: http://skia.googlecode.com/svn/trunk@5764
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 2 Oct 2012 11:47:16 +0000 (11:47 +0000)]
Fixed memory leak in bitmaprect GM
https://codereview.appspot.com/6593058/
git-svn-id: http://skia.googlecode.com/svn/trunk@5763
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Tue, 2 Oct 2012 02:01:24 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5762
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 1 Oct 2012 20:31:56 +0000 (20:31 +0000)]
retool so we don't need to call SkCanvas::setDevice
Review URL: https://codereview.appspot.com/6591054
git-svn-id: http://skia.googlecode.com/svn/trunk@5759
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Mon, 1 Oct 2012 20:06:09 +0000 (20:06 +0000)]
Fix some bugs in our picture tools.
When doing tiled rendering in multiple threads, clone fPicture,
rather than the blank fPictureClones. Also fix a precedence
problem so we get the correct rectangle.
In render_pictures_main, call PictureRenderer::setup().
Review URL: https://codereview.appspot.com/6585055
git-svn-id: http://skia.googlecode.com/svn/trunk@5758
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 1 Oct 2012 19:06:57 +0000 (19:06 +0000)]
Move android gl files from src/gpu/android to src/gpu/gl/android.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6590051
git-svn-id: http://skia.googlecode.com/svn/trunk@5757
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 1 Oct 2012 19:06:09 +0000 (19:06 +0000)]
Use setDevice rather than the removed setBitmapDevice.
R=reed@google.com
Review URL: https://codereview.appspot.com/6588057
git-svn-id: http://skia.googlecode.com/svn/trunk@5756
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 1 Oct 2012 18:49:00 +0000 (18:49 +0000)]
Fix for typo in r5754
unreviewed
git-svn-id: http://skia.googlecode.com/svn/trunk@5755
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 1 Oct 2012 18:25:13 +0000 (18:25 +0000)]
Speculative render target ref/unref fixes
https://codereview.appspot.com/6592051/
git-svn-id: http://skia.googlecode.com/svn/trunk@5754
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 1 Oct 2012 18:06:05 +0000 (18:06 +0000)]
delete obsolete/unused SkGpuCanvas
git-svn-id: http://skia.googlecode.com/svn/trunk@5752
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 1 Oct 2012 17:54:05 +0000 (17:54 +0000)]
1. remove references to (deprecated) SkGpuCanvas
2. remove references to setDevice (soon to be deprecated)
Review URL: https://codereview.appspot.com/6597055
git-svn-id: http://skia.googlecode.com/svn/trunk@5751
2bbb7eff-a529-9590-31e7-
b0007b416f81
tfarina@chromium.org [Mon, 1 Oct 2012 16:39:06 +0000 (16:39 +0000)]
Add moc generated files to .gitignore.
So that git status is clean again.
R=tomhudson@google.com
Review URL: https://codereview.appspot.com/6591045
git-svn-id: http://skia.googlecode.com/svn/trunk@5750
2bbb7eff-a529-9590-31e7-
b0007b416f81
tfarina@chromium.org [Mon, 1 Oct 2012 16:14:21 +0000 (16:14 +0000)]
views: Fix a typo in SkEvent.h
WndProc is not implemented by unix/linux and does not even compile fixing the
typoe, so just remove these function declarations.
R=bsalomon@google.com
Review URL: https://codereview.appspot.com/6561062
git-svn-id: http://skia.googlecode.com/svn/trunk@5749
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 1 Oct 2012 15:39:22 +0000 (15:39 +0000)]
Change the ios sample app name.
Review URL: https://codereview.appspot.com/6597053
git-svn-id: http://skia.googlecode.com/svn/trunk@5748
2bbb7eff-a529-9590-31e7-
b0007b416f81
junov@google.com [Mon, 1 Oct 2012 15:27:14 +0000 (15:27 +0000)]
Adding virtual method to SkDeferredCanvas::NotificationClient for signaling when commands are skipped due to the skip on clear optimization.
TEST=DeferredCanvas unit test
BUG=http://code.google.com/p/chromium/issues/detail?id=116840
Review URL: https://codereview.appspot.com/6590050
git-svn-id: http://skia.googlecode.com/svn/trunk@5747
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 1 Oct 2012 14:58:57 +0000 (14:58 +0000)]
re-land removal of setBitmapDevice
git-svn-id: http://skia.googlecode.com/svn/trunk@5746
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Mon, 1 Oct 2012 14:32:51 +0000 (14:32 +0000)]
Fixed bug in drawing of large bitmaps
https://codereview.appspot.com/6595047/
git-svn-id: http://skia.googlecode.com/svn/trunk@5745
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Sun, 30 Sep 2012 21:05:15 +0000 (21:05 +0000)]
Rolling back r5732 due to Chrome Mac compiler issues
git-svn-id: http://skia.googlecode.com/svn/trunk@5744
2bbb7eff-a529-9590-31e7-
b0007b416f81
tfarina@chromium.org [Sun, 30 Sep 2012 11:30:01 +0000 (11:30 +0000)]
samplecode: Avoid temporary variables of SkString type.
Just like most of the other samples, just pass the name of the sample directly.
R=epoger@google.com
Review URL: https://codereview.appspot.com/6572047
git-svn-id: http://skia.googlecode.com/svn/trunk@5743
2bbb7eff-a529-9590-31e7-
b0007b416f81
tfarina@chromium.org [Sat, 29 Sep 2012 13:17:16 +0000 (13:17 +0000)]
debugger: Remove obsolete TODO comment.
std::string usage was already replaced by SkString.
R=chudy@google.com, tomhudson@google.com
Review URL: https://codereview.appspot.com/6596043
git-svn-id: http://skia.googlecode.com/svn/trunk@5738
2bbb7eff-a529-9590-31e7-
b0007b416f81
tfarina@chromium.org [Sat, 29 Sep 2012 12:40:30 +0000 (12:40 +0000)]
samplecode: Remove duplicated include of SkWindow.h from SampleApp.h
R=epoger@google.com
Review URL: https://codereview.appspot.com/6566051
git-svn-id: http://skia.googlecode.com/svn/trunk@5737
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Sat, 29 Sep 2012 02:01:02 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5735
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 28 Sep 2012 21:40:15 +0000 (21:40 +0000)]
Don't allow previous render target to be deleted in GrGpu::clear
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6584043
git-svn-id: http://skia.googlecode.com/svn/trunk@5734
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 28 Sep 2012 20:59:03 +0000 (20:59 +0000)]
remove setBitmapDevice -- no longer called, and is a necessary step on our way
to removing setDevice (and hopefully getDevice after that).
git-svn-id: http://skia.googlecode.com/svn/trunk@5732
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 28 Sep 2012 19:48:09 +0000 (19:48 +0000)]
in an effort to excise callers of setBitmapDevice, I think we can eliminate
the SkCanvas parameter altogether, and just put a temp one on the stack.
Review URL: https://codereview.appspot.com/6571071
git-svn-id: http://skia.googlecode.com/svn/trunk@5730
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Fri, 28 Sep 2012 19:24:13 +0000 (19:24 +0000)]
No hinting with CG should prevent outline dilation.
https://codereview.appspot.com/6568065/
Will require some rebaselines on mac.
git-svn-id: http://skia.googlecode.com/svn/trunk@5728
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Fri, 28 Sep 2012 19:09:23 +0000 (19:09 +0000)]
remove call to setBitmapDevice (DEPRECATED)
git-svn-id: http://skia.googlecode.com/svn/trunk@5727
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 28 Sep 2012 18:33:11 +0000 (18:33 +0000)]
Disable thumb on IOS. This removes one of XCodes complaints about the generated projects.
R=caryclark@google.com
Review URL: https://codereview.appspot.com/6561072
git-svn-id: http://skia.googlecode.com/svn/trunk@5726
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 28 Sep 2012 18:06:49 +0000 (18:06 +0000)]
Update Ganesh to support fractional rects in drawBitmapRect
https://codereview.appspot.com/6561070/
git-svn-id: http://skia.googlecode.com/svn/trunk@5724
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Fri, 28 Sep 2012 17:24:44 +0000 (17:24 +0000)]
Added additional case to GM:drawbitmapmatrix
https://codereview.appspot.com/6573067/
This require re-baselining of all drawbitmapmatrix images!
git-svn-id: http://skia.googlecode.com/svn/trunk@5723
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 28 Sep 2012 16:56:28 +0000 (16:56 +0000)]
Make gpu work in iOS SampleApp.
This includes updates to the GrGLInterface and changes to the DeviceManager subclass used on iOS.
Review URL: https://codereview.appspot.com/6582043
git-svn-id: http://skia.googlecode.com/svn/trunk@5722
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Fri, 28 Sep 2012 02:01:16 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5721
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Thu, 27 Sep 2012 21:57:45 +0000 (21:57 +0000)]
Fix recursive GPU processing for SkImageFilter. Plumb through the
SkImageFilter::Proxy parameter to the GPU recursion path. Extract
DeviceImageFilterProxy from SkCanvas.cpp into its own .h, and rename it.
https://codereview.appspot.com/6575059/
git-svn-id: http://skia.googlecode.com/svn/trunk@5720
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 27 Sep 2012 21:22:56 +0000 (21:22 +0000)]
fix win-only change (canvas -> rasterCanvas)
git-svn-id: http://skia.googlecode.com/svn/trunk@5719
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 27 Sep 2012 21:09:30 +0000 (21:09 +0000)]
doh(2) fix the other typo
git-svn-id: http://skia.googlecode.com/svn/trunk@5718
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 27 Sep 2012 21:03:49 +0000 (21:03 +0000)]
doh, fix typo
git-svn-id: http://skia.googlecode.com/svn/trunk@5717
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 27 Sep 2012 20:58:01 +0000 (20:58 +0000)]
eliminate (unused) extra param to update(), and thereby remove (bad bad bad) setBitmapDevice call.
git-svn-id: http://skia.googlecode.com/svn/trunk@5716
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 27 Sep 2012 20:31:31 +0000 (20:31 +0000)]
remove call to setBitmapDevice (deprecated).
Review URL: https://codereview.appspot.com/6569070
git-svn-id: http://skia.googlecode.com/svn/trunk@5715
2bbb7eff-a529-9590-31e7-
b0007b416f81
edisonn@google.com [Thu, 27 Sep 2012 18:37:16 +0000 (18:37 +0000)]
force rebuild
git-svn-id: http://skia.googlecode.com/svn/trunk@5714
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 27 Sep 2012 16:04:54 +0000 (16:04 +0000)]
Make SampleApp work on iPhone/iOS simulator.
Several parts to this:
1) The DeviceManager subclass for iOS was rewritten because the base class
changed.
2) Two old samples that rely on hardcoded paths to images are deleted. They hit
assertions in SkImageRef. No one has the required images to run these anyway.
3) argv must be non-NULL.
4) The UI delegate must not be loaded from the NIB for viewDidLoad ordering
reasons. So I removed an IBOutlet link from the window to the splitview
controller in the iPad's NIB file. The split view is attached by the AppDelegate
programmatically.
This doesn't make GPU work. That will come in a later change.
Review URL: https://codereview.appspot.com/6561056/
git-svn-id: http://skia.googlecode.com/svn/trunk@5712
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 27 Sep 2012 15:46:45 +0000 (15:46 +0000)]
allow chrome to use old drawBitmapRect beahvior for now, using SK_SUPPORT_INT_SRCRECT_DRAWBITMAPRECT
git-svn-id: http://skia.googlecode.com/svn/trunk@5710
2bbb7eff-a529-9590-31e7-
b0007b416f81
tfarina@chromium.org [Thu, 27 Sep 2012 13:44:57 +0000 (13:44 +0000)]
Remove deprecated SkOSWindow_wxwidgets.h
It seems we never really supported WxWidgets.
R=bsalomon@google.com
Review URL: https://codereview.appspot.com/6569062
git-svn-id: http://skia.googlecode.com/svn/trunk@5708
2bbb7eff-a529-9590-31e7-
b0007b416f81
fmalita@google.com [Thu, 27 Sep 2012 13:34:34 +0000 (13:34 +0000)]
Generate debugger MOCs on the fly
Added gyp rules to generate Qt MOC files at build time, and removed the pre-packaged versions.
Tested on Mac with Qt 4.6.4 & 4.8.3, and on Linux with Qt 4.8.1.
R=caryclark@google.com,robertphillips@google.com,djsollen@google.com
BUG=
Review URL: https://codereview.appspot.com/6561054
git-svn-id: http://skia.googlecode.com/svn/trunk@5707
2bbb7eff-a529-9590-31e7-
b0007b416f81
fmalita@google.com [Thu, 27 Sep 2012 13:09:58 +0000 (13:09 +0000)]
Pinspect and bench_pictures are crashing when invoked with no arguments.
R=reed@google.com,scroggo@google.com
BUG=
Review URL: https://codereview.appspot.com/6575052
git-svn-id: http://skia.googlecode.com/svn/trunk@5706
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Thu, 27 Sep 2012 02:01:04 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5705
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Wed, 26 Sep 2012 19:16:54 +0000 (19:16 +0000)]
Load more fonts on Linux.
https://codereview.appspot.com/6569061/
git-svn-id: http://skia.googlecode.com/svn/trunk@5704
2bbb7eff-a529-9590-31e7-
b0007b416f81
tfarina@chromium.org [Wed, 26 Sep 2012 18:43:02 +0000 (18:43 +0000)]
samplecode: Remove executable bit from SampleTextureDomain.cpp
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6570056
git-svn-id: http://skia.googlecode.com/svn/trunk@5703
2bbb7eff-a529-9590-31e7-
b0007b416f81
fmalita@google.com [Wed, 26 Sep 2012 18:32:58 +0000 (18:32 +0000)]
Fix Xcode 4.x debugger build
Adding a mac_framework_dirs entry to help Xcode find the Qt frameworks.
R=djsollen@google.com
BUG=
Review URL: https://codereview.appspot.com/6564056
git-svn-id: http://skia.googlecode.com/svn/trunk@5702
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 26 Sep 2012 18:04:51 +0000 (18:04 +0000)]
Added Qt 4.8.3 moc files for the debugger
http://codereview.appspot.com/6570055/
git-svn-id: http://skia.googlecode.com/svn/trunk@5701
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Wed, 26 Sep 2012 17:58:27 +0000 (17:58 +0000)]
remove precompiled header option for ios
unreviewed
git-svn-id: http://skia.googlecode.com/svn/trunk@5700
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 26 Sep 2012 17:28:25 +0000 (17:28 +0000)]
Remove memcpy/memcmp from GrDrawState. Hopefully, this fixes Issue 912 without regressing performance.
Review URL: https://codereview.appspot.com/6571059
git-svn-id: http://skia.googlecode.com/svn/trunk@5697
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Wed, 26 Sep 2012 16:25:22 +0000 (16:25 +0000)]
Fix update-doxygen (again)
Bash trickery to find the script directory did not work, but we can just use
"trunk/tools" since trunk gets checked out into $DOXYGEN_TEMPDIR.
Review URL: https://codereview.appspot.com/6573055
git-svn-id: http://skia.googlecode.com/svn/trunk@5696
2bbb7eff-a529-9590-31e7-
b0007b416f81
borenet@google.com [Wed, 26 Sep 2012 16:09:43 +0000 (16:09 +0000)]
Fix update-doxygen, which fails when skia-autogen is reset
static_footer.txt was removed from skia/docs in r2837, but update-doxygen.sh
requires it to exist in skia-autogen. If skia-autogen is cleared (frequently),
then static_footer.txt can't be found. Add it back to trunk/tools and manually
copy it if needed.
Review URL: https://codereview.appspot.com/6568054
git-svn-id: http://skia.googlecode.com/svn/trunk@5694
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Wed, 26 Sep 2012 15:48:43 +0000 (15:48 +0000)]
move the xcode setup for SYMROOT to the outermost level
Review URL: https://codereview.appspot.com/6576050
git-svn-id: http://skia.googlecode.com/svn/trunk@5693
2bbb7eff-a529-9590-31e7-
b0007b416f81
tfarina@chromium.org [Wed, 26 Sep 2012 15:41:42 +0000 (15:41 +0000)]
gm: Include system_preferences.h in mac file.
This fixes the FIXME in there.
R=epoger@google.com
Review URL: https://codereview.appspot.com/6576049
git-svn-id: http://skia.googlecode.com/svn/trunk@5692
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 26 Sep 2012 15:28:04 +0000 (15:28 +0000)]
Disable memory intensive drawBitmapRectToRect tests on Android
http://codereview.appspot.com/6567052/
git-svn-id: http://skia.googlecode.com/svn/trunk@5691
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 26 Sep 2012 13:44:13 +0000 (13:44 +0000)]
remove uses of setBitmapDevice (DEPRECATED)
git-svn-id: http://skia.googlecode.com/svn/trunk@5689
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Wed, 26 Sep 2012 13:10:19 +0000 (13:10 +0000)]
Added more drawBitmapRectToRect tests
http://codereview.appspot.com/6564053/
git-svn-id: http://skia.googlecode.com/svn/trunk@5688
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 26 Sep 2012 13:08:56 +0000 (13:08 +0000)]
Suppress some warnings on linux.
R=reed@google.com
Review URL: https://codereview.appspot.com/6572046
git-svn-id: http://skia.googlecode.com/svn/trunk@5687
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Wed, 26 Sep 2012 13:02:37 +0000 (13:02 +0000)]
add simple ios app
update ios flavor of sample app
fix utils.gyp for ios
git-svn-id: http://skia.googlecode.com/svn/trunk@5686
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Wed, 26 Sep 2012 13:00:03 +0000 (13:00 +0000)]
shape ops -- update gyp projects
goodbye cruel world (updating to OS X 10.8)
git-svn-id: http://skia.googlecode.com/svn/trunk@5685
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Wed, 26 Sep 2012 03:10:09 +0000 (03:10 +0000)]
re-land 5681, but just the gyp file I wanted
git-svn-id: http://skia.googlecode.com/svn/trunk@5683
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Wed, 26 Sep 2012 03:08:16 +0000 (03:08 +0000)]
revert 5681
git-svn-id: http://skia.googlecode.com/svn/trunk@5682
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Wed, 26 Sep 2012 03:06:55 +0000 (03:06 +0000)]
remove SampleXfermodes.cpp (obsolete, as we have it as a GM)
git-svn-id: http://skia.googlecode.com/svn/trunk@5681
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Wed, 26 Sep 2012 02:45:10 +0000 (02:45 +0000)]
SkCanvas::setDevice() must die, and so we begin by removing our own
references to setBitmapDevice() (gotta walk before we can run)
git-svn-id: http://skia.googlecode.com/svn/trunk@5680
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Wed, 26 Sep 2012 02:24:45 +0000 (02:24 +0000)]
add getMetaData() to SkCanvas (as part of our master plan to remove
subclasses of SkCanvas and SkDevice from our clients.
git-svn-id: http://skia.googlecode.com/svn/trunk@5679
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Wed, 26 Sep 2012 02:01:18 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5678
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Tue, 25 Sep 2012 20:38:28 +0000 (20:38 +0000)]
Vertical metrics for FreeType.
https://codereview.appspot.com/6554064/
git-svn-id: http://skia.googlecode.com/svn/trunk@5677
2bbb7eff-a529-9590-31e7-
b0007b416f81
tfarina@chromium.org [Tue, 25 Sep 2012 20:16:46 +0000 (20:16 +0000)]
Remove unused includes from skhello tool.
R=epoger@google.com
Review URL: https://codereview.appspot.com/6546063
git-svn-id: http://skia.googlecode.com/svn/trunk@5676
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 25 Sep 2012 19:55:07 +0000 (19:55 +0000)]
Fix some linux build warnings
Review URL: https://codereview.appspot.com/6571050
git-svn-id: http://skia.googlecode.com/svn/trunk@5675
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 25 Sep 2012 19:14:14 +0000 (19:14 +0000)]
Disable warning emitted in libjpg build
Review URL: https://codereview.appspot.com/6573047
git-svn-id: http://skia.googlecode.com/svn/trunk@5673
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 25 Sep 2012 18:53:17 +0000 (18:53 +0000)]
Remove GrTLList.h
https://codereview.appspot.com/6577043/
git-svn-id: http://skia.googlecode.com/svn/trunk@5670
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 25 Sep 2012 18:24:41 +0000 (18:24 +0000)]
Remove SkListWidget.cpp, which has not been compiled for 18 months
(Our very first gyp file from https://code.google.com/p/skia/source/detail?spec=svn955&r=955 already had it turned off)
Review URL: https://codereview.appspot.com/6566049
git-svn-id: http://skia.googlecode.com/svn/trunk@5668
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 25 Sep 2012 17:48:30 +0000 (17:48 +0000)]
Delete SkListView.cpp, which has been #ifdef'ed out for 4+ years
Review URL: https://codereview.appspot.com/6550062
git-svn-id: http://skia.googlecode.com/svn/trunk@5667
2bbb7eff-a529-9590-31e7-
b0007b416f81
scroggo@google.com [Tue, 25 Sep 2012 17:36:36 +0000 (17:36 +0000)]
Fix a warning in PictureBenchmark.
Forgot to change from false to NULL. False does the right thing,
but gives a warning. Fix the warning.
Review URL: https://codereview.appspot.com/6570049
git-svn-id: http://skia.googlecode.com/svn/trunk@5666
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 25 Sep 2012 15:37:50 +0000 (15:37 +0000)]
Reimplement drawBitmapRectToRect to correctly handle fraction srcRect.
The prev impl relied on drawBitmap "deducing" the destination rect by applying
the computed matrix to the bitmap's bounds. This cannot be done if the srcRect
is fractional, and therefore not representable w/ a bitmap.
The new impl computes the same matrix, but calls down to the device via drawRect
+ a bitmap_shader. This allows us to specfiy the dstRect explicitly.
The possible down-side is that we now rely on the device subclass to efficiently
handle draRect+shader, instead of calling its drawBitmap entry-point.
To give the device the chance to handle this differently, I now call through to
a new device virtual: drawBitmapRect. The default impl is to create the shader
and call drawRect, but a subclass can intercept that.
For now, the GPU override of drawBitmapRect is mimicing the old behavior (by
rounding the srcRect to an iRect). This preserves its ability to call drawBitmap
which handles very-large textures, but shows some gittering/imprecision, due to
the rounding. ... this is the same GPU behavior we have before this CL.
Review URL: https://codereview.appspot.com/6542065
git-svn-id: http://skia.googlecode.com/svn/trunk@5663
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Tue, 25 Sep 2012 14:32:42 +0000 (14:32 +0000)]
This patch adds support for optional processing of the alpha channel in
the matrix convolution filter. Test cases are added to the GM and the
bench.
NOTE: This will require rebaselining the matrixconvolution GM, so it will
likely turn the bots red until that is done.
https://codereview.appspot.com/6547049/
git-svn-id: http://skia.googlecode.com/svn/trunk@5661
2bbb7eff-a529-9590-31e7-
b0007b416f81
skia.committer@gmail.com [Tue, 25 Sep 2012 02:01:21 +0000 (02:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5656
2bbb7eff-a529-9590-31e7-
b0007b416f81
robertphillips@google.com [Tue, 25 Sep 2012 00:39:51 +0000 (00:39 +0000)]
"fix" chrome build
git-svn-id: http://skia.googlecode.com/svn/trunk@5655
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Mon, 24 Sep 2012 21:38:38 +0000 (21:38 +0000)]
fix mac builds
comment out 64 bit / mac error check
git-svn-id: http://skia.googlecode.com/svn/trunk@5654
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Mon, 24 Sep 2012 21:27:14 +0000 (21:27 +0000)]
Build fix. Unreviewed.
git-svn-id: http://skia.googlecode.com/svn/trunk@5653
2bbb7eff-a529-9590-31e7-
b0007b416f81