Changeset 58209 in webkit


Ignore:
Timestamp:
Apr 23, 2010 10:17:18 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-23 Zhenyao Mo <zmo@google.com>

Reviewed by Darin Fisher.

Add isGLES2Compliant to GraphicsContext3D: make the method const.
https://bugs.webkit.org/show_bug.cgi?id=37872

  • platform/graphics/GraphicsContext3D.h: Make isGLES2Compliant() const.
  • platform/graphics/mac/GraphicsContext3DMac.cpp: Ditto. (WebCore::GraphicsContext3D::isGLES2Compliant):

2010-04-23 Zhenyao Mo <zmo@google.com>

Reviewed by Darin Fisher.

Add isGLES2Compliant to GraphicsContext3D: make the method const.
https://bugs.webkit.org/show_bug.cgi?id=37872

  • src/GraphicsContext3D.cpp: Make isGLES2Compliant() const. (WebCore::GraphicsContext3DInternal::isGLES2Compliant): (WebCore::GraphicsContext3D::isGLES2Compliant):
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r58207 r58209  
     12010-04-23  Zhenyao Mo  <zmo@google.com>
     2
     3        Reviewed by Darin Fisher.
     4
     5        Add isGLES2Compliant to GraphicsContext3D: make the method const.
     6        https://bugs.webkit.org/show_bug.cgi?id=37872
     7
     8        * platform/graphics/GraphicsContext3D.h: Make isGLES2Compliant() const.
     9        * platform/graphics/mac/GraphicsContext3DMac.cpp: Ditto.
     10        (WebCore::GraphicsContext3D::isGLES2Compliant):
     11
    1122010-04-23  Qi Zhang  <qi.2.zhang@nokia.com>
    213
  • trunk/WebCore/platform/graphics/GraphicsContext3D.h

    r58140 r58209  
    480480                              AlphaOp alphaOp);
    481481
     482        bool isGLES2Compliant() const;
     483
    482484        //----------------------------------------------------------------------
    483485        // Entry points for WebGL.
     
    685687        // getError in the order they were added.
    686688        void synthesizeGLError(unsigned long error);
    687 
    688         bool isGLES2Compliant();
    689689
    690690    private:       
  • trunk/WebCore/platform/graphics/mac/GraphicsContext3DMac.cpp

    r58140 r58209  
    236236}
    237237
    238 bool GraphicsContext3D::isGLES2Compliant()
     238bool GraphicsContext3D::isGLES2Compliant() const
    239239{
    240240    return false;
  • trunk/WebKit/chromium/ChangeLog

    r58205 r58209  
     12010-04-23  Zhenyao Mo  <zmo@google.com>
     2
     3        Reviewed by Darin Fisher.
     4
     5        Add isGLES2Compliant to GraphicsContext3D: make the method const.
     6        https://bugs.webkit.org/show_bug.cgi?id=37872
     7
     8        * src/GraphicsContext3D.cpp: Make isGLES2Compliant() const.
     9        (WebCore::GraphicsContext3DInternal::isGLES2Compliant):
     10        (WebCore::GraphicsContext3D::isGLES2Compliant):
     11
    1122010-04-23  Rafael Weinstein  <rafaelw@grafaelw.sfo.corp.google.com>
    213
  • trunk/WebKit/chromium/src/GraphicsContext3D.cpp

    r58140 r58209  
    112112    void endPaint();
    113113
    114     bool isGLES2Compliant();
     114    bool isGLES2Compliant() const;
    115115
    116116    //----------------------------------------------------------------------
     
    620620DELEGATE_TO_IMPL_1R(sizeInBytes, int, int)
    621621
    622 DELEGATE_TO_IMPL_R(isGLES2Compliant, bool)
     622bool GraphicsContext3DInternal::isGLES2Compliant() const
     623{
     624    return m_impl->isGLES2Compliant();
     625}
    623626
    624627DELEGATE_TO_IMPL_1(activeTexture, unsigned long)
     
    12951298
    12961299DELEGATE_TO_INTERNAL_1(synthesizeGLError, unsigned long)
    1297 DELEGATE_TO_INTERNAL_R(isGLES2Compliant, bool)
     1300
     1301bool GraphicsContext3D::isGLES2Compliant() const
     1302{
     1303    return m_internal->isGLES2Compliant();
     1304}
    12981305
    12991306} // namespace WebCore
Note: See TracChangeset for help on using the changeset viewer.