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

Side by Side Diff: content/test/gpu/page_sets/pixel_tests.py

Issue 2467643002: mac: Fix bug where opacity is applied twice on RenderPassDrawQuads. (Closed)
Patch Set: Add test. 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
« no previous file with comments | « content/test/data/gpu/filter_effects.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from telemetry.story import story_set as story_set_module 5 from telemetry.story import story_set as story_set_module
6 6
7 import sys 7 import sys
8 8
9 from gpu_tests import gpu_test_base 9 from gpu_tests import gpu_test_base
10 10
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 self.AddStory(PixelTestsPage( 196 self.AddStory(PixelTestsPage(
197 url='file://../../data/gpu/pixel_webgl_noaa_noalpha.html', 197 url='file://../../data/gpu/pixel_webgl_noaa_noalpha.html',
198 name=base_name + '.WebGLGreenTriangle.NonChromiumImage.NoAA.NoAlpha', 198 name=base_name + '.WebGLGreenTriangle.NonChromiumImage.NoAA.NoAlpha',
199 test_rect=[0, 0, 300, 300], 199 test_rect=[0, 0, 300, 300],
200 revision=1, 200 revision=1,
201 story_set=self, 201 story_set=self,
202 shared_page_state_class=WebGLNonChromiumImageSharedPageState, 202 shared_page_state_class=WebGLNonChromiumImageSharedPageState,
203 expectations=expectations)) 203 expectations=expectations))
204 204
205 # On macOS, test CSS filter effects with and without the CA compositor. 205 # On macOS, test CSS filter effects with and without the CA compositor.
206 self.AddStory(PixelTestsPage( 206 self.AddStory(PixelTestsPage(
Ken Russell (switch to Gerrit) 2016/11/01 02:41:53 Sorry -- this file is only used by the trace_tests
erikchen 2016/11/01 17:31:35 Done.
207 url='file://../../data/gpu/filter_effects.html', 207 url='file://../../data/gpu/filter_effects.html',
208 name=base_name + '.CSSFilterEffects', 208 name=base_name + '.CSSFilterEffects',
209 test_rect=[0, 0, 300, 300], 209 test_rect=[0, 0, 300, 300],
210 revision=2, 210 revision=3,
211 story_set=self, 211 story_set=self,
212 shared_page_state_class=gpu_test_base.GpuSharedPageState, 212 shared_page_state_class=gpu_test_base.GpuSharedPageState,
213 expectations=expectations, 213 expectations=expectations,
214 tolerance=10)) 214 tolerance=10))
215 215
216 self.AddStory(PixelTestsPage( 216 self.AddStory(PixelTestsPage(
217 url='file://../../data/gpu/filter_effects.html', 217 url='file://../../data/gpu/filter_effects.html',
218 name=base_name + '.CSSFilterEffects.NoOverlays', 218 name=base_name + '.CSSFilterEffects.NoOverlays',
219 test_rect=[0, 0, 300, 300], 219 test_rect=[0, 0, 300, 300],
220 revision=2, 220 revision=3,
221 story_set=self, 221 story_set=self,
222 shared_page_state_class=DisableMacOverlaysSharedPageState, 222 shared_page_state_class=DisableMacOverlaysSharedPageState,
223 expectations=expectations, 223 expectations=expectations,
224 tolerance=10)) 224 tolerance=10))
225 225
226 def _AddAllPages(self, expectations, base_name, use_es3): 226 def _AddAllPages(self, expectations, base_name, use_es3):
227 if use_es3: 227 if use_es3:
228 es3_suffix = 'ES3' 228 es3_suffix = 'ES3'
229 shared_page_state_class = PixelTestsES3SharedPageState 229 shared_page_state_class = PixelTestsES3SharedPageState
230 else: 230 else:
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 story_set=self, 312 story_set=self,
313 shared_page_state_class=shared_page_state_class, 313 shared_page_state_class=shared_page_state_class,
314 expectations=expectations)) 314 expectations=expectations))
315 315
316 @property 316 @property
317 def allow_mixed_story_states(self): 317 def allow_mixed_story_states(self):
318 # Return True here in order to be able to add the same tests with 318 # Return True here in order to be able to add the same tests with
319 # a different SharedPageState on Mac which tests them with the 319 # a different SharedPageState on Mac which tests them with the
320 # Core Profile rendering path. 320 # Core Profile rendering path.
321 return True 321 return True
OLDNEW
« no previous file with comments | « content/test/data/gpu/filter_effects.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698