Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: components/html_viewer/blink_platform_impl.h

Issue 1338433002: Mandoline: Add WebGL support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and address review issues Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698