Changeset 125690 in webkit


Ignore:
Timestamp:
Aug 15, 2012 11:54:33 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[BlackBerry] Upstream BlackBerry build fixes
https://bugs.webkit.org/show_bug.cgi?id=94121

Patch by Joshua Netterfield <jnetterfield@rim.com> on 2012-08-15
Reviewed by Rob Buis.

This includes several build fixes due to incorrect upstream patches.
These mistakes were never present downstream.

No new tests, because no new functionality is added.

Source/WebCore:

  • platform/graphics/GraphicsContext3D.cpp:

(WebCore::GraphicsContext3D::computeFormatAndTypeParameters):

  • platform/graphics/GraphicsContext3D.h:

(GraphicsContext3D):
(WebCore::GraphicsContext3D::ShaderSourceEntry::ShaderSourceEntry):

  • platform/graphics/blackberry/LayerFilterRenderer.cpp:

(WebCore::LayerFilterRendererAction::LayerFilterRendererAction):

  • platform/graphics/blackberry/LayerFilterRenderer.h:

(LayerFilterRendererAction):

Source/WebKit/blackberry:

  • WebCoreSupport/AboutDataEnableFeatures.in:
  • WebCoreSupport/AboutTemplate.html.cpp:

(writeHeader):

Location:
trunk/Source
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r125688 r125690  
     12012-08-15  Joshua Netterfield  <jnetterfield@rim.com>
     2
     3        [BlackBerry] Upstream BlackBerry build fixes
     4        https://bugs.webkit.org/show_bug.cgi?id=94121
     5
     6        Reviewed by Rob Buis.
     7
     8        This includes several build fixes due to incorrect upstream patches.
     9        These mistakes were never present downstream.
     10
     11        No new tests, because no new functionality is added.
     12
     13        * platform/graphics/GraphicsContext3D.cpp:
     14        (WebCore::GraphicsContext3D::computeFormatAndTypeParameters):
     15        * platform/graphics/GraphicsContext3D.h:
     16        (GraphicsContext3D):
     17        (WebCore::GraphicsContext3D::ShaderSourceEntry::ShaderSourceEntry):
     18        * platform/graphics/blackberry/LayerFilterRenderer.cpp:
     19        (WebCore::LayerFilterRendererAction::LayerFilterRendererAction):
     20        * platform/graphics/blackberry/LayerFilterRenderer.h:
     21        (LayerFilterRendererAction):
     22
    1232012-08-15  Adam Barth  <abarth@webkit.org>
    224
  • trunk/Source/WebCore/platform/graphics/GraphicsContext3D.cpp

    r122175 r125690  
    117117        *bytesPerComponent = sizeof(GC3Dushort);
    118118        break;
     119#if !PLATFORM(BLACKBERRY)
    119120    case GraphicsContext3D::UNSIGNED_INT_24_8:
     121#endif
    120122    case GraphicsContext3D::UNSIGNED_INT:
    121123        *bytesPerComponent = sizeof(GC3Duint);
  • trunk/Source/WebCore/platform/graphics/GraphicsContext3D.h

    r124879 r125690  
    7575#endif
    7676
    77 #if PLATFORM(CHROMIUM) && USE(SKIA)
     77#if (PLATFORM(CHROMIUM) || PLATFORM(BLACKBERRY)) && USE(SKIA)
    7878class GrContext;
    7979#endif
     
    484484    Platform3DObject platformTexture() const { return m_compositorTexture; }
    485485    CALayer* platformLayer() const { return reinterpret_cast<CALayer*>(m_webGLLayer.get()); }
    486 #elif PLATFORM(CHROMIUM)
     486#elif PLATFORM(CHROMIUM) || PLATFORM(BLACKBERRY)
    487487    PlatformGraphicsContext3D platformGraphicsContext3D() const;
    488488    Platform3DObject platformTexture() const;
     
    520520    bool makeContextCurrent();
    521521
    522 #if PLATFORM(MAC) || PLATFORM(CHROMIUM) || PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL)
     522#if PLATFORM(MAC) || PLATFORM(CHROMIUM) || PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(BLACKBERRY)
    523523    // With multisampling on, blit from multisampleFBO to regular FBO.
    524524    void prepareTexture();
     
    814814    bool paintCompositedResultsToCanvas(ImageBuffer*);
    815815
     816#if PLATFORM(BLACKBERRY)
     817    bool paintsIntoCanvasBuffer() const;
     818#endif
     819
    816820    // Support for buffer creation and deletion
    817821    Platform3DObject createBuffer();
     
    916920                    void* destinationData);
    917921
    918 #if PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL)
     922#if PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(BLACKBERRY)
    919923    // Take into account the user's requested context creation attributes,
    920924    // in particular stencil and antialias, and determine which could or
     
    955959
    956960#if PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(EFL) || PLATFORM(BLACKBERRY)
    957     typedef struct {
     961    struct ShaderSourceEntry {
    958962        String source;
    959963        String log;
    960964        bool isValid;
    961     } ShaderSourceEntry;
     965        ShaderSourceEntry()
     966            : isValid(0)
     967        {
     968        }
     969    };
    962970    HashMap<Platform3DObject, ShaderSourceEntry> m_shaderSourceMap;
    963971
  • trunk/Source/WebCore/platform/graphics/blackberry/LayerFilterRenderer.cpp

    r124242 r125690  
    134134
    135135LayerFilterRendererAction::LayerFilterRendererAction(int c_programId)
    136     , m_programId(c_programId)
     136    : m_programId(c_programId)
    137137    , m_pushSnapshot(false)
    138138    , m_popSnapshot(false)
  • trunk/Source/WebCore/platform/graphics/blackberry/LayerFilterRenderer.h

    r124242 r125690  
    9696        // A vector of actions must have an even count, so if you have an odd count, add a passthrough event at the end.
    9797        // See the ping-pong note in LayerFilterRenderer::applyActions.
    98     ~LayerFilterRendererAction();
    9998
    10099    bool shouldPushSnapshot() const { return m_pushSnapshot; }
  • trunk/Source/WebKit/blackberry/ChangeLog

    r125680 r125690  
     12012-08-15  Joshua Netterfield  <jnetterfield@rim.com>
     2
     3        [BlackBerry] Upstream BlackBerry build fixes
     4        https://bugs.webkit.org/show_bug.cgi?id=94121
     5
     6        Reviewed by Rob Buis.
     7
     8        This includes several build fixes due to incorrect upstream patches.
     9        These mistakes were never present downstream.
     10
     11        No new tests, because no new functionality is added.
     12
     13        * WebCoreSupport/AboutDataEnableFeatures.in:
     14        * WebCoreSupport/AboutTemplate.html.cpp:
     15        (writeHeader):
     16
    1172012-08-15  Leo Yang  <leoyang@rim.com>
    218
  • trunk/Source/WebKit/blackberry/WebCoreSupport/AboutDataEnableFeatures.in

    r124838 r125690  
    118118MEMORY_SAMPLER
    119119META_ALLOCATOR_PROFILE
    120 METER_ELEMENT
     120METER_TAG
    121121MHTML
    122122MICRODATA
     
    147147PLUGIN_PROCESS
    148148POINTER_LOCK
    149 PROGRESS_ELEMENT
     149PROGRESS_TAG
    150150PURGEABLE_MEMORY
    151151QUOTA
     
    185185TEXT_NOTIFICATIONS_ONLY
    186186THREADED_SCROLLING
     187THREADED_SCROLLING
    187188THREADING_GENERIC
    188189THREADING_LIBDISPATCH
     
    199200VIDEO
    200201VIDEO_TRACK
    201 VIDEO|XSLT
    202202VIEWPORT
    203203VIEWPORT_REFLOW
  • trunk/Source/WebKit/blackberry/WebCoreSupport/AboutTemplate.html.cpp

    r122573 r125690  
    1717 */
    1818
    19 static String writeHeader(const String& header)
     19static String writeHeader(const String& title)
    2020{
    2121    return "<!DOCTYPE html><html>"
Note: See TracChangeset for help on using the changeset viewer.