Commit Graph

1870 Commits

Author SHA1 Message Date
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
0168afc719 Make RT & TEX base classes aware of NPOT/min-RT bloated size
Review URL: http://codereview.appspot.com/4849045/


git-svn-id: http://skia.googlecode.com/svn/trunk@2057 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-08 13:21:05 +00:00
yangsu@google.com
2f9462d29f Fixed error in SkOSMenu
git-svn-id: http://skia.googlecode.com/svn/trunk@2056 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-05 22:37:18 +00:00
yangsu@google.com
e55f533f4c Updated SkOSMenu to use the updated SkEvents
http://codereview.appspot.com/4809075/


git-svn-id: http://skia.googlecode.com/svn/trunk@2055 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-05 22:11:41 +00:00
reed@google.com
a767fa06ca add api for scalers to force us to use skia to generate their bits from their
path. This may allow the windows scaler to do that if GDI is giving bad
results (i.e. not respecting the request for antialiasing).



git-svn-id: http://skia.googlecode.com/svn/trunk@2054 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-05 21:40:26 +00:00
bsalomon@google.com
6513cd06ae Fail draws when can't get geom into vb/ib.
Review URL: http://codereview.appspot.com/4837059/



git-svn-id: http://skia.googlecode.com/svn/trunk@2053 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-05 20:12:30 +00:00
bsalomon@google.com
82866fd5a7 Fail path rendering gracefully when vb/ib space alloc fails
Review URL: http://codereview.appspot.com/4839050/



git-svn-id: http://skia.googlecode.com/svn/trunk@2052 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-05 16:27:32 +00:00
reed@google.com
3bbee32664 ignore alphaBit (and mask) for 32bit images, 'cause that seems to break this
ico image

http://images.delta.com.edgesuite.net/delta/misc/favicon.ico




