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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp

Issue 2388653002: gpu: Add CHROMIUM_texture_from_image spec and fence support.
Patch Set: rebase Created 4 years, 2 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: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
index 25d0041ddfd0cca16a587818e68622866e3cd35e..27ef96f3038e8ebac48e2a38db86283b8286c72d 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
@@ -1214,7 +1214,7 @@ DrawingBuffer::TextureInfo DrawingBuffer::createTextureAndAllocateMemory(
GC3D_SCANOUT_CHROMIUM);
GLuint textureId = createColorTexture(parameters);
if (imageId) {
- m_gl->BindTexImage2DCHROMIUM(parameters.target, imageId);
+ m_gl->BindTexImage2DCHROMIUM(parameters.target, imageId, 0);
}
TextureInfo info;

Powered by Google App Engine
This is Rietveld 408576698