File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -60,9 +60,9 @@ class IOSExternalTextureGL final : public Texture {
6060
6161 void CreateRGBATextureFromPixelBuffer ();
6262
63- sk_sp<SkImage> CreateImageFromYUVTextures (GrContext * context, const SkRect& bounds);
63+ sk_sp<SkImage> CreateImageFromYUVTextures (GrDirectContext * context, const SkRect& bounds);
6464
65- sk_sp<SkImage> CreateImageFromRGBATexture (GrContext * context, const SkRect& bounds);
65+ sk_sp<SkImage> CreateImageFromRGBATexture (GrDirectContext * context, const SkRect& bounds);
6666
6767 FML_DISALLOW_COPY_AND_ASSIGN (IOSExternalTextureGL);
6868};
Original file line number Diff line number Diff line change 9595 }
9696}
9797
98- sk_sp<SkImage> IOSExternalTextureGL::CreateImageFromRGBATexture (GrContext * context,
98+ sk_sp<SkImage> IOSExternalTextureGL::CreateImageFromRGBATexture (GrDirectContext * context,
9999 const SkRect& bounds) {
100100 GrGLTextureInfo textureInfo = {CVOpenGLESTextureGetTarget (texture_ref_),
101101 CVOpenGLESTextureGetName (texture_ref_), GL_RGBA8_OES};
106106 return image;
107107}
108108
109- sk_sp<SkImage> IOSExternalTextureGL::CreateImageFromYUVTextures (GrContext * context,
109+ sk_sp<SkImage> IOSExternalTextureGL::CreateImageFromYUVTextures (GrDirectContext * context,
110110 const SkRect& bounds) {
111111 GrGLTextureInfo yTextureInfo = {CVOpenGLESTextureGetTarget (y_texture_ref_),
112112 CVOpenGLESTextureGetName (y_texture_ref_), GR_GL_LUMINANCE8};
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ namespace flutter_runner {
1414class ScopedFrame final : public flutter::CompositorContext::ScopedFrame {
1515 public:
1616 ScopedFrame (CompositorContext& context,
17- GrContext * gr_context,
17+ GrDirectContext * gr_context,
1818 SkCanvas* canvas,
1919 flutter::ExternalViewEmbedder* view_embedder,
2020 const SkMatrix& root_surface_transformation,
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ void VulkanSurfaceProducer::OnSurfacesPresented(
160160
161161 // Do a single flush for all canvases derived from the context.
162162 {
163- TRACE_EVENT0 (" flutter" , " GrContext ::flushAndSignalSemaphores" );
163+ TRACE_EVENT0 (" flutter" , " GrDirectContext ::flushAndSignalSemaphores" );
164164 context_->flushAndSubmit ();
165165 }
166166
You can’t perform that action at this time.
0 commit comments