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

Unified Diff: cc/debug/fake_web_graphics_context_3d.h

Issue 14409006: cc: Changes to use GL API for GpuMemoryBuffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@glapi
Patch Set: Incorporate code reviews Created 7 years, 7 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: cc/debug/fake_web_graphics_context_3d.h
diff --git a/cc/debug/fake_web_graphics_context_3d.h b/cc/debug/fake_web_graphics_context_3d.h
index e9d46b2093b2cebfac34774c594495e569e6a9b4..1c5843a6b65b95dc57fc7700d4edf846345d2733 100644
--- a/cc/debug/fake_web_graphics_context_3d.h
+++ b/cc/debug/fake_web_graphics_context_3d.h
@@ -592,6 +592,23 @@ class CC_EXPORT FakeWebGraphicsContext3D
virtual void drawBuffersEXT(WebKit::WGC3Dsizei m,
const WebKit::WGC3Denum* bufs) {}
+ virtual void bindTexImage2DCHROMIUM(WebKit::WGC3Denum target,
+ WebKit::WGC3Dint image_id) {}
+
+ // GL_CHROMIUM_gpu_memory_buffer
+ virtual WebKit::WGC3Duint createImageCHROMIUM(
+ WebKit::WGC3Dsizei width,
+ WebKit::WGC3Dsizei height) { return 0; }
+ virtual void destroyImageCHROMIUM(WebKit::WGC3Duint image_id) {}
+ virtual void getImageParameterivCHROMIUM(
+ WebKit::WGC3Duint image_id,
+ WebKit::WGC3Denum pname,
+ WebKit::WGC3Dint* params) {}
+ virtual void* mapImageCHROMIUM(
+ WebKit::WGC3Duint image_id,
+ WebKit::WGC3Denum access) { return 0; }
+ virtual void unmapImageCHROMIUM(WebKit::WGC3Duint image_id) {}
+
private:
DISALLOW_COPY_AND_ASSIGN(FakeWebGraphicsContext3D);
};

Powered by Google App Engine
This is Rietveld 408576698