HomeSort by relevance Sort by last modified time
    Searched defs:pixmap (Results 1 - 25 of 38) sorted by null

1 2

  /external/skia/include/core/
SkImageEncoder.h 40 SkPixmap pixmap; local
41 return src.peekPixels(&pixmap) && SkEncodeImage(dst, pixmap, f, q);
SkBitmap.h 537 SkPixmap pixmap; local
538 SkAssertResult(this->peekPixels(&pixmap));
539 return pixmap.getColor(x, y);
627 * Copy the src pixmap's pixels into this bitmap, offset by dstX, dstY.
681 * specified pixmap (if not null). If there are no pixels, return false and
682 * ignore the pixmap parameter.
684 * Note: if this returns true, the results (in the pixmap) are only valid until the bitmap
  /external/skia/debugger/QT/
SkRasterWidget.cpp 51 SkPixmap pixmap; local
53 if (fSurface->peekPixels(&pixmap)) {
54 QImage image(reinterpret_cast<const uchar*>(pixmap.addr()),
55 pixmap.width(),
56 pixmap.height(),
57 pixmap.rowBytes(),
SkDrawCommandGeometryWidget.cpp 44 SkPixmap pixmap; local
46 if (fSurface->peekPixels(&pixmap)) {
47 SkASSERT(pixmap.width() > 0);
48 SkASSERT(pixmap.height() > 0);
52 float ratio = this->width() / pixmap.width();
53 resultRect = QRectF(0, 0, this->width(), ratio * pixmap.height());
55 float ratio = this->height() / pixmap.height();
56 resultRect = QRectF(0, 0, ratio * pixmap.width(), this->height());
61 QImage image(reinterpret_cast<const uchar*>(pixmap.addr()),
62 pixmap.width()
    [all...]
  /external/skia/bench/
EncoderBench.cpp 34 SkPixmap pixmap; variable
35 SkAssertResult(fBitmap.peekPixels(&pixmap));
37 SkAssertResult(fEncoder(&dst, pixmap));
PDFBench.cpp 75 SkAutoPixmapStorage pixmap; variable
76 pixmap.alloc(SkImageInfo::MakeN32Premul(img->dimensions()));
77 if (img->readPixels(pixmap, 0, 0)) {
78 fImage = SkImage::MakeRasterCopy(pixmap);
  /external/skia/tests/
SkBlend_optsTest.cpp 61 SkPixmap pixmap; local
62 bm.peekPixels(&pixmap);
63 SkASSERTF(pixmap.colorType() == kN32_SkColorType, "colorType: %d", pixmap.colorType());
64 SkASSERT(pixmap.alphaType() != kUnpremul_SkAlphaType);
65 const uint32_t* src = pixmap.addr32();
66 const int width = pixmap.rowBytesAsPixels();
72 for (int y = 0; y < pixmap.height(); y++) {
SurfaceTest.cpp 574 SkPixmap pixmap; local
575 REPORTER_ASSERT(reporter, s->peekPixels(&pixmap));
577 for (int i = 0; i < pixmap.info().width(); ++i) {
578 for (int j = 0; j < pixmap.info().height(); ++j) {
579 REPORTER_ASSERT(reporter, *pixmap.addr32(i, j) == 0);
    [all...]
  /external/skia/src/core/
SkBitmapController.h 27 const SkPixmap& pixmap() const { return fPixmap; } function in class:SkBitmapController::State
  /hardware/intel/common/libva/test/putsurface/
putsurface_x11.c 52 static Pixmap create_pixmap(void *win_display, int width, int height)
57 Pixmap pixmap; local
64 printf("Create a pixmap from ROOT window %dx%d, pixmap size %dx%d\n\n", attr.width, attr.height, width, height);
65 pixmap = XCreatePixmap(x11_display, root, width, height,
68 return pixmap;
  /external/ImageMagick/coders/
dps.c 115 Pixmap
116 pixmap;
211 Create a pixmap the appropriate size for the image.
219 GetBlobFileHandle(image),visual_info->depth,pixels_per_point,&pixmap,
229 Rasterize the file into the pixmap.
231 status=XDPSImageFileIntoDrawable((DPSContext) NULL,screen,pixmap,
245 dps_image=XGetImage(display,pixmap,0,0,bits_per_pixel.width,
247 (void) XFreePixmap(display,pixmap);
470 GetBlobFileHandle(image),1,pixels_per_point,&pixmap,&bits_per_pixel,&page);
473 status=XDPSImageFileIntoDrawable((DPSContext) NULL,screen,pixmap,
114 pixmap; local
    [all...]
pict.c 78 #define ReadPixmap(pixmap) \
80 pixmap.version=(short) ReadBlobMSBShort(image); \
81 pixmap.pack_type=(short) ReadBlobMSBShort(image); \
82 pixmap.pack_size=ReadBlobMSBLong(image); \
83 pixmap.horizontal_resolution=1UL*ReadBlobMSBShort(image); \
85 pixmap.vertical_resolution=1UL*ReadBlobMSBShort(image); \
87 pixmap.pixel_type=(short) ReadBlobMSBShort(image); \
88 pixmap.bits_per_pixel=(short) ReadBlobMSBShort(image); \
89 pixmap.component_count=(short) ReadBlobMSBShort(image); \
90 pixmap.component_size=(short) ReadBlobMSBShort(image);
827 pixmap; local
1617 pixmap; local
    [all...]
  /frameworks/base/libs/hwui/tests/common/
TestUtils.cpp 162 SkPixmap pixmap; local
163 if (!surface->peekPixels(&pixmap)) {
166 switch (pixmap.colorType()) {
168 const uint8_t* addr = pixmap.addr8(x, y);
172 const uint8_t* addr = pixmap.addr8(x, y);
176 const uint16_t* addr = pixmap.addr16(x, y);
180 const uint16_t* addr = pixmap.addr16(x, y);
185 const uint32_t* addr = pixmap.addr32(x, y);
190 const uint32_t* addr = pixmap.addr32(x, y);
  /external/mesa3d/src/gallium/state_trackers/glx/xlib/
glx_usefont.c 117 * use only one reusable pixmap with the maximum dimensions.
118 * draw the entire font into a single pixmap (careful with
133 Pixmap pixmap; local
136 pixmap = XCreatePixmap(dpy, win, 8 * width, height, 1);
138 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height);
144 XDrawString16(dpy, pixmap, gc, x0, y0, &char2b, 1);
146 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap);
157 XFreePixmap(dpy, pixmap);
215 Pixmap pixmap local
    [all...]
  /external/mesa3d/src/glx/apple/
apple_glx_drawable.h 71 GLXPbuffer xid; /* our pixmap */
108 struct apple_glx_pixmap pixmap; member in union:apple_glx_drawable::__anon28431
216 bool apple_glx_pixmap_create(Display * dpy, int screen, Pixmap pixmap,
220 bool apple_glx_pixmap_destroy(Display * dpy, Pixmap pixmap);
222 bool apple_glx_pixmap_query(GLXPixmap pixmap, int attribute,
  /external/mesa3d/src/glx/
glx_pbuffer.c 544 Pixmap pixmap; local
610 pixmap = XCreatePixmap(dpy, RootWindow(dpy, config->screen),
613 if (!CreateDRIDrawable(dpy, config, pixmap, id, attrib_list, i)) {
615 XFreePixmap(dpy, pixmap);
919 glXCreatePixmap(Display * dpy, GLXFBConfig config, Pixmap pixmap,
927 if (apple_glx_pixmap_create(dpy, modes->screen, pixmap, modes))
930 return pixmap;
933 (Drawable) pixmap, attrib_list, X_GLXCreatePixmap)
    [all...]
xfont.c 122 * use only one reusable pixmap with the maximum dimensions.
123 * draw the entire font into a single pixmap (careful with
138 Pixmap pixmap; local
141 pixmap = XCreatePixmap(dpy, win, 8 * width, height, 1);
143 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height);
149 XDrawString16(dpy, pixmap, gc, x0, y0, &char2b, 1);
151 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap);
162 XFreePixmap(dpy, pixmap);
219 Pixmap pixmap local
    [all...]
  /external/mesa3d/src/mesa/drivers/x11/
xfonts.c 117 * use only one reusable pixmap with the maximum dimensions.
118 * draw the entire font into a single pixmap (careful with
133 Pixmap pixmap; local
136 pixmap = XCreatePixmap(dpy, win, 8 * width, height, 1);
138 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height);
144 XDrawString16(dpy, pixmap, gc, x0, y0, &char2b, 1);
146 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap);
157 XFreePixmap(dpy, pixmap);
215 Pixmap pixmap local
    [all...]
  /external/skia/src/gpu/
SkGr.cpp 72 SkPixmap pixmap; local
73 if (!bitmap.peekPixels(&pixmap)) {
76 return GrUploadPixmapToTextureProxy(resourceProvider, pixmap, SkBudgeted::kYes, dstColorSpace);
79 static const SkPixmap* compute_desc(const GrCaps& caps, const SkPixmap& pixmap,
82 const SkPixmap* pmap = &pixmap;
84 *desc = GrImageInfoToSurfaceDesc(pixmap.info(), caps);
88 SkColorSpace* colorSpace = pixmap.colorSpace();
96 SkImageInfo linSrcInfo = SkImageInfo::Make(pixmap.width(), pixmap.height(),
97 pixmap.colorType(), pixmap.alphaType())
174 SkPixmap pixmap; local
    [all...]
  /external/deqp/modules/egl/
teglMakeCurrentPerfTests.cpp 309 eglu::NativePixmap* pixmap = DE_NULL; local
314 pixmap = pixmapFactory.createPixmap(&m_eglTestCtx.getNativeDisplay(), m_display, m_config, DE_NULL, width, height);
315 surface = eglu::createPixmapSurface(m_eglTestCtx.getNativeDisplay(), *pixmap, m_display, m_config, DE_NULL);
322 delete pixmap;
326 m_pixmaps.push_back(pixmap);
420 log << TestLog::Message << "Pixmap count: " << m_pixmaps.size() << TestLog::EndMessage;
  /external/mesa3d/src/loader/
loader_dri3_helper.h 45 uint32_t pixmap; member in struct:loader_dri3_buffer
62 bool own_pixmap; /* We allocated the pixmap ID, free on destroy */
139 /* Last received UST/MSC values for pixmap present complete */
loader_dri3_helper.c 87 * Free everything associated with one render buffer including pixmap, fence
95 xcb_free_pixmap(draw->conn, buffer->pixmap);
259 if (buf && buf->pixmap == ie->pixmap) {
509 dri3_back_buffer(draw)->pixmap,
520 dri3_back_buffer(draw)->pixmap,
521 dri3_fake_front_buffer(draw)->pixmap,
558 loader_dri3_copy_drawable(draw, front->pixmap, draw->drawable);
598 loader_dri3_copy_drawable(draw, draw->drawable, front->pixmap);
645 /* Update the linear buffer before presenting the pixmap */
830 xcb_pixmap_t pixmap; local
1114 xcb_drawable_t pixmap; local
    [all...]
  /frameworks/base/libs/hwui/
SkiaCanvasProxy.cpp 154 SkPixmap pixmap; local
155 if (image->peekPixels(&pixmap) && skiaBitmap.installPixels(pixmap)) {
163 SkPixmap pixmap; local
164 if (image->peekPixels(&pixmap) && skiaBitmap.installPixels(pixmap)) {
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_winsys_dri3.c 55 uint32_t pixmap; member in struct:vl_dri3_buffer
109 xcb_free_pixmap(scrn->conn, buffer->pixmap);
161 if (buf && buf->pixmap == ie->pixmap) {
219 xcb_pixmap_t pixmap; local
285 (pixmap = xcb_generate_id(scrn->conn)),
292 pixmap,
297 buffer->pixmap = pixmap;
344 * handle and pixmap for the texture that is se
    [all...]
  /hardware/intel/common/libva/va/glx/
va_glx_impl.c 453 Pixmap pixmap; member in struct:VASurfaceGLX
459 // Create Pixmaps for GLX texture-from-pixmap extension
465 Pixmap pixmap = None; local
477 pixmap = XCreatePixmap(
484 if (!pixmap)
486 pSurfaceGLX->pixmap = pixmap;
538 pixmap,
    [all...]

Completed in 635 milliseconds

1 2