Searched refs:glx_pixmap_ (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/ui/gl/
H A Dgl_image_glx.cc111 : glx_pixmap_(0), size_(size), internalformat_(internalformat) {
115 DCHECK_EQ(0u, glx_pixmap_);
155 glx_pixmap_ = glXCreatePixmap(
157 if (!glx_pixmap_) {
166 if (glx_pixmap_) {
167 glXDestroyGLXPixmap(gfx::GetXDisplay(), glx_pixmap_); local
168 glx_pixmap_ = 0;
175 if (!glx_pixmap_)
182 glXBindTexImageEXT(gfx::GetXDisplay(), glx_pixmap_, GLX_FRONT_LEFT_EXT, 0);
187 DCHECK_NE(0u, glx_pixmap_);
190 glXReleaseTexImageEXT(gfx::GetXDisplay(), glx_pixmap_, GLX_FRONT_LEFT_EXT); local
[all...]
H A Dgl_image_glx.h41 XID glx_pixmap_; member in class:gfx::GLImageGLX
/external/chromium_org/content/common/gpu/media/
H A Dvaapi_video_decode_accelerator.cc119 GLXPixmap glx_pixmap_; member in class:content::VaapiVideoDecodeAccelerator::TFPPicture
136 glx_pixmap_(0) {
182 glx_pixmap_ = glXCreatePixmap(x_display_, fb_config, x_pixmap_, pixmap_attr);
183 if (!glx_pixmap_) {
195 if (glx_pixmap_ && make_context_current_.Run()) {
196 glXReleaseTexImageEXT(x_display_, glx_pixmap_, GLX_FRONT_LEFT_EXT);
197 glXDestroyPixmap(x_display_, glx_pixmap_);
208 DCHECK(glx_pixmap_);
213 glXBindTexImageEXT(x_display_, glx_pixmap_, GLX_FRONT_LEFT_EXT, NULL);

Completed in 385 milliseconds