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
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