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

1 2 3 4 5 6 7 8 91011>>

  /external/mesa3d/src/gallium/state_trackers/xorg/
xorg_composite.h 26 struct exa_pixmap_priv *pixmap,
29 struct exa_pixmap_priv *pixmap,
  /external/mesa3d/src/glx/apple/
apple_glx_pixmap.c 61 struct apple_glx_pixmap *p = &d->types.pixmap;
93 struct apple_glx_pixmap *p = &d->types.pixmap;
114 apple_glx_diagnostic("destroyed pixmap buffer for: 0x%lx\n", d->drawable);
119 apple_glx_pixmap_create(Display * dpy, int screen, Pixmap pixmap,
129 if (apple_glx_drawable_create(dpy, screen, pixmap, &d, &callbacks))
134 p = &d->types.pixmap;
136 p->xpixmap = pixmap;
139 if (!XAppleDRICreatePixmap(dpy, screen, pixmap,
182 apple_glx_diagnostic("created: pixmap buffer for 0x%lx\n", d->drawable)
    [all...]
apple_glx_drawable.h 71 GLXPbuffer xid; /* our pixmap */
108 struct apple_glx_pixmap pixmap; member in union:apple_glx_drawable::__anon20135
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,
TODO 6 Test GLXPixmap support with various pixmap depths.
  /external/mesa3d/docs/
MESA_pixmap_colormap.spec 53 Pixmap pixmap, Colormap cmap );
70 Pixmap pixmap, Colormap cmap );
73 rendered into the pixmap may then be copied to a window (which uses the
MESA_release_buffers.spec 33 Therefore, Mesa cannot immediately detect when an X window or pixmap is
35 or pixmap.
  /external/skia/bench/
PDFBench.cpp 52 SkAutoPixmapStorage pixmap; variable
53 pixmap.alloc(SkImageInfo::MakeN32Premul(img->dimensions()));
54 if (img->readPixels(pixmap, 0, 0)) {
56 pixmap.info(), pixmap.addr(),
57 pixmap.rowBytes(), pixmap.ctable()));
  /external/deqp/framework/platform/X11/
tcuX11EglPlatform.cpp 38 typedef ::Pixmap EGLNativePixmapType;
50 typedef EGLW_APICALL eglw::EGLSurface (EGLW_APIENTRY* eglX11CreatePixmapSurfaceFunc) (eglw::EGLDisplay dpy, eglw::EGLConfig config, EGLNativePixmapType pixmap, const eglw::EGLint* attrib_list);
83 eglw::EGLSurface createPixmapSurface (eglw::EGLDisplay dpy, eglw::EGLConfig config, eglw::EGLNativePixmapType pixmap, const eglw::EGLint *attrib_list) const
85 return ((eglX11CreatePixmapSurfaceFunc)m_egl.createPixmapSurface)(dpy, config, reinterpret_cast<EGLNativePixmapType>(pixmap), attrib_list);
214 class Pixmap : public NativePixmap
223 Pixmap (MovePtr<x11::Pixmap> x11Pixmap)
231 UniquePtr<x11::Pixmap> m_pixmap;
238 : NativePixmapFactory ("pixmap", "X11 Pixmap", Pixmap::CAPABILITIES) {
    [all...]
  /external/mesa3d/src/mesa/drivers/x11/
realglx.h 48 _real_glXCreateGLXPixmap( Display *dpy, XVisualInfo *visinfo, Pixmap pixmap );
52 Pixmap pixmap, Colormap cmap );
55 _real_glXDestroyGLXPixmap( Display *dpy, GLXPixmap pixmap );
132 _real_glXCreatePixmap( Display *dpy, GLXFBConfig config, Pixmap pixmap,
136 _real_glXDestroyPixmap( Display *dpy, GLXPixmap pixmap );
224 _real_glXCreateGLXPixmapWithConfigSGIX(Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap);
    [all...]
xm_buffer.c 168 * Setup an off-screen pixmap or Ximage to use as the back buffer.
214 b->backxrb->pixmap = None;
217 /* Free the old back pixmap */
218 if (b->backxrb->pixmap) {
219 XMesaFreePixmap(b->xm_visual->display, b->backxrb->pixmap);
220 b->backxrb->pixmap = 0;
224 /* Allocate new back pixmap */
225 b->backxrb->pixmap = XMesaCreatePixmap(b->xm_visual->display,
232 b->backxrb->drawable = b->backxrb->pixmap;
240 /* XXX Note: the ximage or Pixmap attached to this renderbuffe
    [all...]
xfonts.c 123 * use only one reusable pixmap with the maximum dimensions.
124 * draw the entire font into a single pixmap (careful with
139 Pixmap pixmap; local
142 pixmap = XCreatePixmap(dpy, win, 8 * width, height, 1);
144 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height);
150 XDrawString16(dpy, pixmap, gc, x0, y0, &char2b, 1);
152 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap);
163 XFreePixmap(dpy, pixmap);
221 Pixmap pixmap local
    [all...]
glxapi.h 67 GLXPixmap (*CreateGLXPixmap)(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap);
69 void (*DestroyGLXPixmap)(Display *dpy, GLXPixmap pixmap);
94 GLXPixmap (*CreatePixmap)(Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attribList);
97 void (*DestroyPixmap)(Display *dpy, GLXPixmap pixmap);
139 GLXPixmap (*CreateGLXPixmapWithConfigSGIX)(Display *, GLXFBConfigSGIX, Pixmap);
185 GLXPixmap (*CreateGLXPixmapMESA)(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap, Colormap cmap);
  /prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/
PixMapWrapper.py 2 QuickDraw PixMap data structure in a handy Python class. Also provides
19 # PixMap data structure element format (as used with struct)
42 # PixMap data structure element offset
66 """PixMapWrapper -- wraps the QD PixMap object in a Python class,
67 with methods to easily get/set various pixmap fields. Note: Use the
68 PixMap() method when passing to QD calls."""
143 def PixMap(self):
144 "Return a QuickDraw PixMap corresponding to this data."
150 """Draw this pixmap into the given (default current) grafport."""
158 Qd.CopyBits(self.PixMap(), port.GetPortBitMapForCopyBits(), src, tuple(dest)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
PixMapWrapper.py 2 QuickDraw PixMap data structure in a handy Python class. Also provides
19 # PixMap data structure element format (as used with struct)
42 # PixMap data structure element offset
66 """PixMapWrapper -- wraps the QD PixMap object in a Python class,
67 with methods to easily get/set various pixmap fields. Note: Use the
68 PixMap() method when passing to QD calls."""
143 def PixMap(self):
144 "Return a QuickDraw PixMap corresponding to this data."
150 """Draw this pixmap into the given (default current) grafport."""
158 Qd.CopyBits(self.PixMap(), port.GetPortBitMapForCopyBits(), src, tuple(dest)
    [all...]
  /external/skia/tests/
TextureCompressionTest.cpp 57 SkAutoPixmapStorage pixmap; local
58 pixmap.alloc(SkImageInfo::MakeA8(kWidth, kHeight));
66 SkAutoDataUnref data(SkTextureCompressor::CompressBitmapToFormat(pixmap, fmt));
86 SkAutoPixmapStorage pixmap; local
87 pixmap.alloc(SkImageInfo::MakeN32Premul(kWidth, kHeight));
95 SkAutoDataUnref data(SkTextureCompressor::CompressBitmapToFormat(pixmap, fmt));
117 SkAutoPixmapStorage pixmap; local
118 pixmap.alloc(SkImageInfo::MakeA8(kWidth, kHeight));
122 uint8_t* pixels = reinterpret_cast<uint8_t*>(pixmap.writable_addr());
136 pixels += pixmap.rowBytes()
195 SkAutoPixmapStorage pixmap; local
    [all...]
PDFDocumentTest.cpp 119 SkData* onEncode(const SkPixmap& pixmap) override {
121 return bm.installPixels(pixmap.info(),
122 pixmap.writable_addr(),
123 pixmap.rowBytes(),
124 pixmap.ctable(),
  /external/mesa3d/src/gallium/state_trackers/glx/xlib/
glx_usefont.c 116 * use only one reusable pixmap with the maximum dimensions.
117 * draw the entire font into a single pixmap (careful with
132 Pixmap pixmap; local
135 pixmap = XCreatePixmap(dpy, win, 8 * width, height, 1);
137 XFillRectangle(dpy, pixmap, gc, 0, 0, 8 * width, height);
143 XDrawString16(dpy, pixmap, gc, x0, y0, &char2b, 1);
145 image = XGetImage(dpy, pixmap, 0, 0, 8 * width, height, 1, XYPixmap);
156 XFreePixmap(dpy, pixmap);
214 Pixmap pixmap local
    [all...]
xm_api.h 98 * GL_FALSE = use an off-screen pixmap for back buffer
163 * Create an XMesaBuffer from an X pixmap.
166 Pixmap p,
171 * Destroy an XMesaBuffer, but not the corresponding window or pixmap.
238 * Scan for XMesaBuffers whose window/pixmap has been destroyed, then free
257 * Texture from Pixmap
269 XMesaCreatePixmapTextureBuffer(XMesaVisual v, Pixmap p,
293 GLboolean ximage_flag; /* Use XImage for back buffer (not pixmap)? */
317 PIXMAP, /* GLX pixmap */
    [all...]
  /external/mesa3d/src/glx/
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/skia/include/core/
SkPixmap.h 48 * If supported, set this pixmap to point to the pixels in the specified mask and return true.
49 * On failure, return false and set this pixmap to empty.
54 * Computes the intersection of area and this pixmap. If that intersection is non-empty,
164 * Copy the pixels from this pixmap into the dst pixmap, converting as needed into dst's
174 * will return false). If subset does not intersect the bounds of this pixmap, returns false.
197 * return true and fill out the pixmap to point to that memory. The storage will be freed
200 * On failure, return false and reset() the pixmap to empty.
205 * Allocate memory for the pixels needed to match the specified Info and fill out the pixmap
214 * Returns an SkData object wrapping the allocated pixels memory, and resets the pixmap
262 const SkPixmap& pixmap() const { function in class:SkAutoPixmapUnlock
    [all...]
SkPixelSerializer.h 35 SkData* encode(const SkPixmap& pixmap) { return this->onEncode(pixmap); }
  /external/skia/src/utils/
SkTextureCompressor.cpp 147 SkData* CompressBitmapToFormat(const SkPixmap& pixmap, Format format) {
148 int compressedDataSize = GetCompressedDataSize(format, pixmap.width(), pixmap.height());
153 const uint8_t* src = reinterpret_cast<const uint8_t*>(pixmap.addr());
156 if (!CompressBufferToFormat((uint8_t*)dst->writable_data(), src, pixmap.colorType(),
157 pixmap.width(), pixmap.height(), pixmap.rowBytes(), format)) {
  /external/deqp/modules/egl/
teglCreateSurfaceTests.cpp 86 EGLSurface createPixmapSurface (EGLDisplay display, EGLConfig config, eglu::NativeDisplay& nativeDisplay, eglu::NativePixmap& pixmap, bool useLegacyCreate)
93 surface = egl.createPixmapSurface(display, config, pixmap.getLegacyNative(), DE_NULL);
100 surface = egl.createPlatformPixmapSurfaceEXT(display, config, pixmap.getPlatformNative(), DE_NULL);
186 TCU_THROW(NotSupportedError, "Native pixmap doesn't support legacy eglCreatePixmapSurface()");
191 TCU_THROW(NotSupportedError, "Native pixmap doesn't support eglCreatePlatformPixmapSurfaceEXT()");
194 log << TestLog::Message << "Creating pixmap surface with config ID " << id << TestLog::EndMessage;
200 de::UniquePtr<eglu::NativePixmap> pixmap (pixmapFactory.createPixmap(&m_eglTestCtx.getNativeDisplay(), display, config, DE_NULL, width, height));
201 eglu::UniqueSurface surface (egl, display, createPixmapSurface(display, config, m_eglTestCtx.getNativeDisplay(), *pixmap, m_useLegacyCreate));
307 // Pixmap surfaces
309 tcu::TestCaseGroup* pixmapGroup = new tcu::TestCaseGroup(m_testCtx, "pixmap", "Pixmap surfaces")
    [all...]
  /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/deqp/framework/egl/
egluNativePixmap.hpp 23 * \brief EGL native pixmap abstraction
59 // Read pixels from pixmap. Default implementation throws tcu::NotSupportedError()
80 //! Create generic pixmap.
83 //! Create pixmap that matches given EGL config. Defaults to generic createPixmap().

Completed in 530 milliseconds

1 2 3 4 5 6 7 8 91011>>