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

Unified Diff: chrome/browser/android/vr_shell/ui_elements/textured_element.h

Issue 2969023003: [vr] Ensure that textured elements never draw with a dirty texture (Closed)
Patch Set: . Created 3 years, 5 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 | « no previous file | chrome/browser/android/vr_shell/ui_elements/textured_element.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/ui_elements/textured_element.h
diff --git a/chrome/browser/android/vr_shell/ui_elements/textured_element.h b/chrome/browser/android/vr_shell/ui_elements/textured_element.h
index f3e1411f5d7a4a7cc2c159b261738ff3308e24d2..3c009a029e67eafd7c1afdd97c170ba17ba1018e 100644
--- a/chrome/browser/android/vr_shell/ui_elements/textured_element.h
+++ b/chrome/browser/android/vr_shell/ui_elements/textured_element.h
@@ -30,6 +30,8 @@ class TexturedElement : public UiElement {
void Render(UiElementRenderer* renderer,
gfx::Transform view_proj_matrix) const final;
+ void OnBeginFrame(const base::TimeTicks& begin_frame_time) override;
+
protected:
virtual UiTexture* GetTexture() const = 0;
virtual void UpdateTexture();
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/ui_elements/textured_element.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698