Home
last modified time | relevance | path

Searched refs:config8888 (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/tests/
DWritePixelsTest.cpp57 static bool config8888IsPremul(SkCanvas::Config8888 config8888) { in config8888IsPremul() argument
58 switch (config8888) { in config8888IsPremul()
74 static uint32_t packConfig8888(SkCanvas::Config8888 config8888, in packConfig8888() argument
78 switch (config8888) { in packConfig8888()
104 static uint32_t getBitmapColor(int x, int y, int w, SkCanvas::Config8888 config8888) { in getBitmapColor() argument
127 if (config8888IsPremul(config8888)) { in getBitmapColor()
132 return packConfig8888(config8888, a, r, g , b); in getBitmapColor()
159 static SkPMColor convertConfig8888ToPMColor(SkCanvas::Config8888 config8888, in convertConfig8888ToPMColor() argument
165 switch (config8888) { in convertConfig8888ToPMColor()
227 SkCanvas::Config8888 config8888) { in checkWrite() argument
[all …]
DReadPixelsTest.cpp62 static SkPMColor convertConfig8888ToPMColor(SkCanvas::Config8888 config8888, in convertConfig8888ToPMColor() argument
68 switch (config8888) { in convertConfig8888ToPMColor()
172 SkCanvas::Config8888 config8888) { in checkRead() argument
198 SkPMColor pmPixel = convertConfig8888ToPMColor(config8888, pixel, &didPremul); in checkRead()
358 SkCanvas::Config8888 config8888 = gReadConfigs[c]; in ReadPixelsTest() local
371 srcRect.fTop, config8888); in ReadPixelsTest()
384 success, startsWithPixels, config8888); in ReadPixelsTest()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DImageBuffer.cpp324 SkCanvas::Config8888 config8888; in getImageData() local
326 config8888 = SkCanvas::kRGBA_Premul_Config8888; in getImageData()
328 config8888 = SkCanvas::kRGBA_Unpremul_Config8888; in getImageData()
330 context->readPixels(&destBitmap, rect.x(), rect.y(), config8888); in getImageData()
384 SkCanvas::Config8888 config8888; in putByteArray() local
386 config8888 = SkCanvas::kRGBA_Premul_Config8888; in putByteArray()
388 config8888 = SkCanvas::kRGBA_Unpremul_Config8888; in putByteArray()
390 context()->writePixels(srcBitmap, destX, destY, config8888); in putByteArray()
/external/chromium_org/third_party/skia/src/core/
DSkBitmapDevice.cpp114 SkCanvas::Config8888 config8888) { in onReadPixels() argument
134 SkCopyBitmapToConfig8888(bmpPixels, bitmap.rowBytes(), config8888, subset); in onReadPixels()
140 SkCanvas::Config8888 config8888) { in writePixels() argument
147 SkCanvas::kNative_Premul_Config8888 != config8888 && in writePixels()
148 kPMColorAlias != config8888) { in writePixels()
184 config8888); in writePixels()
DSkDevice.cpp77 SkCanvas::Config8888 config8888) { in readPixels() argument
113 config8888); in readPixels()
/external/skia/src/core/
DSkBitmapDevice.cpp114 SkCanvas::Config8888 config8888) { in onReadPixels() argument
134 SkCopyBitmapToConfig8888(bmpPixels, bitmap.rowBytes(), config8888, subset); in onReadPixels()
140 SkCanvas::Config8888 config8888) { in writePixels() argument
147 SkCanvas::kNative_Premul_Config8888 != config8888 && in writePixels()
148 kPMColorAlias != config8888) { in writePixels()
184 config8888); in writePixels()
DSkDevice.cpp77 SkCanvas::Config8888 config8888) { in readPixels() argument
113 config8888); in readPixels()
DSkCanvas.cpp646 Config8888 config8888) { in readPixels() argument
651 return device->readPixels(bitmap, x, y, config8888); in readPixels()
678 Config8888 config8888) { in writePixels() argument
684 device->writePixels(bitmap, x, y, config8888); in writePixels()
/external/skia/include/core/
DSkDevice.h127 … SkCanvas::Config8888 config8888 = SkCanvas::kNative_Premul_Config8888) = 0;
320 SkCanvas::Config8888 config8888);
339 SkCanvas::Config8888 config8888) = 0;
DSkBitmapDevice.h101 SkCanvas::Config8888 config8888) SK_OVERRIDE;
216 SkCanvas::Config8888 config8888) SK_OVERRIDE;
DSkCanvas.h193 Config8888 config8888 = kNative_Premul_Config8888);
220 Config8888 config8888 = kNative_Premul_Config8888);
/external/chromium_org/third_party/skia/include/core/
DSkDevice.h127 … SkCanvas::Config8888 config8888 = SkCanvas::kNative_Premul_Config8888) = 0;
320 SkCanvas::Config8888 config8888);
339 SkCanvas::Config8888 config8888) = 0;
DSkBitmapDevice.h101 SkCanvas::Config8888 config8888) SK_OVERRIDE;
216 SkCanvas::Config8888 config8888) SK_OVERRIDE;
DSkCanvas.h193 Config8888 config8888 = kNative_Premul_Config8888);
220 Config8888 config8888 = kNative_Premul_Config8888);
/external/skia/src/utils/
DSkDeferredCanvas.cpp175 SkCanvas::Config8888 config8888) SK_OVERRIDE;
181 SkCanvas::Config8888 config8888) SK_OVERRIDE;
463 int x, int y, SkCanvas::Config8888 config8888) { in writePixels() argument
471 SkCanvas::kNative_Premul_Config8888 != config8888 && in writePixels()
472 kPMColorAlias != config8888) { in writePixels()
475 immediateDevice()->writePixels(bitmap, x, y, config8888); in writePixels()
511 const SkBitmap& bitmap, int x, int y, SkCanvas::Config8888 config8888) { in onReadPixels() argument
514 x, y, config8888); in onReadPixels()
DSkPictureUtils.cpp86 SkCanvas::Config8888 config8888) SK_OVERRIDE { in writePixels() argument
158 SkCanvas::Config8888 config8888) SK_OVERRIDE { in onReadPixels() argument
/external/chromium_org/third_party/skia/src/utils/
DSkDeferredCanvas.cpp175 SkCanvas::Config8888 config8888) SK_OVERRIDE;
181 SkCanvas::Config8888 config8888) SK_OVERRIDE;
463 int x, int y, SkCanvas::Config8888 config8888) { in writePixels() argument
471 SkCanvas::kNative_Premul_Config8888 != config8888 && in writePixels()
472 kPMColorAlias != config8888) { in writePixels()
475 immediateDevice()->writePixels(bitmap, x, y, config8888); in writePixels()
511 const SkBitmap& bitmap, int x, int y, SkCanvas::Config8888 config8888) { in onReadPixels() argument
514 x, y, config8888); in onReadPixels()
DSkPictureUtils.cpp86 SkCanvas::Config8888 config8888) SK_OVERRIDE { in writePixels() argument
158 SkCanvas::Config8888 config8888) SK_OVERRIDE { in onReadPixels() argument
/external/chromium_org/third_party/skia/include/gpu/
DSkGpuDevice.h83 SkCanvas::Config8888 config8888) SK_OVERRIDE;
143 SkCanvas::Config8888 config8888) SK_OVERRIDE;
/external/skia/include/gpu/
DSkGpuDevice.h83 SkCanvas::Config8888 config8888) SK_OVERRIDE;
143 SkCanvas::Config8888 config8888) SK_OVERRIDE;
/external/chromium_org/third_party/skia/src/gpu/
DGrContext.cpp1275 SkCanvas::Config8888* config8888) { in grconfig_to_config8888() argument
1279 *config8888 = SkCanvas::kRGBA_Unpremul_Config8888; in grconfig_to_config8888()
1281 *config8888 = SkCanvas::kRGBA_Premul_Config8888; in grconfig_to_config8888()
1286 *config8888 = SkCanvas::kBGRA_Unpremul_Config8888; in grconfig_to_config8888()
1288 *config8888 = SkCanvas::kBGRA_Premul_Config8888; in grconfig_to_config8888()
1299 SkCanvas::Config8888 swap_config8888_red_and_blue(SkCanvas::Config8888 config8888) { in swap_config8888_red_and_blue() argument
1300 switch (config8888) { in swap_config8888_red_and_blue()
DSkGpuDevice.cpp306 GrPixelConfig config8888_to_grconfig_and_flags(SkCanvas::Config8888 config8888, uint32_t* flags) { in config8888_to_grconfig_and_flags() argument
307 switch (config8888) { in config8888_to_grconfig_and_flags()
336 SkCanvas::Config8888 config8888) { in onReadPixels() argument
345 config = config8888_to_grconfig_and_flags(config8888, &flags); in onReadPixels()
357 SkCanvas::Config8888 config8888) { in writePixels() argument
366 config = config8888_to_grconfig_and_flags(config8888, &flags); in writePixels()
/external/skia/src/gpu/
DGrContext.cpp1275 SkCanvas::Config8888* config8888) { in grconfig_to_config8888() argument
1279 *config8888 = SkCanvas::kRGBA_Unpremul_Config8888; in grconfig_to_config8888()
1281 *config8888 = SkCanvas::kRGBA_Premul_Config8888; in grconfig_to_config8888()
1286 *config8888 = SkCanvas::kBGRA_Unpremul_Config8888; in grconfig_to_config8888()
1288 *config8888 = SkCanvas::kBGRA_Premul_Config8888; in grconfig_to_config8888()
1299 SkCanvas::Config8888 swap_config8888_red_and_blue(SkCanvas::Config8888 config8888) { in swap_config8888_red_and_blue() argument
1300 switch (config8888) { in swap_config8888_red_and_blue()
DSkGpuDevice.cpp306 GrPixelConfig config8888_to_grconfig_and_flags(SkCanvas::Config8888 config8888, uint32_t* flags) { in config8888_to_grconfig_and_flags() argument
307 switch (config8888) { in config8888_to_grconfig_and_flags()
336 SkCanvas::Config8888 config8888) { in onReadPixels() argument
345 config = config8888_to_grconfig_and_flags(config8888, &flags); in onReadPixels()
357 SkCanvas::Config8888 config8888) { in writePixels() argument
366 config = config8888_to_grconfig_and_flags(config8888, &flags); in writePixels()
/external/chromium_org/skia/ext/
Dlazy_pixel_ref_utils.cc58 SkCanvas::Config8888 config8888) SK_OVERRIDE {} in writePixels() argument
325 SkCanvas::Config8888 config8888) SK_OVERRIDE { in onReadPixels() argument

12