CB-11002 Enable hidden accelerated rendering settings by default
diff --git a/CordovaLib/CordovaLib/Classes/CDVViewController.h b/CordovaLib/CordovaLib/Classes/CDVViewController.h
index 3f1859e..01a22ec 100644
--- a/CordovaLib/CordovaLib/Classes/CDVViewController.h
+++ b/CordovaLib/CordovaLib/Classes/CDVViewController.h
@@ -87,4 +87,26 @@
 - (NSString*) _localStorageDatabasePath;
 
 - (void) _setLocalStorageDatabasePath:(NSString*) path;
+
+- (BOOL)requestAnimationFrameEnabled;
+- (void)setRequestAnimationFrameEnabled:(BOOL)enabled;
+
+- (BOOL)accelerated2dCanvasEnabled;
+- (void)setAccelerated2dCanvasEnabled:(BOOL)enabled;
+
+- (BOOL)acceleratedDrawingEnabled;
+- (void)setAcceleratedDrawingEnabled:(BOOL)enabled;
+
+- (BOOL)canvasUsesAcceleratedDrawing;
+- (void)setCanvasUsesAcceleratedDrawing:(BOOL)enabled;
+
+- (BOOL)acceleratedCompositingEnabled;
+- (void)setAcceleratedCompositingEnabled:(BOOL)enabled;
+
+- (BOOL)showDebugBorders;
+- (void)setShowDebugBorders:(BOOL)show;
+
+- (BOOL)showRepaintCounter;
+- (void)setShowRepaintCounter:(BOOL)show;
+
 @end
diff --git a/CordovaLib/CordovaLib/Classes/CDVViewController.m b/CordovaLib/CordovaLib/Classes/CDVViewController.m
index b4449cc..4631b9c 100644
--- a/CordovaLib/CordovaLib/Classes/CDVViewController.m
+++ b/CordovaLib/CordovaLib/Classes/CDVViewController.m
@@ -88,7 +88,7 @@
     WebPreferences* prefs = [self.webView preferences];
     [prefs setAutosaves:YES];
 
-    [self configureWebGL:prefs];
+    [self configureWebDefaults:prefs];
     [self configureLocalStorage:prefs];
     [self configureWindowSize];
     [self configureHideMousePointer];
@@ -166,9 +166,9 @@
 }
 
 /**
- * Configures WebGL
+ * Configures the default web preferences
  */
-- (void) configureWebGL:(WebPreferences*) prefs {
+- (void) configureWebDefaults:(WebPreferences*) prefs {
     // initialize items based on settings
     BOOL enableWebGL = [self.settings[@"EnableWebGL"] boolValue];
 
@@ -176,6 +176,17 @@
     if (enableWebGL) {
         [prefs setWebGLEnabled:YES];
     }
+
+    // ensure that acceleration settings are enabled (CB-11002)
+    [prefs setRequestAnimationFrameEnabled:YES];
+    [prefs setAccelerated2dCanvasEnabled:YES];
+    [prefs setAcceleratedDrawingEnabled:YES];
+    [prefs setCanvasUsesAcceleratedDrawing:YES];
+    [prefs setAcceleratedCompositingEnabled:YES];
+
+    // todo: add configuration options for those
+    // [prefs setShowRepaintCounter:YES];
+    // [prefs setShowDebugBorders:YES];
 }
 
 /**