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

Side by Side Diff: gpu/gles2_conform_support/egl/display.h

Issue 342483007: Removed ManagedMemoryStats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gpu/command_buffer/tests/gl_manager.cc ('k') | gpu/gles2_conform_support/egl/display.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ 5 #ifndef GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_
6 #define GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ 6 #define GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_
7 7
8 #include <EGL/egl.h> 8 #include <EGL/egl.h>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 unsigned internalformat, 81 unsigned internalformat,
82 unsigned usage, 82 unsigned usage,
83 int32* id) OVERRIDE; 83 int32* id) OVERRIDE;
84 virtual void DestroyGpuMemoryBuffer(int32 id) OVERRIDE; 84 virtual void DestroyGpuMemoryBuffer(int32 id) OVERRIDE;
85 virtual uint32 InsertSyncPoint() OVERRIDE; 85 virtual uint32 InsertSyncPoint() OVERRIDE;
86 virtual void SignalSyncPoint(uint32 sync_point, 86 virtual void SignalSyncPoint(uint32 sync_point,
87 const base::Closure& callback) OVERRIDE; 87 const base::Closure& callback) OVERRIDE;
88 virtual void SignalQuery(uint32 query, 88 virtual void SignalQuery(uint32 query,
89 const base::Closure& callback) OVERRIDE; 89 const base::Closure& callback) OVERRIDE;
90 virtual void SetSurfaceVisible(bool visible) OVERRIDE; 90 virtual void SetSurfaceVisible(bool visible) OVERRIDE;
91 virtual void SendManagedMemoryStats(
92 const gpu::ManagedMemoryStats& stats) OVERRIDE;
93 virtual void Echo(const base::Closure& callback) OVERRIDE; 91 virtual void Echo(const base::Closure& callback) OVERRIDE;
94 virtual uint32 CreateStreamTexture(uint32 texture_id) OVERRIDE; 92 virtual uint32 CreateStreamTexture(uint32 texture_id) OVERRIDE;
95 93
96 private: 94 private:
97 EGLNativeDisplayType display_id_; 95 EGLNativeDisplayType display_id_;
98 96
99 bool is_initialized_; 97 bool is_initialized_;
100 bool create_offscreen_; 98 bool create_offscreen_;
101 int create_offscreen_width_; 99 int create_offscreen_width_;
102 int create_offscreen_height_; 100 int create_offscreen_height_;
(...skipping 12 matching lines...) Expand all
115 scoped_ptr<Config> config_; 113 scoped_ptr<Config> config_;
116 scoped_ptr<Surface> surface_; 114 scoped_ptr<Surface> surface_;
117 scoped_ptr<gpu::gles2::GLES2Implementation> context_; 115 scoped_ptr<gpu::gles2::GLES2Implementation> context_;
118 116
119 DISALLOW_COPY_AND_ASSIGN(Display); 117 DISALLOW_COPY_AND_ASSIGN(Display);
120 }; 118 };
121 119
122 } // namespace egl 120 } // namespace egl
123 121
124 #endif // GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_ 122 #endif // GPU_GLES2_CONFORM_SUPPORT_EGL_DISPLAY_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/tests/gl_manager.cc ('k') | gpu/gles2_conform_support/egl/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698