aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* rename hasValidCoordinates to isFinite (on SkRect) and reimplement for speedGravatar reed@google.com2011-12-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2811 2bbb7eff-a529-9590-31e7-b0007b416f81
* Prep for GrDrawState as a class Part 2Gravatar bsalomon@google.com2011-12-06
| | | | | | | | Review URL: http://codereview.appspot.com/5450105/ git-svn-id: http://skia.googlecode.com/svn/trunk@2810 2bbb7eff-a529-9590-31e7-b0007b416f81
* Prep #1 for making GrDrawState a classGravatar bsalomon@google.com2011-12-06
| | | | | | | | | Review URL: http://codereview.appspot.com/5437138/ git-svn-id: http://skia.googlecode.com/svn/trunk@2808 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove fConfig/fFormat union in GrTextureDescGravatar bsalomon@google.com2011-12-06
| | | | | | | Review URL: http://codereview.appspot.com/5448116/ git-svn-id: http://skia.googlecode.com/svn/trunk@2806 2bbb7eff-a529-9590-31e7-b0007b416f81
* When a bitmap is texture-backed, change SkBitmap::copyTo() to do a deepGravatar senorblanco@chromium.org2011-12-02
| | | | | | | | | | | 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
* revert 2783 -- broke debug gmGravatar reed@google.com2011-12-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2784 2bbb7eff-a529-9590-31e7-b0007b416f81
* New function SkBlitter::blitAntiRect(); specifically accelerated forGravatar tomhudson@google.com2011-12-01
| | | | | | | | supersampled antialiased clips. git-svn-id: http://skia.googlecode.com/svn/trunk@2783 2bbb7eff-a529-9590-31e7-b0007b416f81
* Doxygen configuration file, documentation and minor cleanup on blitters.Gravatar tomhudson@google.com2011-12-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2782 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix Paint == comparison on Android.Gravatar djsollen@google.com2011-12-01
| | | | | | | | | The == operator was incorrect because of Androids use of fGenerationID. This change moves the ID to the end of the paint struct and omits it from the == comparison. Review URL: http://codereview.appspot.com/5437098 git-svn-id: http://skia.googlecode.com/svn/trunk@2780 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove SkOSWindow_Win.cpp (has been replaced by SkOSWindow_win.cpp ↵Gravatar bsalomon@google.com2011-12-01
| | | | | | [lowercase w]) git-svn-id: http://skia.googlecode.com/svn/trunk@2779 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove suffixes from SK_wGL macrosGravatar bsalomon@google.com2011-12-01
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2778 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add SkWGLExtensionInterface for dealing with WGL extensionsGravatar bsalomon@google.com2011-12-01
| | | | | | Review URL: http://codereview.appspot.com/5447059 git-svn-id: http://skia.googlecode.com/svn/trunk@2777 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add support for GL_ANGLE_pack_reverse_row_orderGravatar bsalomon@google.com2011-11-30
| | | | | | | Review URL: http://codereview.appspot.com/5448063/ git-svn-id: http://skia.googlecode.com/svn/trunk@2774 2bbb7eff-a529-9590-31e7-b0007b416f81
* handle if unflattening returned a null shaderGravatar reed@google.com2011-11-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2773 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix lcd16_shader_blend mathGravatar reed@google.com2011-11-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2762 2bbb7eff-a529-9590-31e7-b0007b416f81
* enable shadermask optimization all the timeGravatar reed@google.com2011-11-30
| | | | | | | | | update gm for shadermask fix bugs in lcd_blend math git-svn-id: http://skia.googlecode.com/svn/trunk@2761 2bbb7eff-a529-9590-31e7-b0007b416f81
* [GPU] tile when large bitmap pased drawBitmap and only a small fraction is usedGravatar bsalomon@google.com2011-11-30
| | | | | | | | Review URL: http://codereview.appspot.com/5450048/ git-svn-id: http://skia.googlecode.com/svn/trunk@2760 2bbb7eff-a529-9590-31e7-b0007b416f81
* speedup AAClip::setRegion (n^2 to n)Gravatar reed@google.com2011-11-28
| | | | | | | | add bench for setRegion git-svn-id: http://skia.googlecode.com/svn/trunk@2759 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add missing return statement.Gravatar bsalomon@google.com2011-11-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2757 2bbb7eff-a529-9590-31e7-b0007b416f81
* Detect teximage2d failureGravatar bsalomon@google.com2011-11-28
| | | | | | | | Review URL: http://codereview.appspot.com/5445045/ git-svn-id: http://skia.googlecode.com/svn/trunk@2756 2bbb7eff-a529-9590-31e7-b0007b416f81
* Unroll loops in SkBlurMask for speedup on Windows (benchmarks should seeGravatar tomhudson@google.com2011-11-28
| | | | | | | | 15% on interpolated blurs, 5-10% on simple blurs). git-svn-id: http://skia.googlecode.com/svn/trunk@2755 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix copy/paste error in LCD16 masks: mask type needed to be uint16_tGravatar reed@google.com2011-11-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2754 2bbb7eff-a529-9590-31e7-b0007b416f81
* call getSaveCount inside restoreToCount, in case it goes virtual...Gravatar reed@google.com2011-11-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2752 2bbb7eff-a529-9590-31e7-b0007b416f81
* move variable declarations above goto lines, to fix warning/error aboutGravatar reed@google.com2011-11-28
| | | | | | | | skipping over them. git-svn-id: http://skia.googlecode.com/svn/trunk@2750 2bbb7eff-a529-9590-31e7-b0007b416f81
* separate declaration from impl for overrides, so we can declare some ofGravatar reed@google.com2011-11-28
| | | | | | | | | the parameters as SK_RESTRICT w/o generate a warning about a mismatch with the base class parameters (which don't mention restrict). git-svn-id: http://skia.googlecode.com/svn/trunk@2749 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix clang static analyzer errors in GrGravatar bsalomon@google.com2011-11-23
| | | | | | | Review URL: http://codereview.appspot.com/5433055/ git-svn-id: http://skia.googlecode.com/svn/trunk@2743 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix warningsGravatar bsalomon@google.com2011-11-23
| | | | | | | Review URL: http://codereview.appspot.com/5433054/ git-svn-id: http://skia.googlecode.com/svn/trunk@2741 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix mac warningsGravatar caryclark@google.com2011-11-23
| | | | | | | | | | | | | | http://codereview.appspot.com/5431053/ M include/views/SkOSWindow_Mac.h M src/utils/mac/SkNSView.mm M src/utils/mac/SkNSView.h M src/utils/mac/SkOSWindow_Mac.mm M src/utils/mac/SkSampleNSView.h git-svn-id: http://skia.googlecode.com/svn/trunk@2740 2bbb7eff-a529-9590-31e7-b0007b416f81
* improve accuracy for luminance coefficientsGravatar reed@google.com2011-11-22
| | | | | | | | rebaseline image in response to that. git-svn-id: http://skia.googlecode.com/svn/trunk@2735 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove obsolete assertGravatar reed@google.com2011-11-22
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2734 2bbb7eff-a529-9590-31e7-b0007b416f81
* [GPU] Allow kMulRGBByAlpha_InConfigFlag and kSwapRAndB_InConfigFlag to both ↵Gravatar bsalomon@google.com2011-11-22
| | | | | | | | | | be set Review URL: http://codereview.appspot.com/5433049/ git-svn-id: http://skia.googlecode.com/svn/trunk@2733 2bbb7eff-a529-9590-31e7-b0007b416f81
* store 3 bits of luminance, but (for now) discretize that in fonthost::filterecGravatar reed@google.com2011-11-22
| | | | | | | | for backward compatibility git-svn-id: http://skia.googlecode.com/svn/trunk@2732 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add fractional-radius blurs to blur benchmark.Gravatar tomhudson@google.com2011-11-22
| | | | | | | | | Specialize loops in apply_kernel and apply_kernel_interp, improving blur benchmark performance by 25%. git-svn-id: http://skia.googlecode.com/svn/trunk@2731 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove GetGammaFlag from SkFontHostGravatar reed@google.com2011-11-22
| | | | | | | | prep for retooling of gamma support git-svn-id: http://skia.googlecode.com/svn/trunk@2730 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SetFlags for command line controlGravatar caryclark@google.com2011-11-21
| | | | | | | | | | | http://codereview.appspot.com/5416047/ M include/core/SkGraphics.h M src/core/SkGraphics.cpp git-svn-id: http://skia.googlecode.com/svn/trunk@2727 2bbb7eff-a529-9590-31e7-b0007b416f81
* reorder bits and remove obsolete kForceAA experimental bitGravatar reed@google.com2011-11-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2725 2bbb7eff-a529-9590-31e7-b0007b416f81
* ensure we never change the text_encoding of the master paint, since it is usedGravatar reed@google.com2011-11-21
| | | | | | | | to interpret the text/length parameters in draw[Pos]Text. git-svn-id: http://skia.googlecode.com/svn/trunk@2724 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add support for GL_CHROMIUM_flipyGravatar bsalomon@google.com2011-11-21
| | | | | | | Review URL: http://codereview.appspot.com/5413051/ git-svn-id: http://skia.googlecode.com/svn/trunk@2723 2bbb7eff-a529-9590-31e7-b0007b416f81
* don't quickReject bitmaps if there is a looper or other possible bounds-modifierGravatar reed@google.com2011-11-21
| | | | | | | | add unittest for the above change git-svn-id: http://skia.googlecode.com/svn/trunk@2722 2bbb7eff-a529-9590-31e7-b0007b416f81
* only call FT_Get_Advance if we really want linear metricsGravatar reed@google.com2011-11-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2721 2bbb7eff-a529-9590-31e7-b0007b416f81
* assert that resources used with ctx are owned by the ctxGravatar bsalomon@google.com2011-11-19
| | | | | | | | Review URL: http://codereview.appspot.com/5398042/ git-svn-id: http://skia.googlecode.com/svn/trunk@2720 2bbb7eff-a529-9590-31e7-b0007b416f81
* Resubmit 2717 w/ fix workaround OS X GL bug.Gravatar bsalomon@google.com2011-11-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2719 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert 2717Gravatar bsalomon@google.com2011-11-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2718 2bbb7eff-a529-9590-31e7-b0007b416f81
* Recommit r2714 with clip fixGravatar bsalomon@google.com2011-11-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2717 2bbb7eff-a529-9590-31e7-b0007b416f81
* use older, slightly slower, blend math, to retain (mostly) the previous resultsGravatar reed@google.com2011-11-18
| | | | | | | | to minimize rebaselining. git-svn-id: http://skia.googlecode.com/svn/trunk@2716 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert 2714 for debugging of test failureGravatar bsalomon@google.com2011-11-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2715 2bbb7eff-a529-9590-31e7-b0007b416f81
* Write direct to RT/Tex when possible, use BGRA rather than RGBA intermediate ↵Gravatar bsalomon@google.com2011-11-18
| | | | | | | | | | | texture on ANGLE Review URL: http://codereview.appspot.com/5417046/ git-svn-id: http://skia.googlecode.com/svn/trunk@2714 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove all references to SkGlobals (obsolete)Gravatar reed@google.com2011-11-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2713 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove use of SkGlobalsGravatar reed@google.com2011-11-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2712 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove obsolete SK_USE_RUNTIME_GLOBALSGravatar reed@google.com2011-11-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2711 2bbb7eff-a529-9590-31e7-b0007b416f81