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

Unified Diff: gpu/ipc/service/image_transport_surface_overlay_mac.h

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
Index: gpu/ipc/service/image_transport_surface_overlay_mac.h
diff --git a/gpu/ipc/service/image_transport_surface_overlay_mac.h b/gpu/ipc/service/image_transport_surface_overlay_mac.h
index eba464569eb1be021c2887dc60737d0825700414..d8b4fce5690306e65abd8160d9dc42550b1f2984 100644
--- a/gpu/ipc/service/image_transport_surface_overlay_mac.h
+++ b/gpu/ipc/service/image_transport_surface_overlay_mac.h
@@ -27,14 +27,14 @@ class CALayerTreeCoordinator;
namespace gpu {
-class ImageTransportSurfaceOverlayMac : public gfx::GLSurface,
+class ImageTransportSurfaceOverlayMac : public gl::GLSurface,
public ui::GpuSwitchingObserver {
public:
ImageTransportSurfaceOverlayMac(GpuCommandBufferStub* stub,
SurfaceHandle handle);
// GLSurface implementation
- bool Initialize(gfx::GLSurface::Format format) override;
+ bool Initialize(gl::GLSurface::Format format) override;
void Destroy() override;
bool Resize(const gfx::Size& size,
float scale_factor,
@@ -45,7 +45,7 @@ class ImageTransportSurfaceOverlayMac : public gfx::GLSurface,
bool SupportsPostSubBuffer() override;
gfx::Size GetSize() override;
void* GetHandle() override;
- bool OnMakeCurrent(gfx::GLContext* context) override;
+ bool OnMakeCurrent(gl::GLContext* context) override;
bool ScheduleOverlayPlane(int z_order,
gfx::OverlayTransform transform,
gl::GLImage* image,
« no previous file with comments | « gpu/ipc/service/image_transport_surface_mac.mm ('k') | gpu/ipc/service/image_transport_surface_overlay_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698