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

Side by Side Diff: Source/Platform/chromium/public/WebCompositorSupport.h

Issue 13638008: Blink API to allow mailbox usage with texture layers for WebGL and Canvas2D. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual WebCompositorOutputSurface* createOutputSurfaceForSoftware() { retur n 0; } 70 virtual WebCompositorOutputSurface* createOutputSurfaceForSoftware() { retur n 0; }
71 71
72 // Layers ------------------------------------------------------- 72 // Layers -------------------------------------------------------
73 73
74 virtual WebLayer* createLayer() { return 0; } 74 virtual WebLayer* createLayer() { return 0; }
75 75
76 virtual WebContentLayer* createContentLayer(WebContentLayerClient*) { return 0; } 76 virtual WebContentLayer* createContentLayer(WebContentLayerClient*) { return 0; }
77 77
78 virtual WebExternalTextureLayer* createExternalTextureLayer(WebExternalTextu reLayerClient* = 0) { return 0; } 78 virtual WebExternalTextureLayer* createExternalTextureLayer(WebExternalTextu reLayerClient* = 0) { return 0; }
79 79
80 virtual WebExternalTextureLayer* createExternalTextureLayerForMailbox(WebExt ernalTextureLayerClient*) { return 0; }
Ken Russell (switch to Gerrit) 2013/04/05 22:51:02 It seems weird that there are two entry points (cr
alexst (slow to review) 2013/04/06 01:25:38 Once mailboxes work across the board, the texture
Ken Russell (switch to Gerrit) 2013/04/08 18:22:56 OK, that sounds fine.
81
80 virtual WebImageLayer* createImageLayer() { return 0; } 82 virtual WebImageLayer* createImageLayer() { return 0; }
81 83
82 virtual WebSolidColorLayer* createSolidColorLayer() { return 0; } 84 virtual WebSolidColorLayer* createSolidColorLayer() { return 0; }
83 85
84 virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarT hemePainter, WebScrollbarThemeGeometry*) { return 0; } 86 virtual WebScrollbarLayer* createScrollbarLayer(WebScrollbar*, WebScrollbarT hemePainter, WebScrollbarThemeGeometry*) { return 0; }
85 87
86 88
87 // Animation ---------------------------------------------------- 89 // Animation ----------------------------------------------------
88 90
89 virtual WebAnimation* createAnimation(const WebAnimationCurve&, WebAnimation ::TargetProperty, int animationId = 0) { return 0; } 91 virtual WebAnimation* createAnimation(const WebAnimationCurve&, WebAnimation ::TargetProperty, int animationId = 0) { return 0; }
90 92
91 virtual WebFloatAnimationCurve* createFloatAnimationCurve() { return 0; } 93 virtual WebFloatAnimationCurve* createFloatAnimationCurve() { return 0; }
92 94
93 virtual WebTransformAnimationCurve* createTransformAnimationCurve() { return 0; } 95 virtual WebTransformAnimationCurve* createTransformAnimationCurve() { return 0; }
94 96
95 virtual WebTransformOperations* createTransformOperations() { return 0; } 97 virtual WebTransformOperations* createTransformOperations() { return 0; }
96 98
97 99
98 protected: 100 protected:
99 virtual ~WebCompositorSupport() { } 101 virtual ~WebCompositorSupport() { }
100 }; 102 };
101 103
102 } 104 }
103 105
104 #endif // WebCompositorSupport_h 106 #endif // WebCompositorSupport_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698