Changeset 64026 in webkit
- Timestamp:
- Jul 25, 2010 8:48:44 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r64025 r64026 1 2010-07-25 Patrick Gansterer <paroga@paroga.com> 2 3 Reviewed by Kent Tamura. 4 5 [WINCE] Buildfix for ImageBufferWince 6 https://bugs.webkit.org/show_bug.cgi?id=42928 7 8 * platform/graphics/wince/ImageBufferWince.cpp: 9 (WebCore::): 10 (WebCore::BufferedImage::draw): Pass through ColorSpace parameter. 11 (WebCore::BufferedImage::drawPattern): Ditto. 12 (WebCore::ImageBuffer::platformTransformColorSpace): Added. 13 1 14 2010-07-25 Patrick Gansterer <paroga@paroga.com> 2 15 -
trunk/WebCore/platform/graphics/wince/ImageBufferWince.cpp
r60675 r64026 27 27 #include "ImageData.h" 28 28 #include "JPEGEncoder.h" 29 #include "NotImplemented.h" 29 30 #include "PNGEncoder.h" 30 31 #include "SharedBitmap.h" 32 #include "UnusedParam.h" 31 33 #include <wtf/UnusedParam.h> 32 34 … … 44 46 virtual void destroyDecodedData(bool destroyAll = true) {} 45 47 virtual unsigned decodedSize() const { return 0; } 46 virtual void draw(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, Co mpositeOperator);48 virtual void draw(GraphicsContext*, const FloatRect& dstRect, const FloatRect& srcRect, ColorSpace styleColorSpace, CompositeOperator); 47 49 virtual void drawPattern(GraphicsContext*, const FloatRect& srcRect, const AffineTransform& patternTransform, 48 const FloatPoint& phase, Co mpositeOperator, const FloatRect& destRect);50 const FloatPoint& phase, ColorSpace styleColorSpace, CompositeOperator, const FloatRect& destRect); 49 51 50 52 const ImageBufferData* m_data; 51 53 }; 52 54 53 void BufferedImage::draw(GraphicsContext* ctxt, const FloatRect& dstRect, const FloatRect& srcRect, Co mpositeOperator compositeOp)55 void BufferedImage::draw(GraphicsContext* ctxt, const FloatRect& dstRect, const FloatRect& srcRect, ColorSpace styleColorSpace, CompositeOperator compositeOp) 54 56 { 55 57 IntRect intDstRect = enclosingIntRect(dstRect); 56 58 IntRect intSrcRect(srcRect); 57 m_data->m_bitmap->draw(ctxt, intDstRect, intSrcRect, compositeOp);59 m_data->m_bitmap->draw(ctxt, intDstRect, intSrcRect, styleColorSpace, compositeOp); 58 60 } 59 61 60 62 void BufferedImage::drawPattern(GraphicsContext* ctxt, const FloatRect& tileRectIn, const AffineTransform& patternTransform, 61 const FloatPoint& phase, Co mpositeOperator op, const FloatRect& destRect)62 { 63 m_data->m_bitmap->drawPattern(ctxt, tileRectIn, patternTransform, phase, op, destRect, size());63 const FloatPoint& phase, ColorSpace styleColorSpace, CompositeOperator op, const FloatRect& destRect) 64 { 65 m_data->m_bitmap->drawPattern(ctxt, tileRectIn, patternTransform, phase, styleColorSpace, op, destRect, size()); 64 66 } 65 67 … … 217 219 } 218 220 221 void ImageBuffer::platformTransformColorSpace(const Vector<int>& lookUpTable) 222 { 223 UNUSED_PARAM(lookUpTable); 224 notImplemented(); 225 } 226 219 227 String ImageBuffer::toDataURL(const String& mimeType, const double*) const 220 228 {
Note: See TracChangeset
for help on using the changeset viewer.