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

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

Issue 274833002: Enable WebGL rendering into ImageCHROMIUM, backed by a scanout buffer to enable overlay suppor… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix release Created 6 years, 7 months 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
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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 void WebRuntimeFeatures::enableWebAudio(bool enable) 224 void WebRuntimeFeatures::enableWebAudio(bool enable)
225 { 225 {
226 RuntimeEnabledFeatures::setWebAudioEnabled(enable); 226 RuntimeEnabledFeatures::setWebAudioEnabled(enable);
227 } 227 }
228 228
229 void WebRuntimeFeatures::enableWebGLDraftExtensions(bool enable) 229 void WebRuntimeFeatures::enableWebGLDraftExtensions(bool enable)
230 { 230 {
231 RuntimeEnabledFeatures::setWebGLDraftExtensionsEnabled(enable); 231 RuntimeEnabledFeatures::setWebGLDraftExtensionsEnabled(enable);
232 } 232 }
233 233
234 void WebRuntimeFeatures::enableWebGLImageChromium(bool enable)
235 {
236 RuntimeEnabledFeatures::setWebGLImageChromiumEnabled(enable);
237 }
238
234 void WebRuntimeFeatures::enableWebMIDI(bool enable) 239 void WebRuntimeFeatures::enableWebMIDI(bool enable)
235 { 240 {
236 return RuntimeEnabledFeatures::setWebMIDIEnabled(enable); 241 return RuntimeEnabledFeatures::setWebMIDIEnabled(enable);
237 } 242 }
238 243
239 void WebRuntimeFeatures::enableHTMLImports(bool enable) 244 void WebRuntimeFeatures::enableHTMLImports(bool enable)
240 { 245 {
241 RuntimeEnabledFeatures::setHTMLImportsEnabled(enable); 246 RuntimeEnabledFeatures::setHTMLImportsEnabled(enable);
242 } 247 }
243 248
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 { 285 {
281 RuntimeEnabledFeatures::setPreciseMemoryInfoEnabled(enable); 286 RuntimeEnabledFeatures::setPreciseMemoryInfoEnabled(enable);
282 } 287 }
283 288
284 void WebRuntimeFeatures::enableLayerSquashing(bool enable) 289 void WebRuntimeFeatures::enableLayerSquashing(bool enable)
285 { 290 {
286 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable); 291 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable);
287 } 292 }
288 293
289 } // namespace blink 294 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/graphics/gpu/DrawingBufferTest.cpp ('k') | public/platform/WebExternalTextureMailbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698