OLD | NEW |
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 UI_GFX_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 5 #ifndef UI_GFX_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
6 #define UI_GFX_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 6 #define UI_GFX_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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 virtual void* mapTexSubImage2DCHROMIUM(WebKit::WGC3Denum target, | 51 virtual void* mapTexSubImage2DCHROMIUM(WebKit::WGC3Denum target, |
52 WebKit::WGC3Dint level, | 52 WebKit::WGC3Dint level, |
53 WebKit::WGC3Dint xoffset, | 53 WebKit::WGC3Dint xoffset, |
54 WebKit::WGC3Dint yoffset, | 54 WebKit::WGC3Dint yoffset, |
55 WebKit::WGC3Dsizei width, | 55 WebKit::WGC3Dsizei width, |
56 WebKit::WGC3Dsizei height, | 56 WebKit::WGC3Dsizei height, |
57 WebKit::WGC3Denum format, | 57 WebKit::WGC3Denum format, |
58 WebKit::WGC3Denum type, | 58 WebKit::WGC3Denum type, |
59 WebKit::WGC3Denum access); | 59 WebKit::WGC3Denum access); |
60 virtual void unmapTexSubImage2DCHROMIUM(const void* data) {} | 60 virtual void unmapTexSubImage2DCHROMIUM(const void* data) {} |
61 virtual void setVisibilityCHROMIUM(bool visible) {} | 61 virtual void setResourceUsageCHROMIUM(ResourceUsage) {} |
62 virtual WebKit::WebString getRequestableExtensionsCHROMIUM(); | 62 virtual WebKit::WebString getRequestableExtensionsCHROMIUM(); |
63 virtual void requestExtensionCHROMIUM(const char*) {} | 63 virtual void requestExtensionCHROMIUM(const char*) {} |
64 virtual void blitFramebufferCHROMIUM(WebKit::WGC3Dint src_x0, | 64 virtual void blitFramebufferCHROMIUM(WebKit::WGC3Dint src_x0, |
65 WebKit::WGC3Dint src_y0, | 65 WebKit::WGC3Dint src_y0, |
66 WebKit::WGC3Dint src_x1, | 66 WebKit::WGC3Dint src_x1, |
67 WebKit::WGC3Dint src_y1, | 67 WebKit::WGC3Dint src_y1, |
68 WebKit::WGC3Dint dst_x0, | 68 WebKit::WGC3Dint dst_x0, |
69 WebKit::WGC3Dint dst_y0, | 69 WebKit::WGC3Dint dst_y0, |
70 WebKit::WGC3Dint dst_x1, | 70 WebKit::WGC3Dint dst_x1, |
71 WebKit::WGC3Dint dst_y1, | 71 WebKit::WGC3Dint dst_y1, |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 private: | 429 private: |
430 scoped_refptr<gfx::GLContext> gl_context_; | 430 scoped_refptr<gfx::GLContext> gl_context_; |
431 scoped_refptr<gfx::GLSurface> gl_surface_; | 431 scoped_refptr<gfx::GLSurface> gl_surface_; |
432 | 432 |
433 DISALLOW_COPY_AND_ASSIGN(TestWebGraphicsContext3D); | 433 DISALLOW_COPY_AND_ASSIGN(TestWebGraphicsContext3D); |
434 }; | 434 }; |
435 | 435 |
436 } // namespace ui | 436 } // namespace ui |
437 | 437 |
438 #endif // UI_GFX_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 438 #endif // UI_GFX_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
OLD | NEW |