Scroggo
b4490c7435
Minor fixes for SampleApp.
...
- Add a comment for invalidating in onSizeChange.
- Call base constructor for SkOSWindow_Unix.
- Call onSizeChange in SampleWindow constructor so fZoomCenter gets set.
git-svn-id: http://skia.googlecode.com/svn/trunk@1627 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-17 13:53:05 +00:00
tomhudson@google.com
cae6b3f1e8
-replay tests are only run if forward rendering succeeded.
...
-serialize tests are only run if previous test (either -replay or forward
rendering) succeeded.
The results of -replay and -serialize are compared against the output of
forward rendering.
git-svn-id: http://skia.googlecode.com/svn/trunk@1626 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-17 13:11:45 +00:00
bsalomon@google.com
e97f0856a8
Add createNewCompatibleDevice. Allow devices to have a NULL factory and saveLayer will fall back on createNewCompatibleDevice.
...
Review URL: http://codereview.appspot.com/4633044/
git-svn-id: http://skia.googlecode.com/svn/trunk@1625 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-17 13:10:25 +00:00
Scroggo
a54e2f61f8
Use SkTouchGesture to handle pinch events in Android SampleApp.
...
http://codereview.appspot.com/4631043/
git-svn-id: http://skia.googlecode.com/svn/trunk@1624 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-17 12:46:17 +00:00
yangsu@google.com
1bce0a5857
Modified Pipe Reader to read an atom at a time
...
http://codereview.appspot.com/4636043/
git-svn-id: http://skia.googlecode.com/svn/trunk@1623 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-16 21:08:19 +00:00
yangsu@google.com
a8a42e20f0
Added CocoaDebugger to experimental
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1622 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-16 20:49:55 +00:00
reed@google.com
af951c9bc4
make SkDevice constructors explicit between offscreen and on/direct
...
http://codereview.appspot.com/4632044/
git-svn-id: http://skia.googlecode.com/svn/trunk@1620 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-16 19:10:39 +00:00
epoger@google.com
3cbd375350
roll back runhooks to fix production buildbot
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1618 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-16 18:24:11 +00:00
epoger@google.com
0045eddac6
Add "runhooks" to run gyp step upon gclient sync, for buildbot
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1617 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-16 18:19:46 +00:00
bsalomon@google.com
b5b3168a64
First pass at improving temporary tex/rt reuse
...
Review URL: http://codereview.appspot.com/4625043/
git-svn-id: http://skia.googlecode.com/svn/trunk@1616 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-16 18:05:35 +00:00
Scroggo
3e7ff9f31d
Better fix for changing the viewport in sample app.
...
Create a platform description and base the size on the SkWindow
in order to create a RenderTarget, which results in changing the
viewport. This allows us to use only GR calls.
In the Android sample app, fix the problem where nothing is drawn
in the first frame, and default to drawing in GL.
Reviewed at http://codereview.appspot.com/4642043/
git-svn-id: http://skia.googlecode.com/svn/trunk@1615 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-16 15:31:26 +00:00
yangsu@google.com
6c4cd265e3
Added SimpleCocoaApp to the experimental directory
...
http://codereview.appspot.com/4576059/
git-svn-id: http://skia.googlecode.com/svn/trunk@1614 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-16 14:46:26 +00:00
tomhudson@google.com
e67bd3fbc9
Rename GrGLBug to GrGLCapability.
...
Default all architectures to kProbe_GrGLCapability.
Use new facilities better from GrGpuGL.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@1613 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-16 14:08:04 +00:00
Scroggo
716a0387ca
Fix the mac build of the SampleApp.
...
My call to glViewport breaks the mac build, but benefits the Android
and linux builds. Fix the mac build until I come up with a better
solution.
Reviewed at http://codereview.appspot.com/4628042/
git-svn-id: http://skia.googlecode.com/svn/trunk@1612 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-16 14:00:15 +00:00
Scroggo
c29d7cdf3e
Always call notifyTextureDelete in onRelease.
...
Reviewed at http://codereview.appspot.com/4620050/
git-svn-id: http://skia.googlecode.com/svn/trunk@1611 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-16 13:14:21 +00:00
reed@google.com
8ac7a0fcef
add gradient_create bench, just to measure the time to create a new gradient
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1610 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-16 13:14:19 +00:00
epoger@google.com
b1b721a7b6
remove libpng and zlib from third_party
...
http://codereview.appspot.com/4571077
git-svn-id: http://skia.googlecode.com/svn/trunk@1609 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-16 12:27:14 +00:00
bungeman@google.com
48d5d8e862
Put Matirx and Scalar benches into gyp.
...
The Matrix and Scalar benches were in the old Makefile, but did not make it into gyp.
git-svn-id: http://skia.googlecode.com/svn/trunk@1608 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-15 22:00:58 +00:00
reed@google.com
72415161dd
add tilemode options
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1607 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-15 21:17:37 +00:00
tomhudson@google.com
30e4bb6667
Avoid checking to see if a bool is less than zero.
...
Create a symbolic name for -1 when it means "don't know, probe at runtime".
git-svn-id: http://skia.googlecode.com/svn/trunk@1606 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-15 19:41:46 +00:00
epoger@google.com
7495ac16c9
remove trunk/gyp/gyp_skia (it was replaced a while back by trunk/gyp_skia)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1605 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-15 19:35:50 +00:00
epoger@google.com
d33f75c7be
Move PointTest.cpp out of tests/core into tests/ ; the other arrangement was
...
"clever" but was causing build problems.
git-svn-id: http://skia.googlecode.com/svn/trunk@1604 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-15 18:49:21 +00:00
epoger@google.com
8a12c0430a
fix all_dependent_settings gyp bug (affected Mac only)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1603 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-15 18:20:41 +00:00
epoger@google.com
1fd56dc6e1
Implement SkPoint::Normalize() for SK_SCALAR_IS_FIXED and add performance warning to its declaration
...
http://codereview.appspot.com/4582043/
git-svn-id: http://skia.googlecode.com/svn/trunk@1602 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-15 18:04:58 +00:00
senorblanco@chromium.org
129b8e3237
Implement edge AA for concave polys in the tesselated path renderer.
...
Review URL: http://codereview.appspot.com/4571072/
git-svn-id: http://skia.googlecode.com/svn/trunk@1600 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-15 17:52:09 +00:00
reed@google.com
af9d9c2fc7
change GC imagedecoder to use the same colorspace between image and context,
...
so we get reproducible, unchanged, values.
use GC imagedecoder in gyp for mac
git-svn-id: http://skia.googlecode.com/svn/trunk@1599 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-15 17:33:29 +00:00
bungeman@google.com
a5d4841424
Add information to bench output.
...
http://codereview.appspot.com/4602057/
git-svn-id: http://skia.googlecode.com/svn/trunk@1598 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-15 17:25:46 +00:00
tomhudson@google.com
a87cd2af4c
Increase compatibility with clang, mostly around SK_RESTRICT.
...
Attempting to fix up our use of __restrict__ so Chrome can enable it.
git-svn-id: http://skia.googlecode.com/svn/trunk@1597 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-15 16:50:27 +00:00
Scroggo
2c8208f3a4
Improvements to the SampleApp (primarily Android).
...
Reviewed at http://codereview.appspot.com/4587042/
Android
- Added buttons for interaction without a keyboard.
- Added the ability to zoom in to a specific point (roughly).
- Added event handling (for showing a slideshow, for example).
- Allow changing screen orientation
- Updated README file, explaining how to build
Multiplatform changes
- Added SampleApp header file
- Remove FPS when turning off measure FPS mode
git-svn-id: http://skia.googlecode.com/svn/trunk@1596 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-15 16:49:08 +00:00
epoger@google.com
25e92838a9
fix gm on Mac, and Linux buildbot build, by adding zlib source to third_party
...
http://codereview.appspot.com/4620047/
I will try to find a better way to keep all this working (remove zlib and
libpng from third_party)
git-svn-id: http://skia.googlecode.com/svn/trunk@1595 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-15 16:05:37 +00:00
bsalomon@google.com
cd19a5f194
Set texture dirty flag only when texture has really changed
...
Review URL: http://codereview.appspot.com/4571073/
git-svn-id: http://skia.googlecode.com/svn/trunk@1592 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-15 14:00:23 +00:00
epoger@google.com
38a9134dbc
add libpng source to repo and make Unix build use it
...
http://codereview.appspot.com/4572067
git-svn-id: http://skia.googlecode.com/svn/trunk@1591 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-15 13:45:10 +00:00
reed@google.com
ca1f5e2a5d
style and warnings
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1590 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-14 19:31:24 +00:00
reed@google.com
1622c99150
add
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1589 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-14 19:22:21 +00:00
reed@google.com
35ae8ea9be
add SkDataRef (for future use)
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1588 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-14 19:18:26 +00:00
bsalomon@google.com
1b52457702
Update mac gpu baseline for SSAA on inverse paths
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1585 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-14 18:49:29 +00:00
bsalomon@google.com
7ac249bdc7
Enable SSAA on inverse filled paths
...
Review URL: http://codereview.appspot.com/4613044/
git-svn-id: http://skia.googlecode.com/svn/trunk@1584 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-14 18:46:24 +00:00
epoger@google.com
baa677b248
delete all old (non-Gyp) buildfiles
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1583 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-14 18:35:08 +00:00
tomhudson@google.com
747bf293d4
FBO probing at Context startup is very expensive. This patch removes the
...
test of whether FBOs work at all, and adds parameters to the GrGLInterface
so that values can be passed into the Context creation routines instead
of executing the probes.
The GrGLInterface now defaults to run FBO tests on Android (since hardware
varies), but assumes success on desktop and software platforms.
git-svn-id: http://skia.googlecode.com/svn/trunk@1582 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-14 18:16:52 +00:00
epoger@google.com
353c252a2f
delete manually-imported Gyp source
...
see http://codereview.appspot.com/4610045
git-svn-id: http://skia.googlecode.com/svn/trunk@1580 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-14 17:57:16 +00:00
bsalomon@google.com
8bf2d20f07
Updated mac baselines from gl ctx size change and new version of shadertext with txt-on-path.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1578 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-14 17:20:23 +00:00
bsalomon@google.com
137c428290
Update baselines for linux-fixed. Make shader text sample/GM work with scalar=fixed.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1577 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-14 17:13:22 +00:00
epoger@google.com
0ae27e0911
Use automatically imported third_party/externals/gyp instead of
...
manually imported third_party/gyp
git-svn-id: http://skia.googlecode.com/svn/trunk@1576 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-14 16:01:04 +00:00
bsalomon@google.com
3914958a49
Fix text-as-path with skshader on gpu
...
Review URL: http://codereview.appspot.com/4576057/
git-svn-id: http://skia.googlecode.com/svn/trunk@1575 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 21:55:32 +00:00
bsalomon@google.com
79d2dbed5a
uint32_t -> int for texture extents
...
Review URL: http://codereview.appspot.com/4584053/
git-svn-id: http://skia.googlecode.com/svn/trunk@1574 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 19:28:02 +00:00
Scroggo
5a23424b40
Implement timers for linux SampleApp. http://codereview.appspot.com/4592054/
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1573 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 19:17:58 +00:00
reed@google.com
b9255d523f
drop extraneous GrPrintfs
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1572 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 18:54:59 +00:00
epoger@google.com
8cdb78c4fd
set externals/gyp dependency to same version as manually imported gyp code
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1571 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 18:45:15 +00:00
epoger@google.com
cc9cf9ac6e
Modify DEPS so that it works properly for the buildbot
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1570 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 18:08:41 +00:00
bsalomon@google.com
c4a30bf828
AA updates for mac gm baseline WRT r1568
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1569 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-13 18:01:57 +00:00