m_surface 76 Source/platform/graphics/GraphicsContext.cpp virtual SkCanvas* canvas() const OVERRIDE { return m_surface ? m_surface->getCanvas() : 0; } m_surface 77 Source/platform/graphics/GraphicsContext.cpp virtual bool isValid() const OVERRIDE { return m_surface; } m_surface 78 Source/platform/graphics/GraphicsContext.cpp virtual bool isAccelerated() const OVERRIDE { return isValid() && m_surface->getCanvas()->getTopDevice()->accessRenderTarget(); } m_surface 82 Source/platform/graphics/GraphicsContext.cpp GrRenderTarget* renderTarget = m_surface->getCanvas()->getTopDevice()->accessRenderTarget(); m_surface 90 Source/platform/graphics/GraphicsContext.cpp RefPtr<SkSurface> m_surface; m_surface 79 Source/platform/graphics/ImageBuffer.cpp : m_surface(surface) m_surface 82 Source/platform/graphics/ImageBuffer.cpp m_surface->setImageBuffer(this); m_surface 83 Source/platform/graphics/ImageBuffer.cpp if (m_surface->canvas()) { m_surface 84 Source/platform/graphics/ImageBuffer.cpp m_context = adoptPtr(new GraphicsContext(m_surface->canvas())); m_surface 85 Source/platform/graphics/ImageBuffer.cpp m_context->setCertainlyOpaque(m_surface->opacityMode() == Opaque); m_surface 86 Source/platform/graphics/ImageBuffer.cpp m_context->setAccelerated(m_surface->isAccelerated()); m_surface 98 Source/platform/graphics/ImageBuffer.cpp m_surface->willUse(); m_surface 105 Source/platform/graphics/ImageBuffer.cpp m_surface->willUse(); m_surface 106 Source/platform/graphics/ImageBuffer.cpp return m_surface->bitmap(); m_surface 111 Source/platform/graphics/ImageBuffer.cpp return m_surface->isValid(); m_surface 116 Source/platform/graphics/ImageBuffer.cpp return m_surface->isValid() || m_surface->restore(); m_surface 139 Source/platform/graphics/ImageBuffer.cpp const SkBitmap& bitmap = m_surface->bitmap(); m_surface 150 Source/platform/graphics/ImageBuffer.cpp return m_surface->layer(); m_surface 155 Source/platform/graphics/ImageBuffer.cpp if (!m_surface->isAccelerated() || !platformLayer() || !isSurfaceValid()) m_surface 215 Source/platform/graphics/ImageBuffer.cpp return m_surface->getBackingTexture(); m_surface 226 Source/platform/graphics/ImageBuffer.cpp Platform3DObject tex = m_surface->getBackingTexture(); m_surface 229 Source/platform/graphics/ImageBuffer.cpp m_surface->invalidateCachedBitmap(); m_surface 239 Source/platform/graphics/ImageBuffer.cpp SkBitmap bitmap = m_surface->bitmap(); m_surface 242 Source/platform/graphics/ImageBuffer.cpp if (!context->isAccelerated() && m_surface->isAccelerated() && m_surface->cachedBitmapEnabled() && isSurfaceValid()) { m_surface 243 Source/platform/graphics/ImageBuffer.cpp m_surface->updateCachedBitmapIfNeeded(); m_surface 244 Source/platform/graphics/ImageBuffer.cpp bitmap = m_surface->cachedBitmap(); m_surface 254 Source/platform/graphics/ImageBuffer.cpp if (m_surface->canvas()) { m_surface 255 Source/platform/graphics/ImageBuffer.cpp m_surface->canvas()->flush(); m_surface 265 Source/platform/graphics/ImageBuffer.cpp const SkBitmap& bitmap = m_surface->bitmap(); m_surface 280 Source/platform/graphics/ImageBuffer.cpp const SkBitmap& bitmap = m_surface->bitmap(); m_surface 285 Source/platform/graphics/ImageBuffer.cpp IntSize size = m_surface->size(); m_surface 336 Source/platform/graphics/ImageBuffer.cpp return getImageData<Unmultiplied>(rect, context(), m_surface->size()); m_surface 343 Source/platform/graphics/ImageBuffer.cpp return getImageData<Premultiplied>(rect, context(), m_surface->size()); m_surface 357 Source/platform/graphics/ImageBuffer.cpp ASSERT(destX < m_surface->size().width()); m_surface 364 Source/platform/graphics/ImageBuffer.cpp ASSERT(destY < m_surface->size().height()); m_surface 407 Source/platform/graphics/ImageBuffer.cpp if (!isSurfaceValid() || !encodeImage(m_surface->bitmap(), mimeType, quality, &encodedImage)) m_surface 87 Source/platform/graphics/ImageBuffer.h const IntSize& size() const { return m_surface->size(); } m_surface 88 Source/platform/graphics/ImageBuffer.h bool isAccelerated() const { return m_surface->isAccelerated(); } m_surface 92 Source/platform/graphics/ImageBuffer.h void setIsHidden(bool hidden) { m_surface->setIsHidden(hidden); } m_surface 140 Source/platform/graphics/ImageBuffer.h OwnPtr<ImageBufferSurface> m_surface;