/external/chromium_org/ui/gfx/ |
icon_util.h | 27 class SkBitmap; 33 // SkBitmap object and vice versa. The class can also create a .ico file given 34 // a PNG image contained in an SkBitmap object. The following code snippet 37 // SkBitmap bitmap; 79 // Given an SkBitmap object, the function converts the bitmap to a Windows 85 static HICON CreateHICONFromSkBitmap(const SkBitmap& bitmap); 88 // the icon into an SkBitmap object containing an ARGB bitmap using the 96 static SkBitmap* CreateSkBitmapFromHICON(HICON icon, const gfx::Size& s); 98 // Loads an icon resource as a SkBitmap for the specified |size| from a 102 static scoped_ptr<SkBitmap> CreateSkBitmapFromIconResource(HMODULE module [all...] |
/external/chromium_org/third_party/skia/include/gpu/ |
SkGpuDevice.h | 15 #include "SkBitmap.h" 43 SkGpuDevice(GrContext*, SkBitmap::Config, int width, int height, int sampleCount = 0); 79 virtual SkBitmap::Config config() const SK_OVERRIDE; 82 virtual void writePixels(const SkBitmap& bitmap, int x, int y, 97 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap, 99 virtual void drawBitmapRect(const SkDraw&, const SkBitmap&, 103 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, 134 virtual bool filterImage(SkImageFilter*, const SkBitmap&, const SkMatrix&, 135 SkBitmap*, SkIPoint*) SK_OVERRIDE; 141 virtual bool onReadPixels(const SkBitmap& bitmap [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkCoreBlitters.h | 16 SkRasterBlitter(const SkBitmap& device) : fDevice(device) {} 19 const SkBitmap& fDevice; 27 SkShaderBlitter(const SkBitmap& device, const SkPaint& paint); 45 SkA8_Coverage_Blitter(const SkBitmap& device, const SkPaint& paint); 51 virtual const SkBitmap* justAnOpaqueColor(uint32_t*) SK_OVERRIDE; 56 SkA8_Blitter(const SkBitmap& device, const SkPaint& paint); 62 virtual const SkBitmap* justAnOpaqueColor(uint32_t*); 75 SkA8_Shader_Blitter(const SkBitmap& device, const SkPaint& paint); 96 SkARGB32_Blitter(const SkBitmap& device, const SkPaint& paint); 102 virtual const SkBitmap* justAnOpaqueColor(uint32_t*) [all...] |
SkBitmap.cpp | 10 #include "SkBitmap.h" 37 struct SkBitmap::MipMap : SkNoncopyable { 82 SkBitmap::SkBitmap() { 86 SkBitmap::SkBitmap(const SkBitmap& src) { 93 SkBitmap::~SkBitmap() { 98 SkBitmap& SkBitmap::operator=(const SkBitmap& src) [all...] |
SkMipMap.cpp | 9 #include "SkBitmap.h" 12 static void downsampleby2_proc32(SkBitmap* dst, int x, int y, 13 const SkBitmap& src) { 50 static void downsampleby2_proc16(SkBitmap* dst, int x, int y, 51 const SkBitmap& src) { 85 static void downsampleby2_proc4444(SkBitmap* dst, int x, int y, 86 const SkBitmap& src) { 129 SkMipMap* SkMipMap::Build(const SkBitmap& src) { 130 void (*proc)(SkBitmap* dst, int x, int y, const SkBitmap& src) [all...] |
/external/skia/include/gpu/ |
SkGpuDevice.h | 15 #include "SkBitmap.h" 43 SkGpuDevice(GrContext*, SkBitmap::Config, int width, int height, int sampleCount = 0); 79 virtual SkBitmap::Config config() const SK_OVERRIDE; 82 virtual void writePixels(const SkBitmap& bitmap, int x, int y, 97 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap, 99 virtual void drawBitmapRect(const SkDraw&, const SkBitmap&, 103 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, 134 virtual bool filterImage(SkImageFilter*, const SkBitmap&, const SkMatrix&, 135 SkBitmap*, SkIPoint*) SK_OVERRIDE; 141 virtual bool onReadPixels(const SkBitmap& bitmap [all...] |
/external/skia/src/core/ |
SkCoreBlitters.h | 16 SkRasterBlitter(const SkBitmap& device) : fDevice(device) {} 19 const SkBitmap& fDevice; 27 SkShaderBlitter(const SkBitmap& device, const SkPaint& paint); 45 SkA8_Coverage_Blitter(const SkBitmap& device, const SkPaint& paint); 51 virtual const SkBitmap* justAnOpaqueColor(uint32_t*) SK_OVERRIDE; 56 SkA8_Blitter(const SkBitmap& device, const SkPaint& paint); 62 virtual const SkBitmap* justAnOpaqueColor(uint32_t*); 75 SkA8_Shader_Blitter(const SkBitmap& device, const SkPaint& paint); 96 SkARGB32_Blitter(const SkBitmap& device, const SkPaint& paint); 102 virtual const SkBitmap* justAnOpaqueColor(uint32_t*) [all...] |
SkBitmap.cpp | 10 #include "SkBitmap.h" 37 struct SkBitmap::MipMap : SkNoncopyable { 82 SkBitmap::SkBitmap() { 86 SkBitmap::SkBitmap(const SkBitmap& src) { 93 SkBitmap::~SkBitmap() { 98 SkBitmap& SkBitmap::operator=(const SkBitmap& src) [all...] |
SkMipMap.cpp | 9 #include "SkBitmap.h" 12 static void downsampleby2_proc32(SkBitmap* dst, int x, int y, 13 const SkBitmap& src) { 50 static void downsampleby2_proc16(SkBitmap* dst, int x, int y, 51 const SkBitmap& src) { 85 static void downsampleby2_proc4444(SkBitmap* dst, int x, int y, 86 const SkBitmap& src) { 129 SkMipMap* SkMipMap::Build(const SkBitmap& src) { 130 void (*proc)(SkBitmap* dst, int x, int y, const SkBitmap& src) [all...] |
/external/skia/tests/ |
BitmapCopyTest.cpp | 10 #include "SkBitmap.h" 17 // these are in the same order as the SkBitmap::Config enum 22 static void report_opaqueness(skiatest::Reporter* reporter, const SkBitmap& src, 23 const SkBitmap& dst) { 31 static bool canHaveAlpha(SkBitmap::Config config) { 32 return config != SkBitmap::kRGB_565_Config; 37 const SkBitmap& srcOpaque, const SkBitmap& srcPremul, 38 SkBitmap::Config dstConfig) { 39 SkBitmap dst [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_icon_manager.cc | 25 static SkBitmap ApplyPadding(const SkBitmap& source, 62 const SkBitmap& ExtensionIconManager::GetIcon(const std::string& extension_id) { 63 const SkBitmap* result = NULL; 81 void ExtensionIconManager::OnImageLoaded(SkBitmap* image, 101 SkBitmap* src = rb.GetBitmapNamed(IDR_EXTENSIONS_SECTION); 106 SkBitmap ExtensionIconManager::ApplyTransforms(const SkBitmap& source) { 107 SkBitmap result = source;
|
/external/chromium_org/third_party/skia/include/core/ |
SkImageFilter.h | 14 class SkBitmap; 61 virtual bool filterImage(SkImageFilter*, const SkBitmap& src, 63 SkBitmap* result, SkIPoint* offset) = 0; 79 bool filterImage(Proxy*, const SkBitmap& src, const SkMatrix& ctm, 80 SkBitmap* result, SkIPoint* offset); 107 virtual bool filterImageGPU(Proxy*, const SkBitmap& src, const SkMatrix& ctm, 108 SkBitmap* result, SkIPoint* offset); 171 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&, 172 SkBitmap* result, SkIPoint* offset);
|
SkBitmap.h | 29 /** \class SkBitmap 31 The SkBitmap class specifies a raster bitmap. A bitmap has an integer width 35 A const SkBitmap exposes getAddr(), which lets a caller write its pixels; 39 class SK_API SkBitmap { 62 SkBitmap(); 71 SkBitmap(const SkBitmap& src); 73 ~SkBitmap(); 78 SkBitmap& operator=(const SkBitmap& src) [all...] |
/external/skia/bench/ |
BitmapBench.cpp | 9 #include "SkBitmap.h" 36 static void convertToIndex666(const SkBitmap& src, SkBitmap* dst, bool isOpaque) { 52 dst->setConfig(SkBitmap::kIndex8_Config, src.width(), src.height()); 78 SkBitmap fBitmap; 83 SkBitmap::Config fConfig; 88 BitmapBench(bool isOpaque, SkBitmap::Config c, 110 SkBitmap bm; 112 if (SkBitmap::kIndex8_Config == fConfig) { 113 bm.setConfig(SkBitmap::kARGB_8888_Config, W, H) [all...] |
/external/skia/include/core/ |
SkImageFilter.h | 14 class SkBitmap; 61 virtual bool filterImage(SkImageFilter*, const SkBitmap& src, 63 SkBitmap* result, SkIPoint* offset) = 0; 79 bool filterImage(Proxy*, const SkBitmap& src, const SkMatrix& ctm, 80 SkBitmap* result, SkIPoint* offset); 107 virtual bool filterImageGPU(Proxy*, const SkBitmap& src, const SkMatrix& ctm, 108 SkBitmap* result, SkIPoint* offset); 171 virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&, 172 SkBitmap* result, SkIPoint* offset);
|
SkBitmap.h | 29 /** \class SkBitmap 31 The SkBitmap class specifies a raster bitmap. A bitmap has an integer width 35 A const SkBitmap exposes getAddr(), which lets a caller write its pixels; 39 class SK_API SkBitmap { 62 SkBitmap(); 71 SkBitmap(const SkBitmap& src); 73 ~SkBitmap(); 78 SkBitmap& operator=(const SkBitmap& src) [all...] |
/frameworks/base/libs/hwui/ |
ResourceCache.h | 22 #include <SkBitmap.h> 74 void incrementRefcount(SkBitmap* resource); 81 void incrementRefcountLocked(SkBitmap* resource); 87 void decrementRefcount(SkBitmap* resource); 94 void decrementRefcountLocked(SkBitmap* resource); 102 void destructor(SkBitmap* resource); 108 void destructorLocked(SkBitmap* resource); 113 bool recycle(SkBitmap* resource); 114 bool recycleLocked(SkBitmap* resource);
|
/external/chromium_org/cc/output/ |
copy_output_result.h | 13 class SkBitmap; 25 scoped_ptr<SkBitmap> bitmap) { 43 scoped_ptr<SkBitmap> TakeBitmap(); 49 explicit CopyOutputResult(scoped_ptr<SkBitmap> bitmap); 55 scoped_ptr<SkBitmap> bitmap_;
|
/external/chromium_org/third_party/skia/src/image/ |
SkImage_Gpu.cpp | 10 #include "SkBitmap.h" 20 explicit SkImage_Gpu(const SkBitmap&); 26 virtual bool getROPixels(SkBitmap*) const SK_OVERRIDE { 34 SkBitmap fBitmap; 41 SkImage_Gpu::SkImage_Gpu(const SkBitmap& bitmap) 66 SkImage* SkImage::NewTexture(const SkBitmap& bitmap) {
|
/external/chromium_org/third_party/skia/src/utils/mac/ |
SkCreateCGImageRef.cpp | 9 #include "SkBitmap.h" 13 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(info); 17 static bool getBitmapInfo(const SkBitmap& bm, 26 case SkBitmap::kRGB_565_Config: 31 case SkBitmap::kARGB_8888_Config: 51 #warning Cannot convert SkBitmap to CGImageRef with these shiftmasks. \ 64 case SkBitmap::kRGB_565_Config: 70 case SkBitmap::kARGB_4444_Config: 85 static SkBitmap* prepareForImageRef(const SkBitmap& bm [all...] |
/external/skia/dm/ |
DMUtil.cpp | 22 void SetupBitmap(const SkBitmap::Config config, skiagm::GM* gm, SkBitmap* bitmap) { 29 void DrawPicture(SkPicture* picture, SkBitmap* bitmap) { 37 bool BitmapsEqual(const SkBitmap& a, const SkBitmap& b) {
|
/external/skia/src/image/ |
SkImage_Gpu.cpp | 10 #include "SkBitmap.h" 20 explicit SkImage_Gpu(const SkBitmap&); 26 virtual bool getROPixels(SkBitmap*) const SK_OVERRIDE { 34 SkBitmap fBitmap; 41 SkImage_Gpu::SkImage_Gpu(const SkBitmap& bitmap) 66 SkImage* SkImage::NewTexture(const SkBitmap& bitmap) {
|
/external/skia/src/utils/mac/ |
SkCreateCGImageRef.cpp | 9 #include "SkBitmap.h" 13 SkBitmap* bitmap = reinterpret_cast<SkBitmap*>(info); 17 static bool getBitmapInfo(const SkBitmap& bm, 26 case SkBitmap::kRGB_565_Config: 31 case SkBitmap::kARGB_8888_Config: 51 #warning Cannot convert SkBitmap to CGImageRef with these shiftmasks. \ 64 case SkBitmap::kRGB_565_Config: 70 case SkBitmap::kARGB_4444_Config: 85 static SkBitmap* prepareForImageRef(const SkBitmap& bm [all...] |
/external/chromium_org/chrome/browser/history/ |
select_favicon_frames_unittest.cc | 10 #include "third_party/skia/include/core/SkBitmap.h" 29 vector<gfx::Size> SizesFromBitmaps(const vector<SkBitmap>& bitmaps) { 36 SkBitmap MakeBitmap(SkColor color, int w, int h) { 37 SkBitmap bitmap; 38 bitmap.setConfig(SkBitmap::kARGB_8888_Config, w, h); 46 const SkBitmap& bitmap = 67 vector<SkBitmap> bitmaps; 83 vector<SkBitmap> bitmaps; 98 vector<SkBitmap> bitmaps; 113 vector<SkBitmap> bitmaps [all...] |
/external/chromium_org/chrome/browser/ui/app_list/ |
fast_show_pickler.cc | 7 #include "third_party/skia/include/core/SkBitmap.h" 16 // These have the same meaning as SkBitmap::Config. Reproduced here to insure 28 bool FormatToConfig(ImageFormat format, SkBitmap::Config* out) { 31 *out = SkBitmap::kNo_Config; 34 *out = SkBitmap::kA8_Config; 37 *out = SkBitmap::kIndex8_Config; 40 *out = SkBitmap::kRGB_565_Config; 43 *out = SkBitmap::kARGB_4444_Config; 46 *out = SkBitmap::kARGB_8888_Config; 53 bool ConfigToFormat(SkBitmap::Config config, ImageFormat* out) [all...] |