aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Adding API to GrTexture to reset cached texture parameter valuesGravatar junov@chromium.org2012-06-12
| | | | | | | | | REVIEW=http://codereview.appspot.com/6305084/ BUG=http://code.google.com/p/chromium/issues/detail?id=130925 git-svn-id: http://skia.googlecode.com/svn/trunk@4234 2bbb7eff-a529-9590-31e7-b0007b416f81
* Split GrContext's AA Rect drawing methods into helper classGravatar robertphillips@google.com2012-06-12
| | | | | | | | http://codereview.appspot.com/6300070/ git-svn-id: http://skia.googlecode.com/svn/trunk@4233 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove SK_CAN_USE_FLOAT (deprecated)Gravatar reed@google.com2012-06-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4232 2bbb7eff-a529-9590-31e7-b0007b416f81
* Disable morphology benchmarks on fixed point builds.Gravatar tomhudson@google.com2012-06-11
| | | | | | | | http://codereview.appspot.com/6300082/ git-svn-id: http://skia.googlecode.com/svn/trunk@4231 2bbb7eff-a529-9590-31e7-b0007b416f81
* Dilate & Erode benchmarks. Unlike the blur benchmarks (which testGravatar tomhudson@google.com2012-06-11
| | | | | | | | | | | Convolution), they show no improvement from unrolling the GLSL loops in src/gpu/effects/GrMorphologyEffect.cpp http://codereview.appspot.com/6299067/ git-svn-id: http://skia.googlecode.com/svn/trunk@4230 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix missing switch-statement handler (for conical gradient)Gravatar reed@google.com2012-06-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4229 2bbb7eff-a529-9590-31e7-b0007b416f81
* new baselines for new test (pathinvfill). PDF and GPU fail, so no baselines ↵Gravatar reed@google.com2012-06-11
| | | | | | for them git-svn-id: http://skia.googlecode.com/svn/trunk@4228 2bbb7eff-a529-9590-31e7-b0007b416f81
* Better fix for rev. 4214 (inverse-fill and clipping). This fix avoids changingGravatar reed@google.com2012-06-11
| | | | | | | | the actual clipping bounds, which caused tiny differences in the scan converter. Also adding a gm (which I should have the first time.) Review URL: https://codereview.appspot.com/6297073 git-svn-id: http://skia.googlecode.com/svn/trunk@4227 2bbb7eff-a529-9590-31e7-b0007b416f81
* Register Two_Point_Conical_Gradient for flattening.Gravatar scroggo@google.com2012-06-11
| | | | | | | | | Without being registered, the twopointconical GM fails when using --pipe or --serialize, since this gradient will not be flattened/unflattened. Review URL: https://codereview.appspot.com/6294060 git-svn-id: http://skia.googlecode.com/svn/trunk@4226 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix include name (masked by case insensitiviy on windows)Gravatar bsalomon@google.com2012-06-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4225 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix SkNWayCanvas cons call again.Gravatar bsalomon@google.com2012-06-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4224 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix SkNWayCanvas cons call when creating null canvas.Gravatar bsalomon@google.com2012-06-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4223 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix Fixed-Point build by changing static_assert around scalar=float to a ↵Gravatar bsalomon@google.com2012-06-11
| | | | | | runtime crash. git-svn-id: http://skia.googlecode.com/svn/trunk@4222 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add SK_API to null canvas create methodGravatar bsalomon@google.com2012-06-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4221 2bbb7eff-a529-9590-31e7-b0007b416f81
* Null canvasGravatar bsalomon@google.com2012-06-11
| | | | | | | | Review URL: http://codereview.appspot.com/6117051/ git-svn-id: http://skia.googlecode.com/svn/trunk@4220 2bbb7eff-a529-9590-31e7-b0007b416f81
* Towards NV path renderingGravatar bsalomon@google.com2012-06-11
| | | | | | | | Review URL: http://codereview.appspot.com/6302049/ git-svn-id: http://skia.googlecode.com/svn/trunk@4219 2bbb7eff-a529-9590-31e7-b0007b416f81
* Manually unroll loop in convolution (blur) - most GL drivers do, but someGravatar tomhudson@google.com2012-06-11
| | | | | | | | | | don't, and this leads to 20-30% benchmark speedup. http://codereview.appspot.com/6308057/ git-svn-id: http://skia.googlecode.com/svn/trunk@4218 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix typo: fA is dx^2 + dx^2 - dr^2, not dx^2 - dy^2 - dr^2Gravatar mike@reedtribe.org2012-06-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4217 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove glBlendEquation and glColorPointerGravatar bsalomon@google.com2012-06-08
| | | | | | | | Review URL: http://codereview.appspot.com/6300075/ git-svn-id: http://skia.googlecode.com/svn/trunk@4216 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rename the existing flatten(void*) methods.Gravatar djsollen@google.com2012-06-08
| | | | | | | | This change avoids naminc confusion with the SkFlattenable flatten methods and also changes SkPath to use the void* model instead of taking a SkReader32. Review URL: https://codereview.appspot.com/6299062 git-svn-id: http://skia.googlecode.com/svn/trunk@4215 2bbb7eff-a529-9590-31e7-b0007b416f81
* Detect inverse-fill, and treat its bounds as huge (all of integer space) for theGravatar reed@google.com2012-06-08
| | | | | | | | purposes of comparing w/ the clip-bounds, otherwise we can reject the draw if the bounds of the path are outside the bounds of the clip. Review URL: https://codereview.appspot.com/6302058 git-svn-id: http://skia.googlecode.com/svn/trunk@4214 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a tiled pipe mode to SampleApp.Gravatar scroggo@google.com2012-06-08
| | | | | | | | | | Using the "Pipe" checkbox in SamleApp, you can now toggle amongst three states: no pipe, a normal pipe (or others depending on #defines), and a tiled pipe. You can also use shift + p to toggle. Review URL: https://codereview.appspot.com/6303055 git-svn-id: http://skia.googlecode.com/svn/trunk@4213 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix for r4201 performance regression ↵Gravatar robertphillips@google.com2012-06-08
| | | | | | | | | | (http://code.google.com/p/skia/issues/detail?id=640) http://codereview.appspot.com/6299060/ git-svn-id: http://skia.googlecode.com/svn/trunk@4212 2bbb7eff-a529-9590-31e7-b0007b416f81
* Call flushMiscFixedFunctionState (D'oh!)Gravatar bsalomon@google.com2012-06-08
| | | | | | | | Review URL: http://codereview.appspot.com/6302057/ git-svn-id: http://skia.googlecode.com/svn/trunk@4211 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add SkPath::getVerbs/countVerbsGravatar bsalomon@google.com2012-06-07
| | | | | | | Review URL: http://codereview.appspot.com/6306053/ git-svn-id: http://skia.googlecode.com/svn/trunk@4209 2bbb7eff-a529-9590-31e7-b0007b416f81
* shape ops work in progressGravatar caryclark@google.com2012-06-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4208 2bbb7eff-a529-9590-31e7-b0007b416f81
* extend asAGradient for Conical type (to be implemented by PDF and XPS)Gravatar reed@google.com2012-06-07
| | | | | | Review URL: https://codereview.appspot.com/6308051 git-svn-id: http://skia.googlecode.com/svn/trunk@4207 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make SkPath::RawIter require a non-NULL pts pointer.Gravatar bsalomon@google.com2012-06-07
| | | | | | | | Review URL: http://codereview.appspot.com/6301060/ git-svn-id: http://skia.googlecode.com/svn/trunk@4206 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add the ability to specify config to GM.Gravatar scroggo@google.com2012-06-07
| | | | | | | | | | | | | Code adapted from bench. To specify a config, add -config <configName1>|<configName2> etc to the command line. To find the valid names (which can depend on flags passed in), use -h or --help. Review URL: https://codereview.appspot.com/6297053 git-svn-id: http://skia.googlecode.com/svn/trunk@4205 2bbb7eff-a529-9590-31e7-b0007b416f81
* optimize quad-root for conical gradientsGravatar reed@google.com2012-06-07
| | | | | | Review URL: https://codereview.appspot.com/6307052 git-svn-id: http://skia.googlecode.com/svn/trunk@4204 2bbb7eff-a529-9590-31e7-b0007b416f81
* add bench for conical GradientGravatar reed@google.com2012-06-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4203 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix dumb bug in checking gl interface validation against binding from gl ↵Gravatar bsalomon@google.com2012-06-07
| | | | | | version string git-svn-id: http://skia.googlecode.com/svn/trunk@4202 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move clientID into texture descGravatar robertphillips@google.com2012-06-07
| | | | | | | | http://codereview.appspot.com/6305044/ git-svn-id: http://skia.googlecode.com/svn/trunk@4201 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix the build for GM.Gravatar scroggo2012-06-06
| | | | | | | | Add src/pipe/utils as an include directory. git-svn-id: http://skia.googlecode.com/svn/trunk@4200 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add tiled rendering as an option to GM.Gravatar scroggo@google.com2012-06-06
| | | | | | | | | | | Use an SkGPipe to play back drawing into tiles. This will help us to debug differences in drawing while tiled. Pass --tiledPipe to gm to use the tiled pipe. Review URL: https://codereview.appspot.com/6295050 git-svn-id: http://skia.googlecode.com/svn/trunk@4199 2bbb7eff-a529-9590-31e7-b0007b416f81
* Search and replace change. Some Gr enum value names didn't have a "Gr" in ↵Gravatar bsalomon@google.com2012-06-06
| | | | | | | | | | | their suffix. Verbal LGTM from TomH git-svn-id: http://skia.googlecode.com/svn/trunk@4198 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add new gradient to support HTML Canvas2D two-point-radial-gradient. Ours isGravatar reed@google.com2012-06-06
| | | | | | | | | | | | called (for now at least) TwoPointConical, to distinguish it from the existing one (TwoPointRadial), and to reflect its odd behavior where it draws transparent outside the boundary of the "cone" between the two circles. This impl is unsupported by GPU and Printing at the moment, and Chrome does not yet invoke it. Review URL: https://codereview.appspot.com/6299051 git-svn-id: http://skia.googlecode.com/svn/trunk@4197 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reenable running samplerstress GM in pipe mode.Gravatar scroggo@google.com2012-06-06
| | | | | | | | | It was disabled because samplerstress did was not registered for flattening. Now that it is, do not skip it when running GM in pipe mode. Review URL: https://codereview.appspot.com/6305057 git-svn-id: http://skia.googlecode.com/svn/trunk@4196 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove gpu stats trackingGravatar bsalomon@google.com2012-06-06
| | | | | | | | Review URL: http://codereview.appspot.com/6300052/ git-svn-id: http://skia.googlecode.com/svn/trunk@4194 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix bug in GrGLInterface validation added in r4192Gravatar bsalomon@google.com2012-06-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4193 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add GL function pointers for GL_NV_path_renderingGravatar bsalomon@google.com2012-06-06
| | | | | | | | Review URL: http://codereview.appspot.com/6296046/ git-svn-id: http://skia.googlecode.com/svn/trunk@4192 2bbb7eff-a529-9590-31e7-b0007b416f81
* one more warning suppressed (make unused codeGravatar caryclark@google.com2012-06-06
| | | | | | avoid bit rot) git-svn-id: http://skia.googlecode.com/svn/trunk@4191 2bbb7eff-a529-9590-31e7-b0007b416f81
* Turn more warnings on, includingGravatar caryclark@google.com2012-06-06
| | | | | | | | | | | | - unused functions - unused locals - sign mismatch - missing function prototypes - missing newline at end of file - 64 to 32 bit truncation Review URL: https://codereview.appspot.com/6307043 git-svn-id: http://skia.googlecode.com/svn/trunk@4190 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings on Mac in src/animatorGravatar caryclark@google.com2012-06-06
| | | | | | | | | | | | | | | | | | Fix these class of warnings: - unused functions - unused locals - sign mismatch - missing function prototypes - missing newline at end of file - 64 to 32 bit truncation The changes prefer to link in dead code in the debug build with 'if (false)' than to comment it out, but trivial cases are commented out or sometimes deleted if it appears to be a copy/paste error. Review URL: https://codereview.appspot.com/6306044 git-svn-id: http://skia.googlecode.com/svn/trunk@4189 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings on Mac in benchGravatar caryclark@google.com2012-06-06
| | | | | | | | | | | | | | | | | | Fix these class of warnings: - unused functions - unused locals - sign mismatch - missing function prototypes - missing newline at end of file - 64 to 32 bit truncation The changes prefer to link in dead code in the debug build with 'if (false)' than to comment it out, but trivial cases are commented out or sometimes deleted if it appears to be a copy/paste error. Review URL: https://codereview.appspot.com/6302044 git-svn-id: http://skia.googlecode.com/svn/trunk@4188 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings on Mac in experimentalGravatar caryclark@google.com2012-06-06
| | | | | | | | | | | | | | | | | | Fix these class of warnings: - unused functions - unused locals - sign mismatch - missing function prototypes - missing newline at end of file - 64 to 32 bit truncation The changes prefer to link in dead code in the debug build with 'if (false)' than to comment it out, but trivial cases are commented out or sometimes deleted if it appears to be a copy/paste error. Review URL: https://codereview.appspot.com/6307044 git-svn-id: http://skia.googlecode.com/svn/trunk@4187 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings on Mac in miscellaneous filesGravatar caryclark@google.com2012-06-06
| | | | | | | | | | | | | | | | | | Fix these class of warnings: - unused functions - unused locals - sign mismatch - missing function prototypes - missing newline at end of file - 64 to 32 bit truncation The changes prefer to link in dead code in the debug build with 'if (false)' than to comment it out, but trivial cases are commented out or sometimes deleted if it appears to be a copy/paste error. Review URL: https://codereview.appspot.com/6305047 git-svn-id: http://skia.googlecode.com/svn/trunk@4186 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings on Mac in gmGravatar caryclark@google.com2012-06-06
| | | | | | | | | | | | | | | | | | Fix these class of warnings: - unused functions - unused locals - sign mismatch - missing function prototypes - missing newline at end of file - 64 to 32 bit truncation The changes prefer to link in dead code in the debug build with 'if (false)' than to comment it out, but trivial cases are commented out or sometimes deleted if it appears to be a copy/paste error. Review URL: https://codereview.appspot.com/6305046 git-svn-id: http://skia.googlecode.com/svn/trunk@4185 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings on Mac in src/optsGravatar caryclark@google.com2012-06-06
| | | | | | | | | | | | | | | | | | Fix these class of warnings: - unused functions - unused locals - sign mismatch - missing function prototypes - missing newline at end of file - 64 to 32 bit truncation The changes prefer to link in dead code in the debug build with 'if (false)' than to comment it out, but trivial cases are commented out or sometimes deleted if it appears to be a copy/paste error. Review URL: https://codereview.appspot.com/6303045 git-svn-id: http://skia.googlecode.com/svn/trunk@4184 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings on Mac in ssamplecodeGravatar caryclark@google.com2012-06-06
| | | | | | | | | | | | | | | | | | Fix these class of warnings: - unused functions - unused locals - sign mismatch - missing function prototypes - missing newline at end of file - 64 to 32 bit truncation The changes prefer to link in dead code in the debug build with 'if (false)' than to comment it out, but trivial cases are commented out or sometimes deleted if it appears to be a copy/paste error. Review URL: https://codereview.appspot.com/6301044 git-svn-id: http://skia.googlecode.com/svn/trunk@4183 2bbb7eff-a529-9590-31e7-b0007b416f81