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

Unified Diff: mojo/skia/ganesh_image_factory.cc

Issue 1993073005: Mozart: Avoid blocking in glCheckFramebufferStatus(). (Closed) Base URL: git@github.com:domokit/mojo.git@moz-jank3
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | mojo/ui/gl_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/skia/ganesh_image_factory.cc
diff --git a/mojo/skia/ganesh_image_factory.cc b/mojo/skia/ganesh_image_factory.cc
index 5ae6f7dd4cefc9e72fc6fecc9791b1faacce7845..95d3ef1fbe9fa477223b0f61a877ef20dda1d466 100644
--- a/mojo/skia/ganesh_image_factory.cc
+++ b/mojo/skia/ganesh_image_factory.cc
@@ -41,7 +41,7 @@ void ReleaseThunk(void* data) {
info.fID = texture_id;
GrBackendTextureDesc desc;
- desc.fFlags = kRenderTarget_GrBackendTextureFlag;
+ desc.fFlags = kNone_GrBackendTextureFlag;
desc.fWidth = width;
desc.fHeight = height;
desc.fConfig = kSkia8888_GrPixelConfig;
@@ -84,7 +84,7 @@ GrTexture* MailboxTextureImageGenerator::onGenerateTexture(
info.fID = texture_id;
GrBackendTextureDesc desc;
- desc.fFlags = kRenderTarget_GrBackendTextureFlag;
+ desc.fFlags = kNone_GrBackendTextureFlag;
desc.fWidth = getInfo().width();
desc.fHeight = getInfo().height();
desc.fConfig = kSkia8888_GrPixelConfig;
« no previous file with comments | « no previous file | mojo/ui/gl_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698