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

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

Issue 1925663002: command_buffer: Defer restoring of FBO bindings when changing virtual contexts Base URL: https://chromium.googlesource.com/chromium/src.git@lazy-bindframebuffer-03-copy-texture-chromium-instantiation
Patch Set: rework Created 4 years, 8 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/gles2_cmd_copy_texture_chromium.h
diff --git a/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h b/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
index 95b25a0585f2e11411497cb9fcfc660ba034d0be..d7d17ea293fb839c0a8cfe06439bea4b8e75f863 100644
--- a/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
+++ b/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h
@@ -33,7 +33,7 @@ class GPU_EXPORT CopyTextureCHROMIUMResourceManager {
const gles2::FeatureInfo::FeatureFlags& feature_flags);
void Destroy();
- void DoCopyTexture(const gles2::GLES2Decoder* decoder,
+ void DoCopyTexture(gles2::GLES2Decoder* decoder,
GLenum source_target,
GLuint source_id,
GLenum source_internal_format,
@@ -46,7 +46,7 @@ class GPU_EXPORT CopyTextureCHROMIUMResourceManager {
bool premultiply_alpha,
bool unpremultiply_alpha);
- void DoCopySubTexture(const gles2::GLES2Decoder* decoder,
+ void DoCopySubTexture(gles2::GLES2Decoder* decoder,
GLenum source_target,
GLuint source_id,
GLenum source_internal_format,
@@ -67,7 +67,7 @@ class GPU_EXPORT CopyTextureCHROMIUMResourceManager {
bool premultiply_alpha,
bool unpremultiply_alpha);
- void DoCopySubTextureWithTransform(const gles2::GLES2Decoder* decoder,
+ void DoCopySubTextureWithTransform(gles2::GLES2Decoder* decoder,
GLenum source_target,
GLuint source_id,
GLenum source_internal_format,
@@ -93,7 +93,7 @@ class GPU_EXPORT CopyTextureCHROMIUMResourceManager {
// the source texture and copying to the destination texture. The transform
// matrix should be given in column-major form, so it can be passed
// directly to GL.
- void DoCopyTextureWithTransform(const gles2::GLES2Decoder* decoder,
+ void DoCopyTextureWithTransform(gles2::GLES2Decoder* decoder,
GLenum source_target,
GLuint source_id,
GLenum dest_target,
@@ -135,7 +135,7 @@ class GPU_EXPORT CopyTextureCHROMIUMResourceManager {
GLuint sampler_handle;
};
- void DoCopyTextureInternal(const gles2::GLES2Decoder* decoder,
+ void DoCopyTextureInternal(gles2::GLES2Decoder* decoder,
GLenum source_target,
GLuint source_id,
GLenum dest_target,

Powered by Google App Engine
This is Rietveld 408576698