| 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 "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 return true; | 189 return true; |
| 190 } | 190 } |
| 191 | 191 |
| 192 void GLImageGLX::ReleaseTexImage(unsigned target) { | 192 void GLImageGLX::ReleaseTexImage(unsigned target) { |
| 193 DCHECK_NE(0u, glx_pixmap_); | 193 DCHECK_NE(0u, glx_pixmap_); |
| 194 DCHECK_EQ(static_cast<GLenum>(GL_TEXTURE_2D), target); | 194 DCHECK_EQ(static_cast<GLenum>(GL_TEXTURE_2D), target); |
| 195 | 195 |
| 196 glXReleaseTexImageEXT(gfx::GetXDisplay(), glx_pixmap_, GLX_FRONT_LEFT_EXT); | 196 glXReleaseTexImageEXT(gfx::GetXDisplay(), glx_pixmap_, GLX_FRONT_LEFT_EXT); |
| 197 } | 197 } |
| 198 | 198 |
| 199 bool GLImageGLX::CopyTexImage(unsigned target) { | 199 bool GLImageGLX::CopyTexSubImage(unsigned target, int xoffset, int yoffset) { |
| 200 return false; | 200 return false; |
| 201 } | 201 } |
| 202 | 202 |
| 203 bool GLImageGLX::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, | 203 bool GLImageGLX::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, |
| 204 int z_order, | 204 int z_order, |
| 205 OverlayTransform transform, | 205 OverlayTransform transform, |
| 206 const Rect& bounds_rect, | 206 const Rect& bounds_rect, |
| 207 const RectF& crop_rect) { | 207 const RectF& crop_rect) { |
| 208 return false; | 208 return false; |
| 209 } | 209 } |
| 210 | 210 |
| 211 } // namespace gfx | 211 } // namespace gfx |
| OLD | NEW |