| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ |
| 6 #define CHROME_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ | 6 #define CONTENT_RENDERER_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/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 14 #include "content/renderer/ggl.h" | 14 #include "content/renderer/ggl.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" |
| (...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 | 450 |
| 451 #ifdef FLIP_FRAMEBUFFER_VERTICALLY | 451 #ifdef FLIP_FRAMEBUFFER_VERTICALLY |
| 452 scoped_ptr<uint8> scanline_; | 452 scoped_ptr<uint8> scanline_; |
| 453 void FlipVertically(uint8* framebuffer, | 453 void FlipVertically(uint8* framebuffer, |
| 454 unsigned int width, | 454 unsigned int width, |
| 455 unsigned int height); | 455 unsigned int height); |
| 456 #endif | 456 #endif |
| 457 }; | 457 }; |
| 458 | 458 |
| 459 #endif // defined(ENABLE_GPU) | 459 #endif // defined(ENABLE_GPU) |
| 460 #endif // CHROME_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ | 460 #endif // CONTENT_RENDERER_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ |
| 461 | 461 |
| OLD | NEW |