aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* move SkFilterShader into private headerGravatar reed@google.com2012-08-06
| | | | | | Review URL: https://codereview.appspot.com/6454107 git-svn-id: http://skia.googlecode.com/svn/trunk@4961 2bbb7eff-a529-9590-31e7-b0007b416f81
* Even when the pts are restricted to 32K values, we can still overflow computingGravatar reed@google.com2012-08-06
| | | | | | | | | | | a fixed-point coefficient for quadratics. To avoid this, we bias these coefficients, storing 1/2 of their actual value, and then apply the 2x unbias in updateQuadratic(). Fixes http://code.google.com/p/chromium/issues/detail?id=140803 Review URL: https://codereview.appspot.com/6450099 git-svn-id: http://skia.googlecode.com/svn/trunk@4960 2bbb7eff-a529-9590-31e7-b0007b416f81
* If we lose precision computing sum of the dash intervals, then we can have theGravatar reed@google.com2012-08-06
| | | | | | | | | | | | | | | same error when we subtract-in-a-loop with the phase. The result is that we can read past the end of the array. To fix this, we just pin the loop counter, and if we exhaust our intervals, we just treat the phase as 0. Not precisely the exact answer, but we aren't going to draw this dash correctly anyway, since it contains massive interval values that will be imprecise given our current float implementation. Fixes http://code.google.com/p/chromium/issues/detail?id=140642 Review URL: https://codereview.appspot.com/6458088 git-svn-id: http://skia.googlecode.com/svn/trunk@4959 2bbb7eff-a529-9590-31e7-b0007b416f81
* rm: Introduce SK_ARM_NEON_WRAP handy wrapper macro.Gravatar digit@google.com2012-08-06
| | | | | | | It is used to simplify arm/neon dispatch logic code. Review URL: https://codereview.appspot.com/6458060 git-svn-id: http://skia.googlecode.com/svn/trunk@4958 2bbb7eff-a529-9590-31e7-b0007b416f81
* add LF at the end, since this is SO important the chrome-mac build failed.Gravatar reed@google.com2012-08-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4957 2bbb7eff-a529-9590-31e7-b0007b416f81
* shape ops work in progressGravatar caryclark@google.com2012-08-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4956 2bbb7eff-a529-9590-31e7-b0007b416f81
* tie slow sort (STD) to legacy AA, so that skia can use the fast one, and so thatGravatar reed@google.com2012-08-03
| | | | | | | | when chrome disables the legacy flag, it will automatically get the faster one. git-svn-id: http://skia.googlecode.com/svn/trunk@4955 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert gpu-less mac sample app, remove busted sample (that has equivalent gm)Gravatar bsalomon@google.com2012-08-03
| | | | | | | | Review URL: https://codereview.appspot.com/6450088/ git-svn-id: http://skia.googlecode.com/svn/trunk@4954 2bbb7eff-a529-9590-31e7-b0007b416f81
* Ensure that enums used by GrCustomStage TestCreate functions are declared in ↵Gravatar bsalomon@google.com2012-08-03
| | | | | | SK_ALLOW_GLOBAL_STATIC_INITIALIZERS=0 builds (e.g. android) git-svn-id: http://skia.googlecode.com/svn/trunk@4953 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add .0 on float GLSL literals to fix GLPrograms test breakGravatar bsalomon@google.com2012-08-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4952 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add morphology, convolution, single texture, texture domain effects to new ↵Gravatar bsalomon@google.com2012-08-03
| | | | | | | | | | | unit test system Review URL: http://codereview.appspot.com/6442085/ git-svn-id: http://skia.googlecode.com/svn/trunk@4951 2bbb7eff-a529-9590-31e7-b0007b416f81
* Moved the ownership of the current clip and current matrix into the debug ↵Gravatar chudy@google.com2012-08-03
| | | | | | | | canvas as part of the upcoming general refactor to everything living in debug canvas. Review URL: https://codereview.appspot.com/6447077 git-svn-id: http://skia.googlecode.com/svn/trunk@4950 2bbb7eff-a529-9590-31e7-b0007b416f81
* shape ops work in progressGravatar caryclark@google.com2012-08-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4949 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move SK_SUPPORT_GPU checks below first #includes in case the macro is ↵Gravatar bsalomon@google.com2012-08-03
| | | | | | defined in SkUserConfig.h rather than by the build system. git-svn-id: http://skia.googlecode.com/svn/trunk@4948 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix includes files missing in release builds from GrCustomStageUnitTest.h.Gravatar bsalomon@google.com2012-08-03
| | | | | | | | | Also fix SK_SUPPORT_GPU=0 build breaks in gmmain.cpp and GLProgramsTest.cpp git-svn-id: http://skia.googlecode.com/svn/trunk@4947 2bbb7eff-a529-9590-31e7-b0007b416f81
* Registry-based unit test for custom effectsGravatar bsalomon@google.com2012-08-03
| | | | | | | | Review URL: http://codereview.appspot.com/6447085/ git-svn-id: http://skia.googlecode.com/svn/trunk@4946 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warngs by casting from float to int64_tGravatar reed@google.com2012-08-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4945 2bbb7eff-a529-9590-31e7-b0007b416f81
* --picture foo now works if foo is an image (.png, .jpeg) or a picture (.skp)Gravatar reed@google.com2012-08-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4944 2bbb7eff-a529-9590-31e7-b0007b416f81
* add debugging SkFloatToFixed_Check() which asserts that the float is in ↵Gravatar reed@google.com2012-08-03
| | | | | | range of a fixed git-svn-id: http://skia.googlecode.com/svn/trunk@4942 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add Nexus 7 baseline imagesGravatar borenet@google.com2012-08-02
| | | | | | | Diff'd against Xoom images. Review URL: https://codereview.appspot.com/6454087 git-svn-id: http://skia.googlecode.com/svn/trunk@4941 2bbb7eff-a529-9590-31e7-b0007b416f81
* Reduce usage of GrGLShaderBuilder::SamplerModeGravatar tomhudson@google.com2012-08-02
| | | | | | | | http://codereview.appspot.com/6453080/ git-svn-id: http://skia.googlecode.com/svn/trunk@4940 2bbb7eff-a529-9590-31e7-b0007b416f81
* shape ops work in progressGravatar caryclark@google.com2012-08-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4939 2bbb7eff-a529-9590-31e7-b0007b416f81
* render_pictures and bench_pictures now use a --mode parameter.Gravatar keyar@chromium.org2012-08-02
| | | | | | | | This replaces the --tile, --pipe, etc. options from before as they are mutually exclusive. Review URL: https://codereview.appspot.com/6443076 git-svn-id: http://skia.googlecode.com/svn/trunk@4930 2bbb7eff-a529-9590-31e7-b0007b416f81
* Store more behavior of SkFlatDictionary in SkFlatController.Gravatar scroggo@google.com2012-08-02
| | | | | | | | Code refactoring for simplicity. Review URL: https://codereview.appspot.com/6427046 git-svn-id: http://skia.googlecode.com/svn/trunk@4929 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move GL programs unit test code to tests project.Gravatar bsalomon@google.com2012-08-02
| | | | | | | | Review URL: http://codereview.appspot.com/6453079/ git-svn-id: http://skia.googlecode.com/svn/trunk@4927 2bbb7eff-a529-9590-31e7-b0007b416f81
* Skipping MSAA GMs on AndroidGravatar robertphillips@google.com2012-08-02
| | | | | | | | http://codereview.appspot.com/6453079/ git-svn-id: http://skia.googlecode.com/svn/trunk@4926 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixing leak of SkPixelRef object in CanvasTestGravatar junov@chromium.org2012-08-02
| | | | | | Review URL: https://codereview.appspot.com/6441095 git-svn-id: http://skia.googlecode.com/svn/trunk@4925 2bbb7eff-a529-9590-31e7-b0007b416f81
* Early out the texture key generation if there is no texture passed to the ↵Gravatar twiz@google.com2012-08-02
| | | | | | | | | GrGLShaderBuilder::keyForTextureAccess. Under normal circumstances, there will always be a passed texture. However, when running in the unit tests, CustomStages are constructed without a texture input. Review URL: https://codereview.appspot.com/6450083 git-svn-id: http://skia.googlecode.com/svn/trunk@4924 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added output of failed GMs to assist tracking errors on AndroidGravatar robertphillips@google.com2012-08-02
| | | | | | | | http://codereview.appspot.com/6452084/ git-svn-id: http://skia.googlecode.com/svn/trunk@4923 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaseline convex paths tests.Gravatar bsalomon@google.com2012-08-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4922 2bbb7eff-a529-9590-31e7-b0007b416f81
* Disable ReadWriteAlpha test on AndroidGravatar borenet@google.com2012-08-02
| | | | | | | | | Failing on Nexus 7 Bug: http://code.google.com/p/skia/issues/detail?id=753 Review URL: https://codereview.appspot.com/6455077 git-svn-id: http://skia.googlecode.com/svn/trunk@4921 2bbb7eff-a529-9590-31e7-b0007b416f81
* create inline version of setLine that assumes no clip. 10% faster for ↵Gravatar reed@google.com2012-08-02
| | | | | | | | dashing gms Review URL: https://codereview.appspot.com/6455078 git-svn-id: http://skia.googlecode.com/svn/trunk@4920 2bbb7eff-a529-9590-31e7-b0007b416f81
* Introduction of set of functions to manage generation of texture fetch ↵Gravatar twiz@google.com2012-08-02
| | | | | | | | | shader code. A new set of routines have been added to GrGLShaderBuilder to emit texture fetches, taking into consideration the format of the texture to be accessed, and the channel swizzle. Review URL: https://codereview.appspot.com/6446072 git-svn-id: http://skia.googlecode.com/svn/trunk@4919 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline after change to testGravatar reed@google.com2012-08-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4918 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix infinite recursion in cubic->quad conversion, also attempt to detect ↵Gravatar bsalomon@google.com2012-08-02
| | | | | | | | | | | | nearly flat cubics early. Review URL: http://codereview.appspot.com/6448100/ THIS WILL REQUIRE REBASELINING OF CONVEXPATHS GM. git-svn-id: http://skia.googlecode.com/svn/trunk@4917 2bbb7eff-a529-9590-31e7-b0007b416f81
* special-case edge-building for polygons (paths with only lines)Gravatar reed@google.com2012-08-02
| | | | | | | makes the dashing bench faster (from 13.4 -> 11.5 ticks) Review URL: https://codereview.appspot.com/6449080 git-svn-id: http://skia.googlecode.com/svn/trunk@4916 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline after change to the testGravatar reed@google.com2012-08-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4915 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rebaselining complexclip2* and simpleaaclip* for r4905Gravatar robertphillips@google.com2012-08-02
| | | | | | | | http://codereview.appspot.com/6443079/ git-svn-id: http://skia.googlecode.com/svn/trunk@4913 2bbb7eff-a529-9590-31e7-b0007b416f81
* Create GPU-less build of Skia.Gravatar bsalomon@google.com2012-08-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4912 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove these for now, as they are flaky (or buggy) on macproGravatar reed@google.com2012-08-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4911 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline, noting bug in msaa output for hair-curvesGravatar reed@google.com2012-08-02
| | | | | | | | http://code.google.com/p/skia/issues/detail?id=754 git-svn-id: http://skia.googlecode.com/svn/trunk@4910 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline after change to testGravatar reed@google.com2012-08-02
| | | | | | | | gpu images wrong, but known bug: need to colorize A8 bitmap git-svn-id: http://skia.googlecode.com/svn/trunk@4909 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline after change to testGravatar reed@google.com2012-08-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4908 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added check for aa/bw rect mergingGravatar robertphillips@google.com2012-08-02
| | | | | | | | http://codereview.appspot.com/6449079/ git-svn-id: http://skia.googlecode.com/svn/trunk@4907 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed oversized SkRegion bound problem for complexclip_aa GMGravatar robertphillips@google.com2012-08-02
| | | | | | | | http://codereview.appspot.com/6447076/ git-svn-id: http://skia.googlecode.com/svn/trunk@4906 2bbb7eff-a529-9590-31e7-b0007b416f81
* Translated clip GMs to increase stabilityGravatar robertphillips@google.com2012-08-02
| | | | | | | | | | http://codereview.appspot.com/6458064/ This will require rebaselining of complexclip2* & simplaaaclip* git-svn-id: http://skia.googlecode.com/svn/trunk@4905 2bbb7eff-a529-9590-31e7-b0007b416f81
* Set fReservedAlign to 0.Gravatar bungeman@google.com2012-08-02
| | | | | | | Cleans scalar context key and should fix http://code.google.com/p/chromium/issues/detail?id=140196 git-svn-id: http://skia.googlecode.com/svn/trunk@4904 2bbb7eff-a529-9590-31e7-b0007b416f81
* rebaseline after gpu changeGravatar reed@google.com2012-08-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4903 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix memory leak in gammatext GM.Gravatar scroggo@google.com2012-08-01
| | | | | | Review URL: https://codereview.appspot.com/6458055 git-svn-id: http://skia.googlecode.com/svn/trunk@4902 2bbb7eff-a529-9590-31e7-b0007b416f81
* Replace the asAFoo() functions in SkImageFilter with canFilterImageGPU() andGravatar senorblanco@chromium.org2012-08-01
| | | | | | | | | | | onFilterImageGPU() virtuals. This allows each filter to implement its own GPU processing code, even for multi-pass filters. Review URL: http://codereview.appspot.com/6449075/ git-svn-id: http://skia.googlecode.com/svn/trunk@4900 2bbb7eff-a529-9590-31e7-b0007b416f81