Home
last modified time | relevance | path

Searched refs:mapped_canvas_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/content/renderer/pepper/
Dppb_image_data_impl.cc196 return !!mapped_canvas_.get(); in IsMapped()
204 if (!mapped_canvas_) { in Map()
205 mapped_canvas_.reset(dib_->GetPlatformCanvas(width_, height_)); in Map()
206 if (!mapped_canvas_) in Map()
210 skia::GetTopDevice(*mapped_canvas_)->accessBitmap(true); in Map()
239 return mapped_canvas_.get(); in GetPlatformCanvas()
242 SkCanvas* ImageDataPlatformBackend::GetCanvas() { return mapped_canvas_.get(); } in GetCanvas()
245 if (!mapped_canvas_) in GetMappedBitmap()
247 return &skia::GetTopDevice(*mapped_canvas_)->accessBitmap(false); in GetMappedBitmap()
Dppb_image_data_impl.h143 scoped_ptr<SkCanvas> mapped_canvas_; variable
/external/chromium_org/ppapi/proxy/
Dppb_image_data_proxy.cc388 if (!mapped_canvas_.get()) { in Map()
389 mapped_canvas_.reset(transport_dib_->GetPlatformCanvas(desc_.size.width, in Map()
391 if (!mapped_canvas_.get()) in Map()
395 skia::GetTopDevice(*mapped_canvas_)->accessBitmap(true); in Map()
408 return mapped_canvas_.get(); in GetPlatformCanvas()
412 return mapped_canvas_.get(); in GetCanvas()
Dppb_image_data_proxy.h99 scoped_ptr<SkCanvas> mapped_canvas_; variable