@@ -88,39 +88,6 @@ class IOSContext {
8888 // /
8989 virtual bool MakeCurrent () = 0;
9090
91- // ----------------------------------------------------------------------------
92- // / @brief When using client rendering APIs whose contexts need to be
93- // / bound to a specific thread, the engine will call this method
94- // / to give the off-screen context a chance to bind to the current
95- // / thread.
96- // /
97- // / @attention Client rendering APIs that have no-concept of thread local
98- // / bindings (anything that is not OpenGL) will always return
99- // / `true`.
100- // /
101- // / @attention Client rendering APIs for which a GrContext cannot be created
102- // / (software rendering) will always return `false`.
103- // /
104- // / @attention This binds the off-screen context to the current thread. To
105- // / bind the on-screen context to the thread, use the
106- // / `MakeCurrent` method instead.
107- // /
108- // / @attention Only one context may be bound to a thread at any given time.
109- // / Making a binding on a thread, clears the old binding.
110- // /
111- // / @return If the off-screen context could be bound to the current
112- // / thread.
113- // /
114- virtual bool ResourceMakeCurrent () = 0;
115-
116- // ----------------------------------------------------------------------------
117- // / @brief Clears the context binding of the current thread if one is
118- // / present. Does noting otherwise.
119- // /
120- // / @return `true` is the current context bound to the thread is cleared.
121- // /
122- virtual bool ClearCurrent () = 0;
123-
12491 // ----------------------------------------------------------------------------
12592 // / @brief Creates an external texture proxy of the appropriate client
12693 // / rendering API.
0 commit comments