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

Unified Diff: gpu/command_buffer/client/gles2_implementation.cc

Issue 7890046: Command to mark surface inactive, so gpu process can release resources. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: updating with recent changes Created 9 years, 3 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: gpu/command_buffer/client/gles2_implementation.cc
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
index 29db8d33f11c0f952ab87f4c86fcc9733b999e72..1a6fa00a3ea784ddc3df479cf06dc08b7022c12b 100644
--- a/gpu/command_buffer/client/gles2_implementation.cc
+++ b/gpu/command_buffer/client/gles2_implementation.cc
@@ -2489,6 +2489,12 @@ void GLES2Implementation::ResizeCHROMIUM(GLuint width, GLuint height) {
helper_->ResizeCHROMIUM(width, height);
}
+void GLES2Implementation::SetSurfaceVisibleCHROMIUM(GLboolean visible) {
+ GPU_CLIENT_LOG("[" << this << "] glSetSurfaceVisibleCHROMIUM("
+ << GLES2Util::GetStringBool(visible) << ")");
+ helper_->SetSurfaceVisibleCHROMIUM(visible);
+}
+
const GLchar* GLES2Implementation::GetRequestableExtensionsCHROMIUM() {
GPU_CLIENT_LOG("[" << this << "] glGetRequestableExtensionsCHROMIUM()");
TRACE_EVENT0("gpu",

Powered by Google App Engine
This is Rietveld 408576698