| Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
|
| diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
|
| index b88a8cdebca185fc7b95d8cdc8685e8238acdbf5..1ed9b871a9e50936faaea4432781c8338b0a211b 100644
|
| --- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
|
| +++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
|
| @@ -629,6 +629,10 @@ class WebGraphicsContext3DCommandBufferImpl
|
| WGC3Denum type,
|
| const void* pixels);
|
|
|
| + virtual void setLatencyInfoCHROMIUM(
|
| + const WebKit::WebLatencyInfo& latencyInfo);
|
| + virtual void setLatencyInfoCallbackCHROMIUM(
|
| + WebGraphicsLatencyInfoCallbackCHROMIUM* callback);
|
| protected:
|
| virtual GrGLInterface* onCreateGrGLInterface();
|
|
|
| @@ -704,6 +708,8 @@ class WebGraphicsContext3DCommandBufferImpl
|
| WebGraphicsMemoryAllocationChangedCallbackCHROMIUM* callback,
|
| const GpuMemoryAllocationForRenderer& allocation);
|
|
|
| + void OnSetLatencyInfo(const WebKit::WebLatencyInfoImpl& latency_info);
|
| +
|
| // Convert the gpu cutoff enum to the WebKit enum.
|
| static WebGraphicsMemoryAllocation::PriorityCutoff WebkitPriorityCutoff(
|
| GpuMemoryAllocationForRenderer::PriorityCutoff priorityCutoff);
|
| @@ -733,6 +739,9 @@ class WebGraphicsContext3DCommandBufferImpl
|
| WebGraphicsContext3D::WebGraphicsSwapBuffersCompleteCallbackCHROMIUM*
|
| swapbuffers_complete_callback_;
|
|
|
| + WebGraphicsContext3D::WebGraphicsLatencyInfoCallbackCHROMIUM*
|
| + latency_info_callback_;
|
| +
|
| WebKit::WebGraphicsContext3D::Attributes attributes_;
|
| gfx::GpuPreference gpu_preference_;
|
| int cached_width_, cached_height_;
|
|
|