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

Unified Diff: content/browser/gpu/browser_gpu_channel_host_factory.h

Issue 1139903005: Add PERSISTENT_MAP usage for GpuMemoryBuffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: persistentmap: . Created 5 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: content/browser/gpu/browser_gpu_channel_host_factory.h
diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.h b/content/browser/gpu/browser_gpu_channel_host_factory.h
index b4df563fc02b9796cc163fd743350336cd784967..c79133db2ce374e27ed51c7e8832cf869d828eb7 100644
--- a/content/browser/gpu/browser_gpu_channel_host_factory.h
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.h
@@ -29,7 +29,8 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory
gfx::GpuMemoryBuffer::Usage usage);
static bool IsGpuMemoryBufferFactoryUsageEnabled(
gfx::GpuMemoryBuffer::Usage usage);
- static uint32 GetImageTextureTarget();
+ static uint32 GetImageTextureTarget(gfx::GpuMemoryBuffer::Format format,
+ gfx::GpuMemoryBuffer::Usage usage);
// Overridden from GpuChannelHostFactory:
bool IsMainThread() override;
@@ -76,6 +77,11 @@ class CONTENT_EXPORT BrowserGpuChannelHostFactory
BrowserGpuChannelHostFactory();
~BrowserGpuChannelHostFactory() override;
+ static bool IsGpuMemoryBufferConfigurationSupportedInternal(
reveman 2015/05/20 19:25:59 nit: IsGpuMemoryBufferFactoryConfigurationSupporte
danakj 2015/05/20 20:50:43 Done.
+ gfx::GpuMemoryBuffer::Format format,
+ gfx::GpuMemoryBuffer::Usage usage,
+ gfx::GpuMemoryBufferType type);
+
void GpuChannelEstablished();
void CreateViewCommandBufferOnIO(
CreateRequest* request,

Powered by Google App Engine
This is Rietveld 408576698