Commit Graph

2749 Commits

Author SHA1 Message Date
bsalomon@google.com
9a4c389258 two loops for setting stage descs
Review URL: http://codereview.appspot.com/5486054/


git-svn-id: http://skia.googlecode.com/svn/trunk@2872 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-14 15:34:33 +00:00
bsalomon@google.com
987dbc08d8 reset cpu shadow of vertex buffer to our usual vb size
Review URL: reset cpu shadow of vertex buffer to our usual vb size



git-svn-id: http://skia.googlecode.com/svn/trunk@2871 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-14 14:44:19 +00:00
bsalomon@google.com
40d9293b62 Skip flush functions for disabled stages
Review URL: http://codereview.appspot.com/5483061



git-svn-id: http://skia.googlecode.com/svn/trunk@2870 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-13 18:40:47 +00:00
bsalomon@google.com
508824bd4b Make null gl a top level config in bench
Review URL: http://codereview.appspot.com/5484052/



git-svn-id: http://skia.googlecode.com/svn/trunk@2867 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-13 16:49:49 +00:00
epoger@google.com
0d7f5a4fb9 whitespace commit to try performance graph upload
git-svn-id: http://skia.googlecode.com/svn/trunk@2866 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-13 14:55:10 +00:00
bsalomon@google.com
6b5fdc1bcf Use a stack variable for hash computation in GrBinHashKey
Review URL: http://codereview.appspot.com/5484054/



git-svn-id: http://skia.googlecode.com/svn/trunk@2863 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-12 22:35:18 +00:00
reed@google.com
eb85630fd6 fix positioning for scalar=fixed, still need to fix actual mode
git-svn-id: http://skia.googlecode.com/svn/trunk@2862 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-12 22:15:18 +00:00
reed@google.com
eb0fa29fc4 try to make it draw correctly in fixed point
git-svn-id: http://skia.googlecode.com/svn/trunk@2860 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-12 22:01:06 +00:00
bsalomon@google.com
f864ec467d skip paint->drawstate sampler copies when there is no texture
Review URL: http://codereview.appspot.com/5484053/




git-svn-id: http://skia.googlecode.com/svn/trunk@2859 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-12 21:57:03 +00:00
reed@google.com
089130c24e check for empty glyph run and exit early if so.
git-svn-id: http://skia.googlecode.com/svn/trunk@2858 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-12 21:52:18 +00:00
epoger@google.com
3e9fbe866a whitespace commit to try performance graph upload
git-svn-id: http://skia.googlecode.com/svn/trunk@2857 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-12 21:18:20 +00:00
bsalomon@google.com
71bd1ef280 Don't update vertex/index buffer twice!
Review URL: http://codereview.appspot.com/5483053/


git-svn-id: http://skia.googlecode.com/svn/trunk@2855 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-12 20:42:26 +00:00
bsalomon@google.com
aa814fe4a1 Access sampler matrices directly, cleanup GrSamplerState::reset()s
Review URL: http://codereview.appspot.com/5488048/


git-svn-id: http://skia.googlecode.com/svn/trunk@2854 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-12 18:45:07 +00:00
bsalomon@google.com
4d4f281b28 Fix int->float conversion warning in VS2010
git-svn-id: http://skia.googlecode.com/svn/trunk@2853 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-12 18:34:01 +00:00
bsalomon@google.com
1e266f8ff2 Remove GrDrawState::setSampler, use direct access to sampler
Review URL: http://codereview.appspot.com/5476052/



git-svn-id: http://skia.googlecode.com/svn/trunk@2852 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-12 16:11:33 +00:00
bsalomon@google.com
1fadb20c50 Remove static initiazled gClampNearest in gpu backend
Review URL: http://codereview.appspot.com/5487044/


git-svn-id: http://skia.googlecode.com/svn/trunk@2851 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-12 16:10:08 +00:00
epoger@google.com
4ad7e580e0 whitespace commit to trigger windows build
git-svn-id: http://skia.googlecode.com/svn/trunk@2850 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-12-12 15:16:37 +00:00
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