Index: components/html_viewer/blink_platform_impl.h |
diff --git a/components/html_viewer/blink_platform_impl.h b/components/html_viewer/blink_platform_impl.h |
index e55fe1629169b03a2b88665d6e8e3194efe8c356..f884f44b5a3a5e5bc725c69944aa97a34af50234 100644 |
--- a/components/html_viewer/blink_platform_impl.h |
+++ b/components/html_viewer/blink_platform_impl.h |
@@ -75,6 +75,17 @@ class BlinkPlatformImpl : public blink::Platform { |
virtual blink::WebScrollbarBehavior* scrollbarBehavior(); |
virtual const unsigned char* getTraceCategoryEnabledFlag( |
const char* category_name); |
+ virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
+ const blink::WebGraphicsContext3D::Attributes& attributes, |
+ blink::WebGraphicsContext3D* shareContext); |
sky
2015/09/15 22:10:58
share_context (make sure all your names match chro
Peng
2015/09/16 13:54:59
Done.
|
+ virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
+ const blink::WebGraphicsContext3D::Attributes& attributes, |
+ blink::WebGraphicsContext3D* shareContext, |
+ blink::WebGLInfo* glInfo); |
+ virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
+ const blink::WebGraphicsContext3D::Attributes& attributes); |
+ virtual blink::WebGraphicsContext3DProvider* |
+ createSharedOffscreenGraphicsContext3DProvider(); |
virtual blink::WebData loadResource(const char* name); |
virtual blink::WebGestureCurve* createFlingAnimationCurve( |
blink::WebGestureDevice device_source, |
@@ -88,6 +99,7 @@ class BlinkPlatformImpl : public blink::Platform { |
static void DestroyCurrentThread(void*); |
+ mojo::ApplicationImpl* app_; |
scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; |
scoped_ptr<scheduler::WebThreadImplForRendererScheduler> main_thread_; |
base::ThreadLocalStorage::Slot current_thread_slot_; |