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

Side by Side Diff: webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h

Issue 11348231: Move gl_bindings_skia_cmd_buffer into webkit_gpu and make the latter a component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing dep Created 8 years 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 WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ 5 #ifndef WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_
6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ 6 #define WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_
7 7
8 #if defined(ENABLE_GPU) 8 #if defined(ENABLE_GPU)
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/compiler_specific.h"
12 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC ontext3D.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC ontext3D.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
15 #include "ui/gfx/native_widget_types.h" 16 #include "ui/gfx/native_widget_types.h"
17 #include "webkit/gpu/webkit_gpu_export.h"
16 18
17 #if defined(USE_SKIA) 19 #if defined(USE_SKIA)
18 #define FLIP_FRAMEBUFFER_VERTICALLY 20 #define FLIP_FRAMEBUFFER_VERTICALLY
19 #endif 21 #endif
20 22
21 namespace gpu { 23 namespace gpu {
22 namespace gles2 { 24 namespace gles2 {
23 class GLES2Implementation; 25 class GLES2Implementation;
24 } 26 }
25 } 27 }
(...skipping 11 matching lines...) Expand all
37 using WebKit::WGC3Dfloat; 39 using WebKit::WGC3Dfloat;
38 using WebKit::WGC3Dclampf; 40 using WebKit::WGC3Dclampf;
39 using WebKit::WGC3Dintptr; 41 using WebKit::WGC3Dintptr;
40 using WebKit::WGC3Dsizeiptr; 42 using WebKit::WGC3Dsizeiptr;
41 43
42 namespace webkit { 44 namespace webkit {
43 namespace gpu { 45 namespace gpu {
44 46
45 class GLInProcessContext; 47 class GLInProcessContext;
46 48
47 class WebGraphicsContext3DInProcessCommandBufferImpl 49 class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl
48 : public WebKit::WebGraphicsContext3D { 50 : public NON_EXPORTED_BASE(WebKit::WebGraphicsContext3D) {
49 public: 51 public:
50 52
51 WebGraphicsContext3DInProcessCommandBufferImpl(); 53 WebGraphicsContext3DInProcessCommandBufferImpl();
52 virtual ~WebGraphicsContext3DInProcessCommandBufferImpl(); 54 virtual ~WebGraphicsContext3DInProcessCommandBufferImpl();
53 55
54 bool Initialize(WebKit::WebGraphicsContext3D::Attributes attributes, 56 bool Initialize(WebKit::WebGraphicsContext3D::Attributes attributes,
55 WebKit::WebGraphicsContext3D* view_context); 57 WebKit::WebGraphicsContext3D* view_context);
56 58
57 //---------------------------------------------------------------------- 59 //----------------------------------------------------------------------
58 // WebGraphicsContext3D methods 60 // WebGraphicsContext3D methods
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 unsigned int width, 537 unsigned int width,
536 unsigned int height); 538 unsigned int height);
537 #endif 539 #endif
538 }; 540 };
539 541
540 } // namespace gpu 542 } // namespace gpu
541 } // namespace webkit 543 } // namespace webkit
542 544
543 #endif // defined(ENABLE_GPU) 545 #endif // defined(ENABLE_GPU)
544 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ 546 #endif // WEBKIT_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/gpu/gl_bindings_skia_cmd_buffer.cc ('k') | webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698