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

Unified Diff: gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.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 | « gpu/ipc/client/gpu_in_process_context_tests.cc ('k') | gpu/ipc/common/android/surface_texture_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.cc
diff --git a/gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.cc b/gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.cc
index 0fca294568e06a994eb51b64ce5769741a22192d..cafc792dec17cd16b57100a7961341095d2056b0 100644
--- a/gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.cc
+++ b/gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.cc
@@ -43,7 +43,7 @@ int WindowFormat(gfx::BufferFormat format) {
}
void FreeSurfaceTextureForTesting(
- scoped_refptr<gfx::SurfaceTexture> surface_texture,
+ scoped_refptr<gl::SurfaceTexture> surface_texture,
gfx::GpuMemoryBufferId id) {
gpu::SurfaceTextureManager::GetInstance()->UnregisterSurfaceTexture(id.id, 0);
}
@@ -97,8 +97,8 @@ base::Closure GpuMemoryBufferImplSurfaceTexture::AllocateForTesting(
gfx::BufferFormat format,
gfx::BufferUsage usage,
gfx::GpuMemoryBufferHandle* handle) {
- scoped_refptr<gfx::SurfaceTexture> surface_texture =
- gfx::SurfaceTexture::Create(0);
+ scoped_refptr<gl::SurfaceTexture> surface_texture =
+ gl::SurfaceTexture::Create(0);
DCHECK(surface_texture);
const gfx::GpuMemoryBufferId kBufferId(1);
gpu::SurfaceTextureManager::GetInstance()->RegisterSurfaceTexture(
« no previous file with comments | « gpu/ipc/client/gpu_in_process_context_tests.cc ('k') | gpu/ipc/common/android/surface_texture_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698