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

Unified Diff: gpu/command_buffer/service/framebuffer_manager_unittest.cc

Issue 14844004: gpu: Refactor to support cross-channel shared textures (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix accidentally reverted behavior Created 7 years, 7 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
« no previous file with comments | « gpu/command_buffer/service/framebuffer_manager.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/framebuffer_manager_unittest.cc
diff --git a/gpu/command_buffer/service/framebuffer_manager_unittest.cc b/gpu/command_buffer/service/framebuffer_manager_unittest.cc
index b73a77698c3c7e789e7794f3045539eaaf55b55f..9a7f15b8356af7534e63eadd7ae04f1812e45fe2 100644
--- a/gpu/command_buffer/service/framebuffer_manager_unittest.cc
+++ b/gpu/command_buffer/service/framebuffer_manager_unittest.cc
@@ -429,7 +429,7 @@ TEST_F(FramebufferInfoTest, AttachTexture) {
framebuffer_->IsPossiblyComplete());
texture_manager_.CreateTexture(kTextureClient1Id, kTextureService1Id);
- scoped_refptr<Texture> texture1(
+ scoped_refptr<TextureRef> texture1(
texture_manager_.GetTexture(kTextureClient1Id));
ASSERT_TRUE(texture1 != NULL);
@@ -478,7 +478,7 @@ TEST_F(FramebufferInfoTest, AttachTexture) {
// Check replacing an attachment
texture_manager_.CreateTexture(kTextureClient2Id, kTextureService2Id);
- scoped_refptr<Texture> texture2(
+ scoped_refptr<TextureRef> texture2(
texture_manager_.GetTexture(kTextureClient2Id));
ASSERT_TRUE(texture2 != NULL);
texture_manager_.SetTarget(texture2, GL_TEXTURE_2D);
@@ -580,11 +580,11 @@ TEST_F(FramebufferInfoTest, UnbindTexture) {
const GLint kLevel1 = 0;
texture_manager_.CreateTexture(kTextureClient1Id, kTextureService1Id);
- scoped_refptr<Texture> texture1(
+ scoped_refptr<TextureRef> texture1(
texture_manager_.GetTexture(kTextureClient1Id));
ASSERT_TRUE(texture1 != NULL);
texture_manager_.CreateTexture(kTextureClient2Id, kTextureService2Id);
- scoped_refptr<Texture> texture2(
+ scoped_refptr<TextureRef> texture2(
texture_manager_.GetTexture(kTextureClient2Id));
ASSERT_TRUE(texture2 != NULL);
@@ -622,7 +622,7 @@ TEST_F(FramebufferInfoTest, IsCompleteMarkAsComplete) {
renderbuffer_manager_.GetRenderbuffer(kRenderbufferClient1Id);
ASSERT_TRUE(renderbuffer1 != NULL);
texture_manager_.CreateTexture(kTextureClient2Id, kTextureService2Id);
- scoped_refptr<Texture> texture2(
+ scoped_refptr<TextureRef> texture2(
texture_manager_.GetTexture(kTextureClient2Id));
ASSERT_TRUE(texture2 != NULL);
@@ -667,7 +667,7 @@ TEST_F(FramebufferInfoTest, GetStatus) {
renderbuffer_manager_.GetRenderbuffer(kRenderbufferClient1Id);
ASSERT_TRUE(renderbuffer1 != NULL);
texture_manager_.CreateTexture(kTextureClient2Id, kTextureService2Id);
- scoped_refptr<Texture> texture2(
+ scoped_refptr<TextureRef> texture2(
texture_manager_.GetTexture(kTextureClient2Id));
ASSERT_TRUE(texture2 != NULL);
texture_manager_.SetTarget(texture2, GL_TEXTURE_2D);
« no previous file with comments | « gpu/command_buffer/service/framebuffer_manager.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698