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

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

Issue 1375663002: Show GpuMemoryBuffer feature in chrome://gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cl formatted and removed "Formats"/"Native usage support" value pair 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
« no previous file with comments | « no previous file | content/browser/gpu/browser_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/browser_gpu_memory_buffer_manager.h
diff --git a/content/browser/gpu/browser_gpu_memory_buffer_manager.h b/content/browser/gpu/browser_gpu_memory_buffer_manager.h
index 05ae443d555b6cb8bf7cb0b041ecfa3967f3dede..9cb9c43b1d42ec9ecbd648573b6bc1ee7cbdabd1 100644
--- a/content/browser/gpu/browser_gpu_memory_buffer_manager.h
+++ b/content/browser/gpu/browser_gpu_memory_buffer_manager.h
@@ -93,6 +93,9 @@ class CONTENT_EXPORT BrowserGpuMemoryBufferManager
uint32 sync_point);
void ProcessRemoved(base::ProcessHandle process_handle, int client_id);
+ bool IsNativeGpuMemoryBufferConfiguration(gfx::BufferFormat format,
+ gfx::BufferUsage usage) const;
+
private:
struct BufferInfo {
BufferInfo()
@@ -135,9 +138,6 @@ class CONTENT_EXPORT BrowserGpuMemoryBufferManager
gfx::BufferUsage usage,
int32 surface_id);
- bool IsNativeGpuMemoryBufferConfiguration(gfx::BufferFormat format,
- gfx::BufferUsage usage) const;
-
// Functions that handle synchronous buffer creation requests.
void HandleCreateGpuMemoryBufferOnIO(CreateGpuMemoryBufferRequest* request);
void HandleCreateGpuMemoryBufferFromHandleOnIO(
« no previous file with comments | « no previous file | content/browser/gpu/browser_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698