OLD | NEW |
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 #include "webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h" | 5 #include "webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.
h" |
6 | 6 |
7 #include <GLES2/gl2.h> | 7 #include <GLES2/gl2.h> |
8 #ifndef GL_GLEXT_PROTOTYPES | 8 #ifndef GL_GLEXT_PROTOTYPES |
9 #define GL_GLEXT_PROTOTYPES 1 | 9 #define GL_GLEXT_PROTOTYPES 1 |
10 #endif | 10 #endif |
11 #include <GLES2/gl2ext.h> | 11 #include <GLES2/gl2ext.h> |
12 #include <GLES2/gl2extchromium.h> | 12 #include <GLES2/gl2extchromium.h> |
13 | 13 |
14 #include <algorithm> | 14 #include <algorithm> |
15 #include <set> | 15 #include <set> |
(...skipping 17 matching lines...) Expand all Loading... |
33 #include "gpu/command_buffer/service/command_buffer_service.h" | 33 #include "gpu/command_buffer/service/command_buffer_service.h" |
34 #include "gpu/command_buffer/service/context_group.h" | 34 #include "gpu/command_buffer/service/context_group.h" |
35 #include "gpu/command_buffer/service/gl_context_virtual.h" | 35 #include "gpu/command_buffer/service/gl_context_virtual.h" |
36 #include "gpu/command_buffer/service/gpu_scheduler.h" | 36 #include "gpu/command_buffer/service/gpu_scheduler.h" |
37 #include "gpu/command_buffer/service/image_manager.h" | 37 #include "gpu/command_buffer/service/image_manager.h" |
38 #include "gpu/command_buffer/service/transfer_buffer_manager.h" | 38 #include "gpu/command_buffer/service/transfer_buffer_manager.h" |
39 #include "ui/gl/gl_context.h" | 39 #include "ui/gl/gl_context.h" |
40 #include "ui/gl/gl_image.h" | 40 #include "ui/gl/gl_image.h" |
41 #include "ui/gl/gl_share_group.h" | 41 #include "ui/gl/gl_share_group.h" |
42 #include "ui/gl/gl_surface.h" | 42 #include "ui/gl/gl_surface.h" |
43 #include "webkit/gpu/gl_bindings_skia_cmd_buffer.h" | 43 #include "webkit/common/gpu/gl_bindings_skia_cmd_buffer.h" |
44 | 44 |
45 using gpu::Buffer; | 45 using gpu::Buffer; |
46 using gpu::CommandBuffer; | 46 using gpu::CommandBuffer; |
47 using gpu::CommandBufferService; | 47 using gpu::CommandBufferService; |
48 using gpu::gles2::GLES2CmdHelper; | 48 using gpu::gles2::GLES2CmdHelper; |
49 using gpu::gles2::GLES2Implementation; | 49 using gpu::gles2::GLES2Implementation; |
50 using gpu::gles2::ImageFactory; | 50 using gpu::gles2::ImageFactory; |
51 using gpu::gles2::ImageManager; | 51 using gpu::gles2::ImageManager; |
52 using gpu::GpuMemoryBuffer; | 52 using gpu::GpuMemoryBuffer; |
53 using gpu::GpuScheduler; | 53 using gpu::GpuScheduler; |
(...skipping 1949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2003 DELEGATE_TO_GL_1(waitAsyncTexImage2DCHROMIUM, WaitAsyncTexImage2DCHROMIUM, | 2003 DELEGATE_TO_GL_1(waitAsyncTexImage2DCHROMIUM, WaitAsyncTexImage2DCHROMIUM, |
2004 WGC3Denum) | 2004 WGC3Denum) |
2005 | 2005 |
2006 void WebGraphicsContext3DInProcessCommandBufferImpl::SetGpuMemoryBufferCreator( | 2006 void WebGraphicsContext3DInProcessCommandBufferImpl::SetGpuMemoryBufferCreator( |
2007 GpuMemoryBufferCreator* creator) { | 2007 GpuMemoryBufferCreator* creator) { |
2008 g_gpu_memory_buffer_creator = creator; | 2008 g_gpu_memory_buffer_creator = creator; |
2009 } | 2009 } |
2010 | 2010 |
2011 } // namespace gpu | 2011 } // namespace gpu |
2012 } // namespace webkit | 2012 } // namespace webkit |
OLD | NEW |