| 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 #ifndef CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ | 5 #ifndef CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ |
| 6 #define CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ | 6 #define CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 | 538 |
| 539 // For tracking which FBO is bound. | 539 // For tracking which FBO is bound. |
| 540 WebGLId bound_fbo_; | 540 WebGLId bound_fbo_; |
| 541 | 541 |
| 542 // Errors raised by synthesizeGLError(). | 542 // Errors raised by synthesizeGLError(). |
| 543 std::vector<WGC3Denum> synthetic_errors_; | 543 std::vector<WGC3Denum> synthetic_errors_; |
| 544 | 544 |
| 545 base::WeakPtrFactory<WebGraphicsContext3DCommandBufferImpl> weak_ptr_factory_; | 545 base::WeakPtrFactory<WebGraphicsContext3DCommandBufferImpl> weak_ptr_factory_; |
| 546 | 546 |
| 547 #ifdef FLIP_FRAMEBUFFER_VERTICALLY | 547 #ifdef FLIP_FRAMEBUFFER_VERTICALLY |
| 548 scoped_array<uint8> scanline_; | 548 std::vector<uint8> scanline_; |
| 549 void FlipVertically(uint8* framebuffer, | 549 void FlipVertically(uint8* framebuffer, |
| 550 unsigned int width, | 550 unsigned int width, |
| 551 unsigned int height); | 551 unsigned int height); |
| 552 #endif | 552 #endif |
| 553 }; | 553 }; |
| 554 | 554 |
| 555 #endif // CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ | 555 #endif // CONTENT_COMMON_GPU_CLIENT_WEBGRAPHICSCONTEXT3D_COMMAND_BUFFER_IMPL_H_ |
| OLD | NEW |