mike@reedtribe.org
e51755fc64
add first cut at arithmetic mode
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2849 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-10 19:36:56 +00:00
bsalomon@google.com
6b20c2ded4
Fix inverse union complex clip stencil rules, skip screen filling rectangles
...
Review URL: http://codereview.appspot.com/5480054/
git-svn-id: http://skia.googlecode.com/svn/trunk@2848 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-09 21:23:46 +00:00
djsollen@google.com
59204b4813
Closing fd for mmap after mapping succeeds.
...
Review URL: http://codereview.appspot.com/5467058
git-svn-id: http://skia.googlecode.com/svn/trunk@2847 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-09 21:19:38 +00:00
bsalomon@google.com
e9f091d7cd
Use : as separator between "GM" and slide name in SampleApp. This makes it easier to jump to a GM slide using command line args on windows.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2846 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-09 19:50:48 +00:00
bsalomon@google.com
07dd2bfd74
Add support for GL_ANGLE_texture_usage
...
Review URL: http://codereview.appspot.com/5478052/
git-svn-id: http://skia.googlecode.com/svn/trunk@2845 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-09 19:40:36 +00:00
bsalomon@google.com
b1d14fd63d
use uploadTexData() to create init textures w/out data, and restore pixelstorei state on failure
...
Review URL: http://codereview.appspot.com/5467053/
git-svn-id: http://skia.googlecode.com/svn/trunk@2844 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-09 18:41:34 +00:00
bsalomon@google.com
32e4d2aa48
Add back compressed image upload (accidently removed in earlier refactor)
...
Review URL: http://codereview.appspot.com/5468043/
git-svn-id: http://skia.googlecode.com/svn/trunk@2843 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-09 16:14:25 +00:00
bsalomon@google.com
6b67e21b65
roll more changes from r2830 back in
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2842 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-09 16:10:24 +00:00
bsalomon@google.com
8f9cbd62ec
Cleanup of r2830.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2841 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-09 15:55:34 +00:00
junov@chromium.org
b6e161937b
Adding isOpaque method to skia shader classes
...
REVIEW=http://codereview.appspot.com/5451102/
TEST=unit test ShaderOpacity
git-svn-id: http://skia.googlecode.com/svn/trunk@2840 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-09 15:48:03 +00:00
reed@google.com
e23f194bf9
install drawfilter for the picture playback as well
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2839 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-08 19:36:00 +00:00
reed@google.com
0e734bdc42
revert 2826, restore option for non-dithered gradients (used by chrome)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2836 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-08 17:24:44 +00:00
reed@google.com
b1bdb2ded4
delete baselines from obsolete test
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2835 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-08 16:28:16 +00:00
reed@google.com
fdea0dfa8f
new baselines for new tests
...
- gpu fails bw and aa, so its not being added
- pdf fails aa, so its not being added
git-svn-id: http://skia.googlecode.com/svn/trunk@2834 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-08 16:26:13 +00:00
reed@google.com
a8f60f2502
change to complexclip_bw and complexclip_aa, adding more combinations as well
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2833 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-08 16:18:29 +00:00
bsalomon@google.com
3d0835b6ac
Revert 2830 and 2831.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2832 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-08 16:12:03 +00:00
bsalomon@google.com
321795e102
Fix assert
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2831 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-08 16:08:58 +00:00
bsalomon@google.com
0fec61d19c
Make GrDrawState a real class with getters and setters
...
Review URL: http://codereview.appspot.com/5448119/
git-svn-id: http://skia.googlecode.com/svn/trunk@2830 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-08 15:53:53 +00:00
djsollen@google.com
590e798617
Add missing interfaces for Android
...
Review URL: http://codereview.appspot.com/5463048
git-svn-id: http://skia.googlecode.com/svn/trunk@2829 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-08 15:07:09 +00:00
bsalomon@google.com
5194e1507d
Don't verify PMA in writePixels
...
Review URL: http://codereview.appspot.com/5454043/
git-svn-id: http://skia.googlecode.com/svn/trunk@2828 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-08 15:03:28 +00:00
tomhudson@google.com
086e5354fe
Make GrGLShaderVar objects aware of whether they are uniform, varying, or
...
attribute varibles. Extract GLSL generation enum and utility function into
new GrGLSL header.
git-svn-id: http://skia.googlecode.com/svn/trunk@2827 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-08 14:44:10 +00:00
reed@google.com
88ca1b4102
use dithered gradients by default
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2826 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-08 14:14:02 +00:00
epoger@google.com
338ef6532d
Make update-doxygen.sh upload docs to http://code.google.com/p/skia-autogen
...
(and fix mime-type propset bug)
Once this is committed, I will remove the doxygen docs from the skia repo.
Review URL: http://codereview.appspot.com/5452072
git-svn-id: http://skia.googlecode.com/svn/trunk@2824 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-07 18:52:40 +00:00
reed@google.com
982cb875f0
add SK_OVERRIDE, move subclass impls of virtuals into .cpp
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2823 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-07 18:34:08 +00:00
reed@google.com
8e6d914b87
fix win compile: sure wish SK_OVERRIDE was testable on mac build
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2821 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-07 15:30:34 +00:00
reed@google.com
7716afbb97
add SK_OVERRIDEs
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2820 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-07 15:17:50 +00:00
reed@google.com
75d939b549
add SK_OVERRIDEs, move impl of virtuals into .cpp
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2819 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-07 15:07:23 +00:00
tomhudson@google.com
da668988e9
Add method to GrGLShadeVar to create GLSL string accessing an element
...
of an array.
codereview.appspot.com/5437149/
git-svn-id: http://skia.googlecode.com/svn/trunk@2818 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-07 15:06:29 +00:00
reed@google.com
59ccef695c
add more SK_OVERRIDEs
...
update dox for SkEmptyShader
git-svn-id: http://skia.googlecode.com/svn/trunk@2817 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-07 14:59:50 +00:00
reed@google.com
43d748446a
don't specify default parameter values when overriding a method
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2816 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-07 14:46:39 +00:00
reed@google.com
b5c4101bf8
add baselines (pdf failed, so don't commit)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2815 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-06 20:53:47 +00:00
reed@google.com
cf271d878a
add baselines
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2814 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-06 20:49:27 +00:00
reed@google.com
5ae777dcad
rename sk_float_isNaN to sk_float_isnan to match related functions
...
add sk_float_isinf returning non-zero if the argument is +/- infinity
git-svn-id: http://skia.googlecode.com/svn/trunk@2813 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-06 20:18:05 +00:00
bsalomon@google.com
675c5c4303
Fix SkGLContext FBO setup for ES2
...
Review URL: http://codereview.appspot.com/5452058/
git-svn-id: http://skia.googlecode.com/svn/trunk@2812 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-06 19:54:37 +00:00
reed@google.com
1607863b60
rename hasValidCoordinates to isFinite (on SkRect) and reimplement for speed
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2811 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-06 18:56:37 +00:00
bsalomon@google.com
9791291347
Prep for GrDrawState as a class Part 2
...
Review URL: http://codereview.appspot.com/5450105/
git-svn-id: http://skia.googlecode.com/svn/trunk@2810 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-06 16:30:36 +00:00
reed@google.com
b4b49ccc41
add getBGColor() getter
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2809 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-06 16:15:42 +00:00
bsalomon@google.com
39ee0ffa72
Prep #1 for making GrDrawState a class
...
Review URL: http://codereview.appspot.com/5437138/
git-svn-id: http://skia.googlecode.com/svn/trunk@2808 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-06 15:32:52 +00:00
epoger@google.com
b0c5e078d8
Create update-doxygen script that generates and uploads docs
...
(but only causes an SVN commit if any documentation actually changed).
Review URL: http://codereview.appspot.com/5440109
git-svn-id: http://skia.googlecode.com/svn/trunk@2807 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-06 14:52:38 +00:00
bsalomon@google.com
5bc34f04fe
Remove fConfig/fFormat union in GrTextureDesc
...
Review URL: http://codereview.appspot.com/5448116/
git-svn-id: http://skia.googlecode.com/svn/trunk@2806 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-06 14:46:34 +00:00
reed@google.com
0be5eb7533
add bench for computing isfinite of 4 values (targeted for SkRect)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2805 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-05 21:53:22 +00:00
reed@google.com
c2f8e9a500
make _isnan windows specific
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2804 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-05 21:51:36 +00:00
reed@google.com
61873a59d7
add sk_float_isfinite to mask platform differences
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2803 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-05 21:47:25 +00:00
reed@google.com
d230e3e532
add test for isFinite
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2800 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-05 20:49:37 +00:00
epoger@google.com
5192b4e3c6
Add README file for base-macpro baseline images
...
Review URL: http://codereview.appspot.com/5448108
git-svn-id: http://skia.googlecode.com/svn/trunk@2797 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-05 17:02:10 +00:00
epoger@google.com
9703c07922
Remove directories of baseline images that we don't maintain
...
Also renaming "base" as "base-macpro" to be more descriptive.
I will add a base-macpro/README file in a subsequent CL (I fear what might
happen if I try to do that in the same CL as the directory rename).
Review URL: http://codereview.appspot.com/5440104
git-svn-id: http://skia.googlecode.com/svn/trunk@2796 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-05 15:56:18 +00:00
epoger@google.com
7e787316fa
Copying in all _gpu.png actual images generated by buildbots running GM.
...
Review URL: http://codereview.appspot.com/5449074
git-svn-id: http://skia.googlecode.com/svn/trunk@2795 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-05 14:06:14 +00:00
djsollen@google.com
44360bcca3
Changes to the android gyp system to build without RTTI and exceptions.
...
Review URL: http://codereview.appspot.com/5437089
git-svn-id: http://skia.googlecode.com/svn/trunk@2794 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-05 13:55:55 +00:00
senorblanco@chromium.org
ef843cdcd1
When a bitmap is texture-backed, change SkBitmap::copyTo() to do a deep
...
copy of the texels in VRAM rather than a readback and re-upload. This
gives a 3-10X speedup on recursive canvas-to-canvas draws.
N.B.: This introduces a new GM test, which will need new baselines.
git-svn-id: http://skia.googlecode.com/svn/trunk@2790 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-02 19:11:17 +00:00
epoger@google.com
c62b0f8fd0
Minor Doxyfile updates
...
BUG=404
Review URL: http://codereview.appspot.com/5434108
git-svn-id: http://skia.googlecode.com/svn/trunk@2789 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-02 17:13:36 +00:00