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

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

Issue 2535173002: Prevent implicit framebuffer clear from clobbering alpha in emulated RGB (Closed)
Patch Set: fix Created 4 years 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 # 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 195
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 self.AddStory(PixelTestsPage(
206 url='file://../../data/gpu/pixel_webgl_noalpha_implicit_clear.html',
207 name=base_name + '.WebGLGreenTriangle.NonChromiumImage.ImplicitClear',
208 test_rect=[0, 0, 300, 300],
209 revision=1,
210 story_set=self,
211 shared_page_state_class=WebGLNonChromiumImageSharedPageState,
212 expectations=expectations))
Ken Russell (switch to Gerrit) 2016/12/01 07:20:43 Not necessary to add this here; this obsolete page
Kai Ninomiya 2016/12/01 23:30:19 Done.
213
205 # On macOS, test CSS filter effects with and without the CA compositor. 214 # On macOS, test CSS filter effects with and without the CA compositor.
206 self.AddStory(PixelTestsPage( 215 self.AddStory(PixelTestsPage(
207 url='file://../../data/gpu/filter_effects.html', 216 url='file://../../data/gpu/filter_effects.html',
208 name=base_name + '.CSSFilterEffects', 217 name=base_name + '.CSSFilterEffects',
209 test_rect=[0, 0, 300, 300], 218 test_rect=[0, 0, 300, 300],
210 revision=2, 219 revision=2,
211 story_set=self, 220 story_set=self,
212 shared_page_state_class=gpu_test_base.GpuSharedPageState, 221 shared_page_state_class=gpu_test_base.GpuSharedPageState,
213 expectations=expectations, 222 expectations=expectations,
214 tolerance=10)) 223 tolerance=10))
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 story_set=self, 321 story_set=self,
313 shared_page_state_class=shared_page_state_class, 322 shared_page_state_class=shared_page_state_class,
314 expectations=expectations)) 323 expectations=expectations))
315 324
316 @property 325 @property
317 def allow_mixed_story_states(self): 326 def allow_mixed_story_states(self):
318 # Return True here in order to be able to add the same tests with 327 # 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 328 # a different SharedPageState on Mac which tests them with the
320 # Core Profile rendering path. 329 # Core Profile rendering path.
321 return True 330 return True
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698