aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
Commit message (Collapse)AuthorAge
* 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
* 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
* use a define for the shift amount for the hinting bitsGravatar reed@google.com2011-11-21
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2726 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
* 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
* 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 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
* add SkXfermode::IsMode() and use that in SkDeviceGravatar mike@reedtribe.org2011-11-17
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2703 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make all pixel ops go thru ctx so we can correctly flush. Unify two texture ↵Gravatar bsalomon@google.com2011-11-16
| | | | | | | | | | upload code paths. Review URL: http://codereview.appspot.com/5373108/ git-svn-id: http://skia.googlecode.com/svn/trunk@2701 2bbb7eff-a529-9590-31e7-b0007b416f81
* This change makes SkImageFilter and SkBlurImageFilter flattenable/unflattenable.Gravatar senorblanco@chromium.org2011-11-16
| | | | | | | | | The imageblur test also needed to stop calling getDeviceSize(), since it was returning 99999x99999 for the SkPicture case. git-svn-id: http://skia.googlecode.com/svn/trunk@2699 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add paging support for handle based typefaces.Gravatar bungeman@google.com2011-11-15
| | | | | | | | http://codereview.appspot.com/5379043/ http://codereview.appspot.com/5364052/ git-svn-id: http://skia.googlecode.com/svn/trunk@2693 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add getContext to GrResouceGravatar bsalomon@google.com2011-11-15
| | | | | | | | http://codereview.appspot.com/5373106/ git-svn-id: http://skia.googlecode.com/svn/trunk@2688 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove allocated size vs content size in texturesGravatar bsalomon@google.com2011-11-15
| | | | | | | | Review URL: http://codereview.appspot.com/5373100/ git-svn-id: http://skia.googlecode.com/svn/trunk@2687 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove GL functions only used in fixed pipeGravatar bsalomon@google.com2011-11-14
| | | | | | | | Review URL: http://codereview.appspot.com/5374084/ git-svn-id: http://skia.googlecode.com/svn/trunk@2681 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove GrGpuGLFixed subclass and ES1 supportGravatar bsalomon@google.com2011-11-14
| | | | | | | Review URL: http://codereview.appspot.com/5376094/ git-svn-id: http://skia.googlecode.com/svn/trunk@2678 2bbb7eff-a529-9590-31e7-b0007b416f81
* land http://codereview.appspot.com/5244058/ - add matrix to SkViewGravatar reed@google.com2011-11-11
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2670 2bbb7eff-a529-9590-31e7-b0007b416f81
* Do writepixels alpha-premul using gpuGravatar bsalomon@google.com2011-11-11
| | | | | | | | Review URL: http://codereview.appspot.com/5373064/ git-svn-id: http://skia.googlecode.com/svn/trunk@2668 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add default param to SkDevice::writePixels b/c WK is relying on old ↵Gravatar bsalomon@google.com2011-11-10
| | | | | | signature. (Function will be made protected once WK calls the Canvas version) git-svn-id: http://skia.googlecode.com/svn/trunk@2666 2bbb7eff-a529-9590-31e7-b0007b416f81
* Filter out draws to non-PMA configs that won't blend correctlyGravatar bsalomon@google.com2011-11-10
| | | | | | | Review URL: http://codereview.appspot.com/5376059/ git-svn-id: http://skia.googlecode.com/svn/trunk@2665 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add config8888 support to writePixelsGravatar bsalomon@google.com2011-11-10
| | | | | | | | Review URL: http://codereview.appspot.com/5374052/ git-svn-id: http://skia.googlecode.com/svn/trunk@2662 2bbb7eff-a529-9590-31e7-b0007b416f81
* have paint's measure calls respect verticalGravatar reed@google.com2011-11-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2660 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix convert to bool warning in VSGravatar bsalomon@google.com2011-11-10
| | | | | | | | http://codereview.appspot.com/5371051/ git-svn-id: http://skia.googlecode.com/svn/trunk@2658 2bbb7eff-a529-9590-31e7-b0007b416f81
* add vertical-text bit to paint (not supported yet)Gravatar reed@google.com2011-11-10
| | | | | | | | check-point for using freetype on mac (not enabled yet) git-svn-id: http://skia.googlecode.com/svn/trunk@2657 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add support for GL_EXT_unpack_subimageGravatar bsalomon@google.com2011-11-10
| | | | | | | | Review URL: http://codereview.appspot.com/5359048/ git-svn-id: http://skia.googlecode.com/svn/trunk@2654 2bbb7eff-a529-9590-31e7-b0007b416f81
* Speed up GrDrawState handling.Gravatar tomhudson@google.com2011-11-09
| | | | | | | | | | | | | | | | Compact GrDrawState and nested structs; dynamically only copy and compare the fields actually active on the structs in question. Yields 10-20% speedup of text benchmarks in GPU configuration. Could probably get additional marginal speedup by ignoring unused kernel fields. Has some fragile constructs: pointer math on members to compute sizes of portions of structs. Removes fields necessary for GrTesselatedPathRenderer. git-svn-id: http://skia.googlecode.com/svn/trunk@2644 2bbb7eff-a529-9590-31e7-b0007b416f81
* Implement Gaussian blurs for images. The caller creates an anGravatar senorblanco@chromium.org2011-11-09
| | | | | | | | | | | | | | | | | | SkBlurImageFilter, sets it on an SkPaint, passes that paint to saveLayer(), draws the primitives which are to be blurred, then calls restore(), which applies the blur. The blurs have separate sizes in the horizontal and vertical direction. This feature is GPU-only for now. NB: Due to the clipping change, there are slight pixel differences on the blurs_gpu and shadows_gpu tests, so those will require rebaselining on all platforms, as will some of the WebKit layout tests (TBD). Review URL: http://codereview.appspot.com/5322068/ git-svn-id: http://skia.googlecode.com/svn/trunk@2643 2bbb7eff-a529-9590-31e7-b0007b416f81
* use new PurgeFontCache() apiGravatar reed@google.com2011-11-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2633 2bbb7eff-a529-9590-31e7-b0007b416f81
* When GL_RGBA readPixels are slow do swizzle using a draw then readPixels ↵Gravatar bsalomon@google.com2011-11-08
| | | | | | | | | with GL_BGRA Review URL: http://codereview.appspot.com/5339051/ git-svn-id: http://skia.googlecode.com/svn/trunk@2631 2bbb7eff-a529-9590-31e7-b0007b416f81
* Update files to use SK_BUILD_FOR_ANDROID.Gravatar djsollen@google.com2011-11-08
| | | | | | | | This CL also removes any unecessary references to the ANDROID definition. Review URL: http://codereview.appspot.com/5354049 git-svn-id: http://skia.googlecode.com/svn/trunk@2629 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix prev. change for __OpenBSD__Gravatar reed@google.com2011-11-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2628 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove old and GL-specific defines from GrUserConfig.h commentsGravatar bsalomon@google.com2011-11-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2626 2bbb7eff-a529-9590-31e7-b0007b416f81
* add api to SkGraphics to get/set font cache limitGravatar reed@google.com2011-11-08
| | | | | | | | add SK_DEFAULT_FONT_CACHE_LIMIT to SkUserConfig, to override our default value git-svn-id: http://skia.googlecode.com/svn/trunk@2621 2bbb7eff-a529-9590-31e7-b0007b416f81
* [GPU] Add explicit byte order and PM vs. UPM 8888 configsGravatar bsalomon@google.com2011-11-07
| | | | | | | | Review URL: http://codereview.appspot.com/5347042/ git-svn-id: http://skia.googlecode.com/svn/trunk@2618 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add support for GL_ARB_texture_swizzleGravatar bsalomon@google.com2011-11-07
| | | | | | | | Review URL: http://codereview.appspot.com/5347042/ git-svn-id: http://skia.googlecode.com/svn/trunk@2615 2bbb7eff-a529-9590-31e7-b0007b416f81
* Recommit r2611 with fix for gmGravatar bsalomon@google.com2011-11-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2614 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert r2611 until windows gm can be debuggedGravatar bsalomon@google.com2011-11-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2612 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add replacement APIs for createPlatformSurface: createPlatformTexture and ↵Gravatar bsalomon@google.com2011-11-07
| | | | | | createPlatformRenderTarget git-svn-id: http://skia.googlecode.com/svn/trunk@2611 2bbb7eff-a529-9590-31e7-b0007b416f81
* More removal of texture fUploadByteCount and rename fFormat to fConfig for ↵Gravatar bsalomon@google.com2011-11-05
| | | | | | consistency. git-svn-id: http://skia.googlecode.com/svn/trunk@2608 2bbb7eff-a529-9590-31e7-b0007b416f81
* Override 32BPP format in SkCanvas::readPixelsGravatar bsalomon@google.com2011-11-03
| | | | | | | | Review URL: http://codereview.appspot.com/5330073/ git-svn-id: http://skia.googlecode.com/svn/trunk@2600 2bbb7eff-a529-9590-31e7-b0007b416f81
* experimental -- add SkImageFilter to paint. Not called yet.Gravatar reed@google.com2011-11-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2599 2bbb7eff-a529-9590-31e7-b0007b416f81
* Adding support to trunk for building Skia using the Android NDK.Gravatar djsollen@google.com2011-11-03
| | | | | | | | | | This CL depends on a subsequent CL to add the appropriate NDK toolchain and system sources to the skia repo. Review URL: http://codereview.appspot.com/5306089/ Review URL: http://codereview.appspot.com/5306089 git-svn-id: http://skia.googlecode.com/svn/trunk@2592 2bbb7eff-a529-9590-31e7-b0007b416f81
* Line-endings only change (some windows line-endings snuck in)Gravatar bsalomon@google.com2011-11-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2588 2bbb7eff-a529-9590-31e7-b0007b416f81