yangsu@google.com [Thu, 23 Jun 2011 22:27:30 +0000 (22:27 +0000)]
Added platform specific includes
git-svn-id: http://skia.googlecode.com/svn/trunk@1696
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 23 Jun 2011 21:48:04 +0000 (21:48 +0000)]
add copyToData() to dyanamicwstream
git-svn-id: http://skia.googlecode.com/svn/trunk@1695
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Thu, 23 Jun 2011 21:43:52 +0000 (21:43 +0000)]
Wrap SkStreams in IStreams instead of copying data around.
http://codereview.appspot.com/4630062/
git-svn-id: http://skia.googlecode.com/svn/trunk@1694
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Thu, 23 Jun 2011 21:30:35 +0000 (21:30 +0000)]
whitespace commit
git-svn-id: http://skia.googlecode.com/svn/trunk@1693
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Thu, 23 Jun 2011 20:52:37 +0000 (20:52 +0000)]
Added gm/base-MacPro-fixed
http://codereview.appspot.com/4631065
git-svn-id: http://skia.googlecode.com/svn/trunk@1691
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 23 Jun 2011 19:39:49 +0000 (19:39 +0000)]
fix mono bittest
git-svn-id: http://skia.googlecode.com/svn/trunk@1690
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Thu, 23 Jun 2011 19:34:50 +0000 (19:34 +0000)]
Allow override of skia_scalar gyp variable using GYP_DEFINES
http://codereview.appspot.com/4631061/
git-svn-id: http://skia.googlecode.com/svn/trunk@1689
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Thu, 23 Jun 2011 19:24:28 +0000 (19:24 +0000)]
Add "tools" to "make all"
git-svn-id: http://skia.googlecode.com/svn/trunk@1688
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 23 Jun 2011 15:07:04 +0000 (15:07 +0000)]
detect when our quadratic is really linear for 2-point radial, and don't
divide by zero, but rather just return -c/b
git-svn-id: http://skia.googlecode.com/svn/trunk@1684
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 23 Jun 2011 13:17:30 +0000 (13:17 +0000)]
promote embedded bitmaps for lcd16
git-svn-id: http://skia.googlecode.com/svn/trunk@1679
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Thu, 23 Jun 2011 13:14:57 +0000 (13:14 +0000)]
Update BenchGpuTimer.cpp to new interface.
http://codereview.appspot.com/4645055/
git-svn-id: http://skia.googlecode.com/svn/trunk@1678
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Wed, 22 Jun 2011 20:42:34 +0000 (20:42 +0000)]
Add image encoder/decoder for Windows.
http://codereview.appspot.com/4634078/
git-svn-id: http://skia.googlecode.com/svn/trunk@1676
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 22 Jun 2011 19:17:28 +0000 (19:17 +0000)]
add toplevel Makefile that works for Mac and Unix
http://codereview.appspot.com/4633063
git-svn-id: http://skia.googlecode.com/svn/trunk@1675
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Wed, 22 Jun 2011 17:16:35 +0000 (17:16 +0000)]
New benchmark to create many random quadratic paths.
Added to try to get a handle on the cost of CPU-side changes to GPU rendering, but probably too noisy to be useful.
git-svn-id: http://skia.googlecode.com/svn/trunk@1674
2bbb7eff-a529-9590-31e7-
b0007b416f81
Scroggo [Wed, 22 Jun 2011 13:26:56 +0000 (13:26 +0000)]
Unify handleTouch and handleClick in SampleApp.
Allow each sample to handle clicks in Android SampleApp.
Remove SampleWindow::handleTouch.
Allow an SkWindow to have multiple clicks.
Add an owner pointer to SkView::Click.
Reviewed at http://codereview.appspot.com/4643052/
git-svn-id: http://skia.googlecode.com/svn/trunk@1673
2bbb7eff-a529-9590-31e7-
b0007b416f81
caryclark@google.com [Wed, 22 Jun 2011 13:19:43 +0000 (13:19 +0000)]
Add support for 8 bits/component glyphs, to
better match the fonts produced by CoreText on OS/X.
M include/config/SkUserConfig.h
M include/core/SkMask.h
M include/core/SkScalerContext.h
M src/core/SkBlitter_ARGB32.cpp
M src/core/SkScalerContext.cpp
M src/core/SkPaint.cpp
M src/gpu/SkGrFontScaler.cpp
M src/ports/SkFontHost_mac_coretext.cpp
M src/ports/SkFontHost_mac.cpp
M gpu/include/GrTypes.h
M gpu/src/GrAtlas.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@1672
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Wed, 22 Jun 2011 05:01:28 +0000 (05:01 +0000)]
Fix more coverity defects - Uninitialized class fields.
In SkCanvas, SkBitmapCache::Entry, SkDrawLooper
CID=13440,1366,16236,14393
Review URL: http://codereview.appspot.com/4628055
git-svn-id: http://skia.googlecode.com/svn/trunk@1671
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 22 Jun 2011 01:28:17 +0000 (01:28 +0000)]
Fix copy/paste error in GrDrawTarget::AutoStateRestore::set
Review URL: http://codereview.appspot.com/4639063/
git-svn-id: http://skia.googlecode.com/svn/trunk@1670
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Tue, 21 Jun 2011 22:26:39 +0000 (22:26 +0000)]
Fix a batch of coverity defects, uninitialized class fields.
In SkClipStack::B2FIter::Clip, SkWriter32, SkClipStack::Rec, SkDeque::F2BIter, SkPDFShader::State
CID 15427,15433,15533,15532,16274,16740
Review URL: http://codereview.appspot.com/4630055
git-svn-id: http://skia.googlecode.com/svn/trunk@1669
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Tue, 21 Jun 2011 21:19:41 +0000 (21:19 +0000)]
Fix some problems detected by coverity.
- Uninitialized class member in GSCanonicalEntry and SkPDFDocument.
- Incorrect sign extension in SkPDFFont.
- Dead code in SkPDFUtils.
CID=16262,16272,16273,16275
Review URL: http://codereview.appspot.com/4659041
git-svn-id: http://skia.googlecode.com/svn/trunk@1668
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 21 Jun 2011 21:18:25 +0000 (21:18 +0000)]
fix to free a plot when purging gr font cache
Review URL: http://codereview.appspot.com/4645054/
git-svn-id: http://skia.googlecode.com/svn/trunk@1667
2bbb7eff-a529-9590-31e7-
b0007b416f81
vandebo@chromium.org [Tue, 21 Jun 2011 20:45:51 +0000 (20:45 +0000)]
Handle possibly NULL deref in comparison
Committed on behalf of groby@chromium.org
OCL=http://codereview.appspot.com/4633058/
CID=16790,16789
Review URL: http://codereview.appspot.com/4654049
git-svn-id: http://skia.googlecode.com/svn/trunk@1666
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 21 Jun 2011 20:32:12 +0000 (20:32 +0000)]
Initialize members to satisfy coverity.
Code review: http://codereview.appspot.com/4657043/
git-svn-id: http://skia.googlecode.com/svn/trunk@1665
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 21 Jun 2011 19:25:44 +0000 (19:25 +0000)]
Remove createDevice decl from SkProxyCanvas.h. Impl has already been removed in r1625.
Review URL: http://codereview.appspot.com/4654047/
git-svn-id: http://skia.googlecode.com/svn/trunk@1664
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 21 Jun 2011 19:24:00 +0000 (19:24 +0000)]
Add option in flattening to write factory names inline, as we are recording.
SkGPipe needs this, since it cannot (unlike SkPicture) see all of the factories
before it hands its data to the reader.
In this mode, the writer embedds the factory name the first time it sees it,
and then after that writes an index (referencing the fFactorySet). The reader
installs an empty array, and as it encounters names, appends them to that array
so that subsequent indices can be used to retrieve the previously named factory.
Some of the existing patheffects did not register their factory names, so those
changes are also part of this CL. Annoyingly, to register your factory using the
current scheme, it has to be in the public section of the class definition.
git-svn-id: http://skia.googlecode.com/svn/trunk@1663
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 21 Jun 2011 18:17:25 +0000 (18:17 +0000)]
Refactor GrDrawTarget vertex/index api
Review URL: http://codereview.appspot.com/4631056/
git-svn-id: http://skia.googlecode.com/svn/trunk@1662
2bbb7eff-a529-9590-31e7-
b0007b416f81
Scroggo [Tue, 21 Jun 2011 16:01:26 +0000 (16:01 +0000)]
SampleApp fixes.
On Android, delete gWindow before calling application_term, avoiding a crash
each time the app closes. Also make sure the screen is redrawn when resuming.
On Linux, delete gWindow to avoid memory leak.
In general, allow moving from sample 0 to the last sample.
Reviewed at http://codereview.appspot.com/4639060
git-svn-id: http://skia.googlecode.com/svn/trunk@1661
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 21 Jun 2011 15:43:11 +0000 (15:43 +0000)]
change string read/write to store length as full 32-bit value. This simplifies
the internal logic, and allows SkFlattenable to rely on this when distinguishing
between 0 and indices (which will soon be negative) and string-lengths.
git-svn-id: http://skia.googlecode.com/svn/trunk@1660
2bbb7eff-a529-9590-31e7-
b0007b416f81
Scroggo [Tue, 21 Jun 2011 14:44:57 +0000 (14:44 +0000)]
Add a way to save to PDF in SampleApp on Android and elsewhere.
In Android, add the PDF file to downloads, so it can be opened.
Reviewed at http://codereview.appspot.com/4638052/
git-svn-id: http://skia.googlecode.com/svn/trunk@1659
2bbb7eff-a529-9590-31e7-
b0007b416f81
yangsu@google.com [Tue, 21 Jun 2011 13:09:32 +0000 (13:09 +0000)]
Changed mac specific files to use ApplicationServices rather than Carbon
http://codereview.appspot.com/4644053/
git-svn-id: http://skia.googlecode.com/svn/trunk@1658
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 21 Jun 2011 12:19:28 +0000 (12:19 +0000)]
update dox
git-svn-id: http://skia.googlecode.com/svn/trunk@1657
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Mon, 20 Jun 2011 19:56:53 +0000 (19:56 +0000)]
Revert the changes to gyp/images.gyp in r1654, as apparently they're
necessary for gm to build correctly.
git-svn-id: http://skia.googlecode.com/svn/trunk@1655
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Mon, 20 Jun 2011 19:46:42 +0000 (19:46 +0000)]
Remove some files from views.gyp that already being compiled into utils.gyp
(already done for Linux, this change does the same for Mac and Win).
Review URL: http://codereview.appspot.com/4575044/
git-svn-id: http://skia.googlecode.com/svn/trunk@1654
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Mon, 20 Jun 2011 14:02:22 +0000 (14:02 +0000)]
whitespace commit to trigger buildbot
git-svn-id: http://skia.googlecode.com/svn/trunk@1652
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 20 Jun 2011 13:21:24 +0000 (13:21 +0000)]
disable gpu tests when scalar==fixed,
add baselines for fixedpoint strokes gm
git-svn-id: http://skia.googlecode.com/svn/trunk@1651
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 20 Jun 2011 13:06:29 +0000 (13:06 +0000)]
add mac desktop baselines for strokes gm
git-svn-id: http://skia.googlecode.com/svn/trunk@1650
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 20 Jun 2011 12:21:04 +0000 (12:21 +0000)]
add initial baselines for strokes gm
git-svn-id: http://skia.googlecode.com/svn/trunk@1649
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Sat, 18 Jun 2011 02:00:47 +0000 (02:00 +0000)]
add baselines for new test
git-svn-id: http://skia.googlecode.com/svn/trunk@1648
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Sat, 18 Jun 2011 01:56:44 +0000 (01:56 +0000)]
add strokes.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@1647
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Sat, 18 Jun 2011 01:35:18 +0000 (01:35 +0000)]
inherit from SampleView
git-svn-id: http://skia.googlecode.com/svn/trunk@1646
2bbb7eff-a529-9590-31e7-
b0007b416f81
mike@reedtribe.org [Sat, 18 Jun 2011 00:15:04 +0000 (00:15 +0000)]
add
git-svn-id: http://skia.googlecode.com/svn/trunk@1645
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Fri, 17 Jun 2011 21:00:36 +0000 (21:00 +0000)]
another whitespace commit
git-svn-id: http://skia.googlecode.com/svn/trunk@1644
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Fri, 17 Jun 2011 20:46:33 +0000 (20:46 +0000)]
whitespace commit
git-svn-id: http://skia.googlecode.com/svn/trunk@1643
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 17 Jun 2011 20:06:49 +0000 (20:06 +0000)]
Fix handling of nan when clamping number of pts in quads/cubics
Review URL: http://codereview.appspot.com/4646044/
git-svn-id: http://skia.googlecode.com/svn/trunk@1642
2bbb7eff-a529-9590-31e7-
b0007b416f81
yangsu@google.com [Fri, 17 Jun 2011 18:31:01 +0000 (18:31 +0000)]
Added FileReaderApp to experimental and it's corresponding gyp file
git-svn-id: http://skia.googlecode.com/svn/trunk@1641
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 17 Jun 2011 18:12:21 +0000 (18:12 +0000)]
Remember last successful stencil format
Review URL: http://codereview.appspot.com/4625048/
git-svn-id: http://skia.googlecode.com/svn/trunk@1640
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Fri, 17 Jun 2011 17:56:23 +0000 (17:56 +0000)]
Fix Gradient2Bench colors so that Debug bench will run.
git-svn-id: http://skia.googlecode.com/svn/trunk@1639
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 17 Jun 2011 15:56:55 +0000 (15:56 +0000)]
Fix self-assignment
Review URL: http://codereview.appspot.com/4631047/
git-svn-id: http://skia.googlecode.com/svn/trunk@1637
2bbb7eff-a529-9590-31e7-
b0007b416f81
Scroggo [Fri, 17 Jun 2011 15:17:07 +0000 (15:17 +0000)]
Remove redundant GrTouchGesture. Switch its only user to SkTouchGesture.
Review at http://codereview.appspot.com/4636045/
git-svn-id: http://skia.googlecode.com/svn/trunk@1636
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 17 Jun 2011 15:10:21 +0000 (15:10 +0000)]
Add GrRenderTexture cons for gpu dev. Remove factory from gpu device.
Review URL: http://codereview.appspot.com/4631046/
git-svn-id: http://skia.googlecode.com/svn/trunk@1634
2bbb7eff-a529-9590-31e7-
b0007b416f81
yangsu@google.com [Fri, 17 Jun 2011 15:04:40 +0000 (15:04 +0000)]
Added dependencies for SkPipe in SampleApp
Fixed SkGPipeWrite to reflect changes in SkDevice
git-svn-id: http://skia.googlecode.com/svn/trunk@1633
2bbb7eff-a529-9590-31e7-
b0007b416f81
yangsu@google.com [Fri, 17 Jun 2011 15:00:44 +0000 (15:00 +0000)]
Gyp files for Cocoa Debugger and Simple Cocoa App
http://codereview.appspot.com/4632045/
git-svn-id: http://skia.googlecode.com/svn/trunk@1632
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Fri, 17 Jun 2011 13:58:14 +0000 (13:58 +0000)]
Add graphing for multiple runs of bench.
http://codereview.appspot.com/4539087/
git-svn-id: http://skia.googlecode.com/svn/trunk@1628
2bbb7eff-a529-9590-31e7-
b0007b416f81
Scroggo [Fri, 17 Jun 2011 13:53:05 +0000 (13:53 +0000)]
Minor fixes for SampleApp.
- Add a comment for invalidating in onSizeChange.
- Call base constructor for SkOSWindow_Unix.
- Call onSizeChange in SampleWindow constructor so fZoomCenter gets set.
git-svn-id: http://skia.googlecode.com/svn/trunk@1627
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Fri, 17 Jun 2011 13:11:45 +0000 (13:11 +0000)]
-replay tests are only run if forward rendering succeeded.
-serialize tests are only run if previous test (either -replay or forward
rendering) succeeded.
The results of -replay and -serialize are compared against the output of
forward rendering.
git-svn-id: http://skia.googlecode.com/svn/trunk@1626
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Fri, 17 Jun 2011 13:10:25 +0000 (13:10 +0000)]
Add createNewCompatibleDevice. Allow devices to have a NULL factory and saveLayer will fall back on createNewCompatibleDevice.
Review URL: http://codereview.appspot.com/4633044/
git-svn-id: http://skia.googlecode.com/svn/trunk@1625
2bbb7eff-a529-9590-31e7-
b0007b416f81
Scroggo [Fri, 17 Jun 2011 12:46:17 +0000 (12:46 +0000)]
Use SkTouchGesture to handle pinch events in Android SampleApp.
http://codereview.appspot.com/4631043/
git-svn-id: http://skia.googlecode.com/svn/trunk@1624
2bbb7eff-a529-9590-31e7-
b0007b416f81
yangsu@google.com [Thu, 16 Jun 2011 21:08:19 +0000 (21:08 +0000)]
Modified Pipe Reader to read an atom at a time
http://codereview.appspot.com/4636043/
git-svn-id: http://skia.googlecode.com/svn/trunk@1623
2bbb7eff-a529-9590-31e7-
b0007b416f81
yangsu@google.com [Thu, 16 Jun 2011 20:49:55 +0000 (20:49 +0000)]
Added CocoaDebugger to experimental
git-svn-id: http://skia.googlecode.com/svn/trunk@1622
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 16 Jun 2011 19:10:39 +0000 (19:10 +0000)]
make SkDevice constructors explicit between offscreen and on/direct
http://codereview.appspot.com/4632044/
git-svn-id: http://skia.googlecode.com/svn/trunk@1620
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Thu, 16 Jun 2011 18:24:11 +0000 (18:24 +0000)]
roll back runhooks to fix production buildbot
git-svn-id: http://skia.googlecode.com/svn/trunk@1618
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Thu, 16 Jun 2011 18:19:46 +0000 (18:19 +0000)]
Add "runhooks" to run gyp step upon gclient sync, for buildbot
git-svn-id: http://skia.googlecode.com/svn/trunk@1617
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Thu, 16 Jun 2011 18:05:35 +0000 (18:05 +0000)]
First pass at improving temporary tex/rt reuse
Review URL: http://codereview.appspot.com/4625043/
git-svn-id: http://skia.googlecode.com/svn/trunk@1616
2bbb7eff-a529-9590-31e7-
b0007b416f81
Scroggo [Thu, 16 Jun 2011 15:31:26 +0000 (15:31 +0000)]
Better fix for changing the viewport in sample app.
Create a platform description and base the size on the SkWindow
in order to create a RenderTarget, which results in changing the
viewport. This allows us to use only GR calls.
In the Android sample app, fix the problem where nothing is drawn
in the first frame, and default to drawing in GL.
Reviewed at http://codereview.appspot.com/4642043/
git-svn-id: http://skia.googlecode.com/svn/trunk@1615
2bbb7eff-a529-9590-31e7-
b0007b416f81
yangsu@google.com [Thu, 16 Jun 2011 14:46:26 +0000 (14:46 +0000)]
Added SimpleCocoaApp to the experimental directory
http://codereview.appspot.com/4576059/
git-svn-id: http://skia.googlecode.com/svn/trunk@1614
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Thu, 16 Jun 2011 14:08:04 +0000 (14:08 +0000)]
Rename GrGLBug to GrGLCapability.
Default all architectures to kProbe_GrGLCapability.
Use new facilities better from GrGpuGL.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@1613
2bbb7eff-a529-9590-31e7-
b0007b416f81
Scroggo [Thu, 16 Jun 2011 14:00:15 +0000 (14:00 +0000)]
Fix the mac build of the SampleApp.
My call to glViewport breaks the mac build, but benefits the Android
and linux builds. Fix the mac build until I come up with a better
solution.
Reviewed at http://codereview.appspot.com/4628042/
git-svn-id: http://skia.googlecode.com/svn/trunk@1612
2bbb7eff-a529-9590-31e7-
b0007b416f81
Scroggo [Thu, 16 Jun 2011 13:14:21 +0000 (13:14 +0000)]
Always call notifyTextureDelete in onRelease.
Reviewed at http://codereview.appspot.com/4620050/
git-svn-id: http://skia.googlecode.com/svn/trunk@1611
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Thu, 16 Jun 2011 13:14:19 +0000 (13:14 +0000)]
add gradient_create bench, just to measure the time to create a new gradient
git-svn-id: http://skia.googlecode.com/svn/trunk@1610
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Thu, 16 Jun 2011 12:27:14 +0000 (12:27 +0000)]
remove libpng and zlib from third_party
http://codereview.appspot.com/4571077
git-svn-id: http://skia.googlecode.com/svn/trunk@1609
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Wed, 15 Jun 2011 22:00:58 +0000 (22:00 +0000)]
Put Matirx and Scalar benches into gyp.
The Matrix and Scalar benches were in the old Makefile, but did not make it into gyp.
git-svn-id: http://skia.googlecode.com/svn/trunk@1608
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 15 Jun 2011 21:17:37 +0000 (21:17 +0000)]
add tilemode options
git-svn-id: http://skia.googlecode.com/svn/trunk@1607
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Wed, 15 Jun 2011 19:41:46 +0000 (19:41 +0000)]
Avoid checking to see if a bool is less than zero.
Create a symbolic name for -1 when it means "don't know, probe at runtime".
git-svn-id: http://skia.googlecode.com/svn/trunk@1606
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 15 Jun 2011 19:35:50 +0000 (19:35 +0000)]
remove trunk/gyp/gyp_skia (it was replaced a while back by trunk/gyp_skia)
git-svn-id: http://skia.googlecode.com/svn/trunk@1605
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 15 Jun 2011 18:49:21 +0000 (18:49 +0000)]
Move PointTest.cpp out of tests/core into tests/ ; the other arrangement was
"clever" but was causing build problems.
git-svn-id: http://skia.googlecode.com/svn/trunk@1604
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 15 Jun 2011 18:20:41 +0000 (18:20 +0000)]
fix all_dependent_settings gyp bug (affected Mac only)
git-svn-id: http://skia.googlecode.com/svn/trunk@1603
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 15 Jun 2011 18:04:58 +0000 (18:04 +0000)]
Implement SkPoint::Normalize() for SK_SCALAR_IS_FIXED and add performance warning to its declaration
http://codereview.appspot.com/4582043/
git-svn-id: http://skia.googlecode.com/svn/trunk@1602
2bbb7eff-a529-9590-31e7-
b0007b416f81
senorblanco@chromium.org [Wed, 15 Jun 2011 17:52:09 +0000 (17:52 +0000)]
Implement edge AA for concave polys in the tesselated path renderer.
Review URL: http://codereview.appspot.com/4571072/
git-svn-id: http://skia.googlecode.com/svn/trunk@1600
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Wed, 15 Jun 2011 17:33:29 +0000 (17:33 +0000)]
change GC imagedecoder to use the same colorspace between image and context,
so we get reproducible, unchanged, values.
use GC imagedecoder in gyp for mac
git-svn-id: http://skia.googlecode.com/svn/trunk@1599
2bbb7eff-a529-9590-31e7-
b0007b416f81
bungeman@google.com [Wed, 15 Jun 2011 17:25:46 +0000 (17:25 +0000)]
Add information to bench output.
http://codereview.appspot.com/4602057/
git-svn-id: http://skia.googlecode.com/svn/trunk@1598
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Wed, 15 Jun 2011 16:50:27 +0000 (16:50 +0000)]
Increase compatibility with clang, mostly around SK_RESTRICT.
Attempting to fix up our use of __restrict__ so Chrome can enable it.
git-svn-id: http://skia.googlecode.com/svn/trunk@1597
2bbb7eff-a529-9590-31e7-
b0007b416f81
Scroggo [Wed, 15 Jun 2011 16:49:08 +0000 (16:49 +0000)]
Improvements to the SampleApp (primarily Android).
Reviewed at http://codereview.appspot.com/4587042/
Android
- Added buttons for interaction without a keyboard.
- Added the ability to zoom in to a specific point (roughly).
- Added event handling (for showing a slideshow, for example).
- Allow changing screen orientation
- Updated README file, explaining how to build
Multiplatform changes
- Added SampleApp header file
- Remove FPS when turning off measure FPS mode
git-svn-id: http://skia.googlecode.com/svn/trunk@1596
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 15 Jun 2011 16:05:37 +0000 (16:05 +0000)]
fix gm on Mac, and Linux buildbot build, by adding zlib source to third_party
http://codereview.appspot.com/4620047/
I will try to find a better way to keep all this working (remove zlib and
libpng from third_party)
git-svn-id: http://skia.googlecode.com/svn/trunk@1595
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Wed, 15 Jun 2011 14:00:23 +0000 (14:00 +0000)]
Set texture dirty flag only when texture has really changed
Review URL: http://codereview.appspot.com/4571073/
git-svn-id: http://skia.googlecode.com/svn/trunk@1592
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Wed, 15 Jun 2011 13:45:10 +0000 (13:45 +0000)]
add libpng source to repo and make Unix build use it
http://codereview.appspot.com/4572067
git-svn-id: http://skia.googlecode.com/svn/trunk@1591
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 14 Jun 2011 19:31:24 +0000 (19:31 +0000)]
style and warnings
git-svn-id: http://skia.googlecode.com/svn/trunk@1590
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 14 Jun 2011 19:22:21 +0000 (19:22 +0000)]
add
git-svn-id: http://skia.googlecode.com/svn/trunk@1589
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Tue, 14 Jun 2011 19:18:26 +0000 (19:18 +0000)]
add SkDataRef (for future use)
git-svn-id: http://skia.googlecode.com/svn/trunk@1588
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 14 Jun 2011 18:49:29 +0000 (18:49 +0000)]
Update mac gpu baseline for SSAA on inverse paths
git-svn-id: http://skia.googlecode.com/svn/trunk@1585
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 14 Jun 2011 18:46:24 +0000 (18:46 +0000)]
Enable SSAA on inverse filled paths
Review URL: http://codereview.appspot.com/4613044/
git-svn-id: http://skia.googlecode.com/svn/trunk@1584
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 14 Jun 2011 18:35:08 +0000 (18:35 +0000)]
delete all old (non-Gyp) buildfiles
git-svn-id: http://skia.googlecode.com/svn/trunk@1583
2bbb7eff-a529-9590-31e7-
b0007b416f81
tomhudson@google.com [Tue, 14 Jun 2011 18:16:52 +0000 (18:16 +0000)]
FBO probing at Context startup is very expensive. This patch removes the
test of whether FBOs work at all, and adds parameters to the GrGLInterface
so that values can be passed into the Context creation routines instead
of executing the probes.
The GrGLInterface now defaults to run FBO tests on Android (since hardware
varies), but assumes success on desktop and software platforms.
git-svn-id: http://skia.googlecode.com/svn/trunk@1582
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 14 Jun 2011 17:57:16 +0000 (17:57 +0000)]
delete manually-imported Gyp source
see http://codereview.appspot.com/4610045
git-svn-id: http://skia.googlecode.com/svn/trunk@1580
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 14 Jun 2011 17:20:23 +0000 (17:20 +0000)]
Updated mac baselines from gl ctx size change and new version of shadertext with txt-on-path.
git-svn-id: http://skia.googlecode.com/svn/trunk@1578
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Tue, 14 Jun 2011 17:13:22 +0000 (17:13 +0000)]
Update baselines for linux-fixed. Make shader text sample/GM work with scalar=fixed.
git-svn-id: http://skia.googlecode.com/svn/trunk@1577
2bbb7eff-a529-9590-31e7-
b0007b416f81
epoger@google.com [Tue, 14 Jun 2011 16:01:04 +0000 (16:01 +0000)]
Use automatically imported third_party/externals/gyp instead of
manually imported third_party/gyp
git-svn-id: http://skia.googlecode.com/svn/trunk@1576
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 13 Jun 2011 21:55:32 +0000 (21:55 +0000)]
Fix text-as-path with skshader on gpu
Review URL: http://codereview.appspot.com/4576057/
git-svn-id: http://skia.googlecode.com/svn/trunk@1575
2bbb7eff-a529-9590-31e7-
b0007b416f81
bsalomon@google.com [Mon, 13 Jun 2011 19:28:02 +0000 (19:28 +0000)]
uint32_t -> int for texture extents
Review URL: http://codereview.appspot.com/4584053/
git-svn-id: http://skia.googlecode.com/svn/trunk@1574
2bbb7eff-a529-9590-31e7-
b0007b416f81
Scroggo [Mon, 13 Jun 2011 19:17:58 +0000 (19:17 +0000)]
Implement timers for linux SampleApp. codereview.appspot.com/4592054/
git-svn-id: http://skia.googlecode.com/svn/trunk@1573
2bbb7eff-a529-9590-31e7-
b0007b416f81
reed@google.com [Mon, 13 Jun 2011 18:54:59 +0000 (18:54 +0000)]
drop extraneous GrPrintfs
git-svn-id: http://skia.googlecode.com/svn/trunk@1572
2bbb7eff-a529-9590-31e7-
b0007b416f81