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

Unified Diff: ui/gl/gl_image_shared_memory.h

Issue 1417363006: ui: Add support for creating GLImage instances from shared memory pools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@usage-rename
Patch Set: windows build fix Created 5 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: ui/gl/gl_image_shared_memory.h
diff --git a/ui/gl/gl_image_shared_memory.h b/ui/gl/gl_image_shared_memory.h
index 2e6374b550b0f074bda6fd08409d355115a553d0..2e6be16ff540760fc1c344946751cbd3b9858151 100644
--- a/ui/gl/gl_image_shared_memory.h
+++ b/ui/gl/gl_image_shared_memory.h
@@ -22,7 +22,8 @@ class GL_EXPORT GLImageSharedMemory : public GLImageMemory {
bool Initialize(const base::SharedMemoryHandle& handle,
GenericSharedMemoryId shared_memory_id,
- BufferFormat format);
+ BufferFormat format,
+ off_t offset);
// Overridden from GLImage:
void Destroy(bool have_context) override;

Powered by Google App Engine
This is Rietveld 408576698