aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/views
Commit message (Collapse)AuthorAge
* Revert r10603 (Remove operator== from SkPaint) due to Chrome failuresGravatar robertphillips@google.com2013-08-07
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@10632 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove operator== from SkPaintGravatar commit-bot@chromium.org2013-08-07
| | | | | | | | | | R=mtklein@google.com, reed@google.com Author: sglez@google.com Review URL: https://chromiumcodereview.appspot.com/21949007 git-svn-id: http://skia.googlecode.com/svn/trunk@10603 2bbb7eff-a529-9590-31e7-b0007b416f81
* Turn on -Wall -Wextra on Mac, and fix all the warnings that crop up for ↵Gravatar commit-bot@chromium.org2013-07-23
| | | | | | | | | | | | | /usr/bin/g++ and Clang 3.3. BUG= R=bungeman@google.com Author: mtklein@google.com Review URL: https://chromiumcodereview.appspot.com/19569012 git-svn-id: http://skia.googlecode.com/svn/trunk@10255 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make implicit cast explicit to fix r9807 on gcc.Gravatar bungeman@google.com2013-06-28
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9809 2bbb7eff-a529-9590-31e7-b0007b416f81
* Minimal changes for SampleApp to eb HiDPI aware on Mac.Gravatar bungeman@google.com2013-06-28
| | | | | | | | R=caryclark@google.com Review URL: https://codereview.chromium.org/18055009 git-svn-id: http://skia.googlecode.com/svn/trunk@9807 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-06-20
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9695 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix shift detection in views on X.Gravatar bungeman@google.com2013-06-19
| | | | | | | | | On X, the meta keys are encoded in xkey.state, not xkey.keycode. This fixes 'h' and 's' not working in SampleApp. git-svn-id: http://skia.googlecode.com/svn/trunk@9694 2bbb7eff-a529-9590-31e7-b0007b416f81
* post Expose event when we see an invalGravatar reed@google.com2013-06-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9693 2bbb7eff-a529-9590-31e7-b0007b416f81
* Smallest possible desktop application that uses Skia to render stuff.Gravatar commit-bot@chromium.org2013-06-18
| | | | | | | | | | | | Small Hello World smaple. Subclasses SkOSWindow. R=caryclark@google.com Author: sglez@google.com Review URL: https://chromiumcodereview.appspot.com/16337012 git-svn-id: http://skia.googlecode.com/svn/trunk@9657 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Housekeeper-NightlyGravatar skia.committer@gmail.com2013-06-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9648 2bbb7eff-a529-9590-31e7-b0007b416f81
* use select() so we can wait for XEvents or our timerGravatar reed@google.com2013-06-17
| | | | | | | | | | poll for xevents using XPending BUG= Review URL: https://codereview.chromium.org/17275003 git-svn-id: http://skia.googlecode.com/svn/trunk@9633 2bbb7eff-a529-9590-31e7-b0007b416f81
* speculative fix in TransitionView. don't validate after detachFromParent (we ↵Gravatar reed@google.com2013-06-14
| | | | | | may have been deleted) git-svn-id: http://skia.googlecode.com/svn/trunk@9619 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix warning related to && and || and parensGravatar reed@google.com2013-06-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9597 2bbb7eff-a529-9590-31e7-b0007b416f81
* add validate to SkView for debuggingGravatar reed@google.com2013-06-13
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@9596 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix a bug in SkTextBox.Gravatar scroggo@google.com2013-04-24
| | | | | | | | | | | | | When checking to see if the line of text is beyond the bottom of the textbox, compare with the bottom, rather than the height (bottom - top). Prior to this change, text in the bottom of a textbox could be clipped out. BUG=https://code.google.com/p/skia/issues/detail?id=1250 Review URL: https://codereview.chromium.org/13856017 git-svn-id: http://skia.googlecode.com/svn/trunk@8838 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix gyp files to allow ninja to build 64 bit on Mac.Gravatar commit-bot@chromium.org2013-04-22
| | | | | | | | | | | | | Fix warnings that cropped up building as 64-bit. BUG= R=bsalomon@google.com, bungeman@google.com Author: mtklein@google.com Review URL: https://chromiumcodereview.appspot.com/13852013 git-svn-id: http://skia.googlecode.com/svn/trunk@8814 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove deprecated/obsolete Makefiles.Gravatar tfarina@chromium.org2013-04-17
| | | | | | | | | | | | | | $ git ls-files | grep .mk or $ find . -name *.mk R=epoger@google.com,reed@google.com Review URL: https://codereview.chromium.org/14216002 git-svn-id: http://skia.googlecode.com/svn/trunk@8717 2bbb7eff-a529-9590-31e7-b0007b416f81
* Enable init'ed but unused var warning on windows for closer parity with ↵Gravatar bsalomon@google.com2013-03-21
| | | | | | | | mac/linux warnings. Review URL: https://codereview.chromium.org/12536008 git-svn-id: http://skia.googlecode.com/svn/trunk@8307 2bbb7eff-a529-9590-31e7-b0007b416f81
* use SkStream::NewFromFile()Gravatar mike@reedtribe.org2013-03-19
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@8210 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix GDI device context leak.Gravatar bungeman@google.com2013-03-12
| | | | | | | | https://codereview.appspot.com/7682044/ git-svn-id: http://skia.googlecode.com/svn/trunk@8113 2bbb7eff-a529-9590-31e7-b0007b416f81
* Removed unused parametersGravatar sugoi@google.com2013-03-12
| | | | | | | I removed unused parameters wherever it was trivial to do so. Review URL: https://codereview.chromium.org/12772003 git-svn-id: http://skia.googlecode.com/svn/trunk@8103 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fixing some warnings on LinuxGravatar sugoi@google.com2013-03-07
| | | | | | | There were only a few warnings left, so I fixed them and enabled the unused variable warning by removing the "-Wno-unused" flag. Only the -Wno-unused-parameter remains for now (could be removed later). Review URL: https://codereview.chromium.org/12480002 git-svn-id: http://skia.googlecode.com/svn/trunk@8030 2bbb7eff-a529-9590-31e7-b0007b416f81
* Make SkOSWindow return the sample count and stencil bit count for its GL ↵Gravatar bsalomon@google.com2013-03-05
| | | | | | | | context. Review URL: https://codereview.chromium.org/12437010 git-svn-id: http://skia.googlecode.com/svn/trunk@7995 2bbb7eff-a529-9590-31e7-b0007b416f81
* Unify wgl context creation.Gravatar bsalomon@google.com2013-03-05
| | | | | | | R=robertphillips@google.com Review URL: https://codereview.chromium.org/12455009 git-svn-id: http://skia.googlecode.com/svn/trunk@7990 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add commented out code to create a core profile on windows.Gravatar bsalomon@google.com2013-03-04
| | | | | | Review URL: https://codereview.chromium.org/12393044 git-svn-id: http://skia.googlecode.com/svn/trunk@7953 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
* Fix SampleApp ANGLE mode.Gravatar bsalomon@google.com2013-01-24
| | | | | | Review URL: https://codereview.appspot.com/7206052 git-svn-id: http://skia.googlecode.com/svn/trunk@7377 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix iOS build after adding modifierKeys to click eventsGravatar reed@google.com2013-01-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7107 2bbb7eff-a529-9590-31e7-b0007b416f81
* Sanitizing source files in Skia_Periodic_House_KeepingGravatar skia.committer@gmail.com2013-01-09
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7099 2bbb7eff-a529-9590-31e7-b0007b416f81
* translate modifier keys for xeventsGravatar reed@google.com2013-01-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7087 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix linux buildGravatar reed@google.com2013-01-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7085 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix win buildGravatar reed@google.com2013-01-08
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@7084 2bbb7eff-a529-9590-31e7-b0007b416f81
* pass modifier keys to click events (e.g. control | shift etc.)Gravatar reed@google.com2013-01-08
| | | | | | Review URL: https://codereview.appspot.com/7062054 git-svn-id: http://skia.googlecode.com/svn/trunk@7082 2bbb7eff-a529-9590-31e7-b0007b416f81
* eliminate all warnings in non-thirdparty code on macGravatar humper@google.com2013-01-07
| | | | | | | | | | | | | | | | Most of these issues were due to functions whose definitions appear in header files; I changed those functions to be 'static inline' instead of just 'static' or 'inline', which kills the warning for such functions. Other functions that were static or anonymous-namespaced but were unused in cpp files were probably called at some point but are no longer; someone who knows more than I do should probably scrub all the functions I either deleted or #if 0'ed out and make sure that the right thing is happening here. Lots of unused variables removed, and one nasty const issue handled. There remains a single warning in thirdparty/externals/cityhash/src/city.cc on line 146 related to a signed/unsigned mismatch. I don't know if we have control over this library so I didn't fix this one, but perhaps someone could do something about that one. BUG= Review URL: https://codereview.appspot.com/7067044 git-svn-id: http://skia.googlecode.com/svn/trunk@7051 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix SampleApp busted images with --picture on windows.Gravatar bsalomon@google.com2012-12-17
| | | | | | Review URL: https://codereview.appspot.com/6942060 git-svn-id: http://skia.googlecode.com/svn/trunk@6842 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
* Fixed canvas creation in SampleAppGravatar robertphillips@google.com2012-10-02
| | | | | | | | https://codereview.appspot.com/6588061/ git-svn-id: http://skia.googlecode.com/svn/trunk@5764 2bbb7eff-a529-9590-31e7-b0007b416f81
* retool so we don't need to call SkCanvas::setDeviceGravatar reed@google.com2012-10-01
| | | | | | Review URL: https://codereview.appspot.com/6591054 git-svn-id: http://skia.googlecode.com/svn/trunk@5759 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix win-only change (canvas -> rasterCanvas)Gravatar reed@google.com2012-09-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5719 2bbb7eff-a529-9590-31e7-b0007b416f81
* doh(2) fix the other typoGravatar reed@google.com2012-09-27
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@5718 2bbb7eff-a529-9590-31e7-b0007b416f81
* eliminate (unused) extra param to update(), and thereby remove (bad bad bad) ↵Gravatar reed@google.com2012-09-27
| | | | | | setBitmapDevice call. git-svn-id: http://skia.googlecode.com/svn/trunk@5716 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
* Suppress some warnings on linux.Gravatar bsalomon@google.com2012-09-26
| | | | | | | R=reed@google.com Review URL: https://codereview.appspot.com/6572046 git-svn-id: http://skia.googlecode.com/svn/trunk@5687 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove SkListWidget.cpp, which has not been compiled for 18 monthsGravatar epoger@google.com2012-09-25
| | | | | | | (Our very first gyp file from https://code.google.com/p/skia/source/detail?spec=svn955&r=955 already had it turned off) Review URL: https://codereview.appspot.com/6566049 git-svn-id: http://skia.googlecode.com/svn/trunk@5668 2bbb7eff-a529-9590-31e7-b0007b416f81
* Delete SkListView.cpp, which has been #ifdef'ed out for 4+ yearsGravatar epoger@google.com2012-09-25
| | | | | | Review URL: https://codereview.appspot.com/6550062 git-svn-id: http://skia.googlecode.com/svn/trunk@5667 2bbb7eff-a529-9590-31e7-b0007b416f81
* iOS support work in progressGravatar caryclark@google.com2012-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | include/core/SkTypes.h - address unsigned warning include/core/SkInstCnt.h src/core/SkInstCnt.cpp gyp/common.gypi - always define SK_ENABLE_INST_COUNT for debug builds src/views/mac/SkNSView.mm - only call glClear if there is a GL context src/ports/SkImageDecoder_CG.cpp - fix iOS hack by using proper include gyp/opts.gyp - exclude more ARM files from iOS for now (see issue 900) gyp/common_conditions.gypi - add release, more ios specific common settings gyp/bench.gyp - add iOS condition gyp/SampleApp.gyp - remove precompiled header, hardcoded SDK path - add more frameworks gyp/debugger.gyp - fix syntax error - add iOS/Android condition gyp/core.gyp - remove hardcoded SDK path, add more frameworks gyp/common_variables.gypi - add ios SDK path - add ios SDK version gyp/iOSSampleApp.gyp - remove obsolete project gyp/zlib.gyp - add ios library path Review URL: https://codereview.appspot.com/6551070 git-svn-id: http://skia.googlecode.com/svn/trunk@5649 2bbb7eff-a529-9590-31e7-b0007b416f81
* Addressed xcode analysis complaintsGravatar robertphillips@google.com2012-09-24
| | | | | | | | http://codereview.appspot.com/6558048/ git-svn-id: http://skia.googlecode.com/svn/trunk@5646 2bbb7eff-a529-9590-31e7-b0007b416f81
* first cut at making iOS workGravatar caryclark@google.com2012-09-20
| | | | | | | | | | | | | Replace __arm__ with SK_CPU_ARM add support for iOS simulator and device fix const warning in iOSSampleApp update gyp files https://code.google.com/p/skia/issues/detail?id=900 tracks fixing missing arm assembly Review URL: https://codereview.appspot.com/6552045 git-svn-id: http://skia.googlecode.com/svn/trunk@5606 2bbb7eff-a529-9590-31e7-b0007b416f81
* Restore line breaking in SkTextBox.Gravatar bungeman@google.com2012-09-06
| | | | | | | https://codereview.appspot.com/6500078/ git-svn-id: http://skia.googlecode.com/svn/trunk@5412 2bbb7eff-a529-9590-31e7-b0007b416f81
* Fix ANGLE buildGravatar borenet@google.com2012-08-28
| | | | | | Review URL: https://codereview.appspot.com/6498045 git-svn-id: http://skia.googlecode.com/svn/trunk@5315 2bbb7eff-a529-9590-31e7-b0007b416f81