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

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

Issue 2461073002: Use MediaCodec.setOutputSurface() for fullscreen transitions on M. (Closed)
Patch Set: Simplify APIs. Created 4 years, 1 month 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/texture_manager.h
diff --git a/gpu/command_buffer/service/texture_manager.h b/gpu/command_buffer/service/texture_manager.h
index 11c8b6305050b6bff3fb6abacfa2c52b5bddf6e5..5beb84adfda6fa2e5f798b58736433389818e22e 100644
--- a/gpu/command_buffer/service/texture_manager.h
+++ b/gpu/command_buffer/service/texture_manager.h
@@ -322,6 +322,12 @@ class GPU_EXPORT Texture final : public TextureBase {
bool EmulatingRGB();
+ // Causes us to report |service_id| as our service id, but does not delete
+ // it when we are destroyed. Will rebind any OES_EXTERNAL texture units to
+ // our new service id in all contexts. If |service_id| is zero, then we
+ // revert to |owned_service_id_|.
+ void SetStreamTextureServiceId(GLuint service_id);
+
private:
friend class MailboxManagerImpl;
friend class MailboxManagerSync;
@@ -403,12 +409,6 @@ class GPU_EXPORT Texture final : public TextureBase {
GLenum type,
const gfx::Rect& cleared_rect);
- // Causes us to report |service_id| as our service id, but does not delete
- // it when we are destroyed. Will rebind any OES_EXTERNAL texture units to
- // our new service id in all contexts. If |service_id| is zero, then we
- // revert to |owned_service_id_|.
- void SetStreamTextureServiceId(GLuint service_id);
-
void MarkLevelAsInternalWorkaround(GLenum target, GLint level);
// In GLES2 "texture complete" means it has all required mips for filtering

Powered by Google App Engine
This is Rietveld 408576698