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

Side by Side Diff: third_party/WebKit/Source/web/WebSettingsImpl.cpp

Issue 2503283007: Work around unknown Mac Intel driver bug causing non-deterministic behavior in GPU readback from 2D (Closed)
Patch Set: address comments Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 } 491 }
492 492
493 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count) { 493 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count) {
494 m_settings->setAccelerated2dCanvasMSAASampleCount(count); 494 m_settings->setAccelerated2dCanvasMSAASampleCount(count);
495 } 495 }
496 496
497 void WebSettingsImpl::setAntialiased2dCanvasEnabled(bool enabled) { 497 void WebSettingsImpl::setAntialiased2dCanvasEnabled(bool enabled) {
498 m_settings->setAntialiased2dCanvasEnabled(enabled); 498 m_settings->setAntialiased2dCanvasEnabled(enabled);
499 } 499 }
500 500
501 void WebSettingsImpl::setForceSoftwareReadbackFrom2DCanvas(bool enabled) {
502 m_settings->setForceSoftwareReadbackFrom2DCanvas(enabled);
503 }
504
501 void WebSettingsImpl::setAntialiasedClips2dCanvasEnabled(bool enabled) { 505 void WebSettingsImpl::setAntialiasedClips2dCanvasEnabled(bool enabled) {
502 m_settings->setAntialiasedClips2dCanvasEnabled(enabled); 506 m_settings->setAntialiasedClips2dCanvasEnabled(enabled);
503 } 507 }
504 508
505 void WebSettingsImpl::setPreferCompositingToLCDTextEnabled(bool enabled) { 509 void WebSettingsImpl::setPreferCompositingToLCDTextEnabled(bool enabled) {
506 m_devToolsEmulator->setPreferCompositingToLCDTextEnabled(enabled); 510 m_devToolsEmulator->setPreferCompositingToLCDTextEnabled(enabled);
507 } 511 }
508 512
509 void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels) { 513 void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels) {
510 m_settings->setMinimumAccelerated2dCanvasSize(numPixels); 514 m_settings->setMinimumAccelerated2dCanvasSize(numPixels);
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxBudget( 712 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxBudget(
709 float maxBudget) { 713 float maxBudget) {
710 m_expensiveBackgroundThrottlingMaxBudget = maxBudget; 714 m_expensiveBackgroundThrottlingMaxBudget = maxBudget;
711 } 715 }
712 716
713 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) { 717 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) {
714 m_expensiveBackgroundThrottlingMaxDelay = maxDelay; 718 m_expensiveBackgroundThrottlingMaxDelay = maxDelay;
715 } 719 }
716 720
717 } // namespace blink 721 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698