Changeset 112193 in webkit
- Timestamp:
- Mar 26, 2012 7:13:08 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r112191 r112193 1 2012-03-26 Brian Salomon <bsalomon@google.com> 2 3 [Skia] Remove use of deprecated Skia constant and struct field names 4 https://bugs.webkit.org/show_bug.cgi?id=81034 5 6 Reviewed by James Robinson. 7 8 No behavior change, so no tests. The modified code is executed by many existing tests. 9 10 * platform/graphics/chromium/FrameBufferSkPictureCanvasLayerTextureUpdater.cpp: 11 (WebCore::createAcceleratedCanvas): 12 * platform/graphics/chromium/cc/CCRenderSurfaceFilters.cpp: 13 (WebCore::CCRenderSurfaceFilters::apply): 14 * platform/graphics/skia/ImageBufferSkia.cpp: 15 (WebCore::createAcceleratedCanvas): 16 1 17 2012-03-26 Nat Duca <nduca@chromium.org> 2 18 -
trunk/Source/WebCore/platform/graphics/chromium/FrameBufferSkPictureCanvasLayerTextureUpdater.cpp
r110267 r112193 50 50 textureDesc.fWidth = canvasSize.width(); 51 51 textureDesc.fHeight = canvasSize.height(); 52 textureDesc.fConfig = k RGBA_8888_GrPixelConfig;52 textureDesc.fConfig = kSkia8888_PM_GrPixelConfig; 53 53 textureDesc.fTextureHandle = texture->textureId(); 54 54 SkAutoTUnref<GrTexture> target(grContext->createPlatformTexture(textureDesc)); -
trunk/Source/WebCore/platform/graphics/chromium/cc/CCRenderSurfaceFilters.cpp
r111126 r112193 204 204 desc.fWidth = size.width(); 205 205 desc.fHeight = size.height(); 206 desc.fConfig = k RGBA_8888_GrPixelConfig;206 desc.fConfig = kSkia8888_PM_GrPixelConfig; 207 207 // FIXME: could we use approximate match, and fix texcoords on draw 208 208 dest = gr->lockScratchTexture(desc, GrContext::kExact_ScratchTexMatch); -
trunk/Source/WebCore/platform/graphics/skia/ImageBufferSkia.cpp
r110483 r112193 95 95 GrTextureDesc desc; 96 96 desc.fFlags = kRenderTarget_GrTextureFlagBit; 97 desc.f AALevel = kNone_GrAALevel;97 desc.fSampleCnt = 0; 98 98 desc.fWidth = size.width(); 99 99 desc.fHeight = size.height(); 100 desc.fConfig = k RGBA_8888_GrPixelConfig;100 desc.fConfig = kSkia8888_PM_GrPixelConfig; 101 101 SkAutoTUnref<GrTexture> texture(gr->createUncachedTexture(desc, 0, 0)); 102 102 if (!texture.get())
Note: See TracChangeset
for help on using the changeset viewer.