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

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: Clarifying a comment 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
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() {

Powered by Google App Engine
This is Rietveld 408576698