platform/upstream/libSkiaSharp.git
11 years agoAdd support for reading the dst pixel value in an effect. Use in a new effect for...
bsalomon@google.com [Fri, 29 Mar 2013 19:22:36 +0000 (19:22 +0000)]
Add support for reading the dst pixel value in an effect. Use in a new effect for the kDarken xfer mode.

The current implementation is to always make a copy of the entire dst before the draw.
It will only succeed if the RT is also a texture.
Obviously, there is lots of room for improvement.
Review URL: https://codereview.chromium.org/13314002

git-svn-id: http://skia.googlecode.com/svn/trunk@8449 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoWhitespace change to test Commit Queue
commit-bot@chromium.org [Fri, 29 Mar 2013 17:34:33 +0000 (17:34 +0000)]
Whitespace change to test Commit Queue

TBR=borenet

(SkipBuildbotRuns)

Author: rmistry@google.com

Reviewed By:

Review URL: https://chromiumcodereview.appspot.com/13326003

git-svn-id: http://skia.googlecode.com/svn/trunk@8447 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoDisplay prompt for caution only if it is an interactive shell.
rmistry@google.com [Fri, 29 Mar 2013 17:26:00 +0000 (17:26 +0000)]
Display prompt for caution only if it is an interactive shell.

Created to fix https://code.google.com/p/skia/issues/detail?id=1197 : Skia Commit Queue quits if the tree is in Caution.

(SkipBuildbotRuns)
Review URL: https://codereview.chromium.org/13325002

git-svn-id: http://skia.googlecode.com/svn/trunk@8446 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix more clang tautological-constant-out-of-range-compare errors.
tfarina@chromium.org [Fri, 29 Mar 2013 16:53:30 +0000 (16:53 +0000)]
Fix more clang tautological-constant-out-of-range-compare errors.

And one of unused-private-field:
samplecode/SampleStrokeText.cpp:109:10: error: private field 'fAA' is not used [-Werror,-Wunused-private-field]
    bool fAA;

R=bsalomon@google.com,reed@google.com

Review URL: https://codereview.chromium.org/12906016

git-svn-id: http://skia.googlecode.com/svn/trunk@8445 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoadd matcher to fontstyleset
reed@google.com [Fri, 29 Mar 2013 14:57:22 +0000 (14:57 +0000)]
add matcher to fontstyleset
Review URL: https://codereview.chromium.org/13312002

git-svn-id: http://skia.googlecode.com/svn/trunk@8444 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agouse SkTCast
reed@google.com [Fri, 29 Mar 2013 14:23:56 +0000 (14:23 +0000)]
use SkTCast

git-svn-id: http://skia.googlecode.com/svn/trunk@8443 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix minor cppcheck-found issues
robertphillips@google.com [Fri, 29 Mar 2013 12:11:10 +0000 (12:11 +0000)]
Fix minor cppcheck-found issues

https://codereview.chromium.org/13146005/

git-svn-id: http://skia.googlecode.com/svn/trunk@8440 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Fri, 29 Mar 2013 07:01:22 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@8439 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoMake GM render to render targets that are also textures.
bsalomon@google.com [Thu, 28 Mar 2013 19:18:12 +0000 (19:18 +0000)]
Make GM render to render targets that are also textures.
Review URL: https://codereview.chromium.org/13211002

git-svn-id: http://skia.googlecode.com/svn/trunk@8438 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoWhitespace change to trigger builders to make sure codesite issue is resolved.
rmistry@google.com [Thu, 28 Mar 2013 18:08:05 +0000 (18:08 +0000)]
Whitespace change to trigger builders to make sure codesite issue is resolved.

git-svn-id: http://skia.googlecode.com/svn/trunk@8437 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix iOS compiler error/warning
robertphillips@google.com [Thu, 28 Mar 2013 18:03:27 +0000 (18:03 +0000)]
Fix iOS compiler error/warning

git-svn-id: http://skia.googlecode.com/svn/trunk@8436 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoWhitespace change to trigger builders to make sure codesite issue is resolved.
rmistry@google.com [Thu, 28 Mar 2013 17:54:20 +0000 (17:54 +0000)]
Whitespace change to trigger builders to make sure codesite issue is resolved.

