Changeset 102828 in webkit


Ignore:
Timestamp:
Dec 14, 2011 2:38:06 PM (12 years ago)
Author:
enne@google.com
Message:

[chromium] Compositor needs to set texture filtering on canvas layers
https://bugs.webkit.org/show_bug.cgi?id=74530

Reviewed by James Robinson.

  • platform/graphics/chromium/cc/CCCanvasLayerImpl.cpp:

(WebCore::CCCanvasLayerImpl::draw):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r102825 r102828  
     12011-12-14  Adrienne Walker  <enne@google.com>
     2
     3        [chromium] Compositor needs to set texture filtering on canvas layers
     4        https://bugs.webkit.org/show_bug.cgi?id=74530
     5
     6        Reviewed by James Robinson.
     7
     8        * platform/graphics/chromium/cc/CCCanvasLayerImpl.cpp:
     9        (WebCore::CCCanvasLayerImpl::draw):
     10
    1112011-12-14  Tony Chang  <tony@chromium.org>
    212
  • trunk/Source/WebCore/platform/graphics/chromium/cc/CCCanvasLayerImpl.cpp

    r95901 r102828  
    5757    GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE0));
    5858    GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_textureId));
     59    GLC(context, context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, GraphicsContext3D::LINEAR));
     60    GLC(context, context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILTER, GraphicsContext3D::LINEAR));
     61
    5962    if (!m_hasAlpha) {
    6063        // Even though the WebGL layer's texture was likely allocated
Note: See TracChangeset for help on using the changeset viewer.