/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
H A D | st_cb_bitmap.c | 63 * glBitmaps are drawn as textured quads. The user's bitmap pattern 68 * Note that we actually store the inverse image of the bitmap to 76 * The bitmap cache attempts to accumulate multiple glBitmap calls in a 153 if (st->bitmap.tex_format == PIPE_FORMAT_L8_UNORM) 207 * Combine basic bitmap fragment program with the user-defined program. 211 * \param bitmap_sampler sampler number for the bitmap texture 226 * with the bitmap sampler/kill instructions. 244 printf("Combined bitmap program:\n"); 259 * Copy user-provide bitmap bits into texture buffer, expanding 270 const GLubyte *bitmap, 267 unpack_bitmap(struct st_context *st, GLint px, GLint py, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap, ubyte *destBuffer, uint destStride) argument 284 make_bitmap_texture(struct gl_context *ctx, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap) argument [all...] |
/external/chromium_org/third_party/skia/gm/ |
H A D | gm_expectations.h | 41 explicit GmResultDigest(const SkBitmap &bitmap); 46 * ["bitmap-64bitMD5", 12345]. 64 * such as ["bitmap-64bitMD5", 12345]. 69 * Returns the hashtype, such as "bitmap-64bitMD5", as an SkString. 88 explicit BitmapAndDigest(const SkBitmap &bitmap) : fBitmap(bitmap), fDigest(bitmap) {} argument 108 explicit Expectations(const SkBitmap& bitmap, bool ignoreFailure=kDefaultIgnoreFailure); 150 * than a single bitmap), returns NULL.
|
H A D | matriximagefilter.cpp | 25 void draw(SkCanvas* canvas, const SkRect& rect, const SkBitmap& bitmap, argument 32 canvas->drawBitmap(bitmap, 0, 0); 40 void make_checkerboard(SkBitmap* bitmap) { argument 41 bitmap->allocN32Pixels(64, 64); 42 SkCanvas canvas(*bitmap);
|
/external/chromium_org/third_party/skia/src/pipe/utils/ |
H A D | SamplePipeControllers.cpp | 43 TiledPipeController::TiledPipeController(const SkBitmap& bitmap, argument 49 int32_t height = bitmap.height() / NumberOfTiles; 52 bottom = i + 1 == NumberOfTiles ? bitmap.height() : top + height; 53 rect.setLTRB(0, top, bitmap.width(), bottom); 56 SkDEBUGCODE(bool extracted = )bitmap.extractSubset(&fBitmaps[i], rect);
|
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkGatherPixelRefsAndRects.h | 112 virtual void drawBitmap(const SkDraw& draw, const SkBitmap& bitmap, 117 SkRect bitmapRect = SkRect::MakeWH(SkIntToScalar(bitmap.width()), 118 SkIntToScalar(bitmap.height())); 121 fPRCont->add(bitmap.pixelRef(), mappedRect); 128 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, 134 SkRect bitmapRect = SkRect::MakeWH(SkIntToScalar(bitmap.width()), 135 SkIntToScalar(bitmap.height())); 138 fPRCont->add(bitmap.pixelRef(), mappedRect); 145 virtual void drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap, 149 SkRect bitmapRect = SkRect::MakeWH(SkIntToScalar(bitmap 158 SkBitmap bitmap; variable 200 SkBitmap bitmap; variable 247 SkBitmap bitmap; variable 296 GetBitmapFromPaint(const SkPaint &paint, SkBitmap* bitmap) argument [all...] |
/external/chromium_org/third_party/skia/tests/ |
H A D | ReadPixelsTest.cpp | 117 static void fillBitmap(SkBitmap* bitmap) { argument 118 SkASSERT(bitmap->lockPixelsAreWritable()); 119 SkAutoLockPixels alp(*bitmap); 120 int w = bitmap->width(); 121 int h = bitmap->height(); 122 intptr_t pixels = reinterpret_cast<intptr_t>(bitmap->getPixels()); 125 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel()); 151 // checks the bitmap contains correct pixels after the readPixels 152 // if the bitmap wa 154 checkRead(skiatest::Reporter* reporter, const SkBitmap& bitmap, int x, int y, bool checkCanvasPixels, bool checkBitmapPixels) argument 219 init_bitmap(SkBitmap* bitmap, const SkIRect& rect, BitmapInit init, SkColorType ct, SkAlphaType at) argument [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_bitmap.c | 63 * glBitmaps are drawn as textured quads. The user's bitmap pattern 68 * Note that we actually store the inverse image of the bitmap to 76 * The bitmap cache attempts to accumulate multiple glBitmap calls in a 153 if (st->bitmap.tex_format == PIPE_FORMAT_L8_UNORM) 207 * Combine basic bitmap fragment program with the user-defined program. 211 * \param bitmap_sampler sampler number for the bitmap texture 226 * with the bitmap sampler/kill instructions. 244 printf("Combined bitmap program:\n"); 259 * Copy user-provide bitmap bits into texture buffer, expanding 270 const GLubyte *bitmap, 267 unpack_bitmap(struct st_context *st, GLint px, GLint py, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap, ubyte *destBuffer, uint destStride) argument 284 make_bitmap_texture(struct gl_context *ctx, GLsizei width, GLsizei height, const struct gl_pixelstore_attrib *unpack, const GLubyte *bitmap) argument [all...] |
/external/skia/gm/ |
H A D | gm_expectations.h | 41 explicit GmResultDigest(const SkBitmap &bitmap); 46 * ["bitmap-64bitMD5", 12345]. 64 * such as ["bitmap-64bitMD5", 12345]. 69 * Returns the hashtype, such as "bitmap-64bitMD5", as an SkString. 88 explicit BitmapAndDigest(const SkBitmap &bitmap) : fBitmap(bitmap), fDigest(bitmap) {} argument 108 explicit Expectations(const SkBitmap& bitmap, bool ignoreFailure=kDefaultIgnoreFailure); 150 * than a single bitmap), returns NULL.
|
H A D | matriximagefilter.cpp | 25 void draw(SkCanvas* canvas, const SkRect& rect, const SkBitmap& bitmap, argument 32 canvas->drawBitmap(bitmap, 0, 0); 40 void make_checkerboard(SkBitmap* bitmap) { argument 41 bitmap->allocN32Pixels(64, 64); 42 SkCanvas canvas(*bitmap);
|
/external/skia/src/core/ |
H A D | SkBBoxRecord.h | 41 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, 43 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, 46 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& mat, 48 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, 50 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
|
/external/skia/src/pipe/utils/ |
H A D | SamplePipeControllers.cpp | 43 TiledPipeController::TiledPipeController(const SkBitmap& bitmap, argument 49 int32_t height = bitmap.height() / NumberOfTiles; 52 bottom = i + 1 == NumberOfTiles ? bitmap.height() : top + height; 53 rect.setLTRB(0, top, bitmap.width(), bottom); 56 SkDEBUGCODE(bool extracted = )bitmap.extractSubset(&fBitmaps[i], rect);
|
/external/skia/src/utils/ |
H A D | SkGatherPixelRefsAndRects.h | 117 virtual void drawBitmap(const SkDraw& draw, const SkBitmap& bitmap, 122 SkRect bitmapRect = SkRect::MakeWH(SkIntToScalar(bitmap.width()), 123 SkIntToScalar(bitmap.height())); 126 fPRCont->add(bitmap.pixelRef(), mappedRect); 133 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, 139 SkRect bitmapRect = SkRect::MakeWH(SkIntToScalar(bitmap.width()), 140 SkIntToScalar(bitmap.height())); 143 fPRCont->add(bitmap.pixelRef(), mappedRect); 150 virtual void drawBitmapRect(const SkDraw& draw, const SkBitmap& bitmap, 154 SkRect bitmapRect = SkRect::MakeWH(SkIntToScalar(bitmap 163 SkBitmap bitmap; variable 205 SkBitmap bitmap; variable 252 SkBitmap bitmap; variable 301 GetBitmapFromPaint(const SkPaint &paint, SkBitmap* bitmap) argument [all...] |
/external/skia/tests/ |
H A D | ReadPixelsTest.cpp | 118 static void fillBitmap(SkBitmap* bitmap) { argument 119 SkASSERT(bitmap->lockPixelsAreWritable()); 120 SkAutoLockPixels alp(*bitmap); 121 int w = bitmap->width(); 122 int h = bitmap->height(); 123 intptr_t pixels = reinterpret_cast<intptr_t>(bitmap->getPixels()); 126 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel()); 152 // checks the bitmap contains correct pixels after the readPixels 153 // if the bitmap wa 155 checkRead(skiatest::Reporter* reporter, const SkBitmap& bitmap, int x, int y, bool checkCanvasPixels, bool checkBitmapPixels) argument 220 init_bitmap(SkBitmap* bitmap, const SkIRect& rect, BitmapInit init, SkColorType ct, SkAlphaType at) argument [all...] |
/external/chromium_org/third_party/skia/experimental/PdfViewer/ |
H A D | pdf_viewer_main.cpp | 98 static void setup_bitmap(SkBitmap* bitmap, int width, int height, SkColor color) { argument 99 bitmap->allocN32Pixels(width, height); 100 bitmap->eraseColor(color); 123 SkBitmap bitmap; local 124 SkAutoTUnref<SkBaseDevice> device(SkNEW_ARGS(SkBitmapDevice, (bitmap))); 131 SkBitmap bitmap; 140 setup_bitmap(&bitmap, 3 * (int)SkScalarToDouble(width), 3 * (int)SkScalarToDouble(height), 143 setup_bitmap(&bitmap, (int)SkScalarToDouble(width), (int)SkScalarToDouble(height), 148 device.reset(SkNEW_ARGS(SkBitmapDevice, (bitmap))); 156 gDumpBitmap = &bitmap; [all...] |
H A D | SkNulCanvas.h | 26 explicit SkNulCanvas(const SkBitmap& bitmap) : SkCanvas(bitmap) {} argument 38 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, 40 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, 44 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, 46 virtual void drawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, 48 virtual void drawSprite(const SkBitmap& bitmap, int left, int top,
|
/external/chromium_org/ui/gfx/ |
H A D | skbitmap_operations.cc | 492 const SkBitmap& bitmap, 517 DCHECK(bitmap.empty() == false); 518 DCHECK(bitmap.colorType() == kN32_SkColorType); 521 shifted.allocN32Pixels(bitmap.width(), bitmap.height()); 523 SkAutoLockPixels lock_bitmap(bitmap); 526 // Loop through the pixels of the original bitmap. 527 for (int y = 0; y < bitmap.height(); ++y) { 528 SkPMColor* pixels = bitmap.getAddr32(0, y); 531 (*line_proc)(hsl_shift, pixels, tinted_pixels, bitmap 491 CreateHSLShiftedBitmap( const SkBitmap& bitmap, const color_utils::HSL& hsl_shift) argument 571 DownsampleByTwoUntilSize(const SkBitmap& bitmap, int min_w, int min_h) argument 586 DownsampleByTwo(const SkBitmap& bitmap) argument 651 UnPreMultiply(const SkBitmap& bitmap) argument 700 CreateColorMask(const SkBitmap& bitmap, SkColor c) argument 719 CreateDropShadow( const SkBitmap& bitmap, const gfx::ShadowValues& shadows) argument [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | blkmap64_rb.c | 172 static errcode_t rb_alloc_private_data (ext2fs_generic_bitmap bitmap) argument 191 bitmap->private = (void *) bp; 196 ext2fs_generic_bitmap bitmap) 200 retval = rb_alloc_private_data (bitmap); 220 static void rb_free_bmap(ext2fs_generic_bitmap bitmap) argument 224 bp = (struct ext2fs_rb_private *) bitmap->private; 569 static int rb_mark_bmap(ext2fs_generic_bitmap bitmap, __u64 arg) argument 573 bp = (struct ext2fs_rb_private *) bitmap->private; 574 arg -= bitmap->start; 579 static int rb_unmark_bmap(ext2fs_generic_bitmap bitmap, __u6 argument 594 rb_test_bmap(ext2fs_generic_bitmap bitmap, __u64 arg) argument 604 rb_mark_bmap_extent(ext2fs_generic_bitmap bitmap, __u64 arg, unsigned int num) argument 615 rb_unmark_bmap_extent(ext2fs_generic_bitmap bitmap, __u64 arg, unsigned int num) argument 627 rb_test_clear_bmap_extent(ext2fs_generic_bitmap bitmap, __u64 start, unsigned int len) argument 683 rb_set_bmap_range(ext2fs_generic_bitmap bitmap, __u64 start, size_t num, void *in) argument 726 rb_get_bmap_range(ext2fs_generic_bitmap bitmap, __u64 start, size_t num, void *out) argument 792 rb_clear_bmap(ext2fs_generic_bitmap bitmap) argument 805 rb_print_stats(ext2fs_generic_bitmap bitmap) argument 867 rb_print_stats(ext2fs_generic_bitmap bitmap) argument [all...] |
/external/skia/experimental/PdfViewer/ |
H A D | pdf_viewer_main.cpp | 112 static void setup_bitmap(SkBitmap* bitmap, int width, int height, SkColor color) { argument 113 bitmap->allocN32Pixels(width, height); 114 bitmap->eraseColor(color); 141 SkBitmap bitmap; local 142 SkAutoTUnref<SkBaseDevice> device(SkNEW_ARGS(SkBitmapDevice, (bitmap))); 149 SkBitmap bitmap; 158 setup_bitmap(&bitmap, 3 * (int)SkScalarToDouble(width), 3 * (int)SkScalarToDouble(height), 161 setup_bitmap(&bitmap, (int)SkScalarToDouble(width), (int)SkScalarToDouble(height), 166 device.reset(SkNEW_ARGS(SkBitmapDevice, (bitmap))); 197 gDumpBitmap = &bitmap; [all...] |
/external/chromium_org/chrome/browser/ui/pdf/ |
H A D | pdf_browsertest_base.cc | 115 const SkBitmap& bitmap) { 134 int32* pixels = static_cast<int32*>(bitmap.getPixels()); 151 for (snapshot_x_offset = 0; snapshot_x_offset < bitmap.width(); 157 int x_max = std::min(w - ref_x_offset, bitmap.width() - snapshot_x_offset); 158 int y_max = std::min(h, bitmap.height()); 159 int stride = bitmap.rowBytes(); 171 gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, false, &png_data); 114 CopyFromBackingStoreCallback(bool success, const SkBitmap& bitmap) argument
|
/external/chromium_org/content/browser/android/ |
H A D | composited_touch_handle_drawable.cc | 106 const SkBitmap& bitmap = g_selection_resources.Get().GetBitmap(orientation); local 107 layer_->SetBitmap(bitmap); 108 layer_->SetBounds(gfx::Size(bitmap.width(), bitmap.height())); 112 focal_offset_from_origin_ = gfx::Vector2dF(bitmap.width() * 0.75f, 0); 115 focal_offset_from_origin_ = gfx::Vector2dF(bitmap.width() * 0.25f, 0); 118 focal_offset_from_origin_ = gfx::Vector2dF(bitmap.width() * 0.5f, 0);
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleDitherBitmap.cpp | 109 SkBitmap bitmap(bm); 111 setBitmapOpaque(&bitmap, false); 113 canvas->drawBitmap(bitmap, 0, 0, &paint); 115 canvas->drawBitmap(bitmap, 0, SkIntToScalar(bm.height() + 10), &paint); 117 setBitmapOpaque(&bitmap, true); 120 canvas->drawBitmap(bitmap, x, 0, &paint); 122 canvas->drawBitmap(bitmap, x, SkIntToScalar(bm.height() + 10), &paint);
|
/external/chromium_org/third_party/skia/src/ports/ |
H A D | SkFontHost_FreeType_common.cpp | 78 static void copyFT2LCD16(const FT_Bitmap& bitmap, const SkMask& mask, int lcdIsBGR, argument 82 if (FT_PIXEL_MODE_LCD != bitmap.pixel_mode) { 83 SkASSERT(mask.fBounds.width() == bitmap.width); 85 if (FT_PIXEL_MODE_LCD_V != bitmap.pixel_mode) { 86 SkASSERT(mask.fBounds.height() == bitmap.rows); 89 const uint8_t* src = bitmap.buffer; 96 switch (bitmap.pixel_mode) { 103 src += bitmap.pitch; 112 src += bitmap.pitch; 116 SkASSERT(3 * mask.fBounds.width() == bitmap [all...] |
/external/chromium_org/ui/gfx/android/ |
H A D | java_bitmap.cc | 7 #include <android/bitmap.h> 20 JavaBitmap::JavaBitmap(jobject bitmap) argument 21 : bitmap_(bitmap), 101 SkBitmap bitmap = CreateSkBitmapFromJavaBitmap(gfx::JavaBitmap(jobj.obj())); 102 if (bitmap.isNull()) 103 return bitmap; 106 bitmap, skia::ImageOperations::RESIZE_BOX, size.width(), size.height());
|
/external/pdfium/fpdfsdk/include/ |
H A D | fpdfview.h | 321 //enable when render to a bitmap.
324 // Render contents in a page to a device (screen, bitmap, or printer).
344 // Render contents in a page to a device independent bitmap
346 // bitmap - Handle to the device independent bitmap (as the output buffer).
349 // start_x - Left pixel position of the display area in the bitmap coordinate.
350 // start_y - Top pixel position of the display area in the bitmap coordinate.
359 DLLEXPORT void STDCALL FPDF_RenderPageBitmap(FPDF_BITMAP bitmap, FPDF_PAGE page, int start_x, int start_y,
435 // width - Number of pixels in a horizontal line of the bitmap. Must be greater than 0.
436 // height - Number of pixels in a vertical line of the bitmap [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | FadeDrawableComponent.java | 114 DrawableBitmap bitmap = factory.allocateDrawableBitmap(); 115 bitmap.resize((int)mTexture.width, (int)mTexture.height); 117 bitmap.setWidth((int)parentObject.width); 118 bitmap.setHeight((int)parentObject.height); 119 bitmap.setOpacity(opacity); 120 bitmap.setTexture(mTexture); 121 mRenderComponent.setDrawable(bitmap);
|