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

Unified Diff: ui/gl/gl_image_stub.cc

Issue 977853002: Reland of Revert of gpu: introduce glCopySubTextureCHROMIUM (patchset #1 id:1 of https://codereview… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Apply image optimization to CopySubTexture. move glValidateProgram Created 5 years, 10 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 1c8e469745f984a75206d220c4e691b6b925dec0..bc3fc6c1ae90cade5cb25afdc5715fe5167c4e39 100644
--- a/ui/gl/gl_image_stub.cc
+++ b/ui/gl/gl_image_stub.cc
@@ -14,7 +14,9 @@ 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::CopyTexSubImage(unsigned target, int xoffset, int yoffset) {
+ return false;
+}
bool GLImageStub::ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
int z_order,
« ui/gl/gl_image.h ('K') | « ui/gl/gl_image_stub.h ('k') | ui/gl/gl_image_surface_texture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698