Home | History | Annotate | Download | only in clipboard

Lines Matching defs:bitmap

21 // Valides a shared bitmap on the clipboard.
23 // bitmap.
32 PLOG(ERROR) << "Failed to map bitmap memory";
154 SkBitmap bitmap;
159 if (!bitmap.setInfo(SkImageInfo::MakeN32Premul(
165 if (!sk_64_isS32(bitmap.computeSize64()))
176 if (!ValidateAndMapSharedBitmap(bitmap.getSize(), bitmap_data.get()))
178 bitmap.setPixels(bitmap_data->memory());
180 WriteBitmap(bitmap);
207 // The code currently only accepts sending a single bitmap over this way.
208 // Fail if we ever encounter more than one shmem bitmap structure to fill.
213 SharedMemory* bitmap = new SharedMemory(bitmap_handle, true, process);
215 SharedMemory* bitmap = new SharedMemory(bitmap_handle, true);
218 // There must always be two parameters associated with each shmem bitmap.
226 iter->second[0].push_back(reinterpret_cast<char*>(&bitmap)[i]);