Пример #1
0
 def GenerateGpuTests(cls, options):
     cls.SetParsedCommandLineOptions(options)
     name = 'Pixel'
     pages = pixel_test_pages.DefaultPages(name)
     pages += pixel_test_pages.ExperimentalCanvasFeaturesPages(name)
     if sys.platform.startswith('darwin'):
         pages += pixel_test_pages.MacSpecificPages(name)
     for p in pages:
         yield (p.name, p.url, (p))
Пример #2
0
 def GenerateGpuTests(cls, options):
   cls.SetParsedCommandLineOptions(options)
   name = 'Pixel'
   pages = pixel_test_pages.DefaultPages(name)
   pages += pixel_test_pages.GpuRasterizationPages(name)
   pages += pixel_test_pages.ExperimentalCanvasFeaturesPages(name)
   # pages += pixel_test_pages.NoGpuProcessPages(name)
   # The following pages should run only on platforms where SwiftShader is
   # enabled. They are skipped on other platforms through test expectations.
   # pages += pixel_test_pages.SwiftShaderPages(name)
   if sys.platform.startswith('darwin'):
     pages += pixel_test_pages.MacSpecificPages(name)
   if sys.platform.startswith('win'):
     pages += pixel_test_pages.DirectCompositionPages(name)
   for p in pages:
     yield(p.name, gpu_relative_path + p.url, (p))
Пример #3
0
 def GenerateGpuTests(cls, options):
   cls.SetParsedCommandLineOptions(options)
   name = 'Pixel'
   pages = pixel_test_pages.ES2AndES3Pages(name)
   pages += pixel_test_pages.ExperimentalCanvasFeaturesPages(name)
   if sys.platform.startswith('darwin'):
     # TOOD(kbr): replace this with CopyPagesWithNewBrowserArgsAndPrefix,
     # and removeCopyPagesWithNewBrowserArgsAndSuffix. This renaming
     # will cause all of the ES3 tests to be run back-to-back,
     # reducing the number of browser restarts and speeding up the
     # tests. Note that this will require all the ES3 tests to be
     # temporarily marked failing on macOS, and is too big a change
     # to do along with the port to the new harness.
     pages += pixel_test_pages.CopyPagesWithNewBrowserArgsAndSuffix(
       pixel_test_pages.ES2AndES3Pages(name),
       ['--enable-unsafe-es3-apis'], 'ES3')
     pages += pixel_test_pages.MacSpecificPages(name)
   for p in pages:
     yield(p.name, p.url, (p))