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

Unified Diff: ui/gl/gl_image_stub.cc

Issue 536353002: gpu: Add CopyTexImage function to GLImage API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: keep support for binding images to multiple textures Created 6 years, 3 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: ui/gl/gl_image_stub.cc
diff --git a/ui/gl/gl_image_stub.cc b/ui/gl/gl_image_stub.cc
index 980bff4d4634436c6ed003310163b32a41a827f9..1c8e469745f984a75206d220c4e691b6b925dec0 100644
--- a/ui/gl/gl_image_stub.cc
+++ b/ui/gl/gl_image_stub.cc
@@ -14,6 +14,8 @@ gfx::Size GLImageStub::GetSize() { return gfx::Size(1, 1); }
bool GLImageStub::BindTexImage(unsigned target) { return true; }
+bool GLImageStub::CopyTexImage(unsigned target) { return true; }
+
bool GLImageStub::ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
int z_order,
OverlayTransform transform,

Powered by Google App Engine
This is Rietveld 408576698