Commit Graph

1830 Commits

Author SHA1 Message Date
yangsu@google.com
654d72f94c Revised SkOSMenu
http://codereview.appspot.com/4827042/


git-svn-id: http://skia.googlecode.com/svn/trunk@2013 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-01 17:27:33 +00:00
yangsu@google.com
12d177d1f3 Cocoa SampleApp files
http://codereview.appspot.com/4843041/
http://codereview.appspot.com/4832044/
http://codereview.appspot.com/4826061/


git-svn-id: http://skia.googlecode.com/svn/trunk@2012 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-01 17:07:12 +00:00
bsalomon@google.com
dea2f8d863 Remove unnecessary dirty clip flag in GrGpu, remove getUsableStencilBits()
Review URL: http://codereview.appspot.com/4828050/



git-svn-id: http://skia.googlecode.com/svn/trunk@2011 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-01 15:51:05 +00:00
epoger@google.com
896d79da53 whitespace commit to trigger buildbot
git-svn-id: http://skia.googlecode.com/svn/trunk@2010 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-01 15:38:07 +00:00
bsalomon@google.com
04accd3bb6 Add trunk/out to svn:ignore list
Review URL: http://codereview.appspot.com/4841042/



git-svn-id: http://skia.googlecode.com/svn/trunk@2005 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-01 15:02:03 +00:00
bsalomon@google.com
71f341aca6 Split texture upload out from onCreateTexture
Review URL: http://codereview.appspot.com/4809060/



git-svn-id: http://skia.googlecode.com/svn/trunk@2003 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-01 13:36:00 +00:00
bsalomon@google.com
cf9b7505f2 Fix bug in SkMatrix::invert where typemask is not set on inverse when a matrix is inverted into itself.
Review URL: http://codereview.appspot.com/4819050/



git-svn-id: http://skia.googlecode.com/svn/trunk@2002 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-01 13:26:01 +00:00
reed@google.com
84b437e6ce update dox for LCD text
git-svn-id: http://skia.googlecode.com/svn/trunk@2001 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-01 12:45:35 +00:00
epoger@google.com
feee9e8413 another whitespace commit to trigger buildbot
git-svn-id: http://skia.googlecode.com/svn/trunk@2000 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-29 21:05:40 +00:00
epoger@google.com
ab5161fdb1 whitespace commit to trigger buildbot
git-svn-id: http://skia.googlecode.com/svn/trunk@1998 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-29 20:48:47 +00:00
bsalomon@google.com
5bfc21761e cleanup GrGLTexture / GrGLRenderTarget cons. Make GrRenderTarget aware of its msaa sample count.
Review URL: http://codereview.appspot.com/4833045/



git-svn-id: http://skia.googlecode.com/svn/trunk@1996 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-29 20:29:05 +00:00
bsalomon@google.com
aa5b6730f2 move render target decls / defs to their own headers / srcs
Review URL: http://codereview.appspot.com/4806058/



git-svn-id: http://skia.googlecode.com/svn/trunk@1995 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-29 15:13:20 +00:00
epoger@google.com
3448e9e134 disable optimization in Mac debug build
git-svn-id: http://skia.googlecode.com/svn/trunk@1994 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-29 13:46:56 +00:00
tomhudson@google.com
2c2508d2ed More variable initializations and curly braces to avoid Linux compiler
warnings.



git-svn-id: http://skia.googlecode.com/svn/trunk@1993 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-29 13:44:30 +00:00
bsalomon@google.com
e14490adad Move GL headers out of public include dir
Review URL: http://codereview.appspot.com/4837041/



git-svn-id: http://skia.googlecode.com/svn/trunk@1992 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-29 13:39:53 +00:00
tomhudson@google.com
a7ed3cc637 Eliminate Linux compile warnings throughout animator/ with variable
initializations, missing braces.



git-svn-id: http://skia.googlecode.com/svn/trunk@1991 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-29 13:20:06 +00:00
tomhudson@google.com
221db3c336 Fix initialization of variables; eliminates warnings on Linux.
git-svn-id: http://skia.googlecode.com/svn/trunk@1990 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-28 21:10:29 +00:00
tomhudson@google.com
5c210c7a2f Break onEncode() into two functions to avoid clobbering variables with
setjmp/longjmp; gets rid of warnings on Linux.

Over-the-shoulder review by reed@.



git-svn-id: http://skia.googlecode.com/svn/trunk@1989 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-28 21:06:40 +00:00
reed@google.com
d53bd4a40a balance destructor's CFRelease with a CFRetain when we get the cgfont
git-svn-id: http://skia.googlecode.com/svn/trunk@1988 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-28 20:36:32 +00:00
junov@google.com
1d32978f7e Fixing the ignore transform flag in Ganesh with mask filter and drawBitmap
TEST=SampleApp/Texture Domain
BUG=http://code.google.com/p/skia/issues/detail?id=335
REVIEW=http://codereview.appspot.com/4803052/



