Changeset 141691 in webkit


Ignore:
Timestamp:
Feb 2, 2013 5:05:11 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[BlackBerry] Improper initialization of ANGLEResources
https://bugs.webkit.org/show_bug.cgi?id=101489

Patch by Jonathan Feldstein <jfeldstein@rim.com> on 2013-02-02
Reviewed by Antonio Gomes.

MaxDrawBuffers, OES_standard_derivatives, OES_EGL_image_external and ARB_texture_rectangle have already been initialized through ShBuiltInResources function and these fields do not need to be set again in GraphicsContext3dBlackBerry.cpp. In addition, the extension flags cannot be set to true without getExtension having been called (Khronos WebGL specs, section 5.14.14.). Thus these lines need to be removed.

  • platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp:

(WebCore::GraphicsContext3D::GraphicsContext3D):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r141690 r141691  
     12013-02-02  Jonathan Feldstein  <jfeldstein@rim.com>
     2
     3        [BlackBerry] Improper initialization of ANGLEResources
     4        https://bugs.webkit.org/show_bug.cgi?id=101489
     5
     6        Reviewed by Antonio Gomes.
     7
     8        MaxDrawBuffers, OES_standard_derivatives, OES_EGL_image_external and ARB_texture_rectangle have already been initialized through ShBuiltInResources function and these fields do not need to be set again in GraphicsContext3dBlackBerry.cpp. In addition, the extension flags cannot be set to true without getExtension having been called (Khronos WebGL specs, section 5.14.14.). Thus these lines need to be removed.
     9
     10        * platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp:
     11        (WebCore::GraphicsContext3D::GraphicsContext3D):
     12
    1132013-02-02  Vivek Galatage  <vivek.vg@samsung.com>
    214
  • trunk/Source/WebCore/platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp

    r131335 r141691  
    113113
    114114    ANGLEResources.MaxDrawBuffers = 1; // Always set to 1 for OpenGL ES.
    115     ANGLEResources.OES_standard_derivatives = m_extensions->supports("GL_OES_standard_derivatives");
    116     ANGLEResources.OES_EGL_image_external = m_extensions->supports("GL_EGL_image_external");
    117     ANGLEResources.ARB_texture_rectangle = m_extensions->supports("GL_ARB_texture_rectangle");
    118115    m_compiler.setResources(ANGLEResources);
    119116
Note: See TracChangeset for help on using the changeset viewer.