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

Side by Side Diff: ui/gl/gl_image_surface_texture.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_surface_texture.h ('k') | ui/gl/gl_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_surface_texture.h" 5 #include "ui/gl/gl_image_surface_texture.h"
6 6
7 #include "base/trace_event/trace_event.h" 7 #include "base/trace_event/trace_event.h"
8 #include "ui/gl/android/surface_texture.h" 8 #include "ui/gl/android/surface_texture.h"
9 9
10 namespace gl { 10 namespace gl {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 bool GLImageSurfaceTexture::CopyTexImage(unsigned target) { 82 bool GLImageSurfaceTexture::CopyTexImage(unsigned target) {
83 return false; 83 return false;
84 } 84 }
85 85
86 bool GLImageSurfaceTexture::CopyTexSubImage(unsigned target, 86 bool GLImageSurfaceTexture::CopyTexSubImage(unsigned target,
87 const gfx::Point& offset, 87 const gfx::Point& offset,
88 const gfx::Rect& rect) { 88 const gfx::Rect& rect) {
89 return false; 89 return false;
90 } 90 }
91 91
92 bool GLImageSurfaceTexture::CopySubImageData(unsigned texture_id,
93 const gfx::Point& offset,
94 const gfx::Rect& rect,
95 GLFence* in_fence,
96 GLFence* out_fence) {
97 return false;
98 }
99
92 bool GLImageSurfaceTexture::ScheduleOverlayPlane( 100 bool GLImageSurfaceTexture::ScheduleOverlayPlane(
93 gfx::AcceleratedWidget widget, 101 gfx::AcceleratedWidget widget,
94 int z_order, 102 int z_order,
95 gfx::OverlayTransform transform, 103 gfx::OverlayTransform transform,
96 const gfx::Rect& bounds_rect, 104 const gfx::Rect& bounds_rect,
97 const gfx::RectF& crop_rect) { 105 const gfx::RectF& crop_rect) {
98 return false; 106 return false;
99 } 107 }
100 108
101 void GLImageSurfaceTexture::OnMemoryDump( 109 void GLImageSurfaceTexture::OnMemoryDump(
102 base::trace_event::ProcessMemoryDump* pmd, 110 base::trace_event::ProcessMemoryDump* pmd,
103 uint64_t process_tracing_id, 111 uint64_t process_tracing_id,
104 const std::string& dump_name) { 112 const std::string& dump_name) {
105 // TODO(ericrk): Add OnMemoryDump for GLImages. crbug.com/514914 113 // TODO(ericrk): Add OnMemoryDump for GLImages. crbug.com/514914
106 } 114 }
107 115
108 } // namespace gl 116 } // namespace gl
OLDNEW
« no previous file with comments | « ui/gl/gl_image_surface_texture.h ('k') | ui/gl/gl_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698