bsalomon@google.com
a8e686eb6c
Make program unit test run clean and add it to tests program
...
Review URL: http://codereview.appspot.com/4898049/
git-svn-id: http://skia.googlecode.com/svn/trunk@2121 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-16 15:45:58 +00:00
bsalomon@google.com
4d3aaafd90
Move some gpu headers out of the public include dir
...
Review URL: http://codereview.appspot.com/4902045/
git-svn-id: http://skia.googlecode.com/svn/trunk@2119 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-16 15:09:46 +00:00
epoger@google.com
ab9b658a2a
Stop packaging command-line Mac tools as a bundle.
...
Review URL: http://codereview.appspot.com/4894046
git-svn-id: http://skia.googlecode.com/svn/trunk@2113 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-15 19:22:39 +00:00
yangsu@google.com
0be0157d70
Added samplecode as an include directory for SampleApp.gyp
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2107 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-12 16:06:24 +00:00
yangsu@google.com
9b77fbd38b
Removed networking dependencies from SampleApp that caused errors
...
Fixed error in Debugger
git-svn-id: http://skia.googlecode.com/svn/trunk@2106 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-12 15:18:25 +00:00
yangsu@google.com
f3523fbc40
Included dependencies for networked pipe and debugger in SampleApp
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2105 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-12 15:04:12 +00:00
yangsu@google.com
ef7bdfac61
Added Debugger to Sample App, off by default
...
Removed CocoaDebugger from experimental
Slight changes to SkOSMenu
Bug fixes for NetPipeReader and DrawingBoard
git-svn-id: http://skia.googlecode.com/svn/trunk@2102 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-12 14:27:47 +00:00
vandebo@chromium.org
04c643b773
Use bfrange to shrink ToUnicode table.
...
Patch from Arthur Hsu. Original CL: http://codereview.appspot.com/4844043/
BUG=258
Review URL: http://codereview.appspot.com/4808083
git-svn-id: http://skia.googlecode.com/svn/trunk@2075 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-08 22:33:05 +00:00
yangsu@google.com
3f69b54d45
Fixed Compiler flag error in CocoaSampleApp.gyp
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2065 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-08 19:34:16 +00:00
yangsu@google.com
42fd1e94bb
CocoaSampleApp no longer depends on SkOSWindow_Mac.h
...
./gyp_skia now builds CocoaSampleApp on Mac
http://codereview.appspot.com/4810084/
git-svn-id: http://skia.googlecode.com/svn/trunk@2063 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-08 18:38:58 +00:00
bsalomon@google.com
558a75bcb3
Use a single stencil buffer for a given width,height,samplecount
...
Review URL: http://codereview.appspot.com/4854044/
git-svn-id: http://skia.googlecode.com/svn/trunk@2061 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-08 17:01:14 +00:00
yangsu@google.com
f121b05254
Removed networking dependencies from SampleApp, Pipe now off by default
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2060 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-08 16:02:51 +00:00
yangsu@google.com
db03eaa371
Added transitions and net pipe to SampleApp, updated gyp files
...
http://codereview.appspot.com/4839047/
http://codereview.appspot.com/4801080/
git-svn-id: http://skia.googlecode.com/svn/trunk@2059 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-08 15:37:23 +00:00
yangsu@google.com
f3493f0e1f
iOS/Cocoa SampleApp, Drawingboard, and Networking updates
...
http://codereview.appspot.com/4843041/
http://codereview.appspot.com/4826061/
http://codereview.appspot.com/4832044/
http://codereview.appspot.com/4798055/
git-svn-id: http://skia.googlecode.com/svn/trunk@2058 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-08 15:12:05 +00:00
bsalomon@google.com
81c3f8de1c
Add GrStencilBuffer as a separate resource type from render target
...
This is a resubmission of the changes in r2026 with fixes for FBO completeness issues.
Review URL: http://codereview.appspot.com/4837046/
git-svn-id: http://skia.googlecode.com/svn/trunk@2035 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-03 15:18:33 +00:00
yangsu@google.com
901aea5a6c
Moved references of SkOSWindow_mac.cpp and skia_main.cpp out of utils to SampleApp.gyp
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2031 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-02 16:35:00 +00:00
bsalomon@google.com
4043ae2061
Revert r2026 due to bot failures
...
git-svn-id: http://skia.googlecode.com/svn/trunk@2027 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-02 14:19:11 +00:00
bsalomon@google.com
a16d6506bd
Create a separate GrStencilBuffer class apart from GrRenderTarget.
...
Review URL: http://codereview.appspot.com/4837046/
git-svn-id: http://skia.googlecode.com/svn/trunk@2026 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-02 14:07:52 +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
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
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
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
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
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
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
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
epoger@google.com
d4af56c5f2
Exit SkBitmap::scrollRect() early if width <= 0
...
As suggested in email from saintlou@google.com
Review URL: http://codereview.appspot.com/4806047
git-svn-id: http://skia.googlecode.com/svn/trunk@1948 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-25 16:27:59 +00:00
vandebo@chromium.org
31dcee7b84
Revert "[PDF] Refactor SkPDFFont to enable font/cmap subsetting."
...
The PDF xref table is corrupt with this change. Revert until we figure it out.
Review URL: http://codereview.appspot.com/4803049
git-svn-id: http://skia.googlecode.com/svn/trunk@1944 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-23 21:13:30 +00:00
vandebo@chromium.org
6504cfdfc0
[PDF] Refactor SkPDFFont to enable font/cmap subsetting.
...
Patch from Arthur Hsu, original CL: http://codereview.appspot.com/4633050/
Review URL: http://codereview.appspot.com/4811049
git-svn-id: http://skia.googlecode.com/svn/trunk@1943 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-23 20:22:53 +00:00
epoger@google.com
58007d713e
Add debug symbols to Windows static libraries
...
As requested in http://code.google.com/p/skia/issues/detail?id=320
Review URL: http://codereview.appspot.com/4805050
git-svn-id: http://skia.googlecode.com/svn/trunk@1940 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-22 14:41:26 +00:00
bsalomon@google.com
1936f26a0f
Add tinybitmap gm and windows baselines.
...
Review URL: http://codereview.appspot.com/4674048/
git-svn-id: http://skia.googlecode.com/svn/trunk@1888 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-18 21:19:31 +00:00
bsalomon@google.com
d9f826c0db
flip Y in uploads to bottom-up textures (and add gm test)
...
Review URL: http://codereview.appspot.com/4756043/
git-svn-id: http://skia.googlecode.com/svn/trunk@1882 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-18 15:25:04 +00:00
senorblanco@chromium.org
e36ddf0131
More GPU blur fixes.
...
- clamp the max. radius to 128, as the software path does
- use a more accurate radius-to-sigma conversion (0.6 instead of 0.6666)
- make SampleBlur derive from SampleView, not SkView, so benchmark mode ('f')
works
- implement a new BigBlur sample to test large radii
Review URL: http://codereview.appspot.com/4726043
git-svn-id: http://skia.googlecode.com/svn/trunk@1871 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-15 14:28:16 +00:00
reed@google.com
25df8884bb
add bench for building blurs
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1865 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-14 19:03:58 +00:00
reed@google.com
4de4d60a1b
add sample for 2ptradial where we divide by zero
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1832 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-08 20:12:55 +00:00
bsalomon@google.com
583572252d
little bit of gyp cleanup (fixes windows build of sktime_unix)
...
Review URL: http://codereview.appspot.com/4685045/
git-svn-id: http://skia.googlecode.com/svn/trunk@1826 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-08 16:10:53 +00:00
bsalomon@google.com
22c5deaf75
Fix div by zero in GPU degenerate radials (and add sample and gm baselines)
...
Review URL: http://codereview.appspot.com/4675062/
git-svn-id: http://skia.googlecode.com/svn/trunk@1817 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-07 14:38:03 +00:00
reed@google.com
2b75f4279a
add asABlur() to maskfilters, so devices like gpu and pdf can query them.
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1816 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-07 13:43:38 +00:00
vandebo@chromium.org
d3a8c94dfd
A bit set class. Will be used for font subsetting.
...
Committed on behalf of arthurhsu@chromium.org with a few final nits.
Original CL: http://codereview.appspot.com/4627077
Review URL: http://codereview.appspot.com/4657070
git-svn-id: http://skia.googlecode.com/svn/trunk@1788 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-02 01:26:37 +00:00
epoger@google.com
ea5dfa87b2
merge of SkiOSSampleApp into SampleApp, still a work in progress
...
http://codereview.appspot.com/4636078/
git-svn-id: http://skia.googlecode.com/svn/trunk@1785 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-01 21:01:32 +00:00
epoger@google.com
8846cb22ce
Create new 'skia_os' variable to replace use of 'OS' in most places.
...
http://codereview.appspot.com/4627085
git-svn-id: http://skia.googlecode.com/svn/trunk@1782 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-01 20:20:07 +00:00
epoger@google.com
5351b373b3
combine target_defaults.gypi into common.gypi
...
http://codereview.appspot.com/4654080
git-svn-id: http://skia.googlecode.com/svn/trunk@1780 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-07-01 17:16:26 +00:00
bsalomon@google.com
3582bf9e3d
Remove GrAuto*Malloc, replace with SkAuto*Malloc
...
Review URL: http://codereview.appspot.com/4629088
git-svn-id: http://skia.googlecode.com/svn/trunk@1774 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-30 21:32:31 +00:00
tomhudson@google.com
278cbb452a
Enable WebKit/Chromium style logging for Skia.
...
New macros called in Ganesh functions; by default are compiled away,
in example code resolve to printout, and are compatible with WebKit/Chromium
event logging and GPU profiler.
git-svn-id: http://skia.googlecode.com/svn/trunk@1770 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-30 19:37:01 +00:00
epoger@google.com
213c42bb69
Create new lcdtext page within gm
...
http://codereview.appspot.com/4654071
git-svn-id: http://skia.googlecode.com/svn/trunk@1736 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-28 16:20:27 +00:00
reed@google.com
effc5016f0
remove obsolete text codepaths
...
git-svn-id: http://skia.googlecode.com/svn/trunk@1725 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-27 16:44:46 +00:00
vandebo@chromium.org
0f1c95cd67
Add a zlib target that the pdf target can depend on.
...
- make drawTextOnPath (now used by shadertext) a non fatal NOT_IMPLEMENTED on PDF.
Review URL: http://codereview.appspot.com/4631071
git-svn-id: http://skia.googlecode.com/svn/trunk@1722 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 23:13:47 +00:00
epoger@google.com
dcab3a15c9
Alternate approach to enabling PDF in gm (gyp changes)
...
http://codereview.appspot.com/4631067
git-svn-id: http://skia.googlecode.com/svn/trunk@1713 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-06-24 19:09:09 +00:00