Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(408)

Side by Side Diff: ui/gl/gl_image_glx.cc

Issue 2443023002: gpu: Add CHROMIUM_copy_image extension.
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gl/gl_image_glx.h ('k') | ui/gl/gl_image_io_surface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <memory> 9 #include <memory>
10 10
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 bool GLImageGLX::CopyTexImage(unsigned target) { 187 bool GLImageGLX::CopyTexImage(unsigned target) {
188 return false; 188 return false;
189 } 189 }
190 190
191 bool GLImageGLX::CopyTexSubImage(unsigned target, 191 bool GLImageGLX::CopyTexSubImage(unsigned target,
192 const gfx::Point& offset, 192 const gfx::Point& offset,
193 const gfx::Rect& rect) { 193 const gfx::Rect& rect) {
194 return false; 194 return false;
195 } 195 }
196 196
197 bool GLImageGLX::CopySubImageData(unsigned texture_id,
198 const gfx::Point& offset,
199 const gfx::Rect& rect,
200 GLFence* in_fence,
201 GLFence* out_fence) {
202 return false;
203 }
204
197 bool GLImageGLX::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, 205 bool GLImageGLX::ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
198 int z_order, 206 int z_order,
199 gfx::OverlayTransform transform, 207 gfx::OverlayTransform transform,
200 const gfx::Rect& bounds_rect, 208 const gfx::Rect& bounds_rect,
201 const gfx::RectF& crop_rect) { 209 const gfx::RectF& crop_rect) {
202 return false; 210 return false;
203 } 211 }
204 212
205 void GLImageGLX::OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, 213 void GLImageGLX::OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd,
206 uint64_t process_tracing_id, 214 uint64_t process_tracing_id,
207 const std::string& dump_name) { 215 const std::string& dump_name) {
208 // TODO(ericrk): Implement GLImage OnMemoryDump. crbug.com/514914 216 // TODO(ericrk): Implement GLImage OnMemoryDump. crbug.com/514914
209 } 217 }
210 218
211 } // namespace gl 219 } // namespace gl
OLDNEW
« no previous file with comments | « ui/gl/gl_image_glx.h ('k') | ui/gl/gl_image_io_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698