Changeset 110171 in webkit


Ignore:
Timestamp:
Mar 8, 2012 8:53:41 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[BlackBerry] Upstream WebGL related files from platform/graphics
https://bugs.webkit.org/show_bug.cgi?id=79876

Patch by Robin Cao <robin.cao@torchmobile.com.cn> on 2012-03-08
Reviewed by Rob Buis.

Initial upstream, no new tests.

  • platform/graphics/blackberry/DrawingBufferBlackBerry.cpp: Added.

(WebCore):
(DrawingBufferInternal):
(WebCore::generateColorTexture):
(WebCore::DrawingBuffer::DrawingBuffer):
(WebCore::DrawingBuffer::~DrawingBuffer):
(WebCore::DrawingBuffer::publishToPlatformLayer):
(WebCore::DrawingBuffer::reset):
(WebCore::DrawingBuffer::platformLayer):

  • platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp: Added.

(WebCore):
(WebCore::GraphicsContext3D::create):
(WebCore::GraphicsContext3D::GraphicsContext3D):
(WebCore::GraphicsContext3D::~GraphicsContext3D):
(WebCore::GraphicsContext3D::paintsIntoCanvasBuffer):
(WebCore::GraphicsContext3D::makeContextCurrent):
(WebCore::GraphicsContext3D::isGLES2Compliant):
(WebCore::GraphicsContext3D::isGLES2NPOTStrict):
(WebCore::GraphicsContext3D::isErrorGeneratedOnOutOfBoundsAccesses):
(WebCore::GraphicsContext3D::platformTexture):
(WebCore::GraphicsContext3D::platformLayer):
(WebCore::GraphicsContext3D::paintToCanvas):
(WebCore::GraphicsContext3D::setContextLostCallback):

  • platform/graphics/blackberry/WebGLLayerWebKitThread.cpp: Added.

(WebCore):
(WebCore::WebGLLayerWebKitThread::WebGLLayerWebKitThread):
(WebCore::WebGLLayerWebKitThread::~WebGLLayerWebKitThread):
(WebCore::WebGLLayerWebKitThread::setNeedsDisplay):
(WebCore::WebGLLayerWebKitThread::updateTextureContentsIfNeeded):

  • platform/graphics/blackberry/WebGLLayerWebKitThread.h: Added.

(WebCore):
(WebGLLayerWebKitThread):
(WebCore::WebGLLayerWebKitThread::create):
(WebCore::WebGLLayerWebKitThread::setWebGLContext):

Location:
trunk/Source/WebCore
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r110170 r110171  
     12012-03-08  Robin Cao  <robin.cao@torchmobile.com.cn>
     2
     3        [BlackBerry] Upstream WebGL related files from platform/graphics
     4        https://bugs.webkit.org/show_bug.cgi?id=79876
     5
     6        Reviewed by Rob Buis.
     7
     8        Initial upstream, no new tests.
     9
     10        * platform/graphics/blackberry/DrawingBufferBlackBerry.cpp: Added.
     11        (WebCore):
     12        (DrawingBufferInternal):
     13        (WebCore::generateColorTexture):
     14        (WebCore::DrawingBuffer::DrawingBuffer):
     15        (WebCore::DrawingBuffer::~DrawingBuffer):
     16        (WebCore::DrawingBuffer::publishToPlatformLayer):
     17        (WebCore::DrawingBuffer::reset):
     18        (WebCore::DrawingBuffer::platformLayer):
     19        * platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp: Added.
     20        (WebCore):
     21        (WebCore::GraphicsContext3D::create):
     22        (WebCore::GraphicsContext3D::GraphicsContext3D):
     23        (WebCore::GraphicsContext3D::~GraphicsContext3D):
     24        (WebCore::GraphicsContext3D::paintsIntoCanvasBuffer):
     25        (WebCore::GraphicsContext3D::makeContextCurrent):
     26        (WebCore::GraphicsContext3D::isGLES2Compliant):
     27        (WebCore::GraphicsContext3D::isGLES2NPOTStrict):
     28        (WebCore::GraphicsContext3D::isErrorGeneratedOnOutOfBoundsAccesses):
     29        (WebCore::GraphicsContext3D::platformTexture):
     30        (WebCore::GraphicsContext3D::platformLayer):
     31        (WebCore::GraphicsContext3D::paintToCanvas):
     32        (WebCore::GraphicsContext3D::setContextLostCallback):
     33        * platform/graphics/blackberry/WebGLLayerWebKitThread.cpp: Added.
     34        (WebCore):
     35        (WebCore::WebGLLayerWebKitThread::WebGLLayerWebKitThread):
     36        (WebCore::WebGLLayerWebKitThread::~WebGLLayerWebKitThread):
     37        (WebCore::WebGLLayerWebKitThread::setNeedsDisplay):
     38        (WebCore::WebGLLayerWebKitThread::updateTextureContentsIfNeeded):
     39        * platform/graphics/blackberry/WebGLLayerWebKitThread.h: Added.
     40        (WebCore):
     41        (WebGLLayerWebKitThread):
     42        (WebCore::WebGLLayerWebKitThread::create):
     43        (WebCore::WebGLLayerWebKitThread::setWebGLContext):
     44
    1452012-03-08  Yong Li  <yoli@rim.com>
    246
Note: See TracChangeset for help on using the changeset viewer.