Changeset 85891 in webkit


Ignore:
Timestamp:
May 5, 2011 3:10:02 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-05-05 Igor Oliveira <igor.oliveira@openbossa.org>

Reviewed by Kenneth Russell.

Framebuffer object is being created twice
https://bugs.webkit.org/show_bug.cgi?id=60207

Does not create more than one opengl framebuffer

  • platform/graphics/gpu/mac/DrawingBufferMac.mm: (WebCore::DrawingBuffer::DrawingBuffer):
  • platform/graphics/gpu/qt/DrawingBufferQt.cpp: (WebCore::DrawingBuffer::DrawingBuffer):
  • platform/graphics/gtk/DrawingBufferGtk.cpp: (WebCore::DrawingBuffer::DrawingBuffer):
Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r85890 r85891  
     12011-05-05  Igor Oliveira  <igor.oliveira@openbossa.org>
     2
     3        Reviewed by Kenneth Russell.
     4
     5        Framebuffer object is being created twice
     6        https://bugs.webkit.org/show_bug.cgi?id=60207
     7
     8        Does not create more than one opengl framebuffer
     9
     10        * platform/graphics/gpu/mac/DrawingBufferMac.mm:
     11        (WebCore::DrawingBuffer::DrawingBuffer):
     12        * platform/graphics/gpu/qt/DrawingBufferQt.cpp:
     13        (WebCore::DrawingBuffer::DrawingBuffer):
     14        * platform/graphics/gtk/DrawingBufferGtk.cpp:
     15        (WebCore::DrawingBuffer::DrawingBuffer):
     16
    1172011-05-05  Simon Fraser  <simon.fraser@apple.com>
    218
  • trunk/Source/WebCore/platform/graphics/gpu/mac/DrawingBufferMac.mm

    r76600 r85891  
    7676    context->bindTexture(GraphicsContext3D::TEXTURE_2D, 0);
    7777   
    78     // Create the FBO
    79     m_fbo = context->createFramebuffer();
    80     ASSERT(m_fbo);
    81     if (!m_fbo) {
    82         clear();
    83         return;
    84     }
    85        
    8678    createSecondaryBuffers();
    8779    reset(size);
  • trunk/Source/WebCore/platform/graphics/gpu/qt/DrawingBufferQt.cpp

    r78495 r85891  
    6363    context->bindTexture(GraphicsContext3D::TEXTURE_2D, 0);
    6464
    65     // Create the FBO
    66     m_fbo = context->createFramebuffer();
    67     ASSERT(m_fbo);
    68     if (!m_fbo) {
    69         clear();
    70         return;
    71     }
    72 
    7365    createSecondaryBuffers();
    7466    reset(size);
  • trunk/Source/WebCore/platform/graphics/gtk/DrawingBufferGtk.cpp

    r82878 r85891  
    6363    context->bindTexture(GraphicsContext3D::TEXTURE_2D, 0);
    6464   
    65     // Create the FBO
    66     m_fbo = context->createFramebuffer();
    67     ASSERT(m_fbo);
    68     if (!m_fbo) {
    69         clear();
    70         return;
    71     }
    72 
    7365    createSecondaryBuffers();
    7466    reset(size);
Note: See TracChangeset for help on using the changeset viewer.