git-svn-id: http://skia.googlecode.com/svn/trunk@1987 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-28 20:10:09 +00:00
epoger@google.com
3eba9d3115 whitespace commit to trigger buildbot
git-svn-id: http://skia.googlecode.com/svn/trunk@1986 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-28 19:29:02 +00:00
bungeman@google.com
b81be7a780 Include <new> required for placement new in SkTLazy.
Also, add SkTLazy to gyp and remove old includes.


git-svn-id: http://skia.googlecode.com/svn/trunk@1984 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-28 16:51:20 +00:00
epoger@google.com
935d94500d Script to automatically update copyright notices in C/C++ source code.
Created to implement http://codereview.appspot.com/4816058/ ('Automatic update of all copyright notices to reflect new license terms.')

We can also use this to periodically clean up our code headers.
Review URL: http://codereview.appspot.com/4800055

git-svn-id: http://skia.googlecode.com/svn/trunk@1983 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-28 14:29:58 +00:00
epoger@google.com
ec3ed6a5eb Automatic update of all copyright notices to reflect new license terms.
I have manually examined all of these diffs and restored a few files that
seem to require manual adjustment.

The following files still need to be modified manually, in a separate CL:

android_sample/SampleApp/AndroidManifest.xml
android_sample/SampleApp/res/layout/layout.xml
android_sample/SampleApp/res/menu/sample.xml
android_sample/SampleApp/res/values/strings.xml
android_sample/SampleApp/src/com/skia/sampleapp/SampleApp.java
android_sample/SampleApp/src/com/skia/sampleapp/SampleView.java
experimental/CiCarbonSampleMain.c
experimental/CocoaDebugger/main.m
experimental/FileReaderApp/main.m
experimental/SimpleCocoaApp/main.m
experimental/iOSSampleApp/Shared/SkAlertPrompt.h
experimental/iOSSampleApp/Shared/SkAlertPrompt.m
experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig
experimental/iOSSampleApp/SkiOSSampleApp-Debug.xcconfig
experimental/iOSSampleApp/SkiOSSampleApp-Release.xcconfig
gpu/src/android/GrGLDefaultInterface_android.cpp
gyp/common.gypi
gyp_skia
include/ports/SkHarfBuzzFont.h
include/views/SkOSWindow_wxwidgets.h
make.bat
make.py
src/opts/memset.arm.S
src/opts/memset16_neon.S
src/opts/memset32_neon.S
src/opts/opts_check_arm.cpp
src/ports/SkDebug_brew.cpp
src/ports/SkMemory_brew.cpp
src/ports/SkOSFile_brew.cpp
src/ports/SkXMLParser_empty.cpp
src/utils/ios/SkImageDecoder_iOS.mm
src/utils/ios/SkOSFile_iOS.mm
src/utils/ios/SkStream_NSData.mm
tests/FillPathTest.cpp
Review URL: http://codereview.appspot.com/4816058

git-svn-id: http://skia.googlecode.com/svn/trunk@1982 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-28 14:26:00 +00:00
epoger@google.com
fd03db0fe9 Manually update copyright notices in files that defied the automated process
used in http://codereview.appspot.com/4816058/ ('Automatic update of all copyright notices to reflect new license terms.')

Note that the following files have been left alone, because they name
copyright holders outside of Google.  Please let me know if we need to update
these files:

experimental/CiCarbonSampleMain.c
src/opts/memset16_neon.S
src/opts/memset32_neon.S
src/opts/opts_check_arm.cpp
src/ports/SkDebug_brew.cpp
src/ports/SkMemory_brew.cpp
src/ports/SkOSFile_brew.cpp
Review URL: http://codereview.appspot.com/4806054

git-svn-id: http://skia.googlecode.com/svn/trunk@1981 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-28 14:24:55 +00:00
reed@google.com
69485bc7ee delete dead file
git-svn-id: http://skia.googlecode.com/svn/trunk@1980 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-28 13:47:12 +00:00
junov@google.com
61d46a0c50 This new test provides a test case for
http://code.google.com/p/skia/issues/detail?id=332

REVIEW=http://codereview.appspot.com/4808058/



git-svn-id: http://skia.googlecode.com/svn/trunk@1979 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-28 13:34:31 +00:00
vandebo@chromium.org
17e66e2d34 [PDF] Improve efficiency of glyph id collection during font subsetting.
Patch from Arthur Hsu, original CL: http://codereview.appspot.com/4828044/

Review URL: http://codereview.appspot.com/4798057

git-svn-id: http://skia.googlecode.com/svn/trunk@1978 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-27 20:59:55 +00:00
vandebo@chromium.org
93225ff5d5 [PDF] Fix mem leak in font subsetting.
Original CL: http://codereview.appspot.com/4809053/

Review URL: http://codereview.appspot.com/4825052

