Changeset 107737 in webkit
- Timestamp:
- Feb 14, 2012 2:30:52 PM (12 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r107736 r107737 1 2012-02-14 Jeff Rogers <jrogers@rim.com> 2 3 [BlackBerry] Remove OpenVG references 4 https://bugs.webkit.org/show_bug.cgi?id=78623 5 6 Reviewed by Rob Buis. 7 8 Removed references to USE(OPENVG) and the related code. 9 10 * blackberry/Api/BackingStore.cpp: 11 (BlackBerry::WebKit::BackingStorePrivate::BackingStorePrivate): 12 (BlackBerry::WebKit::BackingStorePrivate::repaint): 13 (BlackBerry::WebKit::BackingStorePrivate::renderContents): 14 (BlackBerry::WebKit::BackingStore::createSurface): 15 * blackberry/Api/BackingStore_p.h: 16 1 17 2012-02-14 Andy Chen <andchen@rim.com> 2 18 -
trunk/Source/WebKit/blackberry/Api/BackingStore.cpp
r106790 r107737 55 55 #define DEBUG_COMPOSITING_DIRTY_REGION 0 56 56 57 #if USE(OPENVG)58 #include "EGLDisplayOpenVG.h"59 #include "EGLUtils.h"60 #endif61 62 57 #include <BlackBerryPlatformScreen.h> 63 58 … … 203 198 , m_defersBlit(true) 204 199 , m_hasBlitJobs(false) 205 #if USE(OPENVG)206 , m_eglDisplay(EGL_NO_DISPLAY)207 #endif208 200 , m_currentWindowBackBuffer(0) 209 201 , m_preferredTileMatrixDimension(Vertical) … … 299 291 bool contentChanged, bool immediate) 300 292 { 301 #if USE(OPENVG)302 ASSERT(m_eglDisplay != EGL_NO_DISPLAY);303 #endif304 305 293 if (m_suspendBackingStoreUpdates) 306 294 return; … … 2216 2204 2217 2205 // Grab the requested region from the drawing surface into the tile image. 2218 #if USE(OPENVG)2219 surface->makeCurrent();2220 #endif2221 2206 2222 2207 delete bufferPlatformGraphicsContext; … … 2526 2511 } 2527 2512 2528 #if USE(OPENVG)2529 d->m_eglDisplay = BlackBerry::Platform::Graphics::eglDisplay();2530 2531 // Make sure we are using OpenVG.2532 eglBindAPI(EGL_OPENVG_API);2533 ASSERT_EGL_NO_ERROR();2534 2535 EGLDisplayOpenVG::setCurrentDisplay(d->m_eglDisplay);2536 #endif2537 2538 2513 // Triggers creation of surfaces in backingstore. 2539 2514 d->createSurfaces(); 2540 2541 #if USE(OPENVG)2542 EGLDisplayOpenVG::current()->sharedPlatformSurface()->makeCurrent();2543 #endif2544 2515 2545 2516 // Focusing the WebPage triggers a repaint, so while we want it to be -
trunk/Source/WebKit/blackberry/Api/BackingStore_p.h
r102998 r107737 30 30 #include <wtf/Vector.h> 31 31 32 #if USE(OPENVG)33 #include <egl.h>34 #endif35 36 32 #include <pthread.h> 37 33 … … 333 329 bool m_hasBlitJobs; 334 330 335 #if USE(OPENVG)336 EGLDisplay m_eglDisplay;337 #endif338 331 mutable unsigned m_frontState; 339 332 mutable unsigned m_backState;
Note: See TracChangeset
for help on using the changeset viewer.