Changeset 112124 in webkit
- Timestamp:
- Mar 26, 2012 10:43:05 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 9 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r112119 r112124 1 2012-03-26 Filip Spacek <fspacek@rim.com> 2 3 [BlackBerry] Accelerated compositing updates 4 https://bugs.webkit.org/show_bug.cgi?id=82058 5 6 Reviewed by Rob Buis. 7 8 * platform/graphics/blackberry/CanvasLayerWebKitThread.cpp: 9 (WebCore::CanvasLayerWebKitThread::CanvasLayerWebKitThread): 10 (WebCore::CanvasLayerWebKitThread::~CanvasLayerWebKitThread): 11 (WebCore::CanvasLayerWebKitThread::setDevice): 12 (WebCore::CanvasLayerWebKitThread::updateTextureContentsIfNeeded): 13 * platform/graphics/blackberry/CanvasLayerWebKitThread.h: 14 (WebCore::CanvasLayerWebKitThread::create): 15 (CanvasLayerWebKitThread): 16 * platform/graphics/blackberry/InstrumentedPlatformCanvas.h: 17 (WebCore::InstrumentedPlatformCanvas::InstrumentedPlatformCanvas): 18 (WebCore::InstrumentedPlatformCanvas::save): 19 (WebCore::InstrumentedPlatformCanvas::saveLayer): 20 (WebCore::InstrumentedPlatformCanvas::restore): 21 (WebCore::InstrumentedPlatformCanvas::translate): 22 (WebCore::InstrumentedPlatformCanvas::scale): 23 (WebCore::InstrumentedPlatformCanvas::rotate): 24 (WebCore::InstrumentedPlatformCanvas::skew): 25 (WebCore::InstrumentedPlatformCanvas::concat): 26 (WebCore::InstrumentedPlatformCanvas::setMatrix): 27 (WebCore::InstrumentedPlatformCanvas::clipRect): 28 (WebCore::InstrumentedPlatformCanvas::clipPath): 29 (WebCore::InstrumentedPlatformCanvas::clipRegion): 30 (WebCore::InstrumentedPlatformCanvas::clear): 31 (WebCore::InstrumentedPlatformCanvas::drawPaint): 32 (WebCore::InstrumentedPlatformCanvas::drawPoints): 33 (WebCore::InstrumentedPlatformCanvas::drawRect): 34 (WebCore::InstrumentedPlatformCanvas::drawPath): 35 (WebCore::InstrumentedPlatformCanvas::drawBitmap): 36 (WebCore::InstrumentedPlatformCanvas::drawBitmapRect): 37 (WebCore::InstrumentedPlatformCanvas::drawBitmapMatrix): 38 (WebCore::InstrumentedPlatformCanvas::drawSprite): 39 (WebCore::InstrumentedPlatformCanvas::drawText): 40 (WebCore::InstrumentedPlatformCanvas::drawPosText): 41 (WebCore::InstrumentedPlatformCanvas::drawPosTextH): 42 (WebCore::InstrumentedPlatformCanvas::drawTextOnPath): 43 (WebCore::InstrumentedPlatformCanvas::drawPicture): 44 (WebCore::InstrumentedPlatformCanvas::drawVertices): 45 (WebCore::InstrumentedPlatformCanvas::drawData): 46 * platform/graphics/blackberry/LayerData.h: 47 (WebCore::LayerData::LayerData): 48 (WebCore::LayerData::needsTexture): 49 (LayerData): 50 * platform/graphics/blackberry/LayerTiler.cpp: 51 (WebCore::LayerTiler::updateTextureContentsIfNeeded): 52 * platform/graphics/blackberry/LayerWebKitThread.cpp: 53 (WebCore::LayerWebKitThread::paintContents): 54 (WebCore::LayerWebKitThread::setDrawable): 55 * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp: 56 (WebCore::loadBufferingImageData): 57 * platform/graphics/blackberry/skia/ImageBufferDataSkia.h: Renamed from Source/WebCore/platform/graphics/blackberry/skia/ImageBufferData.h. 58 (WebCore): 59 (ImageBufferData): 60 1 61 2012-03-26 Stephen Chenney <schenney@chromium.org> 2 62 -
trunk/Source/WebCore/platform/graphics/blackberry/CanvasLayerWebKitThread.cpp
r109668 r112124 20 20 #include "CanvasLayerWebKitThread.h" 21 21 22 #if USE(ACCELERATED_COMPOSITING) && ENABLE( SKIA_GPU_CANVAS)22 #if USE(ACCELERATED_COMPOSITING) && ENABLE(ACCELERATED_2D_CANVAS) 23 23 24 #include "HTMLCanvasElement.h" 25 #include "PlatformContextSkia.h" 26 27 #include <BlackBerryPlatformGraphics.h> 24 #include "SharedGraphicsContext3D.h" 28 25 #include <GLES2/gl2.h> 29 #include <GrGLTexture.h>30 26 #include <SkGpuDevice.h> 31 27 32 28 namespace WebCore { 33 29 34 CanvasLayerWebKitThread::CanvasLayerWebKitThread( HTMLCanvasElement* canvas)35 : LayerWebKitThread( Layer, 0)30 CanvasLayerWebKitThread::CanvasLayerWebKitThread(SkGpuDevice* device) 31 : LayerWebKitThread(CanvasLayer, 0) 36 32 { 37 set Canvas(canvas);33 setDevice(device); 38 34 } 39 35 … … 41 37 { 42 38 if (m_texID) { 43 BlackBerry::Platform::Graphics::makeSharedResourceContextCurrent(BlackBerry::Platform::Graphics::GLES2);39 SharedGraphicsContext3D::get()->makeContextCurrent(); 44 40 glDeleteTextures(1, &m_texID); 45 41 } 46 42 } 47 43 48 void CanvasLayerWebKitThread::set Canvas(HTMLCanvasElement* canvas)44 void CanvasLayerWebKitThread::setDevice(SkGpuDevice* device) 49 45 { 50 m_canvas = canvas; 51 setNeedsTexture(isDrawable() && canvas); 46 m_device = device; 52 47 setLayerProgramShader(LayerProgramShaderRGBA); 53 48 setNeedsDisplay(); … … 62 57 void CanvasLayerWebKitThread::updateTextureContentsIfNeeded() 63 58 { 64 if (!m_needsDisplay )59 if (!m_needsDisplay || !m_device) 65 60 return; 66 61 67 62 m_needsDisplay = false; 68 69 if (!m_canvas || !m_canvas->drawingContext()) 70 return; 71 72 SkGpuDevice* gpuDevice = static_cast<SkGpuDevice*>(m_canvas->drawingContext()->platformContext()->canvas()->getDevice()); 73 gpuDevice->makeRenderTargetCurrent(); 74 // We know this is a GrGLTexture 75 if (GrGLTexture* deviceTexture = (GrGLTexture*)gpuDevice->accessTexture()) { 76 m_texWidth = deviceTexture->allocWidth(); 77 m_texHeight = deviceTexture->allocHeight(); 78 } 63 m_device->makeRenderTargetCurrent(); 79 64 80 65 GLint previousTexture; … … 88 73 glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); 89 74 glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); 90 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, m_ canvas->width(), m_canvas->height(), 0, GL_RGBA, GL_UNSIGNED_BYTE, 0);75 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, m_device->width(), m_device->height(), 0, GL_RGBA, GL_UNSIGNED_BYTE, 0); 91 76 92 77 createFrontBufferLock(); … … 95 80 pthread_mutex_lock(m_frontBufferLock); 96 81 glBindTexture(GL_TEXTURE_2D, m_texID); 97 glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 0, 0, m_ texWidth, m_texHeight, 0);82 glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 0, 0, m_device->width(), m_device->height(), 0); 98 83 glBindTexture(GL_TEXTURE_2D, previousTexture); 99 84 pthread_mutex_unlock(m_frontBufferLock); … … 102 87 } 103 88 104 #endif // USE(ACCELERATED_COMPOSITING) && ENABLE( SKIA_GPU_CANVAS)89 #endif // USE(ACCELERATED_COMPOSITING) && ENABLE(ACCELERATED_2D_CANVAS) -
trunk/Source/WebCore/platform/graphics/blackberry/CanvasLayerWebKitThread.h
r109668 r112124 20 20 #define CanvasLayerWebKitThread_h 21 21 22 #if USE(ACCELERATED_COMPOSITING) && ENABLE( SKIA_GPU_CANVAS)22 #if USE(ACCELERATED_COMPOSITING) && ENABLE(ACCELERATED_2D_CANVAS) 23 23 24 24 #include "LayerWebKitThread.h" 25 26 class SkGpuDevice; 25 27 26 28 namespace WebCore { … … 30 32 class CanvasLayerWebKitThread : public LayerWebKitThread { 31 33 public: 32 static PassRefPtr<CanvasLayerWebKitThread> create( HTMLCanvasElement* canvas)34 static PassRefPtr<CanvasLayerWebKitThread> create(SkGpuDevice* device) 33 35 { 34 return adoptRef(new CanvasLayerWebKitThread( canvas));36 return adoptRef(new CanvasLayerWebKitThread(device)); 35 37 } 36 38 37 39 virtual ~CanvasLayerWebKitThread(); 38 40 39 void set Canvas(HTMLCanvasElement*);41 void setDevice(SkGpuDevice*); 40 42 41 43 virtual void setNeedsDisplay(); … … 45 47 46 48 private: 47 CanvasLayerWebKitThread( HTMLCanvasElement*);49 CanvasLayerWebKitThread(SkGpuDevice*); 48 50 bool m_needsDisplay; 51 SkGpuDevice* m_device; 49 52 }; 50 53 51 54 } 52 55 53 #endif // USE(ACCELERATED_COMPOSITING) && ENABLE( SKIA_GPU_CANVAS)56 #endif // USE(ACCELERATED_COMPOSITING) && ENABLE(ACCELERATED_2D_CANVAS) 54 57 55 58 #endif // CanvasLayerWebKitThread_h -
trunk/Source/WebCore/platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp
r110171 r112124 188 188 canvasBitmap.setConfig(SkBitmap::kARGB_8888_Config, canvasWidth, canvasHeight); 189 189 canvasBitmap.allocPixels(0, 0); 190 bool rc = canvasBitmap.copyPixelsFrom(static_cast<void*>(const_cast<unsigned char*>(tempPixels)), imageWidth * imageHeight * 4); 190 canvasBitmap.lockPixels(); 191 memcpy(canvasBitmap.getPixels(), tempPixels, imageWidth * imageHeight * 4); 192 canvasBitmap.unlockPixels(); 191 193 delete [] tempPixels; 192 194 … … 195 197 196 198 RefPtr<BitmapImageSingleFrameSkia> bitmapImage = BitmapImageSingleFrameSkia::create(canvasBitmap, false); 197 if (rc) 198 context->drawImage(bitmapImage.get(), ColorSpaceDeviceRGB, dst, src, CompositeCopy, false); 199 context->drawImage(bitmapImage.get(), ColorSpaceDeviceRGB, dst, src, CompositeCopy, false); 199 200 } 200 201 -
trunk/Source/WebCore/platform/graphics/blackberry/InstrumentedPlatformCanvas.h
r109682 r112124 35 35 namespace WebCore { 36 36 37 class InstrumentedPlatformCanvas : public skia::PlatformCanvas {37 class InstrumentedPlatformCanvas : public SkCanvas { 38 38 public: 39 InstrumentedPlatformCanvas(int width, int height, bool is_opaque, SkDeviceFactory* factory) 40 : skia::PlatformCanvas(width, height, is_opaque, factory) 41 , m_size(width, height) 39 InstrumentedPlatformCanvas(int width, int height) 40 : m_size(width, height) 42 41 , m_isSolidColor(true) 43 42 , m_solidColor(0, 0, 0, 0) 44 43 { 44 setDevice(new SkDevice(SkBitmap::kARGB_8888_Config, width, height))->unref(); 45 45 } 46 46 … … 54 54 { 55 55 WRAPCANVAS_LOG_ENTRY(""); 56 return skia::PlatformCanvas::save(flags);56 return SkCanvas::save(flags); 57 57 } 58 58 … … 61 61 WRAPCANVAS_LOG_ENTRY(""); 62 62 m_isSolidColor = false; 63 return skia::PlatformCanvas::saveLayer(bounds, paint, flags);63 return SkCanvas::saveLayer(bounds, paint, flags); 64 64 } 65 65 … … 67 67 { 68 68 WRAPCANVAS_LOG_ENTRY(""); 69 skia::PlatformCanvas::restore();69 SkCanvas::restore(); 70 70 } 71 71 … … 73 73 { 74 74 WRAPCANVAS_LOG_ENTRY(""); 75 return skia::PlatformCanvas::translate(dx, dy);75 return SkCanvas::translate(dx, dy); 76 76 } 77 77 … … 79 79 { 80 80 WRAPCANVAS_LOG_ENTRY(""); 81 return skia::PlatformCanvas::scale(sx, sy);81 return SkCanvas::scale(sx, sy); 82 82 } 83 83 … … 85 85 { 86 86 WRAPCANVAS_LOG_ENTRY(""); 87 return skia::PlatformCanvas::rotate(degrees);87 return SkCanvas::rotate(degrees); 88 88 } 89 89 … … 91 91 { 92 92 WRAPCANVAS_LOG_ENTRY(""); 93 return skia::PlatformCanvas::skew(sx, sy);93 return SkCanvas::skew(sx, sy); 94 94 } 95 95 … … 97 97 { 98 98 WRAPCANVAS_LOG_ENTRY(""); 99 return skia::PlatformCanvas::concat(matrix);99 return SkCanvas::concat(matrix); 100 100 } 101 101 … … 103 103 { 104 104 WRAPCANVAS_LOG_ENTRY(""); 105 skia::PlatformCanvas::setMatrix(matrix);105 SkCanvas::setMatrix(matrix); 106 106 } 107 107 … … 109 109 { 110 110 WRAPCANVAS_LOG_ENTRY(""); 111 return skia::PlatformCanvas::clipRect(rect, op);111 return SkCanvas::clipRect(rect, op); 112 112 } 113 113 … … 116 116 WRAPCANVAS_LOG_ENTRY(""); 117 117 m_isSolidColor = false; 118 return skia::PlatformCanvas::clipPath(path, op);118 return SkCanvas::clipPath(path, op); 119 119 } 120 120 … … 123 123 WRAPCANVAS_LOG_ENTRY(""); 124 124 m_isSolidColor = false; 125 return skia::PlatformCanvas::clipRegion(region, op);125 return SkCanvas::clipRegion(region, op); 126 126 } 127 127 … … 131 131 m_isSolidColor = true; 132 132 m_solidColor = Color(color); 133 skia::PlatformCanvas::clear(color);133 SkCanvas::clear(color); 134 134 } 135 135 … … 138 138 WRAPCANVAS_LOG_ENTRY(""); 139 139 m_isSolidColor = false; 140 skia::PlatformCanvas::drawPaint(paint);140 SkCanvas::drawPaint(paint); 141 141 } 142 142 … … 146 146 WRAPCANVAS_LOG_ENTRY(""); 147 147 m_isSolidColor = false; 148 skia::PlatformCanvas::drawPoints(mode, count, pts, paint);148 SkCanvas::drawPoints(mode, count, pts, paint); 149 149 } 150 150 … … 166 166 } else 167 167 m_isSolidColor = false; 168 skia::PlatformCanvas::drawRect(rect, paint);168 SkCanvas::drawRect(rect, paint); 169 169 } 170 170 … … 173 173 WRAPCANVAS_LOG_ENTRY(""); 174 174 m_isSolidColor = false; 175 skia::PlatformCanvas::drawPath(path, paint);175 SkCanvas::drawPath(path, paint); 176 176 } 177 177 … … 181 181 WRAPCANVAS_LOG_ENTRY(""); 182 182 m_isSolidColor = false; 183 skia::PlatformCanvas::drawBitmap(bitmap, left, top, paint);183 SkCanvas::drawBitmap(bitmap, left, top, paint); 184 184 } 185 185 … … 189 189 WRAPCANVAS_LOG_ENTRY(""); 190 190 m_isSolidColor = false; 191 skia::PlatformCanvas::drawBitmapRect(bitmap, src, dst, paint);191 SkCanvas::drawBitmapRect(bitmap, src, dst, paint); 192 192 } 193 193 … … 197 197 WRAPCANVAS_LOG_ENTRY(""); 198 198 m_isSolidColor = false; 199 skia::PlatformCanvas::drawBitmapMatrix(bitmap, matrix, paint);199 SkCanvas::drawBitmapMatrix(bitmap, matrix, paint); 200 200 } 201 201 … … 205 205 WRAPCANVAS_LOG_ENTRY(""); 206 206 m_isSolidColor = false; 207 skia::PlatformCanvas::drawSprite(bitmap, left, top, paint);207 SkCanvas::drawSprite(bitmap, left, top, paint); 208 208 } 209 209 … … 213 213 WRAPCANVAS_LOG_ENTRY(""); 214 214 m_isSolidColor = false; 215 skia::PlatformCanvas::drawText(text, byteLength, x, y, paint);215 SkCanvas::drawText(text, byteLength, x, y, paint); 216 216 } 217 217 … … 221 221 WRAPCANVAS_LOG_ENTRY(""); 222 222 m_isSolidColor = false; 223 skia::PlatformCanvas::drawPosText(text, byteLength, pos, paint);223 SkCanvas::drawPosText(text, byteLength, pos, paint); 224 224 } 225 225 … … 229 229 WRAPCANVAS_LOG_ENTRY(""); 230 230 m_isSolidColor = false; 231 skia::PlatformCanvas::drawPosTextH(text, byteLength, xpos, constY, paint);231 SkCanvas::drawPosTextH(text, byteLength, xpos, constY, paint); 232 232 } 233 233 … … 237 237 WRAPCANVAS_LOG_ENTRY(""); 238 238 m_isSolidColor = false; 239 skia::PlatformCanvas::drawTextOnPath(text, byteLength, path, matrix, paint);239 SkCanvas::drawTextOnPath(text, byteLength, path, matrix, paint); 240 240 } 241 241 … … 244 244 WRAPCANVAS_LOG_ENTRY(""); 245 245 m_isSolidColor = false; 246 skia::PlatformCanvas::drawPicture(picture);246 SkCanvas::drawPicture(picture); 247 247 } 248 248 … … 254 254 WRAPCANVAS_LOG_ENTRY(""); 255 255 m_isSolidColor = false; 256 skia::PlatformCanvas::drawVertices(mode, vertexCount, vertices, texs, colors, xfermode, indices, indexCount, paint);256 SkCanvas::drawVertices(mode, vertexCount, vertices, texs, colors, xfermode, indices, indexCount, paint); 257 257 } 258 258 … … 261 261 WRAPCANVAS_LOG_ENTRY(""); 262 262 m_isSolidColor = false; 263 skia::PlatformCanvas::drawData(data, size);263 SkCanvas::drawData(data, size); 264 264 } 265 265 -
trunk/Source/WebCore/platform/graphics/blackberry/LayerData.h
r109668 r112124 55 55 class LayerData { 56 56 public: 57 enum LayerType { Layer, TransformLayer, WebGLLayer };57 enum LayerType { Layer, TransformLayer, WebGLLayer, CanvasLayer }; 58 58 enum FilterType { Linear, Nearest, Trilinear, Lanczos }; 59 59 enum LayerProgramShader { LayerProgramShaderRGBA = 0, … … 75 75 #endif 76 76 , m_texID(0) 77 , m_texWidth(0)78 , m_texHeight(0)79 , m_canvas(0)80 77 , m_frontBufferLock(0) 81 78 , m_suspendTime(0) … … 131 128 void setTextureID(unsigned int value) { m_texID = value; } 132 129 133 bool needsTexture() const { return m_layerType == WebGLLayer ? true :m_needsTexture; }130 bool needsTexture() const { return m_layerType == WebGLLayer || m_layerType == CanvasLayer || m_needsTexture; } 134 131 135 132 LayerProgramShader layerProgramShader() const { return m_layerProgramShader; } … … 147 144 MediaPlayer* mediaPlayer() const { return m_mediaPlayer; } 148 145 #endif 149 150 HTMLCanvasElement* canvas() const { return m_canvas; }151 146 152 147 void replicate(LayerData *to) const { *to = *this; } … … 194 189 195 190 unsigned m_texID; 196 unsigned m_texWidth;197 unsigned m_texHeight;198 199 HTMLCanvasElement* m_canvas;200 191 201 192 pthread_mutex_t* m_frontBufferLock; -
trunk/Source/WebCore/platform/graphics/blackberry/LayerTiler.cpp
r110300 r112124 176 176 isOpaque = !static_cast<BitmapImage*>(image)->currentFrameHasAlpha(); 177 177 if (NativeImagePtr nativeImage = image->nativeImageForCurrentFrame()) { 178 SkBitmap bitmap = SkBitmap( *nativeImage);178 SkBitmap bitmap = SkBitmap(nativeImage->bitmap()); 179 179 addTextureJob(TextureJob::setContents(bitmap, isOpaque)); 180 180 } … … 230 230 NativeImagePtr nativeImage = m_layer->contents()->nativeImageForCurrentFrame(); 231 231 if (nativeImage) { 232 SkBitmap bitmap = SkBitmap( *nativeImage);232 SkBitmap bitmap = SkBitmap(nativeImage->bitmap()); 233 233 addTextureJob(TextureJob::setContents(bitmap, isOpaque)); 234 234 } -
trunk/Source/WebCore/platform/graphics/blackberry/LayerWebKitThread.cpp
r110578 r112124 109 109 IntRect untransformedContentsRect = contentsRect; 110 110 111 canvas = adoptPtr(new InstrumentedPlatformCanvas(contentsRect.width(), contentsRect.height() , false, 0));111 canvas = adoptPtr(new InstrumentedPlatformCanvas(contentsRect.width(), contentsRect.height())); 112 112 PlatformContextSkia skiaContext(canvas.get()); 113 113 … … 192 192 m_isDrawable = isDrawable; 193 193 194 setNeedsTexture(m_isDrawable && (drawsContent() || contents() || pluginView() || mediaPlayer() || canvas()));194 setNeedsTexture(m_isDrawable && (drawsContent() || contents() || pluginView() || mediaPlayer() || m_texID)); 195 195 setNeedsCommit(); 196 196 } -
trunk/Source/WebCore/platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp
r109677 r112124 710 710 711 711 loaded = true; 712 nativeImage-> lockPixels();713 714 int bufSize = nativeImage-> width() * nativeImage->height() * 4;715 s_bufferingImageWidth = nativeImage-> width();716 s_bufferingImageHeight = nativeImage-> height();712 nativeImage->bitmap().lockPixels(); 713 714 int bufSize = nativeImage->bitmap().width() * nativeImage->bitmap().height() * 4; 715 s_bufferingImageWidth = nativeImage->bitmap().width(); 716 s_bufferingImageHeight = nativeImage->bitmap().height(); 717 717 s_bufferingImageData = static_cast<char*>(malloc(bufSize)); 718 memcpy(s_bufferingImageData, nativeImage-> getPixels(), bufSize);719 720 nativeImage-> unlockPixels();718 memcpy(s_bufferingImageData, nativeImage->bitmap().getPixels(), bufSize); 719 720 nativeImage->bitmap().unlockPixels(); 721 721 bufferingIcon->deref(); 722 722 } -
trunk/Source/WebCore/platform/graphics/blackberry/skia/ImageBufferDataSkia.h
r112123 r112124 30 30 */ 31 31 32 #ifndef ImageBufferData _h33 #define ImageBufferData _h32 #ifndef ImageBufferDataSkia_h 33 #define ImageBufferDataSkia_h 34 34 35 35 #include "BlackBerryPlatformGraphics.h" 36 36 #include "PlatformContextSkia.h" 37 38 #include "skia/ext/platform_canvas.h" 37 #if USE(ACCELERATED_COMPOSITING) 38 #include "LayerWebKitThread.h" 39 #endif 39 40 40 41 namespace WebCore { … … 47 48 PlatformContextSkia m_platformContext; 48 49 BlackBerry::Platform::Graphics::Buffer* m_buffer; 50 #if USE(ACCELERATED_COMPOSITING) 51 RefPtr<LayerWebKitThread> m_platformLayer; 52 #endif 49 53 }; 50 54 51 55 } // namespace WebCore 52 56 53 #endif // ImageBufferData _h57 #endif // ImageBufferDataSkia_h
Note: See TracChangeset
for help on using the changeset viewer.