Home | History | Annotate | Download | only in gfx

Lines Matching defs:bits

181   void* bits = NULL;
187 DIB_RGB_COLORS, &bits, NULL, 0);
189 if (!dib || !bits)
192 memcpy(bits, bitmap.getPixels(), bitmap.width() * bitmap.height() * 4);
388 uint32* bits;
390 DIB_RGB_COLORS, reinterpret_cast<void**>(&bits), NULL, 0);
414 memset(bits, 0, num_pixels * 4);
421 opaque[i] = !bits[i];
424 memset(bits, 0, num_pixels * 4);
426 memcpy(bitmap.getPixels(), static_cast<void*>(bits), num_pixels * 4);
485 // step we also copy the actual bits.
598 // We use a helper function for copying to actual bits from the SkBitmap
600 // (rather than just copying the bits) because there is no way to specify the
602 // Thus, if we just copy the bits, we'll end up with a bottom up bitmap in
665 // bitmap (regardless of the number of bits per pixels used in the XOR mask).
672 // containing the number of bits we need in order to describe a single