reed@google.com
1ca015bd59
add bench for hairlines
...
git-svn-id: http://skia.googlecode.com/svn/trunk@6118 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-25 17:32:10 +00:00
epoger@google.com
6714ea4e4d
gyp: generate "everything" and "most" targets instead of "all"
...
"make all" at the toplevel now chains to "make everything"
BUG=http://code.google.com/p/skia/issues/detail?id=932
Review URL: https://codereview.appspot.com/6651064
git-svn-id: http://skia.googlecode.com/svn/trunk@6116 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-25 16:32:07 +00:00
bsalomon@google.com
d698f77c13
GrGLProgramStage Renaming Part 1.
...
Renamed cpp and h
s/GrGLProgramStage/GrGLEffect/
Review URL: https://codereview.appspot.com/6759054
git-svn-id: http://skia.googlecode.com/svn/trunk@6090 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-25 13:22:00 +00:00
bsalomon@google.com
6f261bed02
GrCustomStage Renaming Part 2
...
GrSamplerState member rename
GrCustomStageUnitTest rename
some comment updates
Review URL: https://codereview.appspot.com/6771043
git-svn-id: http://skia.googlecode.com/svn/trunk@6078 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-24 19:07:10 +00:00
bsalomon@google.com
a469c28c3c
CustomStage Renaming Part 1
...
Search and replace:
GrCustomStage->GrEffect
GrCustomStageTestFactory->GrEffectTestFactory
renamed the cpp/h files from customStage->effect
reordered gypi, #includes, forward decls to maintain alphabetical sort.
manually fixed up some whitespace and linewraps
deleted a commented out #include
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6758046
git-svn-id: http://skia.googlecode.com/svn/trunk@6076 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-24 18:28:34 +00:00
mike@reedtribe.org
50e4c72445
add sample to debug in fatbits mode
...
git-svn-id: http://skia.googlecode.com/svn/trunk@6024 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-22 03:59:34 +00:00
bsalomon@google.com
c6126c1828
Add a GM that tests xfermode-based color filters.
...
Review URL: https://codereview.appspot.com/6736052
git-svn-id: http://skia.googlecode.com/svn/trunk@6022 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-19 19:26:05 +00:00
robertphillips@google.com
c7a37c7bb2
Place r5997 (make arcto's convex) behind a compiler flag to delay day of reckoning with Webkit baselines
...
git-svn-id: http://skia.googlecode.com/svn/trunk@6012 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-19 01:26:18 +00:00
epoger@google.com
9c875d34ff
add a "most" target, and make it the default
...
split out of https://codereview.appspot.com/6651064/ ('gyp: generate "everything" and "most" targets instead of "all"')
tests: "make most" now works, "make" now calls "make most"
Review URL: https://codereview.appspot.com/6740045
git-svn-id: http://skia.googlecode.com/svn/trunk@5999 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-18 16:10:56 +00:00
bsalomon@google.com
b2ad101313
Make table color filter use asNewCustomStage.
...
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6713051
git-svn-id: http://skia.googlecode.com/svn/trunk@5976 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-17 15:00:32 +00:00
caryclark@google.com
1708eea54d
more pixman work in progress
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5961 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-16 12:32:33 +00:00
caryclark@google.com
c91dfe417a
shape ops work in progress
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5959 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-16 12:06:27 +00:00
scroggo@google.com
f94dd182e6
Remove an obsolete comment.
...
This comment is no longer true as of r5869.
Review URL: https://codereview.appspot.com/6701043
git-svn-id: http://skia.googlecode.com/svn/trunk@5957 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-15 18:27:25 +00:00
bungeman@google.com
b3e77940a6
Generate debugger mocs into out instead of src.
...
https://codereview.appspot.com/6674044/
git-svn-id: http://skia.googlecode.com/svn/trunk@5953 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-15 14:31:29 +00:00
tfarina@chromium.org
e5877e6d9c
Delete SkWidget.cpp, which has been #ifdef'ed out for 4+ years.
...
R=epoger@google.com
Review URL: https://codereview.appspot.com/6650055
git-svn-id: http://skia.googlecode.com/svn/trunk@5942 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-12 23:29:40 +00:00
djsollen@google.com
2d6535a91d
Remove support for building skia android apps outside of an APK.
...
Review URL: https://codereview.appspot.com/6663043
git-svn-id: http://skia.googlecode.com/svn/trunk@5936 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-12 19:44:35 +00:00
bsalomon@google.com
42316095ec
Add new GM, shadertext3. It would have revealed a bug in the GPU draw-large-text-as-path code path that was recently fixed.
...
R=reed@google.com
Review URL: https://codereview.appspot.com/6638057
git-svn-id: http://skia.googlecode.com/svn/trunk@5932 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-12 19:26:15 +00:00
senorblanco@chromium.org
8d21f6c7a9
When two or more color matrix image filters are connected together, and the non-leaf matrices do not require clamping, we can concatenate their matrices and apply them together.
...
Review URL: https://codereview.appspot.com/6489054
git-svn-id: http://skia.googlecode.com/svn/trunk@5931 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-12 19:14:06 +00:00
reed@google.com
3d407a153a
add bench for drawBitmapRectToRect
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5915 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-12 14:42:38 +00:00
borenet@google.com
b364eb6c87
Fix ANGLE build
...
Removed this in r5889.
Review URL: https://codereview.appspot.com/6651051
git-svn-id: http://skia.googlecode.com/svn/trunk@5904 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-11 19:23:46 +00:00
bsalomon@google.com
d980478e6f
Fix Qt OpenGL lib name on Windows and change the default qt_sdk var value on windows.
...
Over-the-shoulder review from robertphillips@google.com
git-svn-id: http://skia.googlecode.com/svn/trunk@5894 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-11 14:33:10 +00:00
borenet@google.com
efb1d77ad2
Build Skia as a static library
...
- Roll GYP so that we get non-thin archives on Linux
- Add merge_static_libs.py
- Add skia_core_lib target which builds core, ports, opts*, and utils
- Replace dependencies on core/ports/opts/utils with skia_core_libs
- Rename exportable libraries with "skia_"
Review URL: https://codereview.appspot.com/6619049
git-svn-id: http://skia.googlecode.com/svn/trunk@5889 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-10 19:45:51 +00:00
edisonn@google.com
8f338a3eeb
Fix build break. a cpp file was not included in the checkin list. will send to code review and check it in too
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5885 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-10 16:42:26 +00:00
edisonn@google.com
2a827e81b3
Add an SKP to PDF rendered. test_pdfs.py will be hooked up in buildbot testing later.
...
Review URL: https://codereview.appspot.com/6610056
git-svn-id: http://skia.googlecode.com/svn/trunk@5880 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-10 15:20:34 +00:00
bsalomon@google.com
41fe45b955
Add a new GM: shadertext2.
...
It tests a bitmap shader with various combinations of matrices and shader matrices. The text is drawn filled and stroked.
Review URL: https://codereview.appspot.com/6639052
git-svn-id: http://skia.googlecode.com/svn/trunk@5877 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-10 13:35:23 +00:00
caryclark@google.com
6aea33f92c
checkpoint for shape ops
...
at minimum, the unit tests in SimplyNew_Test pass
git-svn-id: http://skia.googlecode.com/svn/trunk@5860 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-09 14:11:58 +00:00
bsalomon@google.com
af84e748ce
Move setPaint from GrContext to GrDrawState.
...
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6624045
git-svn-id: http://skia.googlecode.com/svn/trunk@5823 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-05 13:23:24 +00:00
scroggo@google.com
5a7c6be72b
Add the ability to provide function pointers to SkPicture serialization
...
and deserialization for encoding and decoding bitmaps.
Remove kForceFlattenBitmapPixels_Flag, which is no longer used.
When an SkOrderedReadBuffer needs to read a bitmap, if it does not
have an image decoder, use a dummy bitmap.
In GM, add a tolerance option for color differences, used when
testing picture serialization, so it can assume two images are the
same even though PNG encoding/decoding may have resulted in small
differences.
Create dummy implementations for SkImageDecoder and SkImageEncoder
functions in SkImageDecoder_empty so that a project that does not
want to include the images project it can still build.
Allow ports to build without images project.
In Mac's image encoder, copy 4444 to 8888 before encoding.
Add SkWriter32::reservePad, to provide a pointer to write non 4 byte
aligned data, padded with zeroes.
In bench_ and render_ pictures, pass decode function to SkPicture
creation from a stream.
BUG=https://code.google.com/p/skia/issues/detail?id=842
Review URL: https://codereview.appspot.com/6551071
git-svn-id: http://skia.googlecode.com/svn/trunk@5818 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-04 21:46:08 +00:00
epoger@google.com
3fc070cfce
Change default skia_osx_sdkroot to "macosx" (suitable for Xcode 3.2.6+)
...
See https://codereview.appspot.com/6553044
BUG=https://code.google.com/p/skia/issues/detail?id=796
Review URL: https://codereview.appspot.com/6598055
git-svn-id: http://skia.googlecode.com/svn/trunk@5806 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-04 14:50:18 +00:00
robertphillips@google.com
c7e4a5a02a
Created filter command line tool
...
https://codereview.appspot.com/6595066/
git-svn-id: http://skia.googlecode.com/svn/trunk@5803 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-04 13:00:33 +00:00
bsalomon@google.com
4663822bc9
Allow Xcode to change paths to frameworks based on whether a device or simulator was selected.
...
R=caryclark@google.com
Review URL: https://codereview.appspot.com/6590068
git-svn-id: http://skia.googlecode.com/svn/trunk@5802 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-04 12:52:03 +00:00
bsalomon@google.com
c6445a17ab
Make it possible to generate the ios xcode proj by specifying only skia_os="ios" in GYP_DEFINES.
...
R=caryclark@google.com ,epoger@google.com
Review URL: https://codereview.appspot.com/6601051
git-svn-id: http://skia.googlecode.com/svn/trunk@5796 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-03 20:58:26 +00:00
reed@google.com
1ba274d9f3
revert 5794
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5795 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-03 20:40:38 +00:00
reed@google.com
4837724a7e
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
2012-10-03 20:17:22 +00:00
bsalomon@google.com
1dfe88e00a
Revert r5557 (which itself was a revert of r5433). Relands SkPathRef. Will follow with change for extra debug checks to attempt to ferret out http://www.crbug.com/148637 .
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5783 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-03 13:46:20 +00:00
robertphillips@google.com
924352685d
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
2012-10-03 13:25:13 +00:00
caryclark@google.com
5987f58036
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
2012-10-02 18:33:14 +00:00
bungeman@google.com
43b4ed5b0c
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
2012-10-02 15:42:21 +00:00
bsalomon@google.com
2b64f84b4b
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
2012-10-02 15:25:12 +00:00
bsalomon@google.com
c58b126623
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
2012-10-01 19:06:57 +00:00
reed@google.com
7ec0015ec3
delete obsolete/unused SkGpuCanvas
...
git-svn-id: http://skia.googlecode.com/svn/trunk@5752 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-10-01 18:06:05 +00:00
bsalomon@google.com
89dec58122
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
2012-09-28 18:33:11 +00:00
bsalomon@google.com
cca3c8f21b
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
2012-09-28 16:56:28 +00:00
bsalomon@google.com
230504d6b5
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
2012-09-27 16:04:54 +00:00
tfarina@chromium.org
e229e92ea5
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
2012-09-27 13:44:57 +00:00
fmalita@google.com
bacfcfb11c
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
2012-09-27 13:34:34 +00:00
fmalita@google.com
36631b99f9
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
2012-09-26 18:32:58 +00:00
caryclark@google.com
4588ce85cd
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
2012-09-26 15:48:43 +00:00
caryclark@google.com
5c83dcc371
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
2012-09-26 13:02:37 +00:00
caryclark@google.com
d312804b21
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
2012-09-26 13:00:03 +00:00