Lines Matching defs:PPB_ImageData_Impl
40 PPB_ImageData_Impl::PPB_ImageData_Impl(PP_Instance instance,
58 PPB_ImageData_Impl::PPB_ImageData_Impl(PP_Instance instance, ForTest)
66 PPB_ImageData_Impl::~PPB_ImageData_Impl() {}
68 bool PPB_ImageData_Impl::Init(PP_ImageDataFormat format,
88 PP_Resource PPB_ImageData_Impl::Create(PP_Instance instance,
93 scoped_refptr<PPB_ImageData_Impl> data(
94 new PPB_ImageData_Impl(instance, type));
100 PPB_ImageData_API* PPB_ImageData_Impl::AsPPB_ImageData_API() { return this; }
102 bool PPB_ImageData_Impl::IsMapped() const { return backend_->IsMapped(); }
104 TransportDIB* PPB_ImageData_Impl::GetTransportDIB() const {
108 PP_Bool PPB_ImageData_Impl::Describe(PP_ImageDataDesc* desc) {
116 void* PPB_ImageData_Impl::Map() { return backend_->Map(); }
118 void PPB_ImageData_Impl::Unmap() { backend_->Unmap(); }
120 int32_t PPB_ImageData_Impl::GetSharedMemory(int* handle, uint32_t* byte_count) {
124 skia::PlatformCanvas* PPB_ImageData_Impl::GetPlatformCanvas() {
128 SkCanvas* PPB_ImageData_Impl::GetCanvas() { return backend_->GetCanvas(); }
130 void PPB_ImageData_Impl::SetIsCandidateForReuse() {
134 const SkBitmap* PPB_ImageData_Impl::GetMappedBitmap() const {
155 bool ImageDataPlatformBackend::Init(PPB_ImageData_Impl* impl,
256 bool ImageDataSimpleBackend::Init(PPB_ImageData_Impl* impl,