/external/chromium_org/third_party/skia/src/effects/ |
SkTileImageFilter.cpp | 9 #include "SkBitmap.h" 19 bool SkTileImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& src, 21 SkBitmap* dst, SkIPoint* offset) const { 22 SkBitmap source = src; 44 SkBitmap subset;
|
/external/chromium_org/ui/gfx/image/ |
image_skia_rep.h | 8 #include "third_party/skia/include/core/SkBitmap.h" 33 ImageSkiaRep(const SkBitmap& src, float scale); 58 const SkBitmap& sk_bitmap() const { return bitmap_; } 62 SkBitmap& mutable_sk_bitmap() { return bitmap_; } 64 SkBitmap bitmap_;
|
/external/skia/gm/ |
bitmapfilters.cpp | 13 static void make_bm(SkBitmap* bm) { 35 static SkScalar draw_bm(SkCanvas* canvas, const SkBitmap& bm, 41 static SkScalar draw_set(SkCanvas* c, const SkBitmap& bm, SkScalar x, 50 static SkScalar draw_row(SkCanvas* canvas, const SkBitmap& bm) { 85 SkBitmap fBM8, fBM4444, fBM16, fBM32;
|
bitmapshader.cpp | 10 #include "SkBitmap.h" 16 static void draw_bm(SkBitmap* bm) { 27 static void draw_mask(SkBitmap* bm) { 112 SkBitmap fBitmap; 113 SkBitmap fMask;
|
gm_expectations.h | 13 #include "SkBitmap.h" 33 * Currently, this is always a uint64_t hash digest of an SkBitmap... 41 explicit GmResultDigest(const SkBitmap &bitmap); 84 * Encapsulates an SkBitmap and its GmResultDigest, guaranteed to keep them in sync. 88 explicit BitmapAndDigest(const SkBitmap &bitmap) : fBitmap(bitmap), fDigest(bitmap) {} 90 const SkBitmap fBitmap; 108 explicit Expectations(const SkBitmap& bitmap, bool ignoreFailure=kDefaultIgnoreFailure); 147 * If this Expectation is based on a single SkBitmap, return a 148 * pointer to that SkBitmap. Otherwise (if the Expectation is 152 const SkBitmap *asBitmap() const [all...] |
colormatrix.cpp | 64 SkBitmap createSolidBitmap(int width, int height) { 65 SkBitmap bm; 81 SkBitmap createTransparentBitmap(int width, int height) { 82 SkBitmap bm; 103 const SkBitmap bmps[] = { fSolidBitmap, fTransparentBitmap }; 165 SkBitmap fSolidBitmap; 166 SkBitmap fTransparentBitmap;
|
/external/skia/src/core/ |
SkBitmapProcShader.h | 19 SkBitmapProcShader(const SkBitmap& src, TileMode tx, TileMode ty, 24 virtual BitmapType asABitmap(SkBitmap*, SkMatrix*, TileMode*) const SK_OVERRIDE; 28 static bool CanDo(const SkBitmap&, TileMode tx, TileMode ty); 62 SkBitmap fRawBitmap; // experimental for RLE encoding 78 SkShader* CreateBitmapShader(const SkBitmap& src, SkShader::TileMode, SkShader::TileMode,
|
/external/skia/src/effects/ |
SkTileImageFilter.cpp | 9 #include "SkBitmap.h" 19 bool SkTileImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& src, 21 SkBitmap* dst, SkIPoint* offset) const { 22 SkBitmap source = src; 44 SkBitmap subset;
|
/external/chromium_org/third_party/skia/gm/ |
gm_expectations.h | 13 #include "SkBitmap.h" 33 * Currently, this is always a uint64_t hash digest of an SkBitmap... 41 explicit GmResultDigest(const SkBitmap &bitmap); 84 * Encapsulates an SkBitmap and its GmResultDigest, guaranteed to keep them in sync. 88 explicit BitmapAndDigest(const SkBitmap &bitmap) : fBitmap(bitmap), fDigest(bitmap) {} 90 const SkBitmap fBitmap; 108 explicit Expectations(const SkBitmap& bitmap, bool ignoreFailure=kDefaultIgnoreFailure); 147 * If this Expectation is based on a single SkBitmap, return a 148 * pointer to that SkBitmap. Otherwise (if the Expectation is 152 const SkBitmap *asBitmap() const [all...] |
colormatrix.cpp | 64 SkBitmap createSolidBitmap(int width, int height) { 65 SkBitmap bm; 81 SkBitmap createTransparentBitmap(int width, int height) { 82 SkBitmap bm; 103 const SkBitmap bmps[] = { fSolidBitmap, fTransparentBitmap }; 165 SkBitmap fSolidBitmap; 166 SkBitmap fTransparentBitmap;
|
/external/chromium_org/ash/desktop_background/ |
wallpaper_resizer.cc | 30 void Resize(SkBitmap orig_bitmap, 33 SkBitmap* resized_bitmap_out) { 35 SkBitmap new_bitmap = orig_bitmap; 80 SkBitmap sub_image; 118 SkBitmap* resized_bitmap = new SkBitmap; 139 void WallpaperResizer::OnResizeFinished(SkBitmap* resized_bitmap) {
|
/external/chromium_org/chrome/browser/extensions/ |
webstore_install_helper.h | 14 #include "third_party/skia/include/core/SkBitmap.h" 17 class SkBitmap; 54 const SkBitmap& icon, 93 void OnDecodeImageSucceeded(const SkBitmap& decoded_image); 108 // it's a base64-encoded string that needs to be parsed into an SkBitmap. If 110 // SkBitmap. 126 SkBitmap icon_;
|
/external/chromium_org/third_party/skia/samplecode/ |
SampleDitherBitmap.cpp | 55 static SkBitmap make_bitmap() { 62 SkBitmap bm; 80 SkBitmap fBM8; 81 SkBitmap fBM32; 102 static void setBitmapOpaque(SkBitmap* bm, bool isOpaque) { 107 static void draw2(SkCanvas* canvas, const SkBitmap& bm) { 109 SkBitmap bitmap(bm);
|
/external/skia/samplecode/ |
SampleDitherBitmap.cpp | 55 static SkBitmap make_bitmap() { 62 SkBitmap bm; 80 SkBitmap fBM8; 81 SkBitmap fBM32; 102 static void setBitmapOpaque(SkBitmap* bm, bool isOpaque) { 107 static void draw2(SkCanvas* canvas, const SkBitmap& bm) { 109 SkBitmap bitmap(bm);
|
/frameworks/base/media/tests/omxjpegdecoder/ |
jpeg_decoder_bench.cpp | 23 #include "SkBitmap.h" 35 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode); 53 SkBitmap* bitmap) { 70 SkBitmap* bitmap) { 89 SkBitmap* bitmap = new SkBitmap; 95 bitmap = new SkBitmap;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
NativeImageSkia.h | 34 #include "SkBitmap.h" 57 // It has an SkBitmap, and also stores a cached resized image. 65 // This factory method does a shallow copy of the passed-in SkBitmap 68 static PassRefPtr<NativeImageSkia> create(const SkBitmap& bitmap) 73 // This method does a shallow copy of the internal SkBitmap (ie., it 90 // Get reference to the internal SkBitmap representing this image. 91 const SkBitmap& bitmap() const { return m_image; } 106 SkBitmap resizedBitmap(const SkISize& scaledImageSize, const SkIRect& scaledImageSubset) const; 122 NativeImageSkia(const SkBitmap&); 138 NativeImageSkia(const SkBitmap& image, const SkBitmap& resizedImage, const ImageResourceInfo&, int resizeRequests) [all...] |
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder.cpp | 10 #include "SkBitmap.h" 113 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator* alloc) { 140 bool SkImageDecoder::allocPixelRef(SkBitmap* bitmap, 162 SkBitmap::Config config = SkBitmap::kNo_Config; 183 bool SkImageDecoder::decode(SkStream* stream, SkBitmap* bm, SkColorType pref, Mode mode) { 191 SkBitmap tmp; 199 bool SkImageDecoder::decodeSubset(SkBitmap* bm, const SkIRect& rect, SkColorType pref) { 215 bool SkImageDecoder::cropBitmap(SkBitmap *dst, SkBitmap *src, int sampleSize [all...] |
/external/skia/src/images/ |
SkImageDecoder.cpp | 10 #include "SkBitmap.h" 113 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator* alloc) { 140 bool SkImageDecoder::allocPixelRef(SkBitmap* bitmap, 162 SkBitmap::Config config = SkBitmap::kNo_Config; 183 bool SkImageDecoder::decode(SkStream* stream, SkBitmap* bm, SkColorType pref, Mode mode) { 191 SkBitmap tmp; 199 bool SkImageDecoder::decodeSubset(SkBitmap* bm, const SkIRect& rect, SkColorType pref) { 215 bool SkImageDecoder::cropBitmap(SkBitmap *dst, SkBitmap *src, int sampleSize [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
SkGatherPixelRefsAndRects.h | 11 #include "SkBitmap.h" 52 SkBitmap bm; 61 SkBitmap bm; 85 SkBitmap bm; 105 SkBitmap bm; 117 virtual void drawBitmap(const SkDraw& draw, const SkBitmap& bitmap, 128 SkBitmap paintBitmap; 133 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, 145 SkBitmap paintBitmap; 150 virtual void drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap [all...] |
/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/skia/src/utils/ |
SkGatherPixelRefsAndRects.h | 11 #include "SkBitmap.h" 52 SkBitmap bm; 61 SkBitmap bm; 85 SkBitmap bm; 105 SkBitmap bm; 117 virtual void drawBitmap(const SkDraw& draw, const SkBitmap& bitmap, 128 SkBitmap paintBitmap; 133 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, 145 SkBitmap paintBitmap; 150 virtual void drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap [all...] |
/external/skia/tests/ |
BitmapCopyTest.cpp | 8 #include "SkBitmap.h" 21 static void report_opaqueness(skiatest::Reporter* reporter, const SkBitmap& src, 22 const SkBitmap& dst) { 34 const SkBitmap& srcOpaque, const SkBitmap& srcPremul, 36 SkBitmap dst; 53 static void init_src(const SkBitmap& bitmap) { 86 static uint32_t getPixel(int x, int y, const SkBitmap& bm) { 114 static void setPixel(int x, int y, uint32_t val, SkBitmap& bm) { 160 static void reportCopyVerification(const SkBitmap& bm1, const SkBitmap& bm2 [all...] |
/external/chromium_org/third_party/skia/include/core/ |
SkImageFilter.h | 15 class SkBitmap; 56 virtual bool get(const SkImageFilter* key, SkBitmap* result, SkIPoint* offset) = 0; 58 const SkBitmap& result, const SkIPoint& offset) = 0; 85 virtual bool filterImage(const SkImageFilter*, const SkBitmap& src, 87 SkBitmap* result, SkIPoint* offset) = 0; 103 bool filterImage(Proxy*, const SkBitmap& src, const Context&, 104 SkBitmap* result, SkIPoint* offset) const; 131 virtual bool filterImageGPU(Proxy*, const SkBitmap& src, const Context&, 132 SkBitmap* result, SkIPoint* offset) const; 175 * Wrap the given texture in a texture-backed SkBitmap [all...] |
/external/skia/include/core/ |
SkImageFilter.h | 15 class SkBitmap; 56 virtual bool get(const SkImageFilter* key, SkBitmap* result, SkIPoint* offset) = 0; 58 const SkBitmap& result, const SkIPoint& offset) = 0; 85 virtual bool filterImage(const SkImageFilter*, const SkBitmap& src, 87 SkBitmap* result, SkIPoint* offset) = 0; 103 bool filterImage(Proxy*, const SkBitmap& src, const Context&, 104 SkBitmap* result, SkIPoint* offset) const; 131 virtual bool filterImageGPU(Proxy*, const SkBitmap& src, const Context&, 132 SkBitmap* result, SkIPoint* offset) const; 175 * Wrap the given texture in a texture-backed SkBitmap [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/ |
table_row_nsimage_cache_unittest.mm | 8 #include "third_party/skia/include/core/SkBitmap.h" 16 std::vector<SkBitmap>* rows() { 29 std::vector<SkBitmap> rows_; 32 SkBitmap MakeImage(int width, int height) { 33 SkBitmap image; 34 image.setConfig(SkBitmap::kARGB_8888_Config, width, height); 48 std::vector<SkBitmap>* rows = table.rows(); 92 std::vector<SkBitmap>* rows = table.rows(); 133 std::vector<SkBitmap>* rows = table.rows(); 171 std::vector<SkBitmap>* rows = table.rows() [all...] |