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

Unified Diff: ui/gl/android/surface_texture.h

Issue 2562733002: Implement our own GLThread for VR Shell. (Closed)
Patch Set: sigh Created 4 years 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/gl/android/surface_texture.h
diff --git a/ui/gl/android/surface_texture.h b/ui/gl/android/surface_texture.h
index 7d1f8527abfdbfbebfdf3c90bafda567c4993b87..3f0d8e1dbb3b7d45680376b8bd46412e2254981d 100644
--- a/ui/gl/android/surface_texture.h
+++ b/ui/gl/android/surface_texture.h
@@ -62,6 +62,9 @@ class GL_EXPORT SurfaceTexture
// the android API, because scoped_refptr<> calls that quite a bit.
void ReleaseSurfaceTexture();
+ // Set the default buffer size for the surface texture.
+ void SetDefaultBufferSize(int width, int height);
+
const base::android::JavaRef<jobject>& j_surface_texture() const {
return j_surface_texture_;
}
« no previous file with comments | « ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ('k') | ui/gl/android/surface_texture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698