bsalomon@google.com
f714d513a6
Fix invalid enum error when checking for core profile in GrGLInterface::validate()
...
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/23691022
git-svn-id: http://skia.googlecode.com/svn/trunk@11040 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-30 18:25:21 +00:00
robertphillips@google.com
323ca781f1
Nexus 4 image rebaselines for r11021
...
git-svn-id: http://skia.googlecode.com/svn/trunk@11039 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-30 17:44:13 +00:00
sglez@google.com
ffb71f2dd5
Fix rtree tests build error
...
Review URL: https://codereview.chromium.org/23531019
git-svn-id: http://skia.googlecode.com/svn/trunk@11038 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-30 17:43:31 +00:00
sglez@google.com
8c902126a9
R-Tree -- Don't sort draw commands unless specified.
...
We expect Webkit and Bink to give us draw commands in a reasonable x,y order.
We can maintain correctness and get a 17% recording speedup for the R-Tree by
not sorting in x and y when bulk-loading.
R=caryclark@google.com , reed@google.com
Review URL: https://codereview.chromium.org/23480002
git-svn-id: http://skia.googlecode.com/svn/trunk@11037 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-30 17:27:47 +00:00
robertphillips@google.com
6be61ce039
Image rebaselines for r11021
...
git-svn-id: http://skia.googlecode.com/svn/trunk@11036 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-30 17:26:16 +00:00
commit-bot@chromium.org
cefde6e578
Fix stroked oval and rrect rendering on Ubuntu-x86-Release.
...
The Ubuntu-x86 compiler was optimizing out a case where I was
reseting the isStroked boolean based on the new inner radii.
This changes it to check the radii at the time the effect is
created, which tricks the compiler into doing the right thing.
R=bsalomon@google.com , robertphillips@google.com
Author: jvanverth@google.com
Review URL: https://chromiumcodereview.appspot.com/23592021
git-svn-id: http://skia.googlecode.com/svn/trunk@11035 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-30 16:34:52 +00:00
commit-bot@chromium.org
a6f37e77c1
Add ShouldSkip variant that can read a --match flag directly.
...
Just seemed like we were going through lots of hoops for this common case.
BUG=
R=scroggo@google.com
Author: mtklein@google.com
Review URL: https://chromiumcodereview.appspot.com/23708009
git-svn-id: http://skia.googlecode.com/svn/trunk@11034 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-30 15:52:46 +00:00
commit-bot@chromium.org
06f0598957
Modify GLSL version declaration to allow access to compat. features
...
R=robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://chromiumcodereview.appspot.com/23526008
git-svn-id: http://skia.googlecode.com/svn/trunk@11033 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-30 15:52:36 +00:00
commit-bot@chromium.org
46fbfe0cd1
Add glTexGen funcs to interface
...
R=robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://chromiumcodereview.appspot.com/23513006
git-svn-id: http://skia.googlecode.com/svn/trunk@11032 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-30 15:52:12 +00:00
robertphillips@google.com
e60730feea
Image rebaselines for r11021
...
git-svn-id: http://skia.googlecode.com/svn/trunk@11030 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-30 15:02:48 +00:00
robertphillips@google.com
a2f308d580
Image rebaselines for r11021
...
git-svn-id: http://skia.googlecode.com/svn/trunk@11029 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-30 14:36:44 +00:00
robertphillips@google.com
53047a9fbe
Image rebaselines for r11021
...
git-svn-id: http://skia.googlecode.com/svn/trunk@11026 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-30 13:56:08 +00:00
robertphillips@google.com
411bdaaf0f
Image rebaselines for r11021
...
git-svn-id: http://skia.googlecode.com/svn/trunk@11025 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-30 13:31:06 +00:00
borenet@google.com
9f6c23e34e
Stop running bench_pictures with msaa4 on Galaxy Nexus
...
Hopefully this works around https://code.google.com/p/skia/issues/detail?id=1560
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/23449017
git-svn-id: http://skia.googlecode.com/svn/trunk@11023 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-30 13:19:18 +00:00
robertphillips@google.com
53238bc960
Move SkBitmapDevice functions to their own file
...
https://codereview.chromium.org/23553006/
git-svn-id: http://skia.googlecode.com/svn/trunk@11022 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-30 13:12:10 +00:00
robertphillips@google.com
6db2ae21a3
Remove blur from text labels in tilemodes* GMs
...
https://codereview.chromium.org/23617003/
git-svn-id: http://skia.googlecode.com/svn/trunk@11021 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-30 12:41:42 +00:00
skia.committer@gmail.com
772c4e6d09
Sanitizing source files in Housekeeper-Nightly
...
git-svn-id: http://skia.googlecode.com/svn/trunk@11017 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-30 07:01:34 +00:00
commit-bot@chromium.org
e029440758
Replace SkTScopedPtr with SkAutoTDelete in Skia.
...
BUG=
R=djsollen@google.com , reed@google.com , vandebo@chromium.org
Author: mtklein@google.com
Review URL: https://chromiumcodereview.appspot.com/23621005
git-svn-id: http://skia.googlecode.com/svn/trunk@11016 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-29 22:14:04 +00:00
djsollen@google.com
20146b3f73
fix windows test error for CanvasStateTest.cpp
...
Review URL: https://codereview.chromium.org/23539005
git-svn-id: http://skia.googlecode.com/svn/trunk@11015 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-29 20:36:22 +00:00
commit-bot@chromium.org
06822ea872
[PDF] Fix image references.
...
Chrome doesn't seem to honor the reference to the pixel ref. A copy is necessary for unpremultiplication anyway, so pull that part in now.
BUG=chromium:279640
R=reed@google.com
Author: vandebo@chromium.org
Review URL: https://chromiumcodereview.appspot.com/23730003
git-svn-id: http://skia.googlecode.com/svn/trunk@11014 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-29 20:26:41 +00:00
djsollen@google.com
5587ac09be
Create a semi-stable API for capturing the state of an SkCanvas and reconstructing that state across different versions of Skia.
...
R=joth@chromium.org , mtklein@google.com , reed@google.com , scroggo@google.com
Committed: https://code.google.com/p/skia/source/detail?r=11010
Review URL: https://codereview.chromium.org/23545017
git-svn-id: http://skia.googlecode.com/svn/trunk@11013 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-29 20:20:40 +00:00
reed@google.com
5696baa16b
dump out sizeof(void*) in header
...
BUG=
R=rmistry@google.com
Review URL: https://codereview.chromium.org/23773003
git-svn-id: http://skia.googlecode.com/svn/trunk@11012 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-29 20:20:39 +00:00
djsollen@google.com
16b86ced1f
Revert "Create a semi-stable API for capturing the state of an SkCanvas and reconstructing that state across different versions of Skia."
...
This reverts r11010.
Review URL: https://codereview.chromium.org/23757008
git-svn-id: http://skia.googlecode.com/svn/trunk@11011 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-29 19:41:56 +00:00
djsollen@google.com
2ce9fce145
Create a semi-stable API for capturing the state of an SkCanvas and reconstructing that state across different versions of Skia.
...
R=joth@chromium.org , mtklein@google.com , reed@google.com , scroggo@google.com
Review URL: https://codereview.chromium.org/23545017
git-svn-id: http://skia.googlecode.com/svn/trunk@11010 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-29 19:29:09 +00:00
robertphillips@google.com
6a7eecd92c
Galaxy Nexus image rebaselines for r10936 (Blur refactoring)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@11009 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-29 18:20:53 +00:00
epoger@google.com
8209b183da
rebaseline.py self-test: validate that unknown fields are maintained
...
BUG=skia:1569
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/23702006
git-svn-id: http://skia.googlecode.com/svn/trunk@11008 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-29 18:04:20 +00:00
junov@chromium.org
8b6b1c9208
Moving out of order call to TexParameteri in GrGpuGL::onCreateTexture
...
BUG=crbug.com/278940
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/23514014
git-svn-id: http://skia.googlecode.com/svn/trunk@11007 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-29 16:22:09 +00:00
commit-bot@chromium.org
c33d6218f0
Revert determinant-based ScaleTranslate inverse.
...
The current code fails the unit tests on Ubuntu32 Release.
This will pass the tests, and also removes sk_bzero().
R=reed@google.com , robertphillips@google.com , shawnsingh@chromium.org
Author: jvanverth@google.com
Review URL: https://chromiumcodereview.appspot.com/23477020
git-svn-id: http://skia.googlecode.com/svn/trunk@11006 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-29 15:34:50 +00:00
robertphillips@google.com
60820761ee
Get debugger compiling in NoGPU config
...
git-svn-id: http://skia.googlecode.com/svn/trunk@11001 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-29 13:22:28 +00:00
robertphillips@google.com
6323ca5ca5
Yet another patch for 10995
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10998 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-29 12:53:23 +00:00
robertphillips@google.com
73672254a3
Patch for 10995
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10997 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-29 12:40:26 +00:00
robertphillips@google.com
b0b03d98af
Patch for r10995
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10996 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-29 12:10:20 +00:00
robertphillips@google.com
1f2f338e23
Split SkDevice into SkBaseDevice and SkBitmapDevice
...
https://codereview.chromium.org/22978012/
git-svn-id: http://skia.googlecode.com/svn/trunk@10995 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-29 11:54:56 +00:00
scroggo@google.com
3e8466a152
Reland 'Update expectations for skimage.'
...
Now that expectations have moved to use the builder_name rather than
the gm_subdir (see https://code.google.com/p/skia/source/detail?r=10923 ),
check in a new set which uses the proper name.
Committed: https://code.google.com/p/skia/source/detail?r=10969
Reverted in https://code.google.com/p/skia/source/detail?r=10970
due to failures on builders without an attached device. Can
resubmit once https://codereview.chromium.org/23495007/ is
submitted.
Review URL: https://codereview.chromium.org/23600004
git-svn-id: http://skia.googlecode.com/svn/trunk@10993 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-29 10:24:44 +00:00
skia.committer@gmail.com
6b00a1ec2a
Sanitizing source files in Housekeeper-Nightly
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10992 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-29 07:01:20 +00:00
reed@google.com
d1bcfc9a19
export SkFontMgr_New_... experimental functions for testing in chrome
...
BUG=
R=eae@chromium.org
Review URL: https://codereview.chromium.org/23555004
git-svn-id: http://skia.googlecode.com/svn/trunk@10991 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-28 20:31:58 +00:00
scroggo@google.com
1a2e71d9a8
Don't require getLength on Mac.
...
For consistency with our other image decoders, do not depend on getLength
in Mac specific decoder.
BUG=skia:1570
R=djsollen@google.com
Review URL: https://codereview.chromium.org/23004008
git-svn-id: http://skia.googlecode.com/svn/trunk@10990 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-28 19:13:13 +00:00
epoger@google.com
3f0a108586
Remove temporary workaround TODOs from tools/tests/run.sh
...
R=rmistry@google.com
Review URL: https://codereview.chromium.org/23490009
git-svn-id: http://skia.googlecode.com/svn/trunk@10989 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-28 19:04:05 +00:00
shawnsingh@chromium.org
5a6cd35b19
Remove sk_bzero usage from SkMatrix44 for improved performance.
...
sk_bzero is not efficient for initializing small chunks of memory. Instead,
directly initializing matrix values when needed results in substantial
performance improvements.
BUG=skia:1558
R=reed@google.com
Review URL: https://codereview.chromium.org/23090008
git-svn-id: http://skia.googlecode.com/svn/trunk@10988 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-28 18:55:25 +00:00
epoger@google.com
98ed8fa4bf
Delete empty subdirs under tools/tests/rebaseline
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10987 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-28 18:47:49 +00:00
scroggo@google.com
cd7a73c200
Test decoders when hasLength returns false.
...
Compare the result of a decode of a stream without a length to the
result of the same stream with a length. Ensures that our decoders
work regardless of whether hasLength returns true (since the decode
potentially follows two paths).
R=epoger@google.com
Review URL: https://codereview.chromium.org/23598004
git-svn-id: http://skia.googlecode.com/svn/trunk@10984 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-28 18:33:31 +00:00
commit-bot@chromium.org
6241754c84
bbh_shootout: Move bitmap rendering out of the timing codepath.
...
R=reed@google.com
Author: sglez@google.com
Review URL: https://chromiumcodereview.appspot.com/23639003
git-svn-id: http://skia.googlecode.com/svn/trunk@10983 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-28 16:02:47 +00:00
commit-bot@chromium.org
7ab7ca4199
Fix case where GrGLEffectMatrix gives back a dangling ptr for the coords var name.
...
R=robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://chromiumcodereview.appspot.com/23706003
git-svn-id: http://skia.googlecode.com/svn/trunk@10982 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-28 15:59:13 +00:00
reed@google.com
1c028bd395
fix state machine so we know simple only loops once, but we can call maprect in debug mode
...
Revert "Revert of r10943."
This reverts commit 9e83074cce521d3cc3b8b3a9b819a612a07d800a.
BUG=
R=tomhudson@google.com
Review URL: https://codereview.chromium.org/23618005
git-svn-id: http://skia.googlecode.com/svn/trunk@10981 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-28 15:23:19 +00:00
commit-bot@chromium.org
e997c26e2e
ARM Skia NEON patches - 15 - Preparation work for Blitmask optims
...
Blitmask: copy empty factory functions to a new file
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
BUG=
R=djsollen@google.com
Author: kevin.petit.arm@gmail.com
Review URL: https://chromiumcodereview.appspot.com/21120007
git-svn-id: http://skia.googlecode.com/svn/trunk@10980 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-28 15:07:58 +00:00
commit-bot@chromium.org
515dcd3603
Replace uses of GR_DEBUG by SK_DEBUG.
...
BUG=None
R=bsalomon@google.com , robertphillips@google.com
Author: tfarina@chromium.org
Review URL: https://chromiumcodereview.appspot.com/23137022
git-svn-id: http://skia.googlecode.com/svn/trunk@10978 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-28 14:17:03 +00:00
scroggo@google.com
4d213ab944
Handle SkStream::rewind properly.
...
include/core/SkStream.h:
Update documentation to state that rewinding a stream at the beginning
should return true. This is important because our decoders fail if
rewind returns false, assuming that the stream is not at the beginning.
src/images/SkImageDecoder_libpng.cpp:
If rewind fails, call png_error.
src/images/SkImageDecoder_libwebp.cpp:
If rewind fails, report an error and return false.
src/images/SkImageRef.cpp:
If rewind fails report an error and return false.
FIXME: Need to handle flattening properly. Should I perhaps move
writeStream into SkOrderedWriteBuffer?
src/images/SkJpegUtility.cpp:
Report a jpeg error on failure to rewind.
BUG=https://b.corp.google.com/issue?id=8432093
R=bungeman@google.com , djsollen@google.com , reed@google.com
Review URL: https://codereview.chromium.org/22861028
git-svn-id: http://skia.googlecode.com/svn/trunk@10977 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-28 13:08:54 +00:00
robertphillips@google.com
d42d96f44c
Missed a Nexus4 image rebaseline
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10976 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-28 12:50:16 +00:00
robertphillips@google.com
d162092bb4
Performance trigger rebaselines of theverge on Nexus7 for r10936 (Blur refactoring)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@10975 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-28 12:37:31 +00:00
commit-bot@chromium.org
7a1885b8ab
Whitespace change to test the Commit Queue.
...
(SkipBuildbotRuns)
R=borenet@google.com
Author: rmistry@google.com
Review URL: https://chromiumcodereview.appspot.com/23448008
git-svn-id: http://skia.googlecode.com/svn/trunk@10974 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-08-28 12:36:22 +00:00