git-svn-id: http://skia.googlecode.com/svn/trunk@8435 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAttempt to silence signed/unsigned warnings in android build.
bsalomon@google.com [Thu, 28 Mar 2013 15:11:14 +0000 (15:11 +0000)]
Attempt to silence signed/unsigned warnings in android build.
Review URL: https://codereview.chromium.org/13168003

git-svn-id: http://skia.googlecode.com/svn/trunk@8434 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agodisable tests that exercise serialization of fonts here, since we are experimentally
reed@google.com [Thu, 28 Mar 2013 15:03:22 +0000 (15:03 +0000)]
disable tests that exercise serialization of fonts here, since we are experimentally
creating typeface styles that don't know how to serialize yet.

git-svn-id: http://skia.googlecode.com/svn/trunk@8433 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoTriggering rebuilds after master restart
rmistry@google.com [Thu, 28 Mar 2013 14:22:58 +0000 (14:22 +0000)]
Triggering rebuilds after master restart

git-svn-id: http://skia.googlecode.com/svn/trunk@8432 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoTriggering rebuilds after master restart.
rmistry@google.com [Thu, 28 Mar 2013 14:15:37 +0000 (14:15 +0000)]
Triggering rebuilds after master restart.

git-svn-id: http://skia.googlecode.com/svn/trunk@8431 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoadd caching to fontmgr for mac
reed@google.com [Thu, 28 Mar 2013 14:12:10 +0000 (14:12 +0000)]
add caching to fontmgr for mac
Review URL: https://codereview.chromium.org/13161002

git-svn-id: http://skia.googlecode.com/svn/trunk@8430 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdding unit test for verifying copy on write in SkSurface + bug fix in SkCanvas:...
junov@chromium.org [Thu, 28 Mar 2013 13:49:22 +0000 (13:49 +0000)]
Adding unit test for verifying copy on write in SkSurface + bug fix in SkCanvas::clear
Review URL: https://codereview.chromium.org/13116018

git-svn-id: http://skia.googlecode.com/svn/trunk@8429 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoMake GrGLShaderBuilder::TextureSampler extract only required info from GrTextureAccess.
bsalomon@google.com [Thu, 28 Mar 2013 13:46:42 +0000 (13:46 +0000)]
Make GrGLShaderBuilder::TextureSampler extract only required info from GrTextureAccess.

This will make it possible to init a TextureSampler without a texture or a specific config.

Also unify two separate bitfields of color components in GPU code.
Review URL: https://codereview.chromium.org/13121002

git-svn-id: http://skia.googlecode.com/svn/trunk@8428 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoConvert #warning to comment to get iOS compiling
robertphillips@google.com [Thu, 28 Mar 2013 13:43:16 +0000 (13:43 +0000)]
Convert #warning to comment to get iOS compiling

https://codereview.chromium.org/13157002/

git-svn-id: http://skia.googlecode.com/svn/trunk@8427 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoadd gm for experimental fontmgr api
reed@google.com [Thu, 28 Mar 2013 13:39:35 +0000 (13:39 +0000)]
add gm for experimental fontmgr api

git-svn-id: http://skia.googlecode.com/svn/trunk@8426 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd GrPaint stage for xfermodes.
bsalomon@google.com [Thu, 28 Mar 2013 13:23:29 +0000 (13:23 +0000)]
Add GrPaint stage for xfermodes.
Review URL: https://codereview.chromium.org/12918032

git-svn-id: http://skia.googlecode.com/svn/trunk@8425 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoNew filter targeted at desk_googlespreadsheet overdraw issues
robertphillips@google.com [Thu, 28 Mar 2013 12:25:25 +0000 (12:25 +0000)]
New filter targeted at desk_googlespreadsheet overdraw issues

https://codereview.chromium.org/12918029/

git-svn-id: http://skia.googlecode.com/svn/trunk@8424 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoTrigger rebuilds on Mac 10.6 compile bots.
rmistry@google.com [Thu, 28 Mar 2013 12:14:12 +0000 (12:14 +0000)]
Trigger rebuilds on Mac 10.6 compile bots.
(RunBuilders:Skia_Mac_Float_Compile_Release_64)

git-svn-id: http://skia.googlecode.com/svn/trunk@8423 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoTrigger rebuilds on Mac compile bots.
rmistry@google.com [Thu, 28 Mar 2013 12:06:46 +0000 (12:06 +0000)]
Trigger rebuilds on Mac compile bots.
(RunBuilders:Skia_Mac_Float_Compile_Release_32)

