| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 extern "C" { | 5 extern "C" { |
| 6 #include <X11/Xlib.h> | 6 #include <X11/Xlib.h> |
| 7 } | 7 } |
| 8 | 8 |
| 9 #include "ui/gl/gl_image_glx.h" | 9 #include "ui/gl/gl_image_glx.h" |
| 10 | 10 |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 return true; | 183 return true; |
| 184 } | 184 } |
| 185 | 185 |
| 186 void GLImageGLX::ReleaseTexImage(unsigned target) { | 186 void GLImageGLX::ReleaseTexImage(unsigned target) { |
| 187 DCHECK_NE(0u, glx_pixmap_); | 187 DCHECK_NE(0u, glx_pixmap_); |
| 188 DCHECK_EQ(static_cast<GLenum>(GL_TEXTURE_2D), target); | 188 DCHECK_EQ(static_cast<GLenum>(GL_TEXTURE_2D), target); |
| 189 | 189 |
| 190 glXReleaseTexImageEXT(gfx::GetXDisplay(), glx_pixmap_, GLX_FRONT_LEFT_EXT); | 190 glXReleaseTexImageEXT(gfx::GetXDisplay(), glx_pixmap_, GLX_FRONT_LEFT_EXT); |
| 191 } | 191 } |
| 192 | 192 |
| 193 bool GLImageGLX::CopyTexImage(unsigned target) { |
| 194 return false; |
| 195 } |
| 196 |
| 193 bool GLImageGLX::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, | 197 bool GLImageGLX::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, |
| 194 int z_order, | 198 int z_order, |
| 195 OverlayTransform transform, | 199 OverlayTransform transform, |
| 196 const Rect& bounds_rect, | 200 const Rect& bounds_rect, |
| 197 const RectF& crop_rect) { | 201 const RectF& crop_rect) { |
| 198 return false; | 202 return false; |
| 199 } | 203 } |
| 200 | 204 |
| 201 } // namespace gfx | 205 } // namespace gfx |
| OLD | NEW |