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

Unified Diff: android_webview/browser/render_thread_manager.h

Issue 1904453004: Transfer DrawGLFunctor ownership from AwContents to AwGLFunctor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: android_webview/browser/render_thread_manager.h
diff --git a/android_webview/browser/render_thread_manager.h b/android_webview/browser/render_thread_manager.h
index c450f78cd27881c834155279f9a9cd125604981c..84c148e07b7e3dc1103ec9b408acc62eaf7744b8 100644
--- a/android_webview/browser/render_thread_manager.h
+++ b/android_webview/browser/render_thread_manager.h
@@ -22,7 +22,7 @@ struct AwDrawGLInfo;
namespace android_webview {
namespace internal {
-class RequestDrawGLTracker;
+class RequestInvokeGLTracker;
}
class RenderThreadManagerClient;
@@ -48,7 +48,7 @@ class RenderThreadManager {
~RenderThreadManager();
// This function can be called from any thread.
- void ClientRequestDrawGL(bool for_idle);
+ void ClientRequestInvokeGL(bool for_idle);
// UI thread methods.
void SetScrollOffsetOnUI(gfx::Vector2d scroll_offset);
@@ -72,7 +72,7 @@ class RenderThreadManager {
uint32_t output_surface_id);
private:
- friend class internal::RequestDrawGLTracker;
+ friend class internal::RequestInvokeGLTracker;
class InsideHardwareReleaseReset {
public:
explicit InsideHardwareReleaseReset(
@@ -84,12 +84,12 @@ class RenderThreadManager {
};
// RT thread method.
- void DidDrawGLProcess();
+ void DidInvokeGLProcess();
bool HasFrameForHardwareRendererOnRT() const;
// UI thread methods.
- void ResetRequestDrawGLCallback();
- void ClientRequestDrawGLOnUI();
+ void ResetRequestInvokeGLCallback();
+ void ClientRequestInvokeGLOnUI();
void UpdateParentDrawConstraintsOnUI();
bool IsInsideHardwareRelease() const;
void SetInsideHardwareRelease(bool inside);
« no previous file with comments | « android_webview/browser/deferred_gpu_command_service.cc ('k') | android_webview/browser/render_thread_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698