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

Unified Diff: ui/gfx/gl/gl_surface.cc

Issue 9192014: Replace WGC3D visibility extension with resource_usage extension. [Part 2 of 3] (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added image_transport_surface_win changes Created 8 years, 11 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 | « ui/gfx/gl/gl_surface.h ('k') | webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gl/gl_surface.cc
diff --git a/ui/gfx/gl/gl_surface.cc b/ui/gfx/gl/gl_surface.cc
index 43471857ded6dc4317a8dc59f98a67ae8ff83f0e..a9687de0561b74e431bdcbed27de063db5093733 100644
--- a/ui/gfx/gl/gl_surface.cc
+++ b/ui/gfx/gl/gl_surface.cc
@@ -109,7 +109,7 @@ bool GLSurface::OnMakeCurrent(GLContext* context) {
return true;
}
-void GLSurface::SetVisible(bool visible) {
+void GLSurface::SetResourceUsage(ResourceUsage resourceUsage) {
}
void* GLSurface::GetShareHandle() {
@@ -190,8 +190,8 @@ bool GLSurfaceAdapter::OnMakeCurrent(GLContext* context) {
return surface_->OnMakeCurrent(context);
}
-void GLSurfaceAdapter::SetVisible(bool visible) {
- surface_->SetVisible(visible);
+void GLSurfaceAdapter::SetResourceUsage(ResourceUsage resourceUsage) {
+ surface_->SetResourceUsage(resourceUsage);
}
void* GLSurfaceAdapter::GetShareHandle() {
« no previous file with comments | « ui/gfx/gl/gl_surface.h ('k') | webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698