Home
last modified time | relevance | path

Searched refs:m_canvas (Results 1 – 20 of 20) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/android/layers/
DCanvasLayer.cpp49 , m_canvas(canvas) in CanvasLayer()
54 m_canvas->addObserver(this); in CanvasLayer()
56 canvasResized(m_canvas); in CanvasLayer()
61 , m_canvas(0) in CanvasLayer()
65 if (!layer.m_canvas) { in CanvasLayer()
84 if (!m_texture->uploadImageBuffer(layer.m_canvas->buffer())) { in CanvasLayer()
111 if (m_canvas) in ~CanvasLayer()
112 m_canvas->removeObserver(this); in ~CanvasLayer()
135 const IntSize& size = m_canvas->size(); in canvasResized()
147 m_canvas = 0; in canvasDestroyed()
[all …]
DCanvasLayer.h70 HTMLCanvasElement* m_canvas; variable
/external/webkit/Tools/DumpRenderTree/chromium/
DWebThemeControlDRTWin.cpp99 : m_canvas(canvas) in WebThemeControlDRTWin()
125 m_canvas->drawIRect(rect, paint); in box()
129 m_canvas->drawIRect(rect, paint); in box()
136 m_canvas->drawLine(SkIntToScalar(x0), SkIntToScalar(y0), in line()
156 m_canvas->drawPath(path, paint); in triangle()
160 m_canvas->drawPath(path, paint); in triangle()
172 m_canvas->drawRoundRect(rect, radius, radius, paint); in roundRect()
176 m_canvas->drawRoundRect(rect, radius, radius, paint); in roundRect()
187 m_canvas->drawOval(rect, paint); in oval()
191 m_canvas->drawOval(rect, paint); in oval()
[all …]
DWebThemeControlDRTWin.h184 SkCanvas* m_canvas; variable
DWebViewHost.cpp1197 m_canvas.clear(); in reset()
1518 if (m_canvas) in canvas()
1519 return m_canvas.get(); in canvas()
1522 m_canvas.set(skia::CreateBitmapCanvas( in canvas()
1524 return m_canvas.get(); in canvas()
1533 m_canvas.clear(); in discardBackingStore()
DWebViewHost.h335 OwnPtr<SkCanvas> m_canvas; variable
/external/webkit/Source/WebCore/platform/graphics/skia/
DPlatformContextSkia.cpp217 : m_canvas(canvas) in PlatformContextSkia()
249 m_canvas = canvas; in setCanvas()
572 m_canvas->clipPath(path); in canvasClipPath()
608 m_canvas->drawRect(rect, paint); in paintSkPaint()
613 return &m_canvas->getDevice()->accessBitmap(false); in bitmap()
621 return skia::SupportsPlatformPaint(m_canvas); in isNativeFontRenderingAllowed()
654 m_canvas->drawBitmap(imageBuffer, SkFloatToScalar(rect.x()), SkFloatToScalar(rect.y()), &paint); in applyClipFromImage()
681 m_canvas->restore(); in applyAntiAliasedClipPaths()
690 m_canvas->drawPath(paths[i], paint); in applyAntiAliasedClipPaths()
693 m_canvas->restore(); in applyAntiAliasedClipPaths()
[all …]
DPlatformContextSkia.h150 SkCanvas* canvas() { return m_canvas; } in canvas()
209 SkCanvas* m_canvas; variable
DImageBufferSkia.cpp75 m_data.m_canvas = canvas; in ImageBuffer()
76 m_data.m_platformContext.setCanvas(m_data.m_canvas.get()); in ImageBuffer()
83 m_data.m_canvas->drawARGB(0, 0, 0, 0, SkXfermode::kClear_Mode); in ImageBuffer()
/external/webkit/Source/WebCore/html/canvas/
DCanvasRenderingContext.cpp40 : m_canvas(canvas) in CanvasRenderingContext()
46 m_canvas->ref(); in ref()
51 m_canvas->deref(); in deref()
DCanvasRenderingContext.h54 HTMLCanvasElement* canvas() const { return m_canvas; } in canvas()
75 HTMLCanvasElement* m_canvas;
/external/webkit/Source/WebCore/platform/graphics/chromium/
DPlatformCanvas.cpp64 : m_canvas(canvas) in AutoLocker()
68 if (m_canvas->m_skiaCanvas) { in AutoLocker()
69 m_bitmap = &m_canvas->m_skiaCanvas->getDevice()->accessBitmap(false); in AutoLocker()
DImageBufferDataSkia.h41 OwnPtr<SkCanvas> m_canvas; variable
DPlatformCanvas.h70 PlatformCanvas* m_canvas;
DLayerTilerChromium.cpp271 m_canvas.resize(m_paintRect.size()); in update()
277 PlatformCanvas::Painter canvasPainter(&m_canvas, textOption); in update()
287 PlatformCanvas::AutoLocker locker(&m_canvas); in uploadCanvas()
DLayerTilerChromium.h163 PlatformCanvas m_canvas; variable
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
DCComboBox.java69 private Canvas m_canvas; field in CComboBox
254 m_canvas = new Canvas(parent, SWT.BORDER); in createImage()
255 m_canvas.addPaintListener(new PaintListener() { in createImage()
262 e.gc.fillRectangle(m_canvas.getClientArea()); in createImage()
318 m_canvas.setSize(clientArea.height, clientArea.height); in resizeInner()
321 m_canvas.setSize(1, clientArea.height); in resizeInner()
446 || m_canvas.isFocusControl()
/external/webkit/Source/WebCore/platform/efl/
DRenderThemeEfl.cpp277 ASSERT(m_canvas); in paintThemePart()
437 ASSERT(!m_canvas); in createCanvas()
438 m_canvas = ecore_evas_buffer_new(1, 1); in createCanvas()
439 ASSERT(m_canvas); in createCanvas()
451 m_edje = edje_object_add(ecore_evas_get(m_canvas)); in createEdje()
626 ASSERT(m_canvas); in applyPartDescriptions()
632 object = edje_object_add(ecore_evas_get(m_canvas)); in applyPartDescriptions()
659 if (!m_canvas) { in themeChanged()
661 if (!m_canvas) in themeChanged()
693 , m_canvas(0) in RenderThemeEfl()
[all …]
DRenderThemeEfl.h212 Ecore_Evas* m_canvas; variable
/external/webkit/Tools/
DChangeLog-2011-02-1631089 (WebViewHost::paintRect): We should not use m_canvas directly because
32641 (WebViewHost::paintRect): Fix a bug where in release builds, we didn't initialize m_canvas.