aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/views.gyp
Commit message (Collapse)AuthorAge
* Create SkLazyPixelRef which performs lazy decoding.Gravatar scroggo@google.com2013-02-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new pixel ref behaves similarly to SkImageRef, with some key differences: It does not depend on the images project. It requires an SkImageCache, which handles allocation and caching of the pixel memory. It takes a function signature for decoding which decodes into already allocated pixel memory rather than into an SkBitmap. Add two implementations of SkImageCache: SkLruImageCache and SkAshmemImageCache. Replace SkSerializationHelpers::DecodeBitmap with SkPicture::InstallPixelRefProc, and update sites that referenced it. SkBitmapFactory now sets the pixel ref to a new object of the new class SkLazyPixelRef, provided it has an SkImageCache for caching. Provide an option to do lazy decodes in render_pictures and bench_pictures. SkPicture: Eliminate the default parameters in the constructor. If a proc for decoding bitmaps is installed, use it to decode any encoded data in subpictures. When parsing deserializing subpictures, check for success. When serializing subpictures, pass the picture's bitmap encoder to the subpicture's call to serialize. Update BitmapFactoryTest to test its new behavior. BUG=https://code.google.com/p/skia/issues/detail?id=1008 BUG=https://code.google.com/p/skia/issues/detail?id=1009 Review URL: https://codereview.appspot.com/7060052 git-svn-id: http://skia.googlecode.com/svn/trunk@7835 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix NoGPU buildGravatar borenet@google.com2012-11-01
| | | | | | Some link settings were set in the wrong targets git-svn-id: http://skia.googlecode.com/svn/trunk@6246 2bbb7eff-a529-9590-31e7-b0007b416f81
* Improve NaCl supportGravatar borenet@google.com2012-11-01
| | | | | | | | | | | | | | | | - Add nacl_make script to build Skia targets for NaCl using gyp - Add nacl_interface for command-line apps - Add nacl_sample as front-end for SampleApp - Add freetype to DEPS - Various gyp tweaks for NaCl TODO: - Implement GL interface - Implement font host - Fix plumbing so that SampleApp works properly Review URL: https://codereview.appspot.com/6671044 git-svn-id: http://skia.googlecode.com/svn/trunk@6245 2bbb7eff-a529-9590-31e7-b0007b416f81
* Delete SkWidget.cpp, which has been #ifdef'ed out for 4+ years.Gravatar tfarina@chromium.org2012-10-12
| | | | | | | | R=epoger@google.com Review URL: https://codereview.appspot.com/6650055 git-svn-id: http://skia.googlecode.com/svn/trunk@5942 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix ANGLE buildGravatar borenet@google.com2012-10-11
| | | | | | | Removed this in r5889. Review URL: https://codereview.appspot.com/6651051 git-svn-id: http://skia.googlecode.com/svn/trunk@5904 2bbb7eff-a529-9590-31e7-b0007b416f81
* Build Skia as a static libraryGravatar borenet@google.com2012-10-10
| | | | | | | | | | | - Roll GYP so that we get non-thin archives on Linux - Add merge_static_libs.py - Add skia_core_lib target which builds core, ports, opts*, and utils - Replace dependencies on core/ports/opts/utils with skia_core_libs - Rename exportable libraries with "skia_" Review URL: https://codereview.appspot.com/6619049 git-svn-id: http://skia.googlecode.com/svn/trunk@5889 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
* Create GPU-less build of Skia.Gravatar bsalomon@google.com2012-08-02
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4912 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move animated view headers to correct directory.Gravatar bungeman@google.com2012-07-10
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@4524 2bbb7eff-a529-9590-31e7-b0007b416f81
* Delivering .gyp files to enable building & linking w/ ANGLE on WindowsGravatar robertphillips@google.com2012-04-02
| | | | | | | | http://codereview.appspot.com/5933057/ git-svn-id: http://skia.googlecode.com/svn/trunk@3580 2bbb7eff-a529-9590-31e7-b0007b416f81
* Revert 3538.Gravatar bungeman@google.com2012-03-29
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3539 2bbb7eff-a529-9590-31e7-b0007b416f81
* Correct dependencies in gyp files.Gravatar bungeman@google.com2012-03-29
| | | | | | | http://codereview.appspot.com/5934044/ git-svn-id: http://skia.googlecode.com/svn/trunk@3538 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move SkTextBox.h from utils to views.Gravatar bungeman@google.com2012-03-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@3531 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove circular dependency of views and animator.Gravatar bungeman@google.com2012-03-23
| | | | | | | http://codereview.appspot.com/5874056/ git-svn-id: http://skia.googlecode.com/svn/trunk@3473 2bbb7eff-a529-9590-31e7-b0007b416f81
* Move unix_test_app/main.cpp to src/views/unix/skia_unix.cppGravatar epoger@google.com2012-03-22
| | | | | | Review URL: https://codereview.appspot.com/5881048 git-svn-id: http://skia.googlecode.com/svn/trunk@3466 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
* Make all gyp targets automatically include common.gypiGravatar epoger@google.com2012-03-16
| | | | | | | Do this, rather than including common.gypi explicitly in all our gyp files, so that gyp files we use but do not maintain (e.g., third_party/externals/libjpeg/libjpeg.gyp) will include common.gypi too. Review URL: https://codereview.appspot.com/5820068 git-svn-id: http://skia.googlecode.com/svn/trunk@3411 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add support for building Android SampleApp.Gravatar djsollen@google.com2011-11-07
| | | | | | Review URL: http://codereview.appspot.com/5342051 git-svn-id: http://skia.googlecode.com/svn/trunk@2617 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
* Create new 'skia_os' variable to replace use of 'OS' in most places.Gravatar epoger@google.com2011-07-01
| | | | | | | | http://codereview.appspot.com/4627085 git-svn-id: http://skia.googlecode.com/svn/trunk@1782 2bbb7eff-a529-9590-31e7-b0007b416f81
* combine target_defaults.gypi into common.gypiGravatar epoger@google.com2011-07-01
| | | | | | | | http://codereview.appspot.com/4654080 git-svn-id: http://skia.googlecode.com/svn/trunk@1780 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove some files from views.gyp that already being compiled into utils.gypGravatar senorblanco@chromium.org2011-06-20
| | | | | | | | | | (already done for Linux, this change does the same for Mac and Win). Review URL: http://codereview.appspot.com/4575044/ git-svn-id: http://skia.googlecode.com/svn/trunk@1654 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix gyp-generated xcode project files for SampleApp and other targetsGravatar epoger@google.com2011-06-02
| | | | | | | | see http://codereview.appspot.com/4515181/ git-svn-id: http://skia.googlecode.com/svn/trunk@1482 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a missing include path for the linux build of utils.gyp. Remove the LinuxGravatar senorblanco@chromium.org2011-06-01
| | | | | | | | | | | | | utils files from the build of views.a, since they're already being compiled into utils.a, since it was causing unnecessary rebuilds (the same could probably be done for linux and mac). Remove the commented-out SkImageDecoder_libpvjpeg.cpp, which has been removed from SVN. http://codereview.appspot.com/4532105/ git-svn-id: http://skia.googlecode.com/svn/trunk@1476 2bbb7eff-a529-9590-31e7-b0007b416f81
* split skia.gyp into separate gypfile for each source dirGravatar epoger@google.com2011-05-31
see http://codereview.appspot.com/4527084/ Now, to build out/Debug/SampleApp on Linux, do the following: cd trunk/gyp rm -rf Makefile *mk *.Makefile out ./gyp_skia -fmake --ignore-environment "--toplevel-dir=$PWD" \ -Icommon.gypi "--depth=$PWD" SampleApp.gyp make git-svn-id: http://skia.googlecode.com/svn/trunk@1446 2bbb7eff-a529-9590-31e7-b0007b416f81