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

Side by Side Diff: ui/gl/gl_image_egl.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_egl.h ('k') | ui/gl/gl_image_glx.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "ui/gl/gl_image_egl.h" 5 #include "ui/gl/gl_image_egl.h"
6 6
7 #include "ui/gl/egl_util.h" 7 #include "ui/gl/egl_util.h"
8 #include "ui/gl/gl_fence.h" 8 #include "ui/gl/gl_fence.h"
9 #include "ui/gl/gl_surface_egl.h" 9 #include "ui/gl/gl_surface_egl.h"
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 bool GLImageEGL::CopyTexImage(unsigned target) { 71 bool GLImageEGL::CopyTexImage(unsigned target) {
72 return false; 72 return false;
73 } 73 }
74 74
75 bool GLImageEGL::CopyTexSubImage(unsigned target, 75 bool GLImageEGL::CopyTexSubImage(unsigned target,
76 const gfx::Point& offset, 76 const gfx::Point& offset,
77 const gfx::Rect& rect) { 77 const gfx::Rect& rect) {
78 return false; 78 return false;
79 } 79 }
80 80
81 bool GLImageEGL::CopySubImageData(unsigned texture_id,
82 const gfx::Point& offset,
83 const gfx::Rect& rect,
84 GLFence* in_fence,
85 GLFence* out_fence) {
86 return false;
87 }
88
81 bool GLImageEGL::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, 89 bool GLImageEGL::ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
82 int z_order, 90 int z_order,
83 gfx::OverlayTransform transform, 91 gfx::OverlayTransform transform,
84 const gfx::Rect& bounds_rect, 92 const gfx::Rect& bounds_rect,
85 const gfx::RectF& crop_rect) { 93 const gfx::RectF& crop_rect) {
86 return false; 94 return false;
87 } 95 }
88 96
89 } // namespace gl 97 } // namespace gl
OLDNEW
« no previous file with comments | « ui/gl/gl_image_egl.h ('k') | ui/gl/gl_image_glx.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698