Changeset 52517 in webkit


Ignore:
Timestamp:
Dec 22, 2009 6:19:04 PM (14 years ago)
Author:
eric@webkit.org
Message:

2009-12-22 Kenneth Russell <kbr@google.com>

Reviewed by Eric Seidel.

[Chromium] Garbage in transparent regions of images uploaded as textures
https://bugs.webkit.org/show_bug.cgi?id=32888

  • fast/canvas/webgl/bug-32888-expected.txt: Added.
  • fast/canvas/webgl/bug-32888.html: Added.
  • fast/canvas/webgl/resources/bug-32888-texture.png: Added.

2009-12-22 Kenneth Russell <kbr@google.com>

Reviewed by Eric Seidel.

[Chromium] Garbage in transparent regions of images uploaded as textures
https://bugs.webkit.org/show_bug.cgi?id=32888

Test: fast/canvas/webgl/bug-32888.html (works in Safari / DumpRenderTree)

  • src/GraphicsContext3D.cpp: (WebCore::GraphicsContext3D::texImage2D):
Location:
trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r52513 r52517  
     12009-12-22  Kenneth Russell  <kbr@google.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [Chromium] Garbage in transparent regions of images uploaded as textures
     6        https://bugs.webkit.org/show_bug.cgi?id=32888
     7
     8        * fast/canvas/webgl/bug-32888-expected.txt: Added.
     9        * fast/canvas/webgl/bug-32888.html: Added.
     10        * fast/canvas/webgl/resources/bug-32888-texture.png: Added.
     11
    1122009-12-22  Darin Adler  <darin@apple.com>
    213
  • trunk/WebKit/chromium/ChangeLog

    r52514 r52517  
     12009-12-22  Kenneth Russell  <kbr@google.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [Chromium] Garbage in transparent regions of images uploaded as textures
     6        https://bugs.webkit.org/show_bug.cgi?id=32888
     7
     8        Test: fast/canvas/webgl/bug-32888.html (works in Safari / DumpRenderTree)
     9
     10        * src/GraphicsContext3D.cpp:
     11        (WebCore::GraphicsContext3D::texImage2D):
     12
    1132009-12-22  Adam Langley  <agl@google.com>
    214
  • trunk/WebKit/chromium/src/GraphicsContext3D.cpp

    r52514 r52517  
    20482048                                                    kCGImageAlphaPremultipliedLast);
    20492049    CGColorSpaceRelease(colorSpace);
     2050    CGContextSetBlendMode(tmpContext, kCGBlendModeCopy);
    20502051    CGContextDrawImage(tmpContext,
    20512052                       CGRectMake(0, 0, static_cast<CGFloat>(width), static_cast<CGFloat>(height)),
Note: See TracChangeset for help on using the changeset viewer.