Home
last modified time | relevance | path

Searched refs:mSize (Results 1 – 25 of 115) sorted by relevance

12345

/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLPreRotationTest.cpp64 mSize(256) in EGLPreRotationSurfaceTest()
99 mOSWindow->initialize("EGLSurfaceTest", mSize, mSize); in testSetUp()
221 EXPECT_PIXEL_COLOR_EQ(0, mSize - 1, GLColor::green); in testDrawingAndReadPixels()
222 EXPECT_PIXEL_COLOR_EQ(mSize - 1, 0, GLColor::red); in testDrawingAndReadPixels()
223 EXPECT_PIXEL_COLOR_EQ(mSize - 1, mSize - 1, GLColor::yellow); in testDrawingAndReadPixels()
231 EXPECT_PIXEL_COLOR_EQ(0, mSize - 1, GLColor::green); in testDrawingAndReadPixels()
232 EXPECT_PIXEL_COLOR_EQ(mSize - 1, 0, GLColor::red); in testDrawingAndReadPixels()
233 EXPECT_PIXEL_COLOR_EQ(mSize - 1, mSize - 1, GLColor::yellow); in testDrawingAndReadPixels()
290 int mSize; member in __anon7b734c300111::EGLPreRotationSurfaceTest
486 EXPECT_PIXEL_COLOR_EQ(mSize - 1, 0, expectedPixelLowerRight); in TEST_P()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/common/
DFastVector.h95 size_type mSize = 0; variable
125 mSize = count; in FastVector()
133 mSize = count; in FastVector()
139 ensure_capacity(other.mSize); in FastVector()
140 mSize = other.mSize; in FastVector()
160 ensure_capacity(other.mSize);
161 mSize = other.mSize;
194 ASSERT(pos < mSize); in at()
202 ASSERT(pos < mSize); in at()
210 ASSERT(pos < mSize);
[all …]
DFixedVector.h89 size_type mSize = 0; variable
108 FixedVector<T, N, Storage>::FixedVector(size_type count, const value_type &value) : mSize(count) in FixedVector()
115 FixedVector<T, N, Storage>::FixedVector(size_type count) : mSize(count) in FixedVector()
214 return mStorage.begin() + mSize; in end()
220 return mStorage.begin() + mSize; in end()
226 return mSize == 0; in empty()
232 return mSize; in size()
250 ASSERT(mSize < N); in push_back()
251 mStorage[mSize] = value; in push_back()
252 mSize++; in push_back()
[all …]
DMemoryBuffer.cpp30 mSize = 0; in resize()
34 if (size == mSize) in resize()
49 std::copy(mData, mData + std::min(mSize, size), newMemory); in resize()
54 mSize = size; in resize()
63 std::fill(mData, mData + mSize, datum); in fill()
74 std::swap(mSize, other.mSize); in operator =()
DMemoryBuffer.h31 size_t size() const { return mSize; } in size()
32 bool empty() const { return mSize == 0; } in empty()
43 ASSERT(pos < mSize);
48 ASSERT(pos < mSize);
55 size_t mSize = 0;
Dangleutils.h56 constexpr WrappedArray(const T (&data)[N]) : mArray(&data[0]), mSize(N) in WrappedArray()
59 constexpr WrappedArray() : mArray(nullptr), mSize(0) {} in WrappedArray()
60 constexpr WrappedArray(const T *data, size_t size) : mArray(data), mSize(size) {} in WrappedArray()
65 std::swap(mSize, other.mSize); in WrappedArray()
71 constexpr size_t size() const { return mSize; } in size()
75 size_t mSize; variable
/third_party/skia/third_party/externals/angle2/src/common/
DFixedVector.h92 size_type mSize = 0; variable
111 FixedVector<T, N, Storage>::FixedVector(size_type count, const value_type &value) : mSize(count) in FixedVector()
118 FixedVector<T, N, Storage>::FixedVector(size_type count) : mSize(count) in FixedVector()
217 return mStorage.begin() + mSize; in end()
223 return mStorage.begin() + mSize; in end()
229 return mSize == 0; in empty()
235 return mSize; in size()
253 ASSERT(mSize < N); in push_back()
254 mStorage[mSize] = value; in push_back()
255 mSize++; in push_back()
[all …]
DFastVector.h102 size_type mSize = 0; variable
132 mSize = count; in FastVector()
140 mSize = count; in FastVector()
166 mSize = newSize; in FastVector()
174 ensure_capacity(other.mSize);
175 mSize = other.mSize;
208 ASSERT(pos < mSize); in at()
216 ASSERT(pos < mSize); in at()
224 ASSERT(pos < mSize);
232 ASSERT(pos < mSize);
[all …]
DMemoryBuffer.cpp36 mSize = 0; in resize()
40 if (size == mSize) in resize()
55 std::copy(mData, mData + std::min(mSize, size), newMemory); in resize()
60 mSize = size; in resize()
69 std::fill(mData, mData + mSize, datum); in fill()
80 std::swap(mSize, other.mSize); in operator =()
DMemoryBuffer.h31 size_t size() const { return mSize; } in size()
32 bool empty() const { return mSize == 0; } in empty()
43 ASSERT(pos < mSize);
48 ASSERT(pos < mSize);
55 size_t mSize = 0;
/third_party/skia/third_party/externals/dawn/src/common/
Dityp_span.h34 constexpr span() : mData(nullptr), mSize(0) { in span()
36 constexpr span(Value* data, Index size) : mData(data), mSize(size) { in span()
40 ASSERT(i < mSize);
61 return mData + static_cast<I>(mSize); in end()
65 return mData + static_cast<I>(mSize); in end()
70 ASSERT(static_cast<I>(mSize) >= 0); in front()
76 ASSERT(static_cast<I>(mSize) >= 0); in front()
82 ASSERT(static_cast<I>(mSize) >= 0); in back()
83 return *(mData + static_cast<I>(mSize) - 1); in back()
88 ASSERT(static_cast<I>(mSize) >= 0); in back()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_wire/client/
DClientInlineMemoryTransferService.cpp24 explicit ReadHandleImpl(size_t size) : mSize(size) { in ReadHandleImpl()
37 if (deserializeSize != mSize || deserializePointer == nullptr) { in DeserializeInitialData()
41 mStagingData = std::unique_ptr<uint8_t[]>(new uint8_t[mSize]); in DeserializeInitialData()
42 memcpy(mStagingData.get(), deserializePointer, mSize); in DeserializeInitialData()
47 *dataLength = mSize; in DeserializeInitialData()
53 size_t mSize; member in dawn_wire::client::InlineMemoryTransferService::ReadHandleImpl
59 explicit WriteHandleImpl(size_t size) : mSize(size) { in WriteHandleImpl()
69 mStagingData = std::unique_ptr<uint8_t[]>(new uint8_t[mSize]); in Open()
70 memset(mStagingData.get(), 0, mSize); in Open()
71 return std::make_pair(mStagingData.get(), mSize); in Open()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DCommon.h123 constexpr TSpan(T *ptr, size_type size) : mData(ptr), mSize(size) {} in TSpan()
125 constexpr TSpan(const TSpan &that) : mData(that.mData), mSize(that.mSize) {} in TSpan()
129 mSize = that.mSize;
136 TSpan(const TVector<S> &vec) : mData(vec.data()), mSize(vec.size()) in TSpan()
142 mSize = vec.size();
148 if (mSize != that.mSize)
158 for (size_type index = 0; index < mSize; ++index)
171 constexpr size_type size() const { return mSize; } in size()
172 constexpr bool empty() const { return mSize == 0; } in empty()
176 constexpr T &back() const { return mData[mSize - 1]; } in back()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/
DClientInlineMemoryTransferService.cpp28 : mStagingData(std::move(stagingData)), mSize(size) { in ReadHandleImpl()
52 if (offset > mSize || size > mSize - offset) { in DeserializeDataUpdate()
63 size_t mSize; member in dawn_wire::client::InlineMemoryTransferService::ReadHandleImpl
69 : mStagingData(std::move(stagingData)), mSize(size) { in WriteHandleImpl()
86 ASSERT(offset <= mSize); in SizeOfSerializeDataUpdate()
87 ASSERT(size <= mSize - offset); in SizeOfSerializeDataUpdate()
94 ASSERT(offset <= mSize); in SerializeDataUpdate()
95 ASSERT(size <= mSize - offset); in SerializeDataUpdate()
101 size_t mSize; member in dawn_wire::client::InlineMemoryTransferService::WriteHandleImpl
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DBuffer.cpp132 mSize(descriptor->size), in BufferBase()
165 : ApiObjectBase(device, tag), mSize(descriptor->size), mState(BufferState::Unmapped) { in BufferBase()
169 mMapSize = mSize; in BufferBase()
188 } else if (mSize != 0) { in DestroyImpl()
206 return mSize; in GetSize()
226 if (mSize == 0) { in MapAtCreation()
255 mMapSize = mSize; in MapAtCreationInternal()
259 if (mSize != 0) { in MapAtCreationInternal()
322 if ((size == wgpu::kWholeMapSize) && (offset <= mSize)) { in APIMapAsync()
323 size = mSize - offset; in APIMapAsync()
[all …]
/third_party/skia/third_party/externals/oboe/src/common/
DFixedBlockWriter.cpp29 int32_t roomAvailable = mSize - mPosition; in writeToStorage()
47 if (mPosition == mSize) { in write()
48 bytesWritten = mFixedBlockProcessor.onProcessFixedBlock(mStorage.get(), mSize); in write()
51 if (bytesWritten < mSize) { in write()
59 while(bytesLeft > mSize) { in write()
60 int32_t bytesWritten = mFixedBlockProcessor.onProcessFixedBlock(buffer, mSize); in write()
DFixedBlockReader.cpp27 mPosition = mSize; in FixedBlockReader()
57 } else if (bytesLeft >= mSize) { in read()
59 bytesRead = mFixedBlockProcessor.onProcessFixedBlock(buffer, mSize); in read()
65 bytesRead = mFixedBlockProcessor.onProcessFixedBlock(mStorage.get(), mSize); in read()
/third_party/skia/third_party/externals/dawn/src/dawn_wire/
DBufferConsumer_impl.h28 if (sizeof(T) > mSize) { in Peek()
39 if (sizeof(T) > mSize) { in Next()
45 mSize -= sizeof(T); in Next()
61 if (totalSize > mSize) { in NextN()
67 mSize -= totalSize; in NextN()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_buffer_pool.mm31 mSize(0),
48 mSize = 0;
59 mSize = mBufferFreeList.front()->size();
69 if (IsError(buffer->resetWithSharedMemOpt(contextMtl, useSharedMem, mSize, nullptr)))
73 mSize = 0;
127 return mSize <= kSharedMemBufferMaxBufSizeHint;
163 Buffer::MakeBufferWithSharedMemOpt(contextMtl, useSharedMem, mSize, nullptr, &mBuffer));
185 checkedNextWriteOffset.ValueOrDie() >= mSize ||
194 if (sizeToAllocate > mSize)
196 mSize = std::max(mInitialSize, sizeToAllocate);
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DBuffer9.cpp18 : BufferD3D(state, renderer), mSize(0) in Buffer9()
23 mSize = 0; in ~Buffer9()
28 return mSize; in getSize()
47 mSize = size; in setData()
84 mSize = std::max(mSize, offset + size); in setSubData()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DBuffer9.cpp18 : BufferD3D(state, renderer), mSize(0) in Buffer9()
23 mSize = 0; in ~Buffer9()
28 return mSize; in getSize()
47 mSize = size; in setData()
84 mSize = std::max(mSize, offset + size); in setSubData()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/android/
DNativeBufferImageSiblingAndroid.cpp25 angle::android::ClientBufferToANativeWindowBuffer(mBuffer), &mSize.width, &mSize.height, in initialize()
26 &mSize.depth, &pixelFormat); in initialize()
49 return mSize; in getSize()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/android/
DNativeBufferImageSiblingAndroid.cpp26 angle::android::ClientBufferToANativeWindowBuffer(mBuffer), &mSize.width, &mSize.height, in initialize()
27 &mSize.depth, &pixelFormat, &usage); in initialize()
62 return mSize; in getSize()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DRefCountObject.h177 OffsetBindingPointer() : mOffset(0), mSize(0) {} in OffsetBindingPointer()
183 mSize = size; in set()
187 GLsizeiptr getSize() const { return mSize; } in getSize()
191 return this->get() == other.get() && mOffset == other.mOffset && mSize == other.mSize;
203 mSize = size; in assign()
212 GLsizeiptr mSize; variable
DBlobCache.h61 Value() : mPtr(nullptr), mSize(0) {}
62 Value(const uint8_t *ptr, size_t sz) : mPtr(ptr), mSize(sz) {}
67 size_t size() { return mSize; }
71 ASSERT(pos < mSize);
77 size_t mSize;

12345