git-svn-id: http://skia.googlecode.com/svn/trunk@8422 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Thu, 28 Mar 2013 07:01:15 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@8420 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix minor memory leaks
robertphillips@google.com [Wed, 27 Mar 2013 21:31:21 +0000 (21:31 +0000)]
Fix minor memory leaks

https://codereview.chromium.org/12703044/

git-svn-id: http://skia.googlecode.com/svn/trunk@8419 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRemove dubious assertion.
tfarina@chromium.org [Wed, 27 Mar 2013 21:24:20 +0000 (21:24 +0000)]
Remove dubious assertion.

Clang error report:

../../src/animator/SkDrawBitmap.cpp:89:21: error: comparison of constant 4294967295
with expression of type 'int' is always true [-Werror,-Wtautological-constant-out-of-range-compare]
    SkASSERT(format != (SkBitmap::Config) -1);
                 ~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~

R=bsalomon@google.com,reed@google.com

Review URL: https://codereview.chromium.org/12770023

git-svn-id: http://skia.googlecode.com/svn/trunk@8418 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agomove typeface cache limit from 128 to 1024 (128 is a joke, not sure what a
reed@google.com [Wed, 27 Mar 2013 20:29:18 +0000 (20:29 +0000)]
move typeface cache limit from 128 to 1024 (128 is a joke, not sure what a
real upper limit should be)

