[iOS] WebKit2 can't access the GPU
authorpsolanki@apple.com <psolanki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Feb 2014 01:33:53 +0000 (01:33 +0000)
committerpsolanki@apple.com <psolanki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Feb 2014 01:33:53 +0000 (01:33 +0000)
https://bugs.webkit.org/show_bug.cgi?id=128345
<rdar://problem/15976084>

Reviewed by Tim Horton.

Add an entitlement to allow web process to access GPU.

* Configurations/WebContent-iOS.entitlements: Added.
* Configurations/WebContentService.Development.xcconfig:
* Configurations/WebContentService.xcconfig:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@163588 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/Configurations/WebContent-iOS.entitlements [new file with mode: 0644]
Source/WebKit2/Configurations/WebContentService.Development.xcconfig
Source/WebKit2/Configurations/WebContentService.xcconfig

index eb02b28..11bb441 100644 (file)
@@ -1,5 +1,19 @@
 2014-02-06  Pratik Solanki  <psolanki@apple.com>
 
+        [iOS] WebKit2 can't access the GPU
+        https://bugs.webkit.org/show_bug.cgi?id=128345
+        <rdar://problem/15976084>
+
+        Reviewed by Tim Horton.
+
+        Add an entitlement to allow web process to access GPU.
+
+        * Configurations/WebContent-iOS.entitlements: Added.
+        * Configurations/WebContentService.Development.xcconfig:
+        * Configurations/WebContentService.xcconfig:
+
+2014-02-06  Pratik Solanki  <psolanki@apple.com>
+
         [iOS][WebKit2] Remove JoinExistingSession from plist
         https://bugs.webkit.org/show_bug.cgi?id=128318
         <rdar://problem/15971612>
diff --git a/Source/WebKit2/Configurations/WebContent-iOS.entitlements b/Source/WebKit2/Configurations/WebContent-iOS.entitlements
new file mode 100644 (file)
index 0000000..f80c82b
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+        <key>com.apple.private.allow-explicit-graphics-priority</key>
+        <true/>
+</dict>
+</plist>
index 2343d75..aa8f592 100644 (file)
@@ -28,5 +28,7 @@ INFOPLIST_FILE = $(INFOPLIST_FILE_$(PLATFORM_NAME));
 INFOPLIST_FILE_macosx = WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/Info-OSX.plist;
 INFOPLIST_FILE_iphoneos = WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/Info-iOS.plist;
 
+CODE_SIGN_ENTITLEMENTS[sdk=iphoneos*] = Configurations/WebContent-iOS.entitlements
+
 OTHER_LDFLAGS = $(inherited) $(OTHER_LDFLAGS_VERSIONED_FRAMEWORK_PATH) $(OTHER_LDFLAGS_$(PLATFORM_NAME));
 OTHER_LDFLAGS_macosx = -framework AppKit;
index a67ecb3..a3158ee 100644 (file)
@@ -29,5 +29,7 @@ INFOPLIST_FILE = $(INFOPLIST_FILE_$(PLATFORM_NAME));
 INFOPLIST_FILE_macosx = WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX.plist;
 INFOPLIST_FILE_iphoneos = WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-iOS.plist;
 
+CODE_SIGN_ENTITLEMENTS[sdk=iphoneos*] = Configurations/WebContent-iOS.entitlements
+
 OTHER_LDFLAGS = $(inherited) $(OTHER_LDFLAGS_VERSIONED_FRAMEWORK_PATH) $(OTHER_LDFLAGS_$(PLATFORM_NAME));
 OTHER_LDFLAGS_macosx = -framework AppKit;