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

Unified Diff: ui/gl/gl_image_shm.h

Issue 20017005: gpu: Refactor GpuMemoryBuffer framework for multi-process support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add GpuControl interface Created 7 years, 4 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_shm.h
diff --git a/ui/gl/gl_image_shm.h b/ui/gl/gl_image_shm.h
index 70233f9a3be9960f2ff3a6990a3a146316ba67dd..67a952d8ed453b559974db2aace6d6f053afe634 100644
--- a/ui/gl/gl_image_shm.h
+++ b/ui/gl/gl_image_shm.h
@@ -12,7 +12,7 @@ namespace gfx {
class GL_EXPORT GLImageShm : public GLImage {
public:
- explicit GLImageShm(gfx::Size size);
+ GLImageShm(const gfx::Size& size, unsigned internalformat);
piman 2013/08/13 00:38:24 nit: I think the consensus is to pass structs with
reveman 2013/08/13 01:48:26 Latest patch pass |size| by value.
bool Initialize(gfx::GpuMemoryBufferHandle buffer);
@@ -28,6 +28,7 @@ class GL_EXPORT GLImageShm : public GLImage {
private:
scoped_ptr<base::SharedMemory> shared_memory_;
gfx::Size size_;
+ unsigned internalformat_;
DISALLOW_COPY_AND_ASSIGN(GLImageShm);
};

Powered by Google App Engine
This is Rietveld 408576698