Searched refs:buffer_memory (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/gpu/command_buffer/client/
H A Dmapped_memory_unittest.cc119 uint8* buffer_memory() { return static_cast<uint8*>(buffer_->memory()); } function in class:gpu::MemoryChunkTest
139 static_cast<uint8*>(pointer) - buffer_memory() + kSize);
150 EXPECT_LE(buffer_memory(), pointer_char);
151 EXPECT_GE(buffer_memory() + kBufferSize, pointer_char + kSize);
/external/chromium_org/gpu/command_buffer/service/
H A Dcommon_decoder_unittest.cc100 int8* buffer_memory = static_cast<int8*>(buffer_->memory()); local
101 return reinterpret_cast<T>(&buffer_memory[offset]);
105 int8* buffer_memory = static_cast<int8*>(buffer_->memory()); local
106 ptrdiff_t offset = static_cast<const int8*>(memory) - &buffer_memory[0];

Completed in 81 milliseconds