git-svn-id: http://skia.googlecode.com/svn/trunk@8417 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoalways call SkFontMgr::Factory() (now that everyone has impl'd it)
reed@google.com [Wed, 27 Mar 2013 20:12:59 +0000 (20:12 +0000)]
always call SkFontMgr::Factory() (now that everyone has impl'd it)

git-svn-id: http://skia.googlecode.com/svn/trunk@8416 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoadd dummpy SkFontMgr::Factory() impl to font backends, so we can start testing it
reed@google.com [Wed, 27 Mar 2013 20:01:49 +0000 (20:01 +0000)]
add dummpy SkFontMgr::Factory() impl to font backends, so we can start testing it
Review URL: https://codereview.chromium.org/13119021

git-svn-id: http://skia.googlecode.com/svn/trunk@8415 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoMove GrGLProgramDesc::Build to new cpp file.
bsalomon@google.com [Wed, 27 Mar 2013 19:50:27 +0000 (19:50 +0000)]
Move GrGLProgramDesc::Build to new cpp file.
Review URL: https://codereview.chromium.org/13097007

git-svn-id: http://skia.googlecode.com/svn/trunk@8414 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix assertion failure in SkGpuDevice from 8412.
bsalomon@google.com [Wed, 27 Mar 2013 18:46:16 +0000 (18:46 +0000)]
Fix assertion failure in SkGpuDevice from 8412.

git-svn-id: http://skia.googlecode.com/svn/trunk@8413 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAdd interface to SkXfermode to return a GrEffect and blend coeffs.
bsalomon@google.com [Wed, 27 Mar 2013 18:31:15 +0000 (18:31 +0000)]
Add interface to SkXfermode to return a GrEffect and blend coeffs.
Review URL: https://codereview.chromium.org/13097006

git-svn-id: http://skia.googlecode.com/svn/trunk@8412 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoMove GrGLProgram::Desc out of GrGLProgram.
bsalomon@google.com [Wed, 27 Mar 2013 18:14:57 +0000 (18:14 +0000)]
Move GrGLProgram::Desc out of GrGLProgram.
Review URL: https://codereview.chromium.org/12942014

git-svn-id: http://skia.googlecode.com/svn/trunk@8411 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoWhitespace change to trigger rebuilds
rmistry@google.com [Wed, 27 Mar 2013 17:03:52 +0000 (17:03 +0000)]
Whitespace change to trigger rebuilds

git-svn-id: http://skia.googlecode.com/svn/trunk@8410 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agofix mask error for BW text, where I forgot to look at just the low-8 bits
reed@google.com [Wed, 27 Mar 2013 15:08:23 +0000 (15:08 +0000)]
fix mask error for BW text, where I forgot to look at just the low-8 bits
of the right mask when computing the number of "full" runs.

possibly related to crbug.com/178796
Review URL: https://codereview.chromium.org/13044012

git-svn-id: http://skia.googlecode.com/svn/trunk@8408 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoCTFontManagerCopyAvailableFontFamilyNames is not always available (on iOS)
reed@google.com [Wed, 27 Mar 2013 13:56:34 +0000 (13:56 +0000)]
CTFontManagerCopyAvailableFontFamilyNames is not always available (on iOS)
so write a wrapper for it.

fixes iOS build

git-svn-id: http://skia.googlecode.com/svn/trunk@8406 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Wed, 27 Mar 2013 07:01:04 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@8404 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix a few clang errors while trying to build tools target.
tfarina@chromium.org [Tue, 26 Mar 2013 21:48:58 +0000 (21:48 +0000)]
Fix a few clang errors while trying to build tools target.

Most of the errors were like:
../../src/gpu/gl/GrGLEffectMatrix.cpp:74:9: error: variable 'varyingType' is used uninitialized whenever switch default is taken [-Werror,-Wsometimes-uninitialized]
../../src/gpu/gl/debug/GrDebugGL.h:125:21: error: private field 'fMaxTextureUnits' is not used [-Werror,-Wunused-private-field]
../../src/core/SkBitmapSampler.cpp:312:25: error: private field 'fProcTable' is not used [-Werror,-Wunused-private-field]

R=bsalomon@google.com,scroggo@google.com

Review URL: https://codereview.chromium.org/12915007

git-svn-id: http://skia.googlecode.com/svn/trunk@8403 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoAddress clang static analyzer issues
robertphillips@google.com [Tue, 26 Mar 2013 19:40:46 +0000 (19:40 +0000)]
Address clang static analyzer issues

https://codereview.chromium.org/12940011/

git-svn-id: http://skia.googlecode.com/svn/trunk@8401 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoIncrease space for effect-class-ID and fix assert
robertphillips@google.com [Tue, 26 Mar 2013 19:35:06 +0000 (19:35 +0000)]
Increase space for effect-class-ID and fix assert

https://codereview.chromium.org/12703040/

git-svn-id: http://skia.googlecode.com/svn/trunk@8400 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agostore real fontstyle on mac fonts
reed@google.com [Tue, 26 Mar 2013 19:30:16 +0000 (19:30 +0000)]
store real fontstyle on mac fonts

git-svn-id: http://skia.googlecode.com/svn/trunk@8399 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agofix infinite recursion calling (non)virtual
reed@google.com [Tue, 26 Mar 2013 19:29:55 +0000 (19:29 +0000)]
fix infinite recursion calling (non)virtual

git-svn-id: http://skia.googlecode.com/svn/trunk@8398 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agorespect slant param
reed@google.com [Tue, 26 Mar 2013 19:02:52 +0000 (19:02 +0000)]
respect slant param

git-svn-id: http://skia.googlecode.com/svn/trunk@8397 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years ago#if 0 reference to SkFontMgr::Factory for now
reed@google.com [Tue, 26 Mar 2013 17:24:39 +0000 (17:24 +0000)]
#if 0 reference to SkFontMgr::Factory for now

git-svn-id: http://skia.googlecode.com/svn/trunk@8396 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoimpl part of SKFontMgr for mac
reed@google.com [Tue, 26 Mar 2013 17:19:15 +0000 (17:19 +0000)]
impl part of SKFontMgr for mac

Here is some test code

    SkFontMgr* mgr = SkFontMgr::RefDefault();
    for (int i = 0; i < mgr->countFamilies(); ++i) {
        SkString familyName;
        mgr->getFamilyName(i, &familyName);
        SkDebugf("%s\n", familyName.c_str());
        SkFontStyleSet* styles = mgr->createStyleSet(i);
        for (int j = 0; j < styles->count(); ++j) {
            SkFontStyle fs;
            SkString styleName;
            styles->getStyle(j, &fs, &styleName);
            SkTypeface* face = styles->createTypeface(j);
            SkDebugf("    %s [%d %d] %x\n", styleName.c_str(), fs.weight(),
                     fs.width(), face);
        }
        styles->unref();
    }
    mgr->unref();
Review URL: https://codereview.chromium.org/13094005

git-svn-id: http://skia.googlecode.com/svn/trunk@8395 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix unit test build break
bsalomon@google.com [Tue, 26 Mar 2013 16:49:37 +0000 (16:49 +0000)]
Fix unit test build break

git-svn-id: http://skia.googlecode.com/svn/trunk@8394 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoProgram key coverage/discard fixes.
bsalomon@google.com [Tue, 26 Mar 2013 16:42:17 +0000 (16:42 +0000)]
Program key coverage/discard fixes.
Review URL: https://codereview.chromium.org/13095004

git-svn-id: http://skia.googlecode.com/svn/trunk@8393 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoReplace edge types with GrEdgeEffect.
bsalomon@google.com [Tue, 26 Mar 2013 14:45:27 +0000 (14:45 +0000)]
Replace edge types with GrEdgeEffect.

This strips out last of the edge types and the fixed function edge attribute and replaces them with using GrEdgeEffect. Also fixes a minor bug when checking attribute counts -- it was using kAttribIndexCount instead of kVertexAttribCnt.

Original Author: jvanverth@google.com
Review URL: https://codereview.chromium.org/13069003

git-svn-id: http://skia.googlecode.com/svn/trunk@8392 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoTrigger rebuilds on ChromeOS
rmistry@google.com [Tue, 26 Mar 2013 13:47:19 +0000 (13:47 +0000)]
Trigger rebuilds on ChromeOS
(RunBuilders:Skia_ChromeOS_Alex_Release_32)

git-svn-id: http://skia.googlecode.com/svn/trunk@8391 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoTrigger rebuilds on Mac-10.7 32 bit
rmistry@google.com [Tue, 26 Mar 2013 13:36:24 +0000 (13:36 +0000)]
Trigger rebuilds on Mac-10.7 32 bit
(RunBuilders:Skia_MacMiniLion_Float_Debug_32)

git-svn-id: http://skia.googlecode.com/svn/trunk@8390 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoTrigger rebuilds on Mac-10.7
rmistry@google.com [Tue, 26 Mar 2013 13:24:14 +0000 (13:24 +0000)]
Trigger rebuilds on Mac-10.7
(RunBuilders:Skia_MacMiniLion_Float_Debug_64)

git-svn-id: http://skia.googlecode.com/svn/trunk@8389 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agooops, don't say static for an extern function
reed@google.com [Tue, 26 Mar 2013 12:32:03 +0000 (12:32 +0000)]
oops, don't say static for an extern function

git-svn-id: http://skia.googlecode.com/svn/trunk@8387 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoremove SkFontHost::NextLogicalFont, and add android-specific function
reed@google.com [Tue, 26 Mar 2013 12:29:05 +0000 (12:29 +0000)]
remove SkFontHost::NextLogicalFont, and add android-specific function
SkAndroidNextLogicalTypeface

git-svn-id: http://skia.googlecode.com/svn/trunk@8386 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoWhitespace change to trigger rebuilds
rmistry@google.com [Tue, 26 Mar 2013 11:26:06 +0000 (11:26 +0000)]
Whitespace change to trigger rebuilds

git-svn-id: http://skia.googlecode.com/svn/trunk@8385 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Tue, 26 Mar 2013 07:01:04 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@8383 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoWhitespace change to test compile-only bots
borenet@google.com [Tue, 26 Mar 2013 05:49:40 +0000 (05:49 +0000)]
Whitespace change to test compile-only bots

git-svn-id: http://skia.googlecode.com/svn/trunk@8382 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoReverting r8376, r8373 and r8371 due to Android shader compilation failures
robertphillips@google.com [Mon, 25 Mar 2013 22:16:02 +0000 (22:16 +0000)]
Reverting r8376, r8373 and r8371 due to Android shader compilation failures

git-svn-id: http://skia.googlecode.com/svn/trunk@8378 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agocheck-point (early) for fontmgr stuff, not called.
reed@google.com [Mon, 25 Mar 2013 20:44:02 +0000 (20:44 +0000)]
check-point (early) for fontmgr stuff, not called.

git-svn-id: http://skia.googlecode.com/svn/trunk@8377 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoUnreviewed build fix
sugoi@google.com [Mon, 25 Mar 2013 20:41:07 +0000 (20:41 +0000)]
Unreviewed build fix

git-svn-id: http://skia.googlecode.com/svn/trunk@8376 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agooops, fix name for SkCreateDataProviderFromData
reed@google.com [Mon, 25 Mar 2013 20:21:26 +0000 (20:21 +0000)]
oops, fix name for SkCreateDataProviderFromData

git-svn-id: http://skia.googlecode.com/svn/trunk@8375 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoexpose skdata -> cgdataprovider helper
reed@google.com [Mon, 25 Mar 2013 20:15:40 +0000 (20:15 +0000)]
expose skdata -> cgdataprovider helper

git-svn-id: http://skia.googlecode.com/svn/trunk@8374 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoUnreviewed build fix
sugoi@google.com [Mon, 25 Mar 2013 20:14:08 +0000 (20:14 +0000)]
Unreviewed build fix

git-svn-id: http://skia.googlecode.com/svn/trunk@8373 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoChange fixedWidth to fixedPitch and implement on Windows.
bungeman@google.com [Mon, 25 Mar 2013 19:36:11 +0000 (19:36 +0000)]
Change fixedWidth to fixedPitch and implement on Windows.
https://codereview.appspot.com/7954044/

git-svn-id: http://skia.googlecode.com/svn/trunk@8372 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoNew SVG turbulence in Skia
sugoi@google.com [Mon, 25 Mar 2013 19:31:04 +0000 (19:31 +0000)]
New SVG turbulence in Skia

This cl contains the code for both CPU and GPU generation of noise. Both
codepaths yield equivalent results.

TEST:Added 'perlinnoise' gm
Review URL: https://codereview.chromium.org/13047005

git-svn-id: http://skia.googlecode.com/svn/trunk@8371 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agomove fontmgr into include/ports for now
reed@google.com [Mon, 25 Mar 2013 18:44:17 +0000 (18:44 +0000)]
move fontmgr into include/ports for now

git-svn-id: http://skia.googlecode.com/svn/trunk@8370 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoMove nested class GrDrawTarget::Caps out as GrDrawTargetCaps.
bsalomon@google.com [Mon, 25 Mar 2013 18:19:00 +0000 (18:19 +0000)]
Move nested class GrDrawTarget::Caps out as GrDrawTargetCaps.
Pass caps to GrEffect::TestCreate() functions so that they can return effects that will work with the capabilities.
Review URL: https://codereview.chromium.org/12965018

git-svn-id: http://skia.googlecode.com/svn/trunk@8369 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRebaseline Mac 10.8 performance flakes
robertphillips@google.com [Mon, 25 Mar 2013 17:16:37 +0000 (17:16 +0000)]
Rebaseline Mac 10.8 performance flakes

git-svn-id: http://skia.googlecode.com/svn/trunk@8368 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoWhitespace change to trigger RazrI builds.
rmistry@google.com [Mon, 25 Mar 2013 16:58:49 +0000 (16:58 +0000)]
Whitespace change to trigger RazrI builds.
(RunBuilders:Skia_RazrI_4-1_Float_Release_32)

git-svn-id: http://skia.googlecode.com/svn/trunk@8367 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agolimit SkFontHost::NextLogicalTypeface to only android (the only backend that
reed@google.com [Mon, 25 Mar 2013 16:36:34 +0000 (16:36 +0000)]
limit SkFontHost::NextLogicalTypeface to only android (the only backend that
seems to rely on it), so we can remove it from the portable API.

git-svn-id: http://skia.googlecode.com/svn/trunk@8366 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix non-Windows build break in r8364.
bsalomon@google.com [Mon, 25 Mar 2013 15:43:01 +0000 (15:43 +0000)]
Fix non-Windows build break in r8364.

git-svn-id: http://skia.googlecode.com/svn/trunk@8365 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoMake GrDrawTarget::Caps ref counted and GrGLCaps derive from it.
bsalomon@google.com [Mon, 25 Mar 2013 15:38:39 +0000 (15:38 +0000)]
Make GrDrawTarget::Caps ref counted and GrGLCaps derive from it.

Also rename GrDrawTarget::getCaps() -> GrDrawTarget::caps().
Review URL: https://codereview.chromium.org/12843026

git-svn-id: http://skia.googlecode.com/svn/trunk@8364 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agomake SkFontHost::NextLogicalTypeface private (only called by SkScalerContext)
reed@google.com [Mon, 25 Mar 2013 14:55:34 +0000 (14:55 +0000)]
make SkFontHost::NextLogicalTypeface private (only called by SkScalerContext)

git-svn-id: http://skia.googlecode.com/svn/trunk@8363 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoremove SkFontHost::EnsureTypefaceAccessible declaration (no longer implemented or...
reed@google.com [Mon, 25 Mar 2013 14:45:12 +0000 (14:45 +0000)]
remove SkFontHost::EnsureTypefaceAccessible declaration (no longer implemented or called)

git-svn-id: http://skia.googlecode.com/svn/trunk@8361 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoland https://codereview.chromium.org/12676024
reed@google.com [Mon, 25 Mar 2013 13:03:37 +0000 (13:03 +0000)]
land https://codereview.chromium.org/12676024

git-svn-id: http://skia.googlecode.com/svn/trunk@8359 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix compiler errors/warnings in r8355
robertphillips@google.com [Mon, 25 Mar 2013 12:01:45 +0000 (12:01 +0000)]
Fix compiler errors/warnings in r8355

git-svn-id: http://skia.googlecode.com/svn/trunk@8357 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRebaselining performance flake
robertphillips@google.com [Mon, 25 Mar 2013 11:52:27 +0000 (11:52 +0000)]
Rebaselining performance flake

git-svn-id: http://skia.googlecode.com/svn/trunk@8356 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSkDrawCommand cleanup
robertphillips@google.com [Mon, 25 Mar 2013 11:50:42 +0000 (11:50 +0000)]
SkDrawCommand cleanup

https://codereview.chromium.org/12989030/

git-svn-id: http://skia.googlecode.com/svn/trunk@8355 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRebaselining performance flakes
robertphillips@google.com [Sun, 24 Mar 2013 21:18:20 +0000 (21:18 +0000)]
Rebaselining performance flakes

git-svn-id: http://skia.googlecode.com/svn/trunk@8354 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoWhitespace change to test emails
rmistry@google.com [Sun, 24 Mar 2013 19:06:02 +0000 (19:06 +0000)]
Whitespace change to test emails

git-svn-id: http://skia.googlecode.com/svn/trunk@8353 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix for android_clang_dbg compiler error
robertphillips@google.com [Sun, 24 Mar 2013 18:41:25 +0000 (18:41 +0000)]
Fix for android_clang_dbg compiler error

git-svn-id: http://skia.googlecode.com/svn/trunk@8352 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoDon't pretend we can draw MaskFilters, it produces artifacts that make the text unrea...
edisonn@google.com [Sun, 24 Mar 2013 18:05:10 +0000 (18:05 +0000)]
Don't pretend we can draw MaskFilters, it produces artifacts that make the text unreadable when using CSS shadows.
Review URL: https://codereview.chromium.org/12989032

git-svn-id: http://skia.googlecode.com/svn/trunk@8351 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoSanitizing source files in Skia_Periodic_House_Keeping
skia.committer@gmail.com [Sat, 23 Mar 2013 07:01:28 +0000 (07:01 +0000)]
Sanitizing source files in Skia_Periodic_House_Keeping

git-svn-id: http://skia.googlecode.com/svn/trunk@8350 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRebaseline for Mac 10.9 performance trigger flakes
robertphillips@google.com [Fri, 22 Mar 2013 20:15:11 +0000 (20:15 +0000)]
Rebaseline for Mac 10.9 performance trigger flakes

git-svn-id: http://skia.googlecode.com/svn/trunk@8347 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoWiden the range on some performance trigger flakes
robertphillips@google.com [Fri, 22 Mar 2013 18:35:28 +0000 (18:35 +0000)]
Widen the range on some performance trigger flakes

git-svn-id: http://skia.googlecode.com/svn/trunk@8346 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoMove oval rendering code to GrOvalRenderer.
commit-bot@chromium.org [Fri, 22 Mar 2013 18:34:09 +0000 (18:34 +0000)]
Move oval rendering code to GrOvalRenderer.

Author: jvanverth@google.com

Reviewed By: bsalomon@google.com,robertphillips@google.com

Review URL: https://chromiumcodereview.appspot.com/12657003

git-svn-id: http://skia.googlecode.com/svn/trunk@8345 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agogm: change ErrorBitfield to ErrorType/ErrorCombination
epoger@google.com [Fri, 22 Mar 2013 17:29:46 +0000 (17:29 +0000)]
gm: change ErrorBitfield to ErrorType/ErrorCombination
This will enable future GM changes to report errors more completely/consistently, like skdiff.
Review URL: https://codereview.chromium.org/12992003

git-svn-id: http://skia.googlecode.com/svn/trunk@8344 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoremove SkFontHost::OpenStream(), now subsumed by SkTypeface::openStream()
reed@google.com [Fri, 22 Mar 2013 17:21:59 +0000 (17:21 +0000)]
remove SkFontHost::OpenStream(), now subsumed by SkTypeface::openStream()

remove obsolete/abandoned SkFontHost_freetype_mac.cpp
Review URL: https://codereview.chromium.org/13008019

git-svn-id: http://skia.googlecode.com/svn/trunk@8342 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoUpdate gyp\images.gyp for move of SkJpegUtility.h from include\images to src\images...
robertphillips@google.com [Fri, 22 Mar 2013 16:44:14 +0000 (16:44 +0000)]
Update gyp\images.gyp for move of SkJpegUtility.h from include\images to src\images (in r8267)

git-svn-id: http://skia.googlecode.com/svn/trunk@8341 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoMore SkDrawCommand cleanup
robertphillips@google.com [Fri, 22 Mar 2013 16:33:31 +0000 (16:33 +0000)]
More SkDrawCommand cleanup

https://codereview.chromium.org/12634024/

git-svn-id: http://skia.googlecode.com/svn/trunk@8340 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agorevert 8331 (broke android text)
reed@google.com [Fri, 22 Mar 2013 15:17:21 +0000 (15:17 +0000)]
revert 8331 (broke android text)

git-svn-id: http://skia.googlecode.com/svn/trunk@8339 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agofix warning (again) for SkMovie
reed@google.com [Fri, 22 Mar 2013 13:58:34 +0000 (13:58 +0000)]
fix warning (again) for SkMovie

git-svn-id: http://skia.googlecode.com/svn/trunk@8336 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRemove Ubuntu gpu performance triggers
robertphillips@google.com [Fri, 22 Mar 2013 13:46:30 +0000 (13:46 +0000)]
Remove Ubuntu gpu performance triggers

git-svn-id: http://skia.googlecode.com/svn/trunk@8334 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoFix typo in SkTLazy.h's "operator delete"
robertphillips@google.com [Fri, 22 Mar 2013 13:34:59 +0000 (13:34 +0000)]
Fix typo in SkTLazy.h's "operator delete"

git-svn-id: http://skia.googlecode.com/svn/trunk@8333 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agofix warning for SkMovie
reed@google.com [Fri, 22 Mar 2013 13:32:59 +0000 (13:32 +0000)]
fix warning for SkMovie

git-svn-id: http://skia.googlecode.com/svn/trunk@8332 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agooverride SkTypeface::onOpenStream for android
reed@google.com [Fri, 22 Mar 2013 13:23:45 +0000 (13:23 +0000)]
override SkTypeface::onOpenStream for android

git-svn-id: http://skia.googlecode.com/svn/trunk@8331 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoRefactor skia_warnings_as_errors
borenet@google.com [Fri, 22 Mar 2013 13:16:06 +0000 (13:16 +0000)]
Refactor skia_warnings_as_errors
Review URL: https://codereview.chromium.org/12963002

git-svn-id: http://skia.googlecode.com/svn/trunk@8330 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoMore SkDrawCommand cleanup
robertphillips@google.com [Fri, 22 Mar 2013 12:25:30 +0000 (12:25 +0000)]
More SkDrawCommand cleanup

https://codereview.chromium.org/12979004/

git-svn-id: http://skia.googlecode.com/svn/trunk@8328 2bbb7eff-a529-9590-31e7-b0007b416f81

11 years agoClean up GrCircleEdgeEffect and GrEllipseEdgeEffect.
commit-bot@chromium.org [Fri, 22 Mar 2013 12:21:57 +0000 (12:21 +0000)]
Clean up GrCircleEdgeEffect and GrEllipseEdgeEffect.

Remove unnecessary headers and fix onIsEqual() for both classes.

Author: jvanverth@google.com

Reviewed By: bsalomon@google.com,robertphillips@google.com

Review URL: https://chromiumcodereview.appspot.com/12989004

git-svn-id: http://skia.googlecode.com/svn/trunk@8327 2bbb7eff-a529-9590-31e7-b0007b416f81