git-svn-id: http://skia.googlecode.com/svn/trunk@1977 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-27 18:38:11 +00:00
reed@google.com
026dceead9 include <new> for SkTLazy, since windows seems to need it.
git-svn-id: http://skia.googlecode.com/svn/trunk@1976 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-27 18:31:43 +00:00
reed@google.com
05a32da01f new baseline now that we're using the built-in quad->cubic converter
git-svn-id: http://skia.googlecode.com/svn/trunk@1975 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-27 18:28:18 +00:00
reed@google.com
32e5d97ccf don't modify a const paint
git-svn-id: http://skia.googlecode.com/svn/trunk@1974 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-27 18:25:57 +00:00
reed@google.com
a44ea515e7 use SkConvertQuadToCubic()
git-svn-id: http://skia.googlecode.com/svn/trunk@1973 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-27 18:24:25 +00:00
reed@google.com
ceff2870bc add simple test for writepixels
git-svn-id: http://skia.googlecode.com/svn/trunk@1972 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-27 18:21:37 +00:00
epoger@google.com
325bdc3c35 whitespace commit to trigger buildbot
git-svn-id: http://skia.googlecode.com/svn/trunk@1971 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-27 14:47:25 +00:00
epoger@google.com
08c315d268 re-enable "core" build target lost in r1968
git-svn-id: http://skia.googlecode.com/svn/trunk@1970 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-27 14:17:35 +00:00
reed@google.com
90751c5788 use safeunref on typefaces, since Deserialize might return NULL.
git-svn-id: http://skia.googlecode.com/svn/trunk@1969 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-27 14:16:03 +00:00
epoger@google.com
c9493a4a68 Properly handle parallel make ("make -j"), and only rerun gyp if necessary.
This should completely resolve http://code.google.com/p/skia/issues/detail?id=330 ('building multiple targets in parallel fails on Linux')

This should resolve http://code.google.com/p/skia/issues/detail?id=313 ('toplevel makefile always reruns gyp_skia') for Linux, but not Mac.  (See details in comments within the file)
Review URL: http://codereview.appspot.com/4827043

git-svn-id: http://skia.googlecode.com/svn/trunk@1968 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-27 14:06:25 +00:00
reed@google.com
6fc321a18a add test for SkConvertQuadToCubic
git-svn-id: http://skia.googlecode.com/svn/trunk@1967 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-27 13:54:36 +00:00
ctguil@chromium.org
9510ccc06b Cleanup from r1843 based on revision comments.
Review URL: http://codereview.appspot.com/4794044

git-svn-id: http://skia.googlecode.com/svn/trunk@1966 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-27 00:10:51 +00:00
bsalomon@google.com
50398bf7f1 Make GrTextureCache into a generic GrResource cache. Also some GrContext texture interface cleanup.
http://codereview.appspot.com/4815055/


git-svn-id: http://skia.googlecode.com/svn/trunk@1965 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-26 20:45:30 +00:00
caryclark@google.com
f131694617 Add functionality for isRect() to SkPath.
http://codereview.appspot.com/4807052/

M    src/core/SkPath.cpp
M    tests/PathTest.cpp



git-svn-id: http://skia.googlecode.com/svn/trunk@1964 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-26 19:54:45 +00:00
reed@google.com
8937989e17 remove this, since diff Win machines differ on LCD settings
git-svn-id: http://skia.googlecode.com/svn/trunk@1963 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-26 19:51:50 +00:00
reed@google.com
6f72eac9ee rebaseline given new AA text generation in SkFontHost_win.cpp
git-svn-id: http://skia.googlecode.com/svn/trunk@1961 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-26 19:37:13 +00:00
reed@google.com
82a34d83f6 GetGlyphOutline can return clipped results :( so we now draw offscreen
instead, as we always did for BW and lcd. This means sometimes we get
BG results when we requested AA, since GDI can decide (based on user-settings)
that we're too small for AA :(



git-svn-id: http://skia.googlecode.com/svn/trunk@1960 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-26 19:33:08 +00:00
bsalomon@google.com
cee661af92 Reapply r1951.
git-svn-id: http://skia.googlecode.com/svn/trunk@1959 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-26 12:32:36 +00:00
vandebo@chromium.org
ec36471096 Revert "Add sizeInBytes to GrResource, make GrRenderTarget aware of its pixel config (r1951)"
Temporarily revert this change in order to roll other changes into Chrome.

TBR=bsalomon@google.com

Review URL: http://codereview.appspot.com/4807051

git-svn-id: http://skia.googlecode.com/svn/trunk@1958 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-26 03:44:05 +00:00
vandebo@chromium.org
1f16589855 [PDF] Add font subsetting using the sfntly library.
Patch from Arthur Hsu, original CL: http://codereview.chromium.org/7513003/

Review URL: http://codereview.appspot.com/4828041

git-svn-id: http://skia.googlecode.com/svn/trunk@1957 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-26 02:11:41 +00:00
vandebo@chromium.org
9859428e71 [PDF] Refactor SkPDFFont to enable font/cmap subsetting.
Patch from Arthur Hsu, original CL: http://codereview.appspot.com/4633050/

Committed: http://code.google.com/p/skia/source/detail?r=1943
Reverted: http://code.google.com/p/skia/source/detail?r=1944

Review URL: http://codereview.appspot.com/4811049

git-svn-id: http://skia.googlecode.com/svn/trunk@1956 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-25 22:34:12 +00:00
vandebo@chromium.org
d3a094ca34 [PDF] Fix bug in catalog substitution.
Review URL: http://codereview.appspot.com/4816051

git-svn-id: http://skia.googlecode.com/svn/trunk@1955 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-25 22:22:25 +00:00