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

Side by Side Diff: ui/gfx/native_widget_types.h

Issue 20017005: gpu: Refactor GpuMemoryBuffer framework for multi-process support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef UI_GFX_NATIVE_WIDGET_TYPES_H_ 5 #ifndef UI_GFX_NATIVE_WIDGET_TYPES_H_
6 #define UI_GFX_NATIVE_WIDGET_TYPES_H_ 6 #define UI_GFX_NATIVE_WIDGET_TYPES_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #if defined(OS_ANDROID) 10 #if defined(OS_ANDROID)
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 #elif defined(OS_ANDROID) 318 #elif defined(OS_ANDROID)
319 typedef ANativeWindow* AcceleratedWidget; 319 typedef ANativeWindow* AcceleratedWidget;
320 const AcceleratedWidget kNullAcceleratedWidget = 0; 320 const AcceleratedWidget kNullAcceleratedWidget = 0;
321 #elif defined(USE_OZONE) 321 #elif defined(USE_OZONE)
322 typedef intptr_t AcceleratedWidget; 322 typedef intptr_t AcceleratedWidget;
323 const AcceleratedWidget kNullAcceleratedWidget = 0; 323 const AcceleratedWidget kNullAcceleratedWidget = 0;
324 #else 324 #else
325 #error unknown platform 325 #error unknown platform
326 #endif 326 #endif
327 327
328 typedef void* GpuMemoryBufferHandle;
329
330 } // namespace gfx 328 } // namespace gfx
331 329
332 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ 330 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_
OLDNEW
« ui/gfx/gpu_memory_buffer.h ('K') | « ui/gfx/gpu_memory_buffer.h ('k') | ui/gl/gl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698