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

Side by Side Diff: content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h

Issue 7066035: Moved GPU related files in content/renderer into gpu subdirectory. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 5 #ifndef CONTENT_RENDERER_GPU_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
6 #define CONTENT_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 6 #define CONTENT_RENDERER_GPU_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(ENABLE_GPU) 9 #if defined(ENABLE_GPU)
10 10
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "content/renderer/renderer_gl_context.h" 14 #include "content/renderer/gpu/renderer_gl_context.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebGraphicsContext3D. h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebGraphicsContext3D. h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
18 #include "ui/gfx/native_widget_types.h" 18 #include "ui/gfx/native_widget_types.h"
19 19
20 #if !defined(OS_MACOSX) 20 #if !defined(OS_MACOSX)
21 #define FLIP_FRAMEBUFFER_VERTICALLY 21 #define FLIP_FRAMEBUFFER_VERTICALLY
22 #endif 22 #endif
23 23
24 class GpuChannelHost; 24 class GpuChannelHost;
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 460
461 #ifdef FLIP_FRAMEBUFFER_VERTICALLY 461 #ifdef FLIP_FRAMEBUFFER_VERTICALLY
462 scoped_array<uint8> scanline_; 462 scoped_array<uint8> scanline_;
463 void FlipVertically(uint8* framebuffer, 463 void FlipVertically(uint8* framebuffer,
464 unsigned int width, 464 unsigned int width,
465 unsigned int height); 465 unsigned int height);
466 #endif 466 #endif
467 }; 467 };
468 468
469 #endif // defined(ENABLE_GPU) 469 #endif // defined(ENABLE_GPU)
470 #endif // CONTENT_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ 470 #endif // CONTENT_RENDERER_GPU_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/transport_texture_service.cc ('k') | content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698