/external/skia/tests/ |
WritePixelsTest.cpp | 57 static bool config8888IsPremul(SkCanvas::Config8888 config8888) { 58 switch (config8888) { 74 static uint32_t packConfig8888(SkCanvas::Config8888 config8888, 78 switch (config8888) { 104 static uint32_t getBitmapColor(int x, int y, int w, SkCanvas::Config8888 config8888) { 127 if (config8888IsPremul(config8888)) { 132 return packConfig8888(config8888, a, r, g , b) 452 SkCanvas::Config8888 config8888 = gSrcConfigs[c]; local [all...] |
ReadPixelsTest.cpp | 62 static SkPMColor convertConfig8888ToPMColor(SkCanvas::Config8888 config8888, 68 switch (config8888) { 95 SkDEBUGFAIL("Unexpected Config8888"); 172 SkCanvas::Config8888 config8888) { 198 SkPMColor pmPixel = convertConfig8888ToPMColor(config8888, pixel, &didPremul); 342 static const SkCanvas::Config8888 gReadConfigs[] = { 358 SkCanvas::Config8888 config8888 = gReadConfigs[c] local [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
ImageBuffer.cpp | 324 SkCanvas::Config8888 config8888; local 326 config8888 = SkCanvas::kRGBA_Premul_Config8888; 328 config8888 = SkCanvas::kRGBA_Unpremul_Config8888; 330 context->readPixels(&destBitmap, rect.x(), rect.y(), config8888); 384 SkCanvas::Config8888 config8888; local 386 config8888 = SkCanvas::kRGBA_Premul_Config8888; 388 config8888 = SkCanvas::kRGBA_Unpremul_Config8888; 390 context()->writePixels(srcBitmap, destX, destY, config8888); [all...] |
GraphicsContext.cpp | 444 bool GraphicsContext::readPixels(SkBitmap* bitmap, int x, int y, SkCanvas::Config8888 config8888) 449 return m_canvas->readPixels(bitmap, x, y, config8888); [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkDevice.cpp | 13 const SkCanvas::Config8888 SkBaseDevice::kPMColorAlias = SkCanvas::kBGRA_Premul_Config8888; 15 const SkCanvas::Config8888 SkBaseDevice::kPMColorAlias = SkCanvas::kRGBA_Premul_Config8888; 17 const SkCanvas::Config8888 SkBaseDevice::kPMColorAlias = (SkCanvas::Config8888) -1; 77 SkCanvas::Config8888 config8888) { 113 config8888);
|
SkBitmapDevice.cpp | 114 SkCanvas::Config8888 config8888) { 134 SkCopyBitmapToConfig8888(bmpPixels, bitmap.rowBytes(), config8888, subset); 140 SkCanvas::Config8888 config8888) { 145 // check whether we have to handle a config8888 that doesn't match SkPMColor 147 SkCanvas::kNative_Premul_Config8888 != config8888 && 148 kPMColorAlias != config8888) { 150 // We're going to have to convert from a config8888 to the native config 177 // copy pixels to dstBmp and convert from config8888 to native config [all...] |
/external/skia/src/core/ |
SkDevice.cpp | 13 const SkCanvas::Config8888 SkBaseDevice::kPMColorAlias = SkCanvas::kBGRA_Premul_Config8888; 15 const SkCanvas::Config8888 SkBaseDevice::kPMColorAlias = SkCanvas::kRGBA_Premul_Config8888; 17 const SkCanvas::Config8888 SkBaseDevice::kPMColorAlias = (SkCanvas::Config8888) -1; 77 SkCanvas::Config8888 config8888) { 113 config8888);
|
SkBitmapDevice.cpp | 114 SkCanvas::Config8888 config8888) { 134 SkCopyBitmapToConfig8888(bmpPixels, bitmap.rowBytes(), config8888, subset); 140 SkCanvas::Config8888 config8888) { 145 // check whether we have to handle a config8888 that doesn't match SkPMColor 147 SkCanvas::kNative_Premul_Config8888 != config8888 && 148 kPMColorAlias != config8888) { 150 // We're going to have to convert from a config8888 to the native config 177 // copy pixels to dstBmp and convert from config8888 to native config [all...] |
/external/chromium_org/third_party/skia/include/core/ |
SkBitmapDevice.h | 96 * If the bitmap has config kARGB_8888_Config then the config8888 param 101 SkCanvas::Config8888 config8888) SK_OVERRIDE; 216 SkCanvas::Config8888 config8888) SK_OVERRIDE;
|
SkDevice.h | 122 * If the bitmap has config kARGB_8888_Config then the config8888 param 127 SkCanvas::Config8888 config8888 = SkCanvas::kNative_Premul_Config8888) = 0; 299 * modified by the enum param config8888. The default value interprets 320 SkCanvas::Config8888 config8888); 339 SkCanvas::Config8888 config8888) = 0; 376 static const SkCanvas::Config8888 kPMColorAlias;
|
SkCanvas.h | 132 enum Config8888 { 163 * modified by the enum param config8888. The default value interprets 193 Config8888 config8888 = kNative_Premul_Config8888); 211 * If the bitmap has config kARGB_8888_Config then the config8888 param 220 Config8888 config8888 = kNative_Premul_Config8888); [all...] |
/external/chromium_org/third_party/skia/include/gpu/ |
SkGpuDevice.h | 83 SkCanvas::Config8888 config8888) SK_OVERRIDE; 143 SkCanvas::Config8888 config8888) SK_OVERRIDE;
|
/external/skia/include/core/ |
SkBitmapDevice.h | 96 * If the bitmap has config kARGB_8888_Config then the config8888 param 101 SkCanvas::Config8888 config8888) SK_OVERRIDE; 216 SkCanvas::Config8888 config8888) SK_OVERRIDE;
|
SkDevice.h | 122 * If the bitmap has config kARGB_8888_Config then the config8888 param 127 SkCanvas::Config8888 config8888 = SkCanvas::kNative_Premul_Config8888) = 0; 299 * modified by the enum param config8888. The default value interprets 320 SkCanvas::Config8888 config8888); 339 SkCanvas::Config8888 config8888) = 0; 376 static const SkCanvas::Config8888 kPMColorAlias;
|
SkCanvas.h | 132 enum Config8888 { 163 * modified by the enum param config8888. The default value interprets 193 Config8888 config8888 = kNative_Premul_Config8888); 211 * If the bitmap has config kARGB_8888_Config then the config8888 param 220 Config8888 config8888 = kNative_Premul_Config8888); [all...] |
/external/skia/include/gpu/ |
SkGpuDevice.h | 83 SkCanvas::Config8888 config8888) SK_OVERRIDE; 143 SkCanvas::Config8888 config8888) SK_OVERRIDE;
|
/external/chromium_org/third_party/skia/src/utils/ |
SkDeferredCanvas.cpp | 175 SkCanvas::Config8888 config8888) SK_OVERRIDE; 181 SkCanvas::Config8888 config8888) SK_OVERRIDE; 463 int x, int y, SkCanvas::Config8888 config8888) { 471 SkCanvas::kNative_Premul_Config8888 != config8888 && 472 kPMColorAlias != config8888) { 475 immediateDevice()->writePixels(bitmap, x, y, config8888); 511 const SkBitmap& bitmap, int x, int y, SkCanvas::Config8888 config8888) [all...] |
SkPictureUtils.cpp | 86 SkCanvas::Config8888 config8888) SK_OVERRIDE { 158 SkCanvas::Config8888 config8888) SK_OVERRIDE {
|
/external/skia/src/utils/ |
SkDeferredCanvas.cpp | 175 SkCanvas::Config8888 config8888) SK_OVERRIDE; 181 SkCanvas::Config8888 config8888) SK_OVERRIDE; 463 int x, int y, SkCanvas::Config8888 config8888) { 471 SkCanvas::kNative_Premul_Config8888 != config8888 && 472 kPMColorAlias != config8888) { 475 immediateDevice()->writePixels(bitmap, x, y, config8888); 511 const SkBitmap& bitmap, int x, int y, SkCanvas::Config8888 config8888) [all...] |
SkPictureUtils.cpp | 86 SkCanvas::Config8888 config8888) SK_OVERRIDE { 158 SkCanvas::Config8888 config8888) SK_OVERRIDE {
|
/external/chromium_org/skia/ext/ |
lazy_pixel_ref_utils.cc | 58 SkCanvas::Config8888 config8888) SK_OVERRIDE {} 325 SkCanvas::Config8888 config8888) SK_OVERRIDE {
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrContext.cpp | [all...] |
SkGpuDevice.cpp | 306 GrPixelConfig config8888_to_grconfig_and_flags(SkCanvas::Config8888 config8888, uint32_t* flags) { 307 switch (config8888) { 327 GrCrash("Unexpected Config8888."); 336 SkCanvas::Config8888 config8888) { 345 config = config8888_to_grconfig_and_flags(config8888, &flags); 357 SkCanvas::Config8888 config8888) { 366 config = config8888_to_grconfig_and_flags(config8888, &flags) [all...] |
/external/skia/src/gpu/ |
GrContext.cpp | [all...] |
SkGpuDevice.cpp | 306 GrPixelConfig config8888_to_grconfig_and_flags(SkCanvas::Config8888 config8888, uint32_t* flags) { 307 switch (config8888) { 327 GrCrash("Unexpected Config8888."); 336 SkCanvas::Config8888 config8888) { 345 config = config8888_to_grconfig_and_flags(config8888, &flags); 357 SkCanvas::Config8888 config8888) { 366 config = config8888_to_grconfig_and_flags(config8888, &flags) [all...] |