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

Unified Diff: gpu/command_buffer/service/texture_definition.cc

Issue 2443023002: gpu: Add CHROMIUM_copy_image extension.
Patch Set: rebase Created 4 years, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/texture_definition.cc
diff --git a/gpu/command_buffer/service/texture_definition.cc b/gpu/command_buffer/service/texture_definition.cc
index da06b28318e4d2213bd48b252161aa26df575707..c662dda2b874ec43aef8c38a6a32adbdd2fa18a2 100644
--- a/gpu/command_buffer/service/texture_definition.cc
+++ b/gpu/command_buffer/service/texture_definition.cc
@@ -44,6 +44,11 @@ class GLImageSync : public gl::GLImage {
bool CopyTexSubImage(unsigned target,
const gfx::Point& offset,
const gfx::Rect& rect) override;
+ bool CopySubImageData(unsigned texture_id,
+ const gfx::Point& offset,
+ const gfx::Rect& rect,
+ gl::GLFence* in_fence,
+ gl::GLFence* out_fence) override;
bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
int z_order,
gfx::OverlayTransform transform,
@@ -106,6 +111,14 @@ bool GLImageSync::CopyTexSubImage(unsigned target,
return false;
}
+bool GLImageSync::CopySubImageData(unsigned texture_id,
+ const gfx::Point& offset,
+ const gfx::Rect& rect,
+ gl::GLFence* in_fence,
+ gl::GLFence* out_fence) {
+ return false;
+}
+
bool GLImageSync::ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
int z_order,
gfx::OverlayTransform transform,

Powered by Google App Engine
This is Rietveld 408576698