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

Side by Side Diff: trunk/src/ui/ozone/platform/egltest/ozone_platform_egltest.cc

Issue 447073004: Revert 288137 "With the overlay path moving back to passing Acce..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "ui/ozone/platform/egltest/ozone_platform_egltest.h" 5 #include "ui/ozone/platform/egltest/ozone_platform_egltest.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/environment.h" 8 #include "base/environment.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 virtual bool OnSwapBuffers() OVERRIDE { return true; } 173 virtual bool OnSwapBuffers() OVERRIDE { return true; }
174 174
175 virtual bool ResizeNativeWindow(const gfx::Size& viewport_size) OVERRIDE { 175 virtual bool ResizeNativeWindow(const gfx::Size& viewport_size) OVERRIDE {
176 return true; 176 return true;
177 } 177 }
178 178
179 virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider() OVERRIDE { 179 virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider() OVERRIDE {
180 return scoped_ptr<gfx::VSyncProvider>(); 180 return scoped_ptr<gfx::VSyncProvider>();
181 } 181 }
182 182
183 virtual bool ScheduleOverlayPlane(int plane_z_order,
184 gfx::OverlayTransform plane_transform,
185 scoped_refptr<ui::NativePixmap> buffer,
186 const gfx::Rect& display_bounds,
187 const gfx::RectF& crop_rect) OVERRIDE {
188 return false;
189 }
190
183 private: 191 private:
184 LibeglplatformShimLoader* eglplatform_shim_; 192 LibeglplatformShimLoader* eglplatform_shim_;
185 intptr_t native_window_; 193 intptr_t native_window_;
186 }; 194 };
187 195
188 // EGL surface factory for libeglplatform_shim. 196 // EGL surface factory for libeglplatform_shim.
189 // 197 //
190 // This finds the right EGL/GLES2 libraries for loading, and creates 198 // This finds the right EGL/GLES2 libraries for loading, and creates
191 // a single native window via ShimCreateWindow for drawing 199 // a single native window via ShimCreateWindow for drawing
192 // into. 200 // into.
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 387
380 } // namespace 388 } // namespace
381 389
382 OzonePlatform* CreateOzonePlatformEgltest() { 390 OzonePlatform* CreateOzonePlatformEgltest() {
383 OzonePlatformEgltest* platform = new OzonePlatformEgltest; 391 OzonePlatformEgltest* platform = new OzonePlatformEgltest;
384 platform->Initialize(); 392 platform->Initialize();
385 return platform; 393 return platform;
386 } 394 }
387 395
388 } // namespace ui 396 } // namespace ui
OLDNEW
« no previous file with comments | « trunk/src/ui/ozone/platform/dri/hardware_display_controller.cc ('k') | trunk/src/ui/ozone/public/surface_factory_ozone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698