Chromium Code Reviews| Index: content/common/gpu/gpu_memory_manager.h |
| diff --git a/content/common/gpu/gpu_memory_manager.h b/content/common/gpu/gpu_memory_manager.h |
| index 895f7b9b3c8f6a595131421ad455bc034d3c003e..a75984b59a246cf40f752f3f9916ed94227472ed 100644 |
| --- a/content/common/gpu/gpu_memory_manager.h |
| +++ b/content/common/gpu/gpu_memory_manager.h |
| @@ -28,7 +28,11 @@ class GpuMemoryTrackingGroup; |
| class CONTENT_EXPORT GpuMemoryManager : |
| public base::SupportsWeakPtr<GpuMemoryManager> { |
| public: |
| +#if defined(OS_ANDROID) |
| enum { kDefaultMaxSurfacesWithFrontbufferSoftLimit = 8 }; |
|
epenner
2013/02/12 22:28:19
This looks reversed.
piman
2013/02/12 22:31:16
It does...
|
| +#else |
| + enum { kDefaultMaxSurfacesWithFrontbufferSoftLimit = 1 }; |
| +#endif |
| enum ScheduleManageTime { |
| // Add a call to Manage to the thread's message loop immediately. |
| kScheduleManageNow, |