canvas_ 335 ash/touch/touch_hud_debug.cc canvas_(NULL), canvas_ 342 ash/touch/touch_hud_debug.cc canvas_ = new TouchHudCanvas(*touch_log_); canvas_ 343 ash/touch/touch_hud_debug.cc content->AddChildView(canvas_); canvas_ 346 ash/touch/touch_hud_debug.cc canvas_->SetSize(display_size); canvas_ 407 ash/touch/touch_hud_debug.cc canvas_->Clear(); canvas_ 421 ash/touch/touch_hud_debug.cc canvas_->SetVisible(true); canvas_ 422 ash/touch/touch_hud_debug.cc canvas_->SetScale(1); canvas_ 423 ash/touch/touch_hud_debug.cc canvas_->SchedulePaint(); canvas_ 428 ash/touch/touch_hud_debug.cc canvas_->SetVisible(true); canvas_ 429 ash/touch/touch_hud_debug.cc canvas_->SetScale(kReducedScale); canvas_ 430 ash/touch/touch_hud_debug.cc canvas_->SchedulePaint(); canvas_ 463 ash/touch/touch_hud_debug.cc canvas_->TouchPointAdded(event->touch_id()); canvas_ 474 ash/touch/touch_hud_debug.cc canvas_->SetSize(size); canvas_ 75 ash/touch/touch_hud_debug.h TouchHudCanvas* canvas_; canvas_ 26 cc/output/software_output_device.cc canvas_ = skia::AdoptRef(SkCanvas::NewRaster(info)); canvas_ 30 cc/output/software_output_device.cc DCHECK(canvas_); canvas_ 32 cc/output/software_output_device.cc return canvas_.get(); canvas_ 44 cc/output/software_output_device.cc DCHECK(canvas_); canvas_ 46 cc/output/software_output_device.cc canvas_->readPixels(info, pixels, info.minRowBytes(), rect.x(), rect.y()); canvas_ 79 cc/output/software_output_device.h skia::RefPtr<SkCanvas> canvas_; canvas_ 47 cc/output/software_renderer.cc canvas_(canvas), canvas_ 51 cc/output/software_renderer.cc DCHECK(canvas_); canvas_ 62 cc/output/software_renderer.cc picture_pile->RasterDirect(canvas_, content_rect_, contents_scale_, NULL); canvas_ 70 cc/output/software_renderer.cc SkCanvas* canvas_; canvas_ 69 cc/resources/bitmap_content_layer_updater.cc canvas_ = skia::AdoptRef(new SkCanvas(bitmap_backing_)); canvas_ 70 cc/resources/bitmap_content_layer_updater.cc SkISize size = canvas_->getBaseLayerSize(); canvas_ 77 cc/resources/bitmap_content_layer_updater.cc PaintContents(canvas_.get(), canvas_ 94 cc/resources/bitmap_content_layer_updater.cc CHECK(canvas_); canvas_ 107 cc/resources/bitmap_content_layer_updater.cc canvas_.clear(); canvas_ 113 cc/resources/bitmap_content_layer_updater.cc canvas_.clear(); canvas_ 71 cc/resources/bitmap_content_layer_updater.h skia::RefPtr<SkCanvas> canvas_; canvas_ 85 cc/resources/tile_manager.cc if (canvas_) { canvas_ 94 cc/resources/tile_manager.cc DCHECK(!canvas_); canvas_ 95 cc/resources/tile_manager.cc canvas_ = client->AcquireCanvasForRaster(this, resource()); canvas_ 99 cc/resources/tile_manager.cc if (canvas_) canvas_ 104 cc/resources/tile_manager.cc canvas_ = NULL; canvas_ 108 cc/resources/tile_manager.cc DCHECK(!canvas_); canvas_ 113 cc/resources/tile_manager.cc virtual ~RasterWorkerPoolTaskImpl() { DCHECK(!canvas_); } canvas_ 127 cc/resources/tile_manager.cc DCHECK(canvas_); canvas_ 183 cc/resources/tile_manager.cc canvas_->setDrawFilter(draw_filter.get()); canvas_ 196 cc/resources/tile_manager.cc canvas_, content_rect_, contents_scale_, stats); canvas_ 222 cc/resources/tile_manager.cc SkCanvas* canvas_; canvas_ 46 content/browser/compositor/software_output_device_ozone.cc canvas_ = surface_ozone_->GetCanvas(); canvas_ 48 content/browser/compositor/software_output_device_ozone.cc canvas_->clipRect(gfx::RectToSkRect(damage_rect), SkRegion::kReplace_Op); canvas_ 52 content/browser/compositor/software_output_device_ozone.cc canvas_->save(); canvas_ 60 content/browser/compositor/software_output_device_ozone.cc canvas_->restore(); canvas_ 39 content/browser/compositor/software_output_device_x11.cc DCHECK(canvas_); canvas_ 42 content/browser/compositor/software_output_device_x11.cc if (!canvas_) canvas_ 55 content/browser/compositor/software_output_device_x11.cc const void* addr = canvas_->peekPixels(&info, &rowBytes); canvas_ 46 content/browser/renderer_host/backing_store_aura.cc canvas_.reset(new SkCanvas(bitmap_)); canvas_ 81 content/browser/renderer_host/backing_store_aura.cc canvas_.swap(new_canvas); canvas_ 139 content/browser/renderer_host/backing_store_aura.cc canvas_.get()->drawBitmapRect(sk_bitmap, &srcrect, dstrect, ©_paint); canvas_ 170 content/browser/renderer_host/backing_store_aura.cc if (!canvas_->readPixels(skrect, &b)) canvas_ 58 content/browser/renderer_host/backing_store_aura.h scoped_ptr<SkCanvas> canvas_; canvas_ 28 content/renderer/browser_plugin/browser_plugin_backing_store.cc canvas_.reset(new SkCanvas(bitmap_)); canvas_ 74 content/renderer/browser_plugin/browser_plugin_backing_store.cc canvas_.get()->drawBitmapRect(sk_bitmap, &srcrect, dstrect, ©_paint); canvas_ 96 content/renderer/browser_plugin/browser_plugin_backing_store.cc canvas_->clear(clear_color); canvas_ 58 content/renderer/browser_plugin/browser_plugin_backing_store.h scoped_ptr<SkCanvas> canvas_; canvas_ 151 content/renderer/gpu/compositor_software_output_device.cc canvas_ = skia::AdoptRef(new SkCanvas(bitmap)); canvas_ 177 content/renderer/gpu/compositor_software_output_device.cc canvas_->drawBitmapRect(back_bitmap, &src_rect, dst_rect, NULL); canvas_ 191 content/renderer/gpu/compositor_software_output_device.cc return canvas_.get(); canvas_ 1678 content/renderer/pepper/pepper_plugin_instance_impl.cc canvas_.clear(); canvas_ 1697 content/renderer/pepper/pepper_plugin_instance_impl.cc canvas_ = skia::SharePtr(canvas); canvas_ 1736 content/renderer/pepper/pepper_plugin_instance_impl.cc PrintPageHelper(&(ranges_.front()), ranges_.size(), canvas_.get()); canvas_ 1737 content/renderer/pepper/pepper_plugin_instance_impl.cc canvas_.clear(); canvas_ 762 content/renderer/pepper/pepper_plugin_instance_impl.h skia::RefPtr<blink::WebCanvas> canvas_; canvas_ 27 skia/ext/benchmarking_canvas.cc canvas_ = skia::AdoptRef(SkCanvas::NewRasterN32(width, height)); canvas_ 29 skia/ext/benchmarking_canvas.cc setProxy(canvas_.get()); canvas_ 193 skia/ext/benchmarking_canvas.cc skia::RefPtr<SkCanvas> canvas_; canvas_ 142 skia/ext/platform_canvas.h explicit ScopedPlatformPaint(SkCanvas* canvas) : canvas_(canvas) { canvas_ 145 skia/ext/platform_canvas.h ~ScopedPlatformPaint() { EndPlatformPaint(canvas_); } canvas_ 150 skia/ext/platform_canvas.h SkCanvas* canvas_; canvas_ 148 skia/ext/platform_canvas_unittest.cc : canvas_(canvas), canvas_ 156 skia/ext/platform_canvas_unittest.cc canvas_.saveLayer(&bounds, NULL); canvas_ 161 skia/ext/platform_canvas_unittest.cc canvas_.restore(); canvas_ 174 skia/ext/platform_canvas_unittest.cc PlatformCanvas& canvas_; canvas_ 117 skia/ext/skia_utils_mac.h SkCanvas* canvas_; canvas_ 33 ui/gfx/canvas.cc canvas_ = owned_canvas_.get(); canvas_ 42 ui/gfx/canvas.cc canvas_->scale(scale_scalar, scale_scalar); canvas_ 53 ui/gfx/canvas.cc canvas_->scale(scale_scalar, scale_scalar); canvas_ 80 ui/gfx/canvas.cc canvas_ = owned_canvas_.get(); canvas_ 82 ui/gfx/canvas.cc canvas_->scale(scale_scalar, scale_scalar); canvas_ 125 ui/gfx/canvas.cc const SkISize size = canvas_->getDeviceSize(); canvas_ 129 ui/gfx/canvas.cc canvas_->readPixels(&result, 0, 0); canvas_ 180 ui/gfx/canvas.cc canvas_->save(); canvas_ 184 ui/gfx/canvas.cc canvas_->saveLayerAlpha(NULL, alpha); canvas_ 190 ui/gfx/canvas.cc canvas_->saveLayerAlpha(&bounds, alpha); canvas_ 194 ui/gfx/canvas.cc canvas_->restore(); canvas_ 198 ui/gfx/canvas.cc canvas_->clipRect(RectToSkRect(rect)); canvas_ 202 ui/gfx/canvas.cc canvas_->clipPath(path); canvas_ 206 ui/gfx/canvas.cc return canvas_->isClipEmpty(); canvas_ 211 ui/gfx/canvas.cc bool has_non_empty_clip = canvas_->getClipBounds(&out); canvas_ 217 ui/gfx/canvas.cc canvas_->translate(SkIntToScalar(offset.x()), SkIntToScalar(offset.y())); canvas_ 221 ui/gfx/canvas.cc canvas_->scale(SkIntToScalar(x_scale), SkIntToScalar(y_scale)); canvas_ 229 ui/gfx/canvas.cc canvas_->drawColor(color, mode); canvas_ 266 ui/gfx/canvas.cc canvas_->drawIRect(RectToSkIRect(rect), paint); canvas_ 270 ui/gfx/canvas.cc canvas_->drawPoint(SkIntToScalar(p1.x()), SkIntToScalar(p1.y()), paint); canvas_ 281 ui/gfx/canvas.cc canvas_->drawLine(SkIntToScalar(p1.x()), SkIntToScalar(p1.y()), canvas_ 288 ui/gfx/canvas.cc canvas_->drawCircle(SkIntToScalar(center_point.x()), canvas_ 295 ui/gfx/canvas.cc canvas_->drawRoundRect(RectToSkRect(rect), SkIntToScalar(radius), canvas_ 300 ui/gfx/canvas.cc canvas_->drawPath(path, paint); canvas_ 344 ui/gfx/canvas.cc canvas_->save(); canvas_ 345 ui/gfx/canvas.cc canvas_->scale(SkFloatToScalar(1.0f / bitmap_scale), canvas_ 347 ui/gfx/canvas.cc canvas_->drawBitmap(bitmap, canvas_ 351 ui/gfx/canvas.cc canvas_->restore(); canvas_ 410 ui/gfx/canvas.cc canvas_->drawBitmapRect(bitmap, &src_rect, dest_rect, &paint); canvas_ 436 ui/gfx/canvas.cc canvas_->drawRect(dest_rect, p); canvas_ 457 ui/gfx/canvas.cc canvas_->drawPath(path, p); canvas_ 531 ui/gfx/canvas.cc canvas_->drawRect(dest_rect, paint); canvas_ 535 ui/gfx/canvas.cc return skia::BeginPlatformPaint(canvas_); canvas_ 539 ui/gfx/canvas.cc skia::EndPlatformPaint(canvas_); canvas_ 543 ui/gfx/canvas.cc canvas_->concat(transform.matrix()); canvas_ 555 ui/gfx/canvas.cc return canvas_->getClipBounds(&clip) && canvas_ 576 ui/gfx/canvas.cc SkMatrix m = canvas_->getTotalMatrix(); canvas_ 420 ui/gfx/canvas.h SkCanvas* sk_canvas() const { return canvas_; } canvas_ 447 ui/gfx/canvas.h SkCanvas* canvas_; canvas_ 233 ui/gfx/canvas_skia.cc canvas_->save(); canvas_ 323 ui/gfx/canvas_skia.cc canvas_->restore(); canvas_ 427 ui/gfx/canvas_skia.cc canvas_->save(); canvas_ 430 ui/gfx/canvas_skia.cc canvas_->restore(); canvas_ 43 ui/gfx/ozone/impl/file_surface_factory.cc canvas_ = skia::AdoptRef(new SkCanvas(device_.get())); canvas_ 47 ui/gfx/ozone/impl/file_surface_factory.cc virtual skia::RefPtr<SkCanvas> GetCanvas() OVERRIDE { return canvas_; } canvas_ 54 ui/gfx/ozone/impl/file_surface_factory.cc if (canvas_->readPixels(&bitmap, 0, 0)) { canvas_ 64 ui/gfx/ozone/impl/file_surface_factory.cc skia::RefPtr<SkCanvas> canvas_; canvas_ 163 ui/gfx/render_text.cc : canvas_(canvas), canvas_ 285 ui/gfx/render_text.cc diagonal_.reset(new DiagonalStrike(canvas_, Point(x, y), paint_)); canvas_ 321 ui/gfx/render_text.cc : canvas_(canvas), canvas_ 352 ui/gfx/render_text.cc canvas_->Save(); canvas_ 353 ui/gfx/render_text.cc canvas_->ClipRect(Rect(x, 0, pieces_[i].first, start_.y() + thickness)); canvas_ 356 ui/gfx/render_text.cc canvas_->DrawLine(start_, end, paint_); canvas_ 359 ui/gfx/render_text.cc canvas_->Restore(); canvas_ 96 ui/gfx/render_text.h Canvas* canvas_; canvas_ 105 ui/gfx/render_text.h Canvas* canvas_; canvas_ 15 ui/gfx/scoped_canvas.h explicit ScopedCanvas(gfx::Canvas* canvas) : canvas_(canvas) { canvas_ 16 ui/gfx/scoped_canvas.h if (canvas_) canvas_ 17 ui/gfx/scoped_canvas.h canvas_->Save(); canvas_ 20 ui/gfx/scoped_canvas.h if (canvas_) canvas_ 21 ui/gfx/scoped_canvas.h canvas_->Restore(); canvas_ 24 ui/gfx/scoped_canvas.h if (canvas_) canvas_ 25 ui/gfx/scoped_canvas.h canvas_->Restore(); canvas_ 26 ui/gfx/scoped_canvas.h canvas_ = canvas; canvas_ 27 ui/gfx/scoped_canvas.h canvas_->Save(); canvas_ 31 ui/gfx/scoped_canvas.h gfx::Canvas* canvas_; canvas_ 14 ui/ozone/platform/caca/caca_connection.cc : canvas_(NULL), canvas_ 22 ui/ozone/platform/caca/caca_connection.cc caca_free_canvas(canvas_); canvas_ 30 ui/ozone/platform/caca/caca_connection.cc canvas_ = caca_create_canvas(physical_size_.width(), physical_size_.height()); canvas_ 31 ui/ozone/platform/caca/caca_connection.cc display_ = caca_create_display(canvas_); canvas_ 33 ui/ozone/platform/caca/caca_connection.cc physical_size_.SetSize(caca_get_canvas_width(canvas_), canvas_ 34 ui/ozone/platform/caca/caca_connection.cc caca_get_canvas_height(canvas_)); canvas_ 32 ui/ozone/platform/caca/caca_connection.h caca_canvas_t* canvas_;