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

Unified Diff: cc/trees/layer_tree_host_pixeltest_filters.cc

Issue 2089753003: cc: Use the correct internal format for glCopyTexImage2D calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: copytextureformat: comments Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/test_in_process_context_provider.cc ('k') | components/display_compositor/buffer_queue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_pixeltest_filters.cc
diff --git a/cc/trees/layer_tree_host_pixeltest_filters.cc b/cc/trees/layer_tree_host_pixeltest_filters.cc
index 5e974fe3530ac6921f966966a8d95270da2a936c..cd4d961feeaac9fec9bb40a761889fa2de835bc9 100644
--- a/cc/trees/layer_tree_host_pixeltest_filters.cc
+++ b/cc/trees/layer_tree_host_pixeltest_filters.cc
@@ -80,10 +80,10 @@ TEST_F(LayerTreeHostFiltersPixelTest, BackgroundFilterBlurOutsets) {
blur->SetBackgroundFilters(filters);
#if defined(OS_WIN)
- // Windows has 7.6975% pixels by at most 2: crbug.com/259922
- float percentage_pixels_large_error = 7.7f;
+ // Windows has 5.6075% pixels by at most 2: crbug.com/259922
+ float percentage_pixels_large_error = 5.7f;
float percentage_pixels_small_error = 0.0f;
- float average_error_allowed_in_bad_pixels = 1.f;
+ float average_error_allowed_in_bad_pixels = 2.f;
int large_error_allowed = 2;
int small_error_allowed = 0;
pixel_comparator_.reset(new FuzzyPixelComparator(
@@ -437,10 +437,10 @@ class ImageBackgroundFilter : public LayerTreeHostFiltersPixelTest {
filter->SetBackgroundFilters(filters);
#if defined(OS_WIN)
- // Windows has 2.5875% pixels off by at most 2: crbug.com/225027
- float percentage_pixels_large_error = 2.6f; // 994px / (200*200)
+ // Windows has 3.065% pixels off by at most 2: crbug.com/225027
+ float percentage_pixels_large_error = 3.1f;
float percentage_pixels_small_error = 0.0f;
- float average_error_allowed_in_bad_pixels = 1.f;
+ float average_error_allowed_in_bad_pixels = 2.f;
int large_error_allowed = 2;
int small_error_allowed = 0;
pixel_comparator_.reset(new FuzzyPixelComparator(
« no previous file with comments | « cc/test/test_in_process_context_provider.cc ('k') | components/display_compositor/buffer_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698