Go to file
Mike Klein 072a198656 Fix implicit nullability cast of [NSScreen mainScreen].
Without this patch I get this warning-as-error with XCode 8.1 (8B62):

../src/views/mac/SkOSWindow_Mac.mm:88:43: error: implicit conversion from nullable pointer 'NSScreen * _Nullable' to non-nullable pointer type 'NSScreen * _Nonnull' [-Werror,-Wnullable-to-nonnull-conversion]
    [(SkNSView*)fHWND enterFullScreenMode:[NSScreen mainScreen] withOptions:nil];

Seems like the thing to do is explicitly null check [NSScreen mainScreen] before calling enterFullScreenMode?

(google.com/images?q=i+have+no+idea+what+i+am+doing)

BUG=skia:

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4631

Change-Id: I20c4a2b559a347a6a128479b81cb515692832e72
Reviewed-on: https://skia-review.googlesource.com/4631
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2016-11-09 21:22:41 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench remove use of xfermode* in procs 2016-11-09 17:03:12 +00:00
bin Build for Android from Windows, work in progress. 2016-10-26 14:37:43 +00:00
cmake Add gif sources to public.bzl. 2016-10-24 19:26:22 +00:00
debugger bench, samples, etc: s/SkAutoTUnref/sk_sp/ 2016-11-07 15:17:32 +00:00
dm Change SkCanvas to *not* inherit from SkRefCnt 2016-11-09 19:40:06 +00:00
example bench, samples, etc: s/SkAutoTUnref/sk_sp/ 2016-11-07 15:17:32 +00:00
experimental Rename SkSourceGammaTreatment to SkDestinationSurfaceColorMode 2016-11-09 01:05:07 +00:00
fuzz bench, samples, etc: s/SkAutoTUnref/sk_sp/ 2016-11-07 15:17:32 +00:00
gm Change SkCanvas to *not* inherit from SkRefCnt 2016-11-09 19:40:06 +00:00
gn Change SkCanvas to *not* inherit from SkRefCnt 2016-11-09 19:40:06 +00:00
gyp Delete qcms 2016-11-01 16:45:40 +00:00
include Revert "add alias for xfermode::getproc to allow legacy g client to bulid" 2016-11-09 21:20:19 +00:00
infra [nobuildbot] AndroidOne bots 2016-11-09 21:16:18 +00:00
platform_tools bench, samples, etc: s/SkAutoTUnref/sk_sp/ 2016-11-07 15:17:32 +00:00
resources Fail jpeg decodes on too many progressive scans 2016-11-08 21:39:15 +00:00
samplecode Include what you use with signbit. 2016-11-09 20:29:45 +00:00
site update Vulkan docs for GN. 2016-11-07 16:11:58 +00:00
src Fix implicit nullability cast of [NSScreen mainScreen]. 2016-11-09 21:22:41 +00:00
tests Make SkSmallAllocator obey the RAII invariants and move to heap structures when needed. 2016-11-09 13:01:46 -08:00
third_party GN: turn on libpng SSE2 filters 2016-11-07 22:36:42 +00:00
tools skpbench: use 3 cores instead of 4 on Pixel C 2016-11-09 12:26:31 -08:00
.gitignore Remove skia.conf from .gitignore 2016-10-26 14:50:09 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Add contributor to Skia AUTHORS file 2016-09-01 07:55:43 -07:00
BUILD.gn Revert "Revert "GN: define SK_XML to indicate :xml is enabled."" 2016-11-08 16:08:04 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Remove SkMovie and giflib 2016-10-27 12:24:43 -07:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
fix-gn-sln.py Script to fix GN generated solutions 2016-10-31 17:01:16 +00:00
gyp_skia Make Win runtime DLLs writeable before overwriting 2016-03-18 08:33:38 -07:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
make.bat Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
make.py GYP: remove stale skia_scalar gyp variable 2015-11-10 13:25:12 -05:00
Makefile Add visualbench as valid target to Makefile 2015-12-18 08:05:06 -08:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py Split SkSL and utils apart again into .gni files. 2016-10-26 18:56:37 +00:00
public.bzl Change SkCanvas to *not* inherit from SkRefCnt 2016-11-09 19:40:06 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
skia.gyp Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
whitespace.txt Blame this CL for GTX660 changes. 2016-11-02 22:03:53 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.