git-svn-id: http://skia.googlecode.com/svn/trunk@2051 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-05 16:13:09 +00:00
bsalomon@google.com
edc177df61 Fixes for iOS / Ganesh (consistent fs/vs uni precision decl and don't use stencil-only fbo for clear)
Review URL: http://codereview.appspot.com/4850043/


git-svn-id: http://skia.googlecode.com/svn/trunk@2050 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-05 15:46:40 +00:00
bsalomon@google.com
c7e6d08fd2 Fix dumb copy/paste error
git-svn-id: http://skia.googlecode.com/svn/trunk@2049 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-05 15:38:49 +00:00
reed@google.com
9181aa84aa revert rotated-lcd workaround until I can render gray/lcd+subpixel myself
git-svn-id: http://skia.googlecode.com/svn/trunk@2048 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-05 14:28:31 +00:00
caryclark@google.com
53d11e0655 submit LCD alpha support
http://codereview.appspot.com/4851042/

M    src/core/SkBlitter_ARGB32.cpp



git-svn-id: http://skia.googlecode.com/svn/trunk@2047 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-05 14:17:12 +00:00
bsalomon@google.com
a5a1da81d0 Handle recursive call into GrResourceCache::purgeAsNeeded
Review URL: http://codereview.appspot.com/4850042/



git-svn-id: http://skia.googlecode.com/svn/trunk@2046 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-05 14:02:41 +00:00
reed@google.com
0e0c94c8e9 disable test
git-svn-id: http://skia.googlecode.com/svn/trunk@2044 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-04 18:11:01 +00:00
reed@google.com
f2164b2000 use new SkEvent notion of passing targetID to constructor
git-svn-id: http://skia.googlecode.com/svn/trunk@2042 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-04 13:57:56 +00:00
reed@google.com
87fac4abd7 retool SkEvent to own its target ID or target proc
git-svn-id: http://skia.googlecode.com/svn/trunk@2041 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-04 13:50:17 +00:00
ctguil@chromium.org
5aa937b300 Honor fixed width font in Windows.
BUG=none
TEST=none
Review URL: http://codereview.appspot.com/4850041

git-svn-id: http://skia.googlecode.com/svn/trunk@2040 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-04 01:01:24 +00:00
epoger@google.com
d7a5c644b8 whitespace commit to trigger buildbot
git-svn-id: http://skia.googlecode.com/svn/trunk@2039 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-03 21:31:51 +00:00
reed@google.com
c514dde99e allow events to store their target sink ID
git-svn-id: http://skia.googlecode.com/svn/trunk@2036 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-03 19:41:24 +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
bsalomon@google.com
c49d66b04e Add glReadBuffer to GrGLInterface.
Review URL: http://codereview.appspot.com/4841048/





git-svn-id: http://skia.googlecode.com/svn/trunk@2034 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-03 14:22:30 +00:00
bsalomon@google.com
d32c5f564e Add glDrawBuffer(s) to GrGLInterface
Review URL: http://codereview.appspot.com/4841046/



git-svn-id: http://skia.googlecode.com/svn/trunk@2032 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-02 19:29:03 +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
4737082f79 Correct check against GR_USE_PLATFORM_CREATE_SAMPLE_COUNT
Review URL: http://codereview.appspot.com/4830053/


git-svn-id: http://skia.googlecode.com/svn/trunk@2028 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-02 15:29:38 +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
tomhudson@google.com
9b540ced41 Move SkBitmap members of the skdiff DiffRecord to pointers so that they
can be deleted as soon as they're written. When we're running in --chromium
mode we now have much larger datasets.



git-svn-id: http://skia.googlecode.com/svn/trunk@2025 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-02 14:10:04 +00:00
yangsu@google.com
921091f29e Set up global options for SampleApp and now allows SampleApp to request menu items from the slides
http://codereview.appspot.com/4807056/


git-svn-id: http://skia.googlecode.com/svn/trunk@2024 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-02 13:39:12 +00:00
yangsu@google.com
e938b19445 iOS SampleApp menu related changes
git-svn-id: http://skia.googlecode.com/svn/trunk@2023 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-02 13:23:15 +00:00
yangsu@google.com
5987045388 iOS Sample App menu implementation
http://codereview.appspot.com/4798055/


git-svn-id: http://skia.googlecode.com/svn/trunk@2022 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-02 13:20:22 +00:00
bungeman@google.com
b3d5bc1059 Remove unneeded include in SkBitSet.
http://codereview.appspot.com/4801072/



git-svn-id: http://skia.googlecode.com/svn/trunk@2021 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-01 21:37:19 +00:00
senorblanco@chromium.org
68c4d1288a Clip GPU blur against clip bounds. Clip the size of the FBOs used for blurs
to the bounds of the clipping region, inflated by the blur radius.  This is a
little tricky, since we want the rect we use for downsampling to be an integer
multiple of the scale factor, so we scale down the clip rect to downsampled
space, inflate by the (scaled) kernel width, and intersect the rects there.

Also check the blur radius against 0 and abort early, to prevent the fuzzer
blowing up on a missing uniform.

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



git-svn-id: http://skia.googlecode.com/svn/trunk@2020 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-01 21:20:31 +00:00
reed@google.com
099d22dbce add roundOut()
git-svn-id: http://skia.googlecode.com/svn/trunk@2019 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-01 20:53:19 +00:00
reed@google.com
1b20280f9b deprecate SkScalarFloor, SkScalarCeil, SkScalarRound
Should instead use the explicit version that returns either a scalar or int

e.g.
    SkScalarRoundToInt
    SkScalarROundToScalar



git-svn-id: http://skia.googlecode.com/svn/trunk@2018 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-01 20:49:45 +00:00
bungeman@google.com
14fc32114b Add Commit to SkWIStream.
http://codereview.appspot.com/4809069/



git-svn-id: http://skia.googlecode.com/svn/trunk@2017 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-01 20:41:53 +00:00
bungeman@google.com
955bb0751a Make WIC encoder lock the bitmap pixels.
http://codereview.appspot.com/4832045/



git-svn-id: http://skia.googlecode.com/svn/trunk@2016 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-01 20:18:45 +00:00
bungeman@google.com
22b4950f60 Windows image decoder should handle all bitmap formats.
http://codereview.appspot.com/4801070/



git-svn-id: http://skia.googlecode.com/svn/trunk@2015 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-01 19:37:43 +00:00
bsalomon@google.com
030302ce69 Fix comment alignment
git-svn-id: http://skia.googlecode.com/svn/trunk@2014 2bbb7eff-a529-9590-31e7-b0007b416f81
2011-08-01 17:35:01 +00:00
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