Changeset 136965 in webkit
- Timestamp:
- Dec 7, 2012 11:16:49 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/Api/BackingStore.cpp
r136761 r136965 1120 1120 1121 1121 BlackBerry::Platform::Graphics::Buffer* nativeBuffer = backBuffer->nativeBuffer(); 1122 BlackBerry::Platform::Graphics::setBufferOpaqueHint(nativeBuffer, !Color(m_webPage->settings()->backgroundColor()).hasAlpha()); 1122 1123 1123 1124 // TODO: This code is only needed for EGLImage code path, but preferrably BackingStore -
trunk/Source/WebKit/blackberry/ChangeLog
r136961 r136965 1 2012-12-07 Mike Lattanzio <mlattanzio@rim.com> 2 3 [BlackBerry] Update BlackBerry Port to use new Graphics::createBuffer BufferType enum values. 4 https://bugs.webkit.org/show_bug.cgi?id=104121 5 6 Reviewed by Rob Buis. 7 8 Update createBuffer calls to reflect new BufferType enum. 9 Set buffers opaque if possible to avoid unnecessary blends. 10 Internal PR 254649 11 Internal Review: Jakob Petsovits 12 13 * WebKitSupport/BackingStoreTile.cpp: 14 (BlackBerry::WebKit::TileBuffer::nativeBuffer): 15 1 16 2012-12-07 Andrew Lo <anlo@rim.com> 2 17 -
trunk/Source/WebKit/blackberry/WebKitSupport/BackingStoreTile.cpp
r136503 r136965 102 102 { 103 103 if (!m_nativeBuffer) 104 m_nativeBuffer = createBuffer(m_size, Platform::Graphics:: TileBuffer, SurfacePool::globalSurfacePool()->sharedPixmapGroup());104 m_nativeBuffer = createBuffer(m_size, Platform::Graphics::AlwaysBacked, SurfacePool::globalSurfacePool()->sharedPixmapGroup()); 105 105 106 106 return m_nativeBuffer; -
trunk/Tools/ChangeLog
r136962 r136965 1 2012-12-07 Mike Lattanzio <mlattanzio@rim.com> 2 3 [BlackBerry] Update BlackBerry Port to use new Graphics::createBuffer BufferType enum values. 4 https://bugs.webkit.org/show_bug.cgi?id=104121 5 6 Reviewed by Rob Buis. 7 8 Update createBuffer call to reflect new BufferType enum. 9 Internal PR 254649 10 Internal Review: Jakob Petsovits 11 12 DRT is always backed for maximum compatibility. 13 14 * DumpRenderTree/blackberry/PixelDumpSupportBlackBerry.cpp: 15 (createBitmapContextFromWebView): 16 1 17 2012-12-07 Jochen Eisinger <jochen@chromium.org> 2 18 -
trunk/Tools/DumpRenderTree/blackberry/PixelDumpSupportBlackBerry.cpp
r134359 r136965 87 87 } 88 88 #else 89 BlackBerry::Platform::Graphics::Buffer* buffer = BlackBerry::Platform::Graphics::createBuffer(windowSize, BlackBerry::Platform::Graphics:: TemporaryBuffer);89 BlackBerry::Platform::Graphics::Buffer* buffer = BlackBerry::Platform::Graphics::createBuffer(windowSize, BlackBerry::Platform::Graphics::AlwaysBacked); 90 90 BlackBerry::Platform::Graphics::Drawable* drawable = BlackBerry::Platform::Graphics::lockBufferDrawable(buffer); 91 91 if (drawable) {
Note: See TracChangeset
for help on using the changeset viewer.