aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/mac
Commit message (Collapse)AuthorAge
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-03-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8383 2bbb7eff-a529-9590-31e7-b0007b416f81
* oops, fix name for SkCreateDataProviderFromDataGravatar reed@google.com2013-03-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8375 2bbb7eff-a529-9590-31e7-b0007b416f81
* expose skdata -> cgdataprovider helperGravatar reed@google.com2013-03-25
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8374 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-01-26
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7406 2bbb7eff-a529-9590-31e7-b0007b416f81
* Tell CG ImageEncoder that a bitmap is opaque if it is.Gravatar scroggo@google.com2012-11-12
| | | | | | Review URL: https://codereview.appspot.com/6819110 git-svn-id: http://skia.googlecode.com/svn/trunk@6378 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove deprecated SkOSWindow_wxwidgets.hGravatar tfarina@chromium.org2012-09-27
| | | | | | | | | | It seems we never really supported WxWidgets. R=bsalomon@google.com Review URL: https://codereview.appspot.com/6569062 git-svn-id: http://skia.googlecode.com/svn/trunk@5708 2bbb7eff-a529-9590-31e7-b0007b416f81
* Result of running tools/sanitize_source_files.py (which was added in ↵Gravatar rmistry@google.com2012-08-23
| | | | | | | | | https://codereview.appspot.com/6465078/) This CL is part II of IV (I broke down the 1280 files into 4 CLs). Review URL: https://codereview.appspot.com/6474054 git-svn-id: http://skia.googlecode.com/svn/trunk@5263 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warnings on Mac in miscellaneous filesGravatar caryclark@google.com2012-06-06
| | | | | | | | | | | | | | | | | | Fix these class of warnings: - unused functions - unused locals - sign mismatch - missing function prototypes - missing newline at end of file - 64 to 32 bit truncation The changes prefer to link in dead code in the debug build with 'if (false)' than to comment it out, but trivial cases are commented out or sometimes deleted if it appears to be a copy/paste error. Review URL: https://codereview.appspot.com/6305047 git-svn-id: http://skia.googlecode.com/svn/trunk@4186 2bbb7eff-a529-9590-31e7-b0007b416f81
* Utils must not depend on Views.Gravatar bungeman@google.com2012-03-21
| | | | | | | http://codereview.appspot.com/5867051/ git-svn-id: http://skia.googlecode.com/svn/trunk@3459 2bbb7eff-a529-9590-31e7-b0007b416f81
* add SkCreateDataProviderFromStream to SkCGUtilsGravatar reed@google.com2012-02-24
| | | | | | | | implement SkFontHost create_from_file/stream using SkCGUtils git-svn-id: http://skia.googlecode.com/svn/trunk@3249 2bbb7eff-a529-9590-31e7-b0007b416f81
* Added BSD license language where missing.Gravatar caryclark@google.com2012-02-17
| | | | | | | See Chromium bug 98464, Review URL: https://codereview.appspot.com/5671083 git-svn-id: http://skia.googlecode.com/svn/trunk@3218 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix CFBundleIdentifier of SampleAppGravatar epoger@google.com2012-02-10
| | | | | | | | | This allows SampleApp to pick up the following setting to force on LCD font smoothing: defaults write com.googlecode.skia.SampleApp AppleFontSmoothing -int 2 See http://code.google.com/p/skia/issues/detail?id=382 ('make gm results consistent regardless of system LCDtext settings') git-svn-id: http://skia.googlecode.com/svn/trunk@3164 2bbb7eff-a529-9590-31e7-b0007b416f81
* add formatting to suppress compiler warningGravatar caryclark@google.com2012-01-27
| | | | | | Review URL: https://codereview.appspot.com/5586043 git-svn-id: http://skia.googlecode.com/svn/trunk@3095 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix mac warningsGravatar caryclark@google.com2011-11-23
| | | | | | | | | | | | | | http://codereview.appspot.com/5431053/ M include/views/SkOSWindow_Mac.h M src/utils/mac/SkNSView.mm M src/utils/mac/SkNSView.h M src/utils/mac/SkOSWindow_Mac.mm M src/utils/mac/SkSampleNSView.h git-svn-id: http://skia.googlecode.com/svn/trunk@2740 2bbb7eff-a529-9590-31e7-b0007b416f81
* Can't put a variable sized array of non-pod on the stack. Use ↵Gravatar mike@reedtribe.org2011-10-30
| | | | | | SkAutoTDeleteArray instead. git-svn-id: http://skia.googlecode.com/svn/trunk@2557 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix cmdline argument passing in SampleApp/Mac.Gravatar senorblanco@chromium.org2011-10-26
| | | | | | | | | | | When SampleApp was ported to Cocoa, it lost the ability to pass a test name on the command line. Fix it. Review URL: http://codereview.appspot.com/5328042/ git-svn-id: http://skia.googlecode.com/svn/trunk@2538 2bbb7eff-a529-9590-31e7-b0007b416f81
* move utils/SkEGLContext to gpu/SkGLContext, some gpu.gyp cleanup, set eol ↵Gravatar bsalomon@google.com2011-10-13
| | | | | | | | | | style LF on all gpu files Review URL: http://codereview.appspot.com/5242056/ git-svn-id: http://skia.googlecode.com/svn/trunk@2474 2bbb7eff-a529-9590-31e7-b0007b416f81
* Set SDK for Mac build to 10.6, ignore gyp/build, fixup gpu files to compile ↵Gravatar bsalomon@google.com2011-10-12
| | | | | | | | | | against 10.5 if needed Review URL: http://codereview.appspot.com/5260041/ git-svn-id: http://skia.googlecode.com/svn/trunk@2470 2bbb7eff-a529-9590-31e7-b0007b416f81
* Bug fixes:Gravatar suyang12011-10-10
| | | | | | | | | | | - Mac SampleApp resize and maximize bug - Mac SampleApp now accepts/dispatches mouse moved events - SampleAnimator: moved drawColor outside so the sample draws a background every drawing call - Removed SampleExtractAlpha from the repository and SampleApp.gyp http://codereview.appspot.com/5249054/ git-svn-id: http://skia.googlecode.com/svn/trunk@2448 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add licenseGravatar bsalomon@google.com2011-09-29
| | | | | | | Review URL: http://codereview.appspot.com/5154044/ git-svn-id: http://skia.googlecode.com/svn/trunk@2366 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix some mac compilation errors generated when building utils withinGravatar seanpaul@google.com2011-09-16
| | | | | | | | | | chrome. BUG=364 TEST=Build skia on mac, ran bench. Ensured both behaved as expected. Review URL: http://codereview.appspot.com/5032045 git-svn-id: http://skia.googlecode.com/svn/trunk@2277 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixed key handling code in Mac SampleAppGravatar yangsu@google.com2011-08-30
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2192 2bbb7eff-a529-9590-31e7-b0007b416f81
* Switched Mac SampleApp to use Cocoa, removed the seperate CocoaSampleApp, ↵Gravatar yangsu@google.com2011-08-30
| | | | | | moved dependencies out of experimental git-svn-id: http://skia.googlecode.com/svn/trunk@2190 2bbb7eff-a529-9590-31e7-b0007b416f81
* Get rid of createRenderTargetFrom3DAPIState and associated glGets necessary ↵Gravatar bsalomon@google.com2011-08-19
| | | | | | | | | | to support it. Review URL: http://codereview.appspot.com/4928041/ git-svn-id: http://skia.googlecode.com/svn/trunk@2144 2bbb7eff-a529-9590-31e7-b0007b416f81
* CocoaSampleApp no longer depends on SkOSWindow_Mac.hGravatar yangsu@google.com2011-08-08
| | | | | | | | ./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
* retool SkEvent to own its target ID or target procGravatar reed@google.com2011-08-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@2041 2bbb7eff-a529-9590-31e7-b0007b416f81
* Automatic update of all copyright notices to reflect new license terms.Gravatar epoger@google.com2011-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* make the mac window resizeable againGravatar reed@google.com2011-07-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1806 2bbb7eff-a529-9590-31e7-b0007b416f81
* always use grcontext to get the bits to the screenGravatar reed@google.com2011-07-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1802 2bbb7eff-a529-9590-31e7-b0007b416f81
* Don't use the CreateWithData variant: not needed, and isn't available in chromeGravatar reed@google.com2011-06-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1763 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix bitmapinfoGravatar reed@google.com2011-06-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1744 2bbb7eff-a529-9590-31e7-b0007b416f81
* add mac utility to turn a pdf into a bitmapGravatar reed@google.com2011-06-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1743 2bbb7eff-a529-9590-31e7-b0007b416f81
* Parse SampleApp command line for a test name. If an argument is passed toGravatar senorblanco@chromium.org2011-06-28
| | | | | | | | | | | SampleApp on the command line, interpret it as a test name. If it's a valid test, open that test at startup. Review URL: http://codereview.appspot.com/4661054/ git-svn-id: http://skia.googlecode.com/svn/trunk@1742 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add GL context creation for X so that gm can run GPU on Linux.Gravatar bungeman@google.com2011-05-17
| | | | | | | http://codereview.appspot.com/4548047/ git-svn-id: http://skia.googlecode.com/svn/trunk@1343 2bbb7eff-a529-9590-31e7-b0007b416f81
* Disable MSAA in SkOsWindow on mac and windowsGravatar bsalomon@google.com2011-05-05
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1258 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move zoomer into SampleAppGravatar Scroggo2011-03-24
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@1002 2bbb7eff-a529-9590-31e7-b0007b416f81
* Initial GYP file for skia / gr. Builds SampleApp on Mac, Windows, Linux.Gravatar bsalomon@google.com2011-03-18
| | | | | | Review URL: http://codereview.appspot.com/4282056/ git-svn-id: http://skia.googlecode.com/svn/trunk@955 2bbb7eff-a529-9590-31e7-b0007b416f81
* 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