epoger@google.com
7495ac16c9
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
2011-06-15 19:35:50 +00:00
epoger@google.com
d33f75c7be
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
2011-06-15 18:49:21 +00:00
epoger@google.com
8a12c0430a
fix all_dependent_settings gyp bug (affected Mac only)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1603 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-15 18:20:41 +00:00
epoger@google.com
1fd56dc6e1
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
2011-06-15 18:04:58 +00:00
senorblanco@chromium.org
129b8e3237
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
2011-06-15 17:52:09 +00:00
reed@google.com
af9d9c2fc7
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
2011-06-15 17:33:29 +00:00
epoger@google.com
25e92838a9
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
2011-06-15 16:05:37 +00:00
epoger@google.com
38a9134dbc
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
2011-06-15 13:45:10 +00:00
reed@google.com
35ae8ea9be
add SkDataRef (for future use)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1588 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-14 19:18:26 +00:00
reed@google.com
c8cc60cd3a
move SkMatrix44
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1565 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 14:58:44 +00:00
reed@google.com
125002a94c
update SkMatrix44
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1559 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-09 19:13:41 +00:00
epoger@google.com
73f8399835
Define SK_CAN_USE_FLOAT in gyp build, just like Makefile build
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1557 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-09 18:51:41 +00:00
epoger@google.com
e02b68c47e
Remove SkTableMaskFilter.cpp from gyp build, because it was breaking for skia_scalar=fixed (and it was not being exercised by the old Makefile anyway)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1555 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-09 17:37:59 +00:00
epoger@google.com
5189a4e65e
add skia_scalar switch to gyp script
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1550 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-08 20:55:53 +00:00
epoger@google.com
e7ccdb3bef
revert to manually imported gyp source (from SVN externals)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1541 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-08 15:34:21 +00:00
bungeman@google.com
be9ad4e5fc
Higher resolution timers for bench.
...
http://codereview.appspot.com/4548090/
git-svn-id: http://skia.googlecode.com/svn/trunk@1534 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-07 19:16:02 +00:00
epoger@google.com
1e8e056afc
Some final cleanups leading up to The Official Switch to Gyp
...
see http://codereview.appspot.com/4580043
1. Create a single public skia.gyp file that all outside projects (Chrome,
Android, etc.) should depend on from now on. I haven't yet created targets
suitable for those projects to use, but this is where we should add them.
2. Make gyp generate its Makefiles within out/ directory, rather than polluting
directories under source control.
3. Modify trunk/Makefile to automatically run gyp_skia and then call the
generated Makefile, to ease developer transition.
git-svn-id: http://skia.googlecode.com/svn/trunk@1526 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-07 14:48:41 +00:00
epoger@google.com
f8db093daa
Make gyp_skia script use third_party/externals/gyp instead of the deprecated
...
third_party/gyp
git-svn-id: http://skia.googlecode.com/svn/trunk@1506 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-03 21:33:03 +00:00
epoger@google.com
c39f17542b
fix gm build on Mac
...
see http://codereview.appspot.com/4571044/
git-svn-id: http://skia.googlecode.com/svn/trunk@1494 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-03 17:52:12 +00:00
epoger@google.com
161933b1e1
fix bench and gm targets on Linux
...
see http://codereview.appspot.com/4530104
git-svn-id: http://skia.googlecode.com/svn/trunk@1490 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-03 17:21:21 +00:00
bungeman@google.com
55bfd45d9a
Turn off optimization on VC debug builds.
...
http://codereview.appspot.com/4568052/
git-svn-id: http://skia.googlecode.com/svn/trunk@1488 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-03 15:48:17 +00:00
epoger@google.com
0a030cde4e
fix gyp-generated xcode project files for SampleApp and other targets
...
see http://codereview.appspot.com/4515181/
git-svn-id: http://skia.googlecode.com/svn/trunk@1482 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-02 19:52:14 +00:00
bungeman@google.com
3b0a8da8a5
Add EGL context for Windows.
...
http://codereview.appspot.com/4517133/
git-svn-id: http://skia.googlecode.com/svn/trunk@1481 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-02 15:38:06 +00:00
epoger@google.com
ccdbd2c522
create GYP files for these targets: tests, gm, skhello, skimage, skdiff
...
see http://codereview.appspot.com/4536096/
git-svn-id: http://skia.googlecode.com/svn/trunk@1479 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-02 14:38:23 +00:00
senorblanco@chromium.org
907afcadfa
Add a missing include path for the linux build of utils.gyp. Remove the Linux
...
utils files from the build of views.a, since they're already being compiled into
utils.a, since it was causing unnecessary rebuilds (the same could probably be
done for linux and mac). Remove the commented-out SkImageDecoder_libpvjpeg.cpp,
which has been removed from SVN.
http://codereview.appspot.com/4532105/
git-svn-id: http://skia.googlecode.com/svn/trunk@1476 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 20:55:45 +00:00
senorblanco@chromium.org
aa73168094
Clean up the gyp files to reflect some files that were removed and/or renamed.
...
Review URL: http://codereview.appspot.com/4536098/
git-svn-id: http://skia.googlecode.com/svn/trunk@1470 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 18:28:22 +00:00
bungeman@google.com
63aab2fecb
Fixup utils.gyp.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1466 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 16:15:43 +00:00
bungeman@google.com
7a9ad1b986
Make gyp VC project debug configuration /DEBUG.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1465 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 16:14:01 +00:00
bungeman@google.com
ac2e663762
Add gyp for bench and make run on Windows. (2)
...
http://codereview.appspot.com/4528112/
git-svn-id: http://skia.googlecode.com/svn/trunk@1461 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-01 13:23:29 +00:00
bungeman@google.com
206c98ae40
Add gyp for bench and make run on Windows.
...
http://codereview.appspot.com/4528112/
git-svn-id: http://skia.googlecode.com/svn/trunk@1458 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-31 21:21:54 +00:00
epoger@google.com
51c078b12a
make this work again: ./gyp_skia && make SampleApp
...
see http://codereview.appspot.com/4517123/
git-svn-id: http://skia.googlecode.com/svn/trunk@1454 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-31 19:02:37 +00:00
epoger@google.com
ae85aea58e
split skia.gyp into separate gypfile for each source dir
...
see http://codereview.appspot.com/4527084/
Now, to build out/Debug/SampleApp on Linux, do the following:
cd trunk/gyp
rm -rf Makefile *mk *.Makefile out
./gyp_skia -fmake --ignore-environment "--toplevel-dir=$PWD" \
-Icommon.gypi "--depth=$PWD" SampleApp.gyp
make
git-svn-id: http://skia.googlecode.com/svn/trunk@1446 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-31 13:50:51 +00:00
bsalomon@google.com
271cffc77b
Add dual source blending support for proper blending with coverage.
...
Review URL: http://codereview.appspot.com/4535088/
git-svn-id: http://skia.googlecode.com/svn/trunk@1390 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-20 14:13:56 +00:00
senorblanco@chromium.org
64cc579efa
The plain Makefile was using -Wall, but the gyp build wasn't. This CL turns on
...
-Wall -Wextra and -Wno-unused in common.gypi. This revealed a lot of warnings
(and some actual bugs), all of which I fixed here. This is pretty mindless
stuff for the most part (order of intialization, missing initializers, && within
||, etc), but will allow us to build cleanly with -Wall and -Wextra (and
-Werror, if we so choose).
I put defaults into switches that were missing cases. I could put in the actual
missing enums instead if that's desired. I could also assert on missing enums
instead of break, if that's desired. I wasn't sure how to test the stuff in
"animator", so that should be looked at a bit more closely.
Review URL: http://codereview.appspot.com/4547055/
git-svn-id: http://skia.googlecode.com/svn/trunk@1386 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-19 19:58:58 +00:00
bungeman@google.com
9e0f2ee033
Add build for unix to gyp.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1385 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-19 19:02:20 +00:00
bungeman@google.com
71ff02c8ef
Add unix and mesa GL files to gyp.
...
http://codereview.appspot.com/4545055/
git-svn-id: http://skia.googlecode.com/svn/trunk@1383 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-19 18:04:48 +00:00
bsalomon@google.com
c386b8752b
Fix windows build (missing SkFontHost.cpp)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1377 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-19 14:39:57 +00:00
junov@google.com
d31cbc4650
Removing remnants of GrGLEffect.
...
Bug: http://code.google.com/p/skia/issues/detail?id=264
Code review: http://codereview.appspot.com/4517073/
git-svn-id: http://skia.googlecode.com/svn/trunk@1350 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-17 17:01:17 +00:00
junov@google.com
8af476a7dc
Fixed typo in skia.gyp
...
-This line, and those below, will be ignored--
M gyp/skia.gyp
git-svn-id: http://skia.googlecode.com/svn/trunk@1349 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-17 16:00:46 +00:00
junov@google.com
869d6d9f4d
Adding a test to sampleapp for texture domain
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1347 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-17 15:47:10 +00:00
reed@google.com
852fa0fafa
remove dead files
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1338 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-16 19:15:16 +00:00
junov@google.com
6acc9b3d2b
Fixed color bleeding issue when drawing a sub region of a bitmap with filtering enabled.
...
Problem was resolved by adding the notion of a custom texture domain in generated shaders, when necessary.
git-svn-id: http://skia.googlecode.com/svn/trunk@1337 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-16 18:32:07 +00:00
senorblanco@chromium.org
92e0f222fb
Edge antialiasing for convex shapes in Ganesh
...
This patch implements edge antialiasing for convex shapes, using the fragment
shader to compare against the edge equations for each triangle. Currently, it
only works for flat shaded primitives (i.e., it was not integrated into the
"active stages" path). The skia.gyp changes cause this code to be compiled into
SampleApp, but do not enable the tesselated path by default.
Notes: the SkOSWindow_Unix.cpp change is to silence a valgrind warning about
memcpy() with overlapping regions. The GrBinHashKey change is to avoid running
a two-pass hash (GrProgramDesc is now 52 bytes or so, exceeding the 32 byte
default size).
Review URL: http://codereview.appspot.com/4519054/
git-svn-id: http://skia.googlecode.com/svn/trunk@1314 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-12 15:49:15 +00:00
Scroggo
97c88c255c
Add color filters to gpu path.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1297 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-11 14:05:25 +00:00
bsalomon@google.com
fc29629525
Replace GrStringBuilder with SkString. First step in cleaning up the shader generator. Slight performance hit when creating a new shader (<10% of total shader gen time on my Windows box is spent in building our string before handing it to GL). Much of this can be recovered by better usage pattern of SkString in coming revisions.
...
Review URL: http://codereview.appspot.com/4465053/
git-svn-id: http://skia.googlecode.com/svn/trunk@1266 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-06 13:53:47 +00:00
bsalomon@google.com
f871268f56
Remove GrPrintf_printf from gyp (should be using GrPrintf_skia that is already included in the skgr lib to direct GrPrintf to SkDebugf).
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1248 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-04 20:18:04 +00:00
senorblanco@chromium.org
c1587e0f45
Fix SampleApp raster path on Linux to use SK_SAMPLES_FOR_X, so pixel components
...
are in the right order (RGBA vs BGRA).
Review URL: http://codereview.appspot.com/4474043/
git-svn-id: http://skia.googlecode.com/svn/trunk@1246 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-04 18:59:38 +00:00
bsalomon@google.com
2b3579958d
update gyp file to build new files
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1225 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-05-02 20:46:48 +00:00
bsalomon@google.com
0533971c5f
Make gyp file define GR/SK debug/release flags. Remove file that breaks release build.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1211 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-04-28 21:04:06 +00:00
bsalomon@google.com
205d46067a
Move alpha-ramp AA to GrContext, detect cases when AA is applied via other methods (smooth lines, MSAA) or rect falls on integer coords and skip the alpha ramp path. Use pre-fab index buffer for alpha-ramped fill rects and stroke rects.
...
Review URL: http://codereview.appspot.com/4449047/
git-svn-id: http://skia.googlecode.com/svn/trunk@1169 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-04-25 12:43:45 +00:00