Searched refs:bitmap (Results 376 - 400 of 1242) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DImageBufferSurface.cpp68 const SkBitmap& ImageBufferSurface::bitmap() function in class:blink::ImageBufferSurface
H A DImageLayerChromiumTest.cpp57 SkBitmap bitmap; local
58 bitmap.allocN32Pixels(size.width(), size.height(), isOpaque);
59 m_nativeImage = NativeImageSkia::create(bitmap);
69 return m_nativeImage->bitmap().isOpaque();
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebElement.cpp161 RefPtr<NativeImageSkia> bitmap = image->nativeImageForCurrentFrame();
162 if (!bitmap)
165 return bitmap->bitmap();
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/
H A DMakefile19 bitmap.c \
/external/chromium_org/third_party/skia/dm/
H A DDMWriteTask.h12 // Writes a bitmap to a file.
21 SkBitmap bitmap); // Bitmap to encode to PNG and write to disk.
/external/chromium_org/third_party/skia/experimental/PdfViewer/src/
H A DSkPdfDiffEncoder.cpp38 // Only attempt to write if the dump bitmap and canvas are non NULL. They are set by
51 SkBitmap bitmap; local
52 if (gDumpBitmap->copyTo(&bitmap, SkBitmap::kARGB_8888_Config)) {
54 SkAutoTUnref<SkBaseDevice> device(SkNEW_ARGS(SkBitmapDevice, (bitmap)));
120 SkImageEncoder::EncodeFile(out.c_str(), bitmap, SkImageEncoder::kPNG_Type, 100);
/external/chromium_org/third_party/skia/src/core/
H A DSkBBoxRecord.cpp142 void SkBBoxRecord::drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, argument
144 SkRect bbox = {left, top, left + bitmap.width(), top + bitmap.height()};
146 INHERITED::drawBitmap(bitmap, left, top, paint);
150 void SkBBoxRecord::drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, argument
154 INHERITED::drawBitmapRectToRect(bitmap, src, dst, paint, flags);
158 void SkBBoxRecord::drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& mat, argument
161 SkRect bbox = {0, 0, SkIntToScalar(bitmap.width()), SkIntToScalar(bitmap.height())};
164 INHERITED::drawBitmapMatrix(bitmap, ma
168 drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, const SkRect& dst, const SkPaint* paint) argument
251 drawSprite(const SkBitmap& bitmap, int left, int top, const SkPaint* paint) argument
[all...]
/external/chromium_org/third_party/skia/src/utils/
H A DSkMeshUtils.cpp88 void SkMeshUtils::Draw(SkCanvas* canvas, const SkBitmap& bitmap, argument
93 if (idx.init(bitmap.width(), bitmap.height(), rows, cols)) {
95 p.setShader(SkShader::CreateBitmapShader(bitmap,
H A DSkPathUtils.cpp99 const char* bitmap,
101 // loop for every line in bitmap
104 //l2p_fn(path, &bitmap[i*stride], i, w);
105 Line2path_span(path, &bitmap[i*stride], i, w);
111 const char* bitmap,
119 const char* line = &bitmap[y * stride];
98 BitsToPath_Path(SkPath* path, const char* bitmap, int w, int h, int stride) argument
110 BitsToPath_Region(SkPath* path, const char* bitmap, int w, int h, int stride) argument
/external/chromium_org/third_party/skia/tests/
H A DSkResourceCacheTest.cpp28 // Draw a scaled bitmap, then return true iff it has been cached.
32 SkBitmap bitmap; local
33 bitmap.allocN32Pixels(kBitmapSize, kBitmapSize);
34 bitmap.eraseColor(0xFFFFFFFF);
41 canvas->drawBitmapRect(bitmap,
45 return is_in_scaled_image_cache(bitmap, scale, scale);
81 static void make_bitmap(SkBitmap* bitmap, const SkImageInfo& info, SkBitmap::Allocator* allocator) { argument
83 bitmap->setInfo(info);
84 allocator->allocPixelRef(bitmap, 0);
86 bitmap
[all...]
/external/chromium_org/third_party/skia/tools/
H A Dskdiff_utils.h31 /** Writes the bitmap as a PNG to the path specified. */
32 bool write_bitmap(const SkString& path, const SkBitmap& bitmap);
/external/chromium_org/tools/android/memdump/
H A Dmemsymbols.py73 bitmap = base64.b64decode(enc_bitmap)
75 bitmap_pages_count = len(bitmap) * 8
95 if (bitmap_idx < len(bitmap) and
96 _TestBit(ord(bitmap[bitmap_idx]), bitmap_off)):
/external/chromium_org/ui/base/clipboard/
H A Dclipboard.cc21 // Valides a shared bitmap on the clipboard.
23 // bitmap.
32 PLOG(ERROR) << "Failed to map bitmap memory";
154 SkBitmap bitmap; local
159 if (!bitmap.setInfo(SkImageInfo::MakeN32Premul(
165 if (!sk_64_isS32(bitmap.computeSize64()))
176 if (!ValidateAndMapSharedBitmap(bitmap.getSize(), bitmap_data.get()))
178 bitmap.setPixels(bitmap_data->memory());
180 WriteBitmap(bitmap);
207 // The code currently only accepts sending a single bitmap ove
[all...]
/external/chromium_org/ui/base/cursor/
H A Dcursor_util.h18 // Scale and rotate the cursor's bitmap and hotpoint.
32 SkBitmap* bitmap);
/external/chromium_org/ui/base/webui/
H A Dweb_ui_util.h22 UI_BASE_EXPORT std::string GetBitmapDataUrl(const SkBitmap& bitmap);
25 // resource_id as a bitmap. This function does not check if the
26 // resource for the |resource_id| is a bitmap, therefore it is the
28 // bitmap. Returns empty string if a resource does not exist for given
/external/chromium_org/ui/gfx/
H A Dcolor_analysis_unittest.cc96 SkBitmap bitmap; local
97 bitmap.allocN32Pixels(colors.size(), 1);
99 SkAutoLockPixels lock(bitmap);
101 bitmap.eraseArea(SkIRect::MakeXYWH(i, 0, 1, 1), colors[i]);
103 return gfx::Image::CreateFrom1xBitmap(bitmap).As1xPNGBytes();
145 // Compute minimal and maximal graylevel (or alphalevel) of the input |bitmap|.
146 // |bitmap| has to be allocated and configured to kA8_Config.
147 void Calculate8bitBitmapMinMax(const SkBitmap& bitmap, argument
150 SkAutoLockPixels bitmap_lock(bitmap);
151 DCHECK(bitmap
280 SkBitmap bitmap; local
302 SkBitmap bitmap; local
325 SkBitmap bitmap; local
346 SkBitmap bitmap = local
[all...]
H A Dicon_util.h37 // SkBitmap bitmap;
39 // // Fill |bitmap| with valid data
40 // bitmap.setConfig(...);
41 // bitmap.allocPixels();
45 // // Convert the bitmap into a Windows HICON
46 // HICON icon = IconUtil::CreateHICONFromSkBitmap(bitmap);
79 // Given an SkBitmap object, the function converts the bitmap to a Windows
81 // convert the bitmap, NULL is returned.
85 static HICON CreateHICONFromSkBitmap(const SkBitmap& bitmap);
88 // the icon into an SkBitmap object containing an ARGB bitmap usin
[all...]
/external/chromium_org/ui/ozone/public/
H A Dcursor_factory_ozone.h37 virtual PlatformCursor CreateImageCursor(const SkBitmap& bitmap,
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A DMakefile19 bitmap.c \
/external/pdfium/fpdfsdk/include/
H A Dfpdf_progressive.h52 // Start to render page contents to a device independent bitmap progressively.
54 // bitmap - Handle to the device independent bitmap (as the output buffer).
57 // start_x - Left pixel position of the display area in the bitmap coordinate.
58 // start_y - Top pixel position of the display area in the bitmap coordinate.
68 DLLEXPORT int STDCALL FPDF_RenderPageBitmap_Start(FPDF_BITMAP bitmap, FPDF_PAGE page, int start_x, int start_y, int size_x,
/external/replicaisland/src/com/replica/replicaisland/
H A DTextureLibrary.java126 /** Loads a bitmap into OpenGL and sets up the common parameters for 2D texture maps. */
161 Bitmap bitmap;
163 bitmap = BitmapFactory.decodeStream(is);
173 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0);
183 mCropWorkspace[1] = bitmap.getHeight();
184 mCropWorkspace[2] = bitmap.getWidth();
185 mCropWorkspace[3] = -bitmap.getHeight();
191 texture.width = bitmap.getWidth();
192 texture.height = bitmap.getHeight();
194 bitmap
[all...]
/external/skia/experimental/PdfViewer/src/
H A DSkPdfDiffEncoder.cpp38 // Only attempt to write if the dump bitmap and canvas are non NULL. They are set by
51 SkBitmap bitmap; local
52 if (gDumpBitmap->copyTo(&bitmap, SkBitmap::kARGB_8888_Config)) {
54 SkAutoTUnref<SkBaseDevice> device(SkNEW_ARGS(SkBitmapDevice, (bitmap)));
120 SkImageEncoder::EncodeFile(out.c_str(), bitmap, SkImageEncoder::kPNG_Type, 100);
/external/skia/gm/
H A Ddeviceproperties.cpp41 SkBitmap bitmap; local
42 bitmap.allocN32Pixels(size.width(), size.height());
47 SkBitmapDevice device(bitmap, properties);
93 originalCanvas->drawBitmap(bitmap, 0, 0);
/external/skia/src/core/
H A DSkBBoxRecord.cpp135 void SkBBoxRecord::drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, argument
137 SkRect bbox = {left, top, left + bitmap.width(), top + bitmap.height()};
139 INHERITED::drawBitmap(bitmap, left, top, paint);
143 void SkBBoxRecord::drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, argument
147 INHERITED::drawBitmapRectToRect(bitmap, src, dst, paint, flags);
151 void SkBBoxRecord::drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& mat, argument
154 SkRect bbox = {0, 0, SkIntToScalar(bitmap.width()), SkIntToScalar(bitmap.height())};
157 INHERITED::drawBitmapMatrix(bitmap, ma
161 drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, const SkRect& dst, const SkPaint* paint) argument
244 drawSprite(const SkBitmap& bitmap, int left, int top, const SkPaint* paint) argument
[all...]
H A DSkScaledImageCache.h55 const SkBitmap& bitmap);
58 SkScalar scaleY, const SkBitmap& bitmap);
99 * Search the cache for a matching bitmap (using generationID,
129 * To add a new bitmap (or mipMap) to the cache, call
137 const SkBitmap& bitmap);
139 SkScalar scaleY, const SkBitmap& bitmap);
145 * if needed. After this, the cached bitmap should no longer be

Completed in 2954 milliseconds

<<11121314151617181920>>