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

Side by Side Diff: third_party/WebKit/Source/modules/vr/VRDisplay.h

Issue 2508703002: WebVR: Use content CVC size for compositor rendering (Closed)
Patch Set: Rebase, use more appropriate crbug/655722 for TODOS Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « device/vr/android/gvr/gvr_device.cc ('k') | third_party/WebKit/Source/modules/vr/VRDisplay.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef VRDisplay_h 5 #ifndef VRDisplay_h
6 #define VRDisplay_h 6 #define VRDisplay_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "core/dom/Document.h" 9 #include "core/dom/Document.h"
10 #include "core/dom/FrameRequestCallback.h" 10 #include "core/dom/FrameRequestCallback.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 Member<VREyeParameters> m_eyeParametersLeft; 130 Member<VREyeParameters> m_eyeParametersLeft;
131 Member<VREyeParameters> m_eyeParametersRight; 131 Member<VREyeParameters> m_eyeParametersRight;
132 device::mojom::blink::VRPosePtr m_framePose; 132 device::mojom::blink::VRPosePtr m_framePose;
133 VRLayer m_layer; 133 VRLayer m_layer;
134 double m_depthNear; 134 double m_depthNear;
135 double m_depthFar; 135 double m_depthFar;
136 136
137 void dispose(); 137 void dispose();
138 138
139 Timer<VRDisplay> m_fullscreenCheckTimer; 139 Timer<VRDisplay> m_fullscreenCheckTimer;
140 String m_fullscreenOrigWidth;
141 String m_fullscreenOrigHeight;
140 gpu::gles2::GLES2Interface* m_contextGL; 142 gpu::gles2::GLES2Interface* m_contextGL;
141 Member<WebGLRenderingContextBase> m_renderingContext; 143 Member<WebGLRenderingContextBase> m_renderingContext;
142 144
143 Member<ScriptedAnimationController> m_scriptedAnimationController; 145 Member<ScriptedAnimationController> m_scriptedAnimationController;
144 bool m_animationCallbackRequested; 146 bool m_animationCallbackRequested;
145 bool m_inAnimationFrame; 147 bool m_inAnimationFrame;
146 bool m_displayBlurred; 148 bool m_displayBlurred;
147 149
148 device::mojom::blink::VRDisplayPtr m_display; 150 device::mojom::blink::VRDisplayPtr m_display;
149 151
(...skipping 17 matching lines...) Expand all
167 ServiceInactive = 11, 169 ServiceInactive = 11,
168 RequestDenied = 12, 170 RequestDenied = 12,
169 PresentationResultMax, // Must be last member of enum. 171 PresentationResultMax, // Must be last member of enum.
170 }; 172 };
171 173
172 void ReportPresentationResult(PresentationResult); 174 void ReportPresentationResult(PresentationResult);
173 175
174 } // namespace blink 176 } // namespace blink
175 177
176 #endif // VRDisplay_h 178 #endif // VRDisplay_h
OLDNEW
« no previous file with comments | « device/vr/android/gvr/gvr_device.cc ('k') | third_party/WebKit/Source/modules/vr/VRDisplay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698