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

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: Cosmetic fixes 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..2147854f0144f6d462828476391db6dade2af118 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 imageId) {}
reveman 2013/05/20 23:16:01 nit: image_id
kaanb 2013/05/21 00:52:29 Done.
+ virtual void getImageParameterivCHROMIUM(
+ WebKit::WGC3Duint imageId,
reveman 2013/05/20 23:16:01 nit: image_id
kaanb 2013/05/21 00:52:29 Done.
+ WebKit::WGC3Denum pname,
+ WebKit::WGC3Dint* params) {}
+ virtual void* mapImageCHROMIUM(
+ WebKit::WGC3Duint imageId,
reveman 2013/05/20 23:16:01 nit: image_id
kaanb 2013/05/21 00:52:29 Done.
+ WebKit::WGC3Denum access) { return 0; }
+ virtual void unmapImageCHROMIUM(WebKit::WGC3Duint imageId) {}
reveman 2013/05/20 23:16:01 nit: image_id
kaanb 2013/05/21 00:52:29 Done.
+
private:
DISALLOW_COPY_AND_ASSIGN(FakeWebGraphicsContext3D);
};

Powered by Google App Engine
This is Rietveld 408576698