Changeset 51740 in webkit
- Timestamp:
- Dec 6, 2009 3:37:14 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r51734 r51740 1 2009-12-06 Oliver Hunt <oliver@apple.com> 2 3 Reviewed by Maciej Stachowiak. 4 5 texImage2D pixel junk for transparency 6 https://bugs.webkit.org/show_bug.cgi?id=32188 7 8 Use kCGBlendModeCopy when drawing an image to the intermediate context 9 used to create a GL texture. 10 11 No test as we don't currently have any mechanism to retrieve pixel data 12 from the webgl context. 13 14 * platform/graphics/mac/GraphicsContext3DMac.cpp: 15 (WebCore::imageToTexture): 16 1 17 2009-12-03 Philippe Normand <pnormand@igalia.com> 2 18 -
trunk/WebCore/platform/graphics/mac/GraphicsContext3DMac.cpp
r51537 r51740 1133 1133 CGContextRef textureContext = CGBitmapContextCreate(textureData, textureWidth, textureHeight, 8, textureWidth * 4, 1134 1134 CGImageGetColorSpace(textureImage), kCGImageAlphaPremultipliedLast); 1135 1135 CGContextSetBlendMode(textureContext, kCGBlendModeCopy); 1136 1136 CGContextDrawImage(textureContext, CGRectMake(0, 0, (CGFloat)textureWidth, (CGFloat)textureHeight), textureImage); 1137 1137 CGContextRelease(textureContext);
Note: See TracChangeset
for help on using the changeset viewer.