Searched defs:pixmap (Results 1 - 25 of 54) sorted by relevance

123

/external/chromium_org/content/common/gpu/
H A Dgpu_memory_buffer_factory_x11_pixmap.cc19 XID pixmap) {
22 pixmaps_[key] = pixmap;
17 CreateGpuMemoryBuffer( const gfx::GpuMemoryBufferId& id, XID pixmap) argument
/external/chromium_org/content/browser/compositor/
H A Dsoftware_output_device_x11.cc59 Pixmap pixmap = XCreatePixmap( local
61 GC gc = XCreateGC(display_, pixmap, 0, NULL);
83 pixmap,
94 display_, pixmap, ui::GetRenderARGB32Format(display_), 0, NULL);
114 XFreePixmap(display_, pixmap);
/external/chromium_org/media/tools/player_x11/
H A Dx11_video_renderer.cc124 // If XRender is used, we'll upload the image to a pixmap. And then
125 // creats a picture from the pixmap and composite the picture over
145 // Creates a pixmap and uploads from the XImage.
146 unsigned long pixmap = XCreatePixmap(display_, window_, local
149 GC gc = XCreateGC(display_, pixmap, 0, NULL);
150 XPutImage(display_, pixmap, gc, &image,
157 // Creates the picture representing the pixmap.
159 display_, pixmap, GetRenderARGB32Format(display_), 0, NULL);
167 XFreePixmap(display_, pixmap);
173 // TODO(hclam): Upload the image to a pixmap an
[all...]
/external/chromium_org/third_party/mesa/src/src/glx/apple/
H A Dapple_glx_pixmap.c61 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, argument
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);
188 apple_glx_pixmap_query(GLXPixmap pixmap, in argument
225 apple_glx_pixmap_destroy(Display * dpy, GLXPixmap pixmap) argument
[all...]
H A Dapple_glx_drawable.h71 GLXPbuffer xid; /* our pixmap */
108 struct apple_glx_pixmap pixmap; member in union:apple_glx_drawable::__anon14280
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,
H A Dglx_empty.c157 Pixmap pixmap, Colormap cmap)
161 (void) pixmap;
156 glXCreateGLXPixmapMESA(Display * dpy, XVisualInfo * visual, Pixmap pixmap, Colormap cmap) argument
/external/chromium_org/ui/gfx/
H A Dgpu_memory_buffer.h63 XID pixmap; member in struct:gfx::GpuMemoryBufferHandle
/external/chromium_org/ui/ozone/gpu/
H A Dgpu_memory_buffer_factory_ozone_native_buffer.cc19 bool Initialize(scoped_refptr<NativePixmap> pixmap) { argument
21 if (!Initialize(EGL_NATIVE_PIXMAP_KHR, pixmap->GetEGLClientBuffer(), attrs))
23 pixmap_ = pixmap;
74 scoped_refptr<NativePixmap> pixmap = local
77 if (!pixmap.get()) {
78 LOG(ERROR) << "Failed to create pixmap " << size.width() << "x"
83 native_pixmap_map_[GetIndex(id)] = pixmap;
/external/mesa3d/src/glx/apple/
H A Dapple_glx_pixmap.c61 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, argument
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);
188 apple_glx_pixmap_query(GLXPixmap pixmap, in argument
225 apple_glx_pixmap_destroy(Display * dpy, GLXPixmap pixmap) argument
[all...]
H A Dapple_glx_drawable.h71 GLXPbuffer xid; /* our pixmap */
108 struct apple_glx_pixmap pixmap; member in union:apple_glx_drawable::__anon27691
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,
H A Dglx_empty.c157 Pixmap pixmap, Colormap cmap)
161 (void) pixmap;
156 glXCreateGLXPixmapMESA(Display * dpy, XVisualInfo * visual, Pixmap pixmap, Colormap cmap) argument
/external/chromium_org/ui/gfx/x/
H A Dx11_types.cc34 XID pixmap, void* pixmap_gc,
39 pixmap, pixmap_gc,
66 XID pixmap, void* pixmap_gc,
101 XPutImage(display, pixmap, static_cast<GC>(pixmap_gc), &image,
128 XPutImage(display, pixmap, static_cast<GC>(pixmap_gc), &image,
158 XPutImage(display, pixmap, static_cast<GC>(pixmap_gc), &image,
32 PutARGBImage(XDisplay* display, void* visual, int depth, XID pixmap, void* pixmap_gc, const uint8* data, int width, int height) argument
64 PutARGBImage(XDisplay* display, void* visual, int depth, XID pixmap, void* pixmap_gc, const uint8* data, int data_width, int data_height, int src_x, int src_y, int dst_x, int dst_y, int copy_width, int copy_height) argument
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/glx/xlib/
H A Dglx_usefont.c116 * 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
279 pixmap
[all...]
/external/chromium_org/third_party/mesa/src/src/glx/
H A Dxfont.c122 * 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
282 pixmap
[all...]
H A Dglx_pbuffer.c494 Pixmap pixmap; local
557 pixmap = XCreatePixmap(dpy, RootWindow(dpy, config->screen),
560 if (!CreateDRIDrawable(dpy, config, pixmap, id, attrib_list, i)) {
562 XFreePixmap(dpy, pixmap);
866 glXCreatePixmap(Display * dpy, GLXFBConfig config, Pixmap pixmap, argument
874 if (apple_glx_pixmap_create(dpy, modes->screen, pixmap, modes))
877 return pixmap;
880 (Drawable) pixmap, attrib_list, X_GLXCreatePixmap);
921 glXDestroyPixmap(Display * dpy, GLXPixmap pixmap) argument
925 if (apple_glx_pixmap_destroy(dpy, pixmap))
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/
H A Dxfonts.c123 * 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
285 pixmap
[all...]
/external/chromium_org/ui/gl/
H A Dgl_image_glx.cc66 bool ActualPixmapGeometry(XID pixmap, gfx::Size* size, unsigned* depth) { argument
75 pixmap,
92 unsigned ActualPixmapDepth(XID pixmap) { argument
94 if (!ActualPixmapGeometry(pixmap, NULL, &depth))
100 gfx::Size ActualPixmapSize(XID pixmap) { argument
102 if (!ActualPixmapGeometry(pixmap, &size, NULL))
118 bool GLImageGLX::Initialize(XID pixmap) { argument
129 DCHECK_EQ(PixmapDepth(internalformat_), ActualPixmapDepth(pixmap));
130 DCHECK_EQ(size_.ToString(), ActualPixmapSize(pixmap).ToString());
156 gfx::GetXDisplay(), *config.get(), pixmap, pixmap_attrib
[all...]
/external/chromium_org/ui/ozone/platform/dri/
H A Dgbm_surface_factory.cc197 scoped_refptr<GbmPixmap> pixmap = static_cast<GbmPixmap*>(buffer.get()); local
198 if (!pixmap.get()) {
207 hdc->QueueOverlayPlane(OverlayPlane(pixmap->buffer(),
/external/deqp/framework/egl/
H A DegluUtil.cpp255 //! Create EGL pixmap surface using eglCreatePixmapSurface() or eglCreatePlatformPixmapSurfaceEXT()
256 EGLSurface createPixmapSurface (NativeDisplay& nativeDisplay, NativePixmap& pixmap, EGLDisplay display, EGLConfig config, const EGLAttrib* attribList) argument
258 const bool supportsLegacyCreate = (pixmap.getCapabilities() & NativePixmap::CAPABILITY_CREATE_SURFACE_LEGACY) != 0;
259 const bool supportsPlatformCreate = (pixmap.getCapabilities() & NativePixmap::CAPABILITY_CREATE_SURFACE_PLATFORM) != 0;
280 surface = createPlatformPixmapSurface(display, config, pixmap.getPlatformNative(), &legacyAttribs[0]);
287 surface = eglCreatePixmapSurface(display, config, pixmap.getLegacyNative(), &legacyAttribs[0]);
292 throw tcu::InternalError("No supported way to create EGL pixmap surface", DE_NULL, __FILE__, __LINE__);
/external/deqp/modules/egl/
H A DteglCreateSurfaceTests.cpp89 EGLSurface createPixmapSurface (EGLDisplay display, EGLConfig config, eglu::NativeDisplay& nativeDisplay, eglu::NativePixmap& pixmap, bool useLegacyCreate) argument
95 surface = eglCreatePixmapSurface(display, config, pixmap.getLegacyNative(), DE_NULL);
105 surface = createPlatformPixmapSurfaceEXT(display, config, pixmap.getPlatformNative(), DE_NULL);
187 throw tcu::NotSupportedError("Native pixmap doesn't support legacy eglCreatePixmapSurface()", "", __FILE__, __LINE__);
192 throw tcu::NotSupportedError("Native pixmap doesn't support eglCreatePlatformPixmapSurfaceEXT()", "", __FILE__, __LINE__);
195 log << TestLog::Message << "Creating pixmap surface with config ID " << id << TestLog::EndMessage;
201 de::UniquePtr<eglu::NativePixmap> pixmap (m_eglTestCtx.createNativePixmap(display.getEGLDisplay(), config, DE_NULL, width, height));
202 tcu::egl::PixmapSurface surface (display, createPixmapSurface(display.getEGLDisplay(), config, m_eglTestCtx.getNativeDisplay(), *pixmap, m_useLegacyCreate));
303 tcu::TestCaseGroup* pixmapGroup = new tcu::TestCaseGroup(m_testCtx, "pixmap", "Pixmap surfaces");
H A DteglMakeCurrentPerfTests.cpp288 eglu::NativePixmap* pixmap = DE_NULL; local
293 pixmap = m_eglTestCtx.createNativePixmap(m_eglTestCtx.getDisplay().getEGLDisplay(), m_config, DE_NULL, width, height);
294 surface = eglu::createPixmapSurface(m_eglTestCtx.getNativeDisplay(), *pixmap, m_eglTestCtx.getDisplay().getEGLDisplay(), m_config, DE_NULL);
301 delete pixmap;
305 m_pixmaps.push_back(pixmap);
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
H A Dglx_usefont.c116 * 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
279 pixmap
[all...]
/external/mesa3d/src/glx/
H A Dxfont.c122 * 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
282 pixmap
[all...]
/external/mesa3d/src/mesa/drivers/x11/
H A Dxfonts.c123 * 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
285 pixmap
[all...]
/external/chromium_org/gpu/gles2_conform_support/egl/
H A Degl.cc226 EGLNativePixmapType pixmap,
224 eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint* attrib_list) argument

Completed in 4362 milliseconds

123