Changeset 48380 in webkit


Ignore:
Timestamp:
Sep 14, 2009 6:28:20 PM (15 years ago)
Author:
cmarrin@apple.com
Message:

Add LayoutTests infrastructure to enable and disable webgl tests.
Also added a webgl test.
https://bugs.webkit.org/show_bug.cgi?id=29254

Location:
trunk
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r48377 r48380  
     12009-09-14  Chris Marrin  <cmarrin@apple.com>
     2
     3        Reviewed by Oliver Hunt.
     4
     5        Add a sample webgl test
     6        https://bugs.webkit.org/show_bug.cgi?id=29254
     7
     8        * fast/canvas/webgl: Added.
     9        * fast/canvas/webgl/gl-get-calls-expected.txt: Added.
     10        * fast/canvas/webgl/gl-get-calls.html: Added.
     11
    1122009-09-14  Brady Eidson  <beidson@apple.com>
    213
  • trunk/WebKitTools/ChangeLog

    r48378 r48380  
     12009-09-14  Chris Marrin  <cmarrin@apple.com>
     2
     3        Reviewed by Oliver Hunt.
     4
     5        Add LayoutTests infrastructure to enable and disable webgl tests.
     6        https://bugs.webkit.org/show_bug.cgi?id=29254
     7
     8        * Scripts/run-webkit-tests:
     9        * Scripts/webkitdirs.pm:
     10
    1112009-09-14  Simon Fraser  <simon.fraser@apple.com>
    212
  • trunk/WebKitTools/Scripts/run-webkit-tests

    r48378 r48380  
    422422    $ignoredDirectories{'animations/3d'} = 1;
    423423    $ignoredDirectories{'transforms/3d'} = 1;
     424}
     425
     426if (!checkWebCore3DCanvasSupport(0)) {
     427    $ignoredDirectories{'fast/canvas/webgl'} = 1;
    424428}
    425429
  • trunk/WebKitTools/Scripts/webkitdirs.pm

    r48009 r48380  
    627627}
    628628
     629sub has3DCanvasSupport
     630{
     631    return 0 if isQt();
     632
     633    my $path = shift;
     634    return libraryContainsSymbol($path, "CanvasShader");
     635}
     636
     637sub checkWebCore3DCanvasSupport
     638{
     639    my $required = shift;
     640    my $framework = "WebCore";
     641    my $path = builtDylibPathForName($framework);
     642    my $has3DCanvas = has3DCanvasSupport($path);
     643    if ($required && !$has3DCanvas) {
     644        die "$framework at \"$path\" does not include 3D Canvas Support, please run build-webkit --3d-canvas\n";
     645    }
     646    return $has3DCanvas;
     647}
     648
    629649sub hasWMLSupport
    630650{
Note: See TracChangeset for help on using the changeset viewer.