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 UI_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 5 #ifndef UI_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
6 #define UI_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 6 #define UI_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 virtual void getQueryivEXT(WebKit::WGC3Denum, | 441 virtual void getQueryivEXT(WebKit::WGC3Denum, |
442 WebKit::WGC3Denum, | 442 WebKit::WGC3Denum, |
443 WebKit::WGC3Dint*) {} | 443 WebKit::WGC3Dint*) {} |
444 virtual void getQueryObjectuivEXT(WebKit::WebGLId, | 444 virtual void getQueryObjectuivEXT(WebKit::WebGLId, |
445 WebKit::WGC3Denum, | 445 WebKit::WGC3Denum, |
446 WebKit::WGC3Duint*) {} | 446 WebKit::WGC3Duint*) {} |
447 | 447 |
448 private: | 448 private: |
449 scoped_refptr<gfx::GLContext> gl_context_; | 449 scoped_refptr<gfx::GLContext> gl_context_; |
450 scoped_refptr<gfx::GLSurface> gl_surface_; | 450 scoped_refptr<gfx::GLSurface> gl_surface_; |
| 451 unsigned next_texture_id_; |
451 | 452 |
452 DISALLOW_COPY_AND_ASSIGN(TestWebGraphicsContext3D); | 453 DISALLOW_COPY_AND_ASSIGN(TestWebGraphicsContext3D); |
453 }; | 454 }; |
454 | 455 |
455 } // namespace ui | 456 } // namespace ui |
456 | 457 |
457 #endif // UI_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 458 #endif // UI_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
OLD | NEW |