Changeset 87353 in webkit


Ignore:
Timestamp:
May 25, 2011 8:32:07 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-05-25 Gregg Tavares <Gregg Tavares>

Reviewed by Kenneth Russell.

Add 'noExtensions' option to Web/GraphicsContext3D attributes.
https://bugs.webkit.org/show_bug.cgi?id=61460

  • Source/WebCore/html/canvas/WebGLRenderingContext.cpp:
  • Source/WebCore/platform/graphics/GraphicsContext3D.h:
  • Source/WebKit/chromium/public/WebGraphicsContext3D.h:
  • Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp:
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r87274 r87353  
     12011-05-25  Gregg Tavares  <gman@chromium.org>
     2
     3        Reviewed by Kenneth Russell.
     4
     5        Add 'noExtensions' option to Web/GraphicsContext3D attributes.
     6        https://bugs.webkit.org/show_bug.cgi?id=61460
     7
     8        * Source/WebCore/html/canvas/WebGLRenderingContext.cpp:
     9        * Source/WebCore/platform/graphics/GraphicsContext3D.h:
     10        * Source/WebKit/chromium/public/WebGraphicsContext3D.h:
     11        * Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp:
     12
    1132011-05-24  Keishi Hattori  <keishi@webkit.org>
    214
  • trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp

    r86451 r87353  
    370370    }
    371371
     372    attributes.noExtensions = true;
    372373    RefPtr<GraphicsContext3D> context(GraphicsContext3D::create(attributes, hostWindow));
    373374
  • trunk/Source/WebCore/platform/graphics/GraphicsContext3D.h

    r86275 r87353  
    428428            , canRecoverFromContextLoss(true)
    429429            , preserveDrawingBuffer(false)
     430            , noExtensions(false)
    430431        {
    431432        }
     
    438439        bool canRecoverFromContextLoss;
    439440        bool preserveDrawingBuffer;
     441        bool noExtensions;
    440442    };
    441443
  • trunk/Source/WebKit/chromium/public/WebGraphicsContext3D.h

    r86278 r87353  
    8686            , premultipliedAlpha(true)
    8787            , canRecoverFromContextLoss(true)
     88            , noExtensions(false)
    8889        {
    8990        }
     
    9596        bool premultipliedAlpha;
    9697        bool canRecoverFromContextLoss;
     98        bool noExtensions;
    9799    };
    98100
  • trunk/Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp

    r86278 r87353  
    110110    webAttributes.premultipliedAlpha = attrs.premultipliedAlpha;
    111111    webAttributes.canRecoverFromContextLoss = attrs.canRecoverFromContextLoss;
     112    webAttributes.noExtensions = attrs.noExtensions;
    112113    OwnPtr<WebKit::WebGraphicsContext3D> webContext = adoptPtr(WebKit::webKitClient()->createGraphicsContext3D());
    113114    if (!webContext)
Note: See TracChangeset for help on using the changeset viewer.