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 |