jvanverth
bc02bf0ee4
Change desktop and ES 3.0 to always use sized internal texture formats.
...
Review URL: https://codereview.chromium.org/806943002
2014-12-16 05:45:49 -08:00
joshualitt
af7aac81b4
rebase gms and update ignore
...
NOTRY=True
TBR=
BUG=skia:
Review URL: https://codereview.chromium.org/811433004
2014-12-15 17:42:43 -08:00
joshualitt
a047f12bd7
whitespace change to context to force rebuild of skia
...
NOTREECHECKS=True
NOTRY=True
TBR=
BUG=skia:
Review URL: https://codereview.chromium.org/807663002
2014-12-15 14:55:30 -08:00
joshualitt
9b98932ada
This change will ultimately pull uniform color, and to a much lesser degree uniform coverage, into GPs. There are still some loose ends because drawstate has the ability to override the GP, but fixing these cleanly will have to wait until we have deferred geometry in place and can make attribute / uniform decisions on the fly.
...
BUG=skia:
Review URL: https://codereview.chromium.org/746423007
2014-12-15 14:16:27 -08:00
bsalomon
bc3d0de755
Move all non-program cache functions out of GrGpuGL_program.cpp
...
Review URL: https://codereview.chromium.org/794343006
2014-12-15 13:45:04 -08:00
reed
0393912de7
pass dst-rect through from drawBitmapRect for better precision
...
BUG=skia:
Review URL: https://codereview.chromium.org/797963002
2014-12-15 13:42:51 -08:00
mtklein
0faaac6418
Look at DYNAMIC_ANNOTATIONS_ENABLED now.
...
Defining SK_DYNAMIC_ANNOTATIONS_ENABLED as 1 whenever DYNAMIC_ANNOTATIONS_ENABLED was 1
seems to be working fine for Chrome. Should be we can just use DYNAMIC_ANNOTATIONS_ENABLED.
BUG=skia:
Review URL: https://codereview.chromium.org/810513002
2014-12-15 13:38:07 -08:00
reed
8893e5f030
add paint::getFontBounds()
...
BUG=skia:
Review URL: https://codereview.chromium.org/804903006
2014-12-15 13:27:26 -08:00
scroggo
caaf8e611d
Add missed convexpaths.
...
TBR=reed
NOTRY=True
NOTREECHECKS=True
BUG=skia:3241
Review URL: https://codereview.chromium.org/805043005
2014-12-15 13:25:49 -08:00
mtklein
f9c9d72e57
Delete old bench expectation code.
...
Just noticed these were still here.
BUG=skia:
Review URL: https://codereview.chromium.org/801373003
2014-12-15 13:17:01 -08:00
bsalomon
830d20680b
devirtualize some functions on GrGpu
...
Review URL: https://codereview.chromium.org/811483003
2014-12-15 13:12:08 -08:00
mtklein
2bb034a7b5
Rolling libwebp broke our iOS builds. Silence warnings instead.
...
BUG=skia:
Review URL: https://codereview.chromium.org/803213002
2014-12-15 12:59:07 -08:00
scroggo
f9d610179d
There can be only one (SkRandom)!
...
Remove SkLCGRandom. We already decided the new one was better, which is
why we wrote the new SkRandom.
Convert GMs that were using SkLCGRandom to use the improved SkRandom.
Motivated by the fact that these GMs draw differently on some runs. We
believe this to be a result of using the old SkLCGRandom.
Add each of the tests that were using SkLCGRandom to ignore-tests.txt,
since we expect they'll draw differently using SkRandom.
Move a trimmed down version of SkLCGRandom into SkDiscretePathEffect.
In order to preserve the old behavior, trim down SkLCGRandom to only
the methods used by SkDiscretePathEffect, and hide it in
SkDiscretePathEffect's cpp file.
BUG=skia:3241
Review URL: https://codereview.chromium.org/805963002
2014-12-15 12:54:51 -08:00
mtklein
9a0d6d6c88
skimage, die die die
...
DM's running with --images on all the bots now. They look happy.
BUG=skia:3235
Review URL: https://codereview.chromium.org/804133003
2014-12-15 12:47:52 -08:00
egdaniel
54160f3286
Add xp optimization for RGB coverage.
...
This is needed since clearColorStages is being changed to ignore color input. For RGB coverage,
we want to clear all the color stages (since we know the final output color), but we don't want
to ignore the color input since it is needed.
In future we will change this so the XP stores the color internally and thus can tell the GP to
simiply ignore color.
BUG=skia:
Review URL: https://codereview.chromium.org/791933006
2014-12-15 12:38:53 -08:00
reed
5bcbe91304
Fix rrects that are large enough that we lose/gain a bit when we add the radius to a bounds coordinate.
...
add test that triggers assert in addRRect
BUG=skia:3239
Review URL: https://codereview.chromium.org/803153003
2014-12-15 12:28:33 -08:00
mtklein
c97570cfb3
Silence warnings from libnanomsg on Mac like we do on Linux.
...
This will silence these warnings:
../../third_party/externals/nanomsg/src/core/global.c:162:34: warning: missing field 'unused' initializer [-Wmissing-field-initializers]
static struct nn_global self = {0};
../../third_party/externals/nanomsg/src/utils/clock.c:44:61: warning: missing field 'denom' initializer [-Wmissing-field-initializers]
static mach_timebase_info_data_t nn_clock_timebase_info = {0};
BUG=skia:
Review URL: https://codereview.chromium.org/803113003
2014-12-15 12:24:47 -08:00
mtklein
449998d3f0
Revert of Roll libwebp to v0.4.2 (latest stable) to fix annoying build warning. (patchset #1 id:1 of https://codereview.chromium.org/807553002/ )
...
Reason for revert:
uses __builtins not available on all our compilers
Original issue's description:
> Roll libwebp to v0.4.2 (latest stable) to fix annoying build warning.
>
> This warning should now go away:
>
> ../../third_party/externals/libwebp/src/enc/quant.c:105:23: warning: unused variable 'kCoeffThresh' [-Wunused-const-variable]
> static const uint16_t kCoeffThresh[16] = {
>
>
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/e655557a551c545f4153b0764269298cd01cd0c0
TBR=caryclark@google.com ,mtklein@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review URL: https://codereview.chromium.org/795823005
2014-12-15 12:23:00 -08:00
mtklein
e655557a55
Roll libwebp to v0.4.2 (latest stable) to fix annoying build warning.
...
This warning should now go away:
../../third_party/externals/libwebp/src/enc/quant.c:105:23: warning: unused variable 'kCoeffThresh' [-Wunused-const-variable]
static const uint16_t kCoeffThresh[16] = {
BUG=skia:
Review URL: https://codereview.chromium.org/807553002
2014-12-15 12:11:49 -08:00
ehsan.akhgari
6f90475632
Rewrite NaN checks in terms of SkScalarIsNaN()
...
We are trying to replace Skia's NaN checker with our own in Mozilla,
so it would be nice to have to patch a single place by making sure
these NaN checks used SkScalarIsNaN().
BUG=skia:
Review URL: https://codereview.chromium.org/809443002
2014-12-15 12:08:47 -08:00
junov
3fcc125c77
Remove SkCanvas::isDrawingToLayer
...
BUG=3245
Review URL: https://codereview.chromium.org/803913005
2014-12-15 11:34:06 -08:00
skia.buildbots
41c9cbe0ce
Update SKP version
...
Automatic commit by the RecreateSKPs bot.
TBR=
Review URL: https://codereview.chromium.org/803183002
2014-12-15 11:09:05 -08:00
Brian Salomon
e23f20e320
final circles?
...
Review URL: https://codereview.chromium.org/796333005
2014-12-15 13:50:26 -05:00
mtklein
f19ec511b1
WAE on Macs too. That leaves only Android framework builds.
...
Will rebase after yours lands.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/161b6dee11a67e877ef5b339b17775b8e44c5927
Review URL: https://codereview.chromium.org/804063002
2014-12-15 10:38:42 -08:00
mtklein
616e45194e
Revert of WAE on Macs too. That leaves only Android framework builds. (patchset #3 id:40001 of https://codereview.chromium.org/804063002/ )
...
Reason for revert:
Forgot CrOS and NaCl builds.
Original issue's description:
> WAE on Macs too. That leaves only Android framework builds.
>
> Will rebase after yours lands.
>
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/161b6dee11a67e877ef5b339b17775b8e44c5927
TBR=bsalomon@google.com ,mtklein@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review URL: https://codereview.chromium.org/805043002
2014-12-15 09:49:12 -08:00
mtklein
161b6dee11
WAE on Macs too. That leaves only Android framework builds.
...
Will rebase after yours lands.
BUG=skia:
Review URL: https://codereview.chromium.org/804063002
2014-12-15 09:45:00 -08:00
Brian Salomon
8fb09548ec
circles circles circles
...
TBR=bensong@google.com
Review URL: https://codereview.chromium.org/805793003
2014-12-15 12:14:59 -05:00
bsalomon
0aa5cea869
fix last warnings on w64 and turn on w.a.e.
...
Review URL: https://codereview.chromium.org/801413002
2014-12-15 09:13:35 -08:00
mtklein
e8307dc0d0
Add SK_OVERRIDE to a few places that are missing it.
...
This was done automatically by running clang-modernize -add-override -override-macros.
It's not clear to me whether include/ is already clean or I just can't get the tool to work for headers.
BUG=skia:
Review URL: https://codereview.chromium.org/808463002
2014-12-15 09:08:33 -08:00
scroggo
1d09ee7c04
Add more filetypes to DM's image tests.
...
ico, wbmp, plus the alternate suffix jpeg.
Also check for capitalized versions, since files sometimes use
capitalized suffixes.
BUG=skia:3235
Review URL: https://codereview.chromium.org/798383003
2014-12-15 08:53:35 -08:00
Brian Salomon
eef87de21b
More circle rebaselines on gpu
...
TBR=bensong@google.com
Review URL: https://codereview.chromium.org/803123002
2014-12-15 11:44:14 -05:00
Brian Salomon
bd163707a0
Rebaseline after circle normalization change.
...
TBR=bensong@google.com
Review URL: https://codereview.chromium.org/806893002
2014-12-15 11:34:37 -05:00
reed
e05fed0d63
add dumpHex option to rect and rrect, to match path
...
BUG=skia:
Review URL: https://codereview.chromium.org/801383002
2014-12-15 07:59:53 -08:00
bsalomon
ce1c8869cf
Do circle anti-aliasing in normalized space to avoid precision issues with half-floats on Adreno.
...
Review URL: https://codereview.chromium.org/761593006
2014-12-15 07:11:22 -08:00
reed
7534cf1703
ensure 4-byte alignment for storage, as SkWriterBuffer requires it
...
BUG=skia:3244
Review URL: https://codereview.chromium.org/805803002
2014-12-15 06:41:02 -08:00
tfarina
912ed6ebb8
Cleanup: Mark some overridden methods with 'SK_OVERRIDE'.
...
This fixes errors like this:
../../include/gpu/effects/GrPorterDuffXferProcessor.h:27:25: error:
'name' overrides a member function but is not marked 'override'
[-Werror,-Winconsistent-missing-override]
BUG=skia:3075
TEST=ninja -C out/Debug skia_lib
TBR=bsalomon@google.com
Review URL: https://codereview.chromium.org/804813002
2014-12-14 15:20:11 -08:00
reed
451e822705
add get9 and set9 to matrix, to aid in making keys
...
BUG=skia:
TBR=
NOTREECHECKS=True
Review URL: https://codereview.chromium.org/806543002
2014-12-13 08:46:49 -08:00
joshualitt
43893e4ca9
GLPrograms leak fix
...
NOTREECHECKS=True
TBR=
BUG=skia:
Review URL: https://codereview.chromium.org/799063005
2014-12-13 06:46:13 -08:00
bsalomon
fbaace0827
DM warning-free on win64
...
Review URL: https://codereview.chromium.org/805543002
2014-12-12 16:41:46 -08:00
mtklein
f6139f7c38
Add image decoding mode to DM.
...
This is meant to supplant skimage.
BUG=skia:3235
Review URL: https://codereview.chromium.org/802793002
2014-12-12 16:41:12 -08:00
bsalomon
9880607151
Even more win64 warning fixes
...
Review URL: https://codereview.chromium.org/800993002
2014-12-12 15:11:18 -08:00
scroggo
b927c3cbff
Rebaselines.
...
TBR=borenet
Review URL: https://codereview.chromium.org/799063004
2014-12-12 15:10:56 -08:00
scroggo
62fbd07a0d
Check in skimage expectations for nexus player.
...
TBR=borenet
Review URL: https://codereview.chromium.org/799113002
2014-12-12 14:26:41 -08:00
reed
ccc12ed08f
improve cull, so we don't create empty segments
...
BUG=skia:3224
Review URL: https://codereview.chromium.org/798093002
2014-12-12 12:48:50 -08:00
robertphillips
0e912464ce
Harden validation for SkPathRef
...
Review URL: https://codereview.chromium.org/801003003
2014-12-12 12:47:59 -08:00
hcm
24da24dfad
Add Herb as a Skia committer
...
TBR=hcm@google.com
NOTRY=true
Review URL: https://codereview.chromium.org/803633002
2014-12-12 12:37:28 -08:00
jbroman
1607156689
Handle SkBitmaps which have no pixels in SkPDFImage.
...
A test that ensures this no longer crashes has been added.
BUG=skia:3232
Review URL: https://codereview.chromium.org/802713002
2014-12-12 11:28:16 -08:00
scroggo
6005e9b86f
Update expectations for Test-Mac10.9-MacMini6.2-HD4000-x86_64-Debug
...
TBR=borenet
Review URL: https://codereview.chromium.org/797273004
2014-12-12 11:13:35 -08:00
egdaniel
bd17ac55dd
Remove gms from ignore-tests.
...
TBR=
BUG=skia:
Review URL: https://codereview.chromium.org/800033002
2014-12-12 11:01:29 -08:00
borenet
16291189ce
Blindly check in GM and skimage expectations for new bots
...
BUG=skia:
Review URL: https://codereview.chromium.org/798053002
2014-12-12 09:50:23 -08:00