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

Unified Diff: gpu/command_buffer/service/gl_stream_texture_image.h

Issue 1848923003: Revert of Make Android StreamTexture implement GLStreamTextureImage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: gpu/command_buffer/service/gl_stream_texture_image.h
diff --git a/gpu/command_buffer/service/gl_stream_texture_image.h b/gpu/command_buffer/service/gl_stream_texture_image.h
index b5bc370c5ba58af945a348050c9229c9f7fc5b40..a6a517de550a8db56825183a35e04419a218fe94 100644
--- a/gpu/command_buffer/service/gl_stream_texture_image.h
+++ b/gpu/command_buffer/service/gl_stream_texture_image.h
@@ -19,18 +19,8 @@
// Get the matrix.
// Copy the texture matrix for this image into |matrix|.
- // Subclasses must return a matrix appropriate for a coordinate system where
- // UV=(0,0) corresponds to the bottom left corner of the image.
virtual void GetTextureMatrix(float matrix[16]) = 0;
- // Copy the texture matrix for this image into |matrix|, returning a matrix
- // for which UV=(0,0) corresponds to the top left of corner of the image,
- // which is what Chromium generally expects.
- void GetFlippedTextureMatrix(float matrix[16]) {
- GetTextureMatrix(matrix);
- matrix[13] += matrix[5];
- matrix[5] = -matrix[5];
- }
protected:
~GLStreamTextureImage() override {}
« no previous file with comments | « content/renderer/media/webmediaplayer_ms_unittest.cc ('k') | gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698