Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Side by Side Diff: Source/web/WebRuntimeFeatures.cpp

Issue 689153004: Expose a public API option to force 2D canvas to use display lists (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 void WebRuntimeFeatures::enableDatabase(bool enable) 77 void WebRuntimeFeatures::enableDatabase(bool enable)
78 { 78 {
79 RuntimeEnabledFeatures::setDatabaseEnabled(enable); 79 RuntimeEnabledFeatures::setDatabaseEnabled(enable);
80 } 80 }
81 81
82 void WebRuntimeFeatures::enableDecodeToYUV(bool enable) 82 void WebRuntimeFeatures::enableDecodeToYUV(bool enable)
83 { 83 {
84 RuntimeEnabledFeatures::setDecodeToYUVEnabled(enable); 84 RuntimeEnabledFeatures::setDecodeToYUVEnabled(enable);
85 } 85 }
86 86
87 void WebRuntimeFeatures::forceDisplayList2dCanvas(bool enable)
88 {
89 RuntimeEnabledFeatures::setForceDisplayList2dCanvasEnabled(enable);
90 }
91
87 void WebRuntimeFeatures::enableDisplayList2dCanvas(bool enable) 92 void WebRuntimeFeatures::enableDisplayList2dCanvas(bool enable)
88 { 93 {
89 RuntimeEnabledFeatures::setDisplayList2dCanvasEnabled(enable); 94 RuntimeEnabledFeatures::setDisplayList2dCanvasEnabled(enable);
90 } 95 }
91 96
92 void WebRuntimeFeatures::enableEncryptedMedia(bool enable) 97 void WebRuntimeFeatures::enableEncryptedMedia(bool enable)
93 { 98 {
94 RuntimeEnabledFeatures::setEncryptedMediaEnabled(enable); 99 RuntimeEnabledFeatures::setEncryptedMediaEnabled(enable);
95 } 100 }
96 101
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 { 313 {
309 RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable); 314 RuntimeEnabledFeatures::setV8IdleTasksEnabled(enable);
310 } 315 }
311 316
312 void WebRuntimeFeatures::enableSVG1DOM(bool enable) 317 void WebRuntimeFeatures::enableSVG1DOM(bool enable)
313 { 318 {
314 RuntimeEnabledFeatures::setSVG1DOMEnabled(enable); 319 RuntimeEnabledFeatures::setSVG1DOMEnabled(enable);
315 } 320 }
316 321
317 } // namespace blink 322 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698