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

Unified Diff: content/app/android/child_process_service.cc

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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 | « components/test/run_all_unittests.cc ('k') | content/browser/android/browser_surface_texture_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/android/child_process_service.cc
diff --git a/content/app/android/child_process_service.cc b/content/app/android/child_process_service.cc
index e44974535dd7fd920a9aa95584ce92bbc0f630dc..861b6d9a2e8136cf0e812e8d29a7ef8d2e4b5297 100644
--- a/content/app/android/child_process_service.cc
+++ b/content/app/android/child_process_service.cc
@@ -52,7 +52,7 @@ class SurfaceTextureManagerImpl : public gpu::SurfaceTextureManager,
// Overridden from SurfaceTextureManager:
void RegisterSurfaceTexture(int surface_texture_id,
int client_id,
- gfx::SurfaceTexture* surface_texture) override {
+ gl::SurfaceTexture* surface_texture) override {
JNIEnv* env = base::android::AttachCurrentThread();
Java_ChildProcessService_createSurfaceTextureSurface(
env,
@@ -70,7 +70,7 @@ class SurfaceTextureManagerImpl : public gpu::SurfaceTextureManager,
gfx::AcceleratedWidget AcquireNativeWidgetForSurfaceTexture(
int surface_texture_id) override {
JNIEnv* env = base::android::AttachCurrentThread();
- gfx::ScopedJavaSurface surface(
+ gl::ScopedJavaSurface surface(
Java_ChildProcessService_getSurfaceTextureSurface(env, service_.obj(),
surface_texture_id));
@@ -90,7 +90,7 @@ class SurfaceTextureManagerImpl : public gpu::SurfaceTextureManager,
// Overridden from SurfaceTexturePeer:
void EstablishSurfaceTexturePeer(
base::ProcessHandle pid,
- scoped_refptr<gfx::SurfaceTexture> surface_texture,
+ scoped_refptr<gl::SurfaceTexture> surface_texture,
int primary_id,
int secondary_id) override {
JNIEnv* env = base::android::AttachCurrentThread();
@@ -106,9 +106,9 @@ class SurfaceTextureManagerImpl : public gpu::SurfaceTextureManager,
// Overridden from GpuSurfaceLookup:
gfx::AcceleratedWidget AcquireNativeWidget(int surface_id) override {
JNIEnv* env = base::android::AttachCurrentThread();
- gfx::ScopedJavaSurface surface(
- content::Java_ChildProcessService_getViewSurface(
- env, service_.obj(), surface_id));
+ gl::ScopedJavaSurface surface(
+ content::Java_ChildProcessService_getViewSurface(env, service_.obj(),
+ surface_id));
if (surface.j_surface().is_null())
return NULL;
@@ -124,9 +124,9 @@ class SurfaceTextureManagerImpl : public gpu::SurfaceTextureManager,
}
// Overridden from GpuSurfaceLookup:
- gfx::ScopedJavaSurface AcquireJavaSurface(int surface_id) override {
+ gl::ScopedJavaSurface AcquireJavaSurface(int surface_id) override {
JNIEnv* env = base::android::AttachCurrentThread();
- return gfx::ScopedJavaSurface(
+ return gl::ScopedJavaSurface(
content::Java_ChildProcessService_getViewSurface(env, service_.obj(),
surface_id));
}
« no previous file with comments | « components/test/run_all_unittests.cc ('k') | content/browser/android/browser_surface_texture_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698