aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/mac
Commit message (Collapse)AuthorAge
...
* Remove offscreen GL support from SampleApp and SkOSWindow. This never worked ↵Gravatar bsalomon@google.com2011-03-10
| | | | | | anywhere but Mac and it doesn't work there anymore. git-svn-id: http://skia.googlecode.com/svn/trunk@918 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add support for clipstack to Gr. GrClip is now a list of rects and paths ↵Gravatar bsalomon@google.com2011-03-03
| | | | | | with set operations to combine them. The stencil buffer is used to perform the set operations to put the clip into the stencil buffer. Building Gr's clip from Skia's clipStack is currently disabled due to the fact that Skia's clipStack is relative to the root layer not the current layer. This will be fixed in a subsequent CL. git-svn-id: http://skia.googlecode.com/svn/trunk@878 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix bool bug so we can multisample nowGravatar reed@google.com2011-02-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@851 2bbb7eff-a529-9590-31e7-b0007b416f81
* When we create the GL context and FBO on mac for the GM test also setup the ↵Gravatar bsalomon@google.com2011-02-07
| | | | | | | | | | viewport and clear the stencil. In GrGpuGL::readPixels make sure current rendertarget has been made current in GL before calling glReadPixels git-svn-id: http://skia.googlecode.com/svn/trunk@761 2bbb7eff-a529-9590-31e7-b0007b416f81
* Rev the GrContext interface. Context has draw* functions that take a new ↵Gravatar bsalomon@google.com2011-01-21
| | | | | | | | | | | GrPaint object. Removed many of the lower-level GrGpu function call-throughs on context. Remove unused/unsupported point size (we don't draw non-hairline points using GL points). Change current* getter functions to get* for consistency. Fix bounds when drawing inverse-filled paths. git-svn-id: http://skia.googlecode.com/svn/trunk@718 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove notion of default rendertarget. This doesn't map well to usage ↵Gravatar bsalomon@google.com2011-01-18
| | | | | | patterns outside sample app. Make binding between SkGpuDevice and a GrRenderTarget more explicit. Create method on GrContext to wrap the current target in the 3D API with a GrRenderTarget. git-svn-id: http://skia.googlecode.com/svn/trunk@706 2bbb7eff-a529-9590-31e7-b0007b416f81
* revert to DeviceRGB colorspace by default, which was changed accidentiallyGravatar reed@google.com2011-01-05
| | | | | | | | in rev. 637 git-svn-id: http://skia.googlecode.com/svn/trunk@675 2bbb7eff-a529-9590-31e7-b0007b416f81
* rev. 637 changed the settings for premultiplied on the info parameter. ThisGravatar reed@google.com2011-01-05
| | | | | | | | | | | change incorrectly assumed that all cases wanted premultipled-last, which was incorrect. Reverting to the previous values. git-svn-id: http://skia.googlecode.com/svn/trunk@673 2bbb7eff-a529-9590-31e7-b0007b416f81
* add colorspace option to SkBitmap -> CGImageRef utility (patch from nico)Gravatar reed@android.com2011-01-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@666 2bbb7eff-a529-9590-31e7-b0007b416f81
* silence some of our startup spewGravatar reed@google.com2010-12-23
| | | | | | | | tie skia and gr's debug symbols together in the Makefile git-svn-id: http://skia.googlecode.com/svn/trunk@654 2bbb7eff-a529-9590-31e7-b0007b416f81
* add gpu to the default makefileGravatar reed@google.com2010-12-23
| | | | | | | | move skia-gpu files into skia/src/gpu git-svn-id: http://skia.googlecode.com/svn/trunk@653 2bbb7eff-a529-9590-31e7-b0007b416f81
* merge with changes for GPU backendGravatar reed@android.com2010-12-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@637 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove check for filtering. Now if the src is opaque, the filtered resultGravatar reed@android.com2009-10-26
| | | | | | | | always will be too. git-svn-id: http://skia.googlecode.com/svn/trunk@406 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix new warnings from gcc 4.2Gravatar reed@android.com2009-10-14
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@384 2bbb7eff-a529-9590-31e7-b0007b416f81
* return noErr in clickhandler, so we can get mousemoved eventsGravatar reed@android.com2009-08-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@342 2bbb7eff-a529-9590-31e7-b0007b416f81
* make a deep copy in CreateCGImageRef if we're 565, but first upscale to 32bit.Gravatar reed@android.com2009-07-10
| | | | | | | | | | | | | this at least draws the right colors, since we're 565 and CG only supports 1555 (unless someone knows how to tell CG we're 565...) Fix ws in picturerecord Enable dither in sample gradients, so the 4444 case isn't so ugly git-svn-id: http://skia.googlecode.com/svn/trunk@264 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix (aaaargh) white-spaceGravatar reed@android.com2009-07-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@260 2bbb7eff-a529-9590-31e7-b0007b416f81
* use genericRGB space to ensure that we decode exactly the pixels we encodeGravatar reed@android.com2009-07-08
| | | | | | | | add -r option to gm to read and compare against known images git-svn-id: http://skia.googlecode.com/svn/trunk@256 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix config check to include SkColorPriv.h so we don't get the warning w/o needGravatar reed@android.com2009-06-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@245 2bbb7eff-a529-9590-31e7-b0007b416f81
* merge in change from chrome to detect when the byte order for 8888 requiresGravatar reed@android.com2009-06-22
| | | | | | | | additional CGBitmapInfo flags (e.g. for bigendian) git-svn-id: http://skia.googlecode.com/svn/trunk@233 2bbb7eff-a529-9590-31e7-b0007b416f81
* downgrade project files to 10.4 so more clients can use themGravatar reed@android.com2008-12-22
| | | | | | | | | downgrade some CG calls in test apps to not require 10.5 apis remove leftover printf in SkOSWindow_Mac.cpp git-svn-id: http://skia.googlecode.com/svn/trunk@42 2bbb7eff-a529-9590-31e7-b0007b416f81
* use native mac fonthostGravatar reed@android.com2008-12-19
| | | | | | | | add 444 and (fake) 565 support in cg git-svn-id: http://skia.googlecode.com/svn/trunk@41 2bbb7eff-a529-9590-31e7-b0007b416f81
* first cut at event-based test appGravatar reed@android.com2008-12-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@37 2bbb7eff-a529-9590-31e7-b0007b416f81
* move cg utils out of xcode and into src/includeGravatar reed@android.com2008-12-18
git-svn-id: http://skia.googlecode.com/svn/trunk@35 2bbb7eff-a529-9590-31e7-b0007b416f81