X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcontent%2Fcommon%2Fgpu%2Fgpu_memory_manager.h;h=8a166c2d06ab326040a8bd3d564a041cb9f5ac21;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=255c20bd29f8d168e27d48d7fd630ef46070697d;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/content/common/gpu/gpu_memory_manager.h b/src/content/common/gpu/gpu_memory_manager.h index 255c20b..8a166c2 100644 --- a/src/content/common/gpu/gpu_memory_manager.h +++ b/src/content/common/gpu/gpu_memory_manager.h @@ -64,6 +64,12 @@ class CONTENT_EXPORT GpuMemoryManager : uint64 GetClientMemoryUsage(const GpuMemoryManagerClient* client) const; + // The maximum and minimum amount of memory that a client may be assigned. + uint64 GetMaximumClientAllocation() const; + uint64 GetMinimumClientAllocation() const { + return bytes_minimum_per_client_; + } + private: friend class GpuMemoryManagerTest; friend class GpuMemoryTrackingGroup; @@ -145,11 +151,6 @@ class CONTENT_EXPORT GpuMemoryManager : // Maximum cap on total GPU memory, no matter how much the GPU reports. uint64 GetMaximumTotalGpuMemory() const; - // The maximum and minimum amount of memory that a client may be assigned. - uint64 GetMaximumClientAllocation() const; - uint64 GetMinimumClientAllocation() const { - return bytes_minimum_per_client_; - } // The default amount of memory that a client is assigned, if it has not // reported any memory usage stats yet. uint64 GetDefaultClientAllocation() const {