Home
last modified time | relevance | path

Searched refs:mSamples (Results 1 – 23 of 23) sorted by relevance

/external/libchrome/base/android/java/src/org/chromium/base/metrics/
DCachedMetrics.java94 private final List<Integer> mSamples = new ArrayList<Integer>(); field in CachedMetrics.SparseHistogramSample
105 mSamples.add(sample); in record()
117 for (Integer sample : mSamples) { in commitAndClear()
120 mSamples.clear(); in commitAndClear()
126 private final List<Integer> mSamples = new ArrayList<Integer>(); field in CachedMetrics.EnumeratedHistogramSample
139 mSamples.add(sample); in record()
151 for (Integer sample : mSamples) { in commitAndClear()
154 mSamples.clear(); in commitAndClear()
160 private final List<Long> mSamples = new ArrayList<Long>(); field in CachedMetrics.TimesHistogramSample
174 mSamples.add(sample); in record()
[all …]
/external/cronet/base/android/java/src/org/chromium/base/metrics/
DCachingUmaRecorder.java104 private final List<Integer> mSamples; field in CachingUmaRecorder.Histogram
126 mSamples = new ArrayList<>(/*initialCapacity=*/1); in Histogram()
150 if (mSamples.size() >= MAX_SAMPLE_COUNT) { in addSample()
155 mSamples.add(sample); in addSample()
168 for (int i = 0; i < mSamples.size(); i++) { in flushTo()
169 final int sample = mSamples.get(i); in flushTo()
174 for (int i = 0; i < mSamples.size(); i++) { in flushTo()
175 final int sample = mSamples.get(i); in flushTo()
180 for (int i = 0; i < mSamples.size(); i++) { in flushTo()
181 final int sample = mSamples.get(i); in flushTo()
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DExternalImageSiblingImpl11.cpp33 &mWidth, &mHeight, &mSamples, &mFormat, &angleFormat, in initialize()
115 return mSamples; in getSamples()
153 if (mSamples == 0) in createRenderTarget()
169 if (mSamples == 0) in createRenderTarget()
191 if (mSamples == 0) in createRenderTarget()
208 if (mSamples == 0) in createRenderTarget()
227 formatInfo, mWidth, mHeight, 1, mSamples); in createRenderTarget()
DRenderTarget11.cpp218 mSamples(samples), in TextureRenderTarget11()
247 mSamples(samples), in TextureRenderTarget11()
315 return mSamples; in getSamples()
DExternalImageSiblingImpl11.h62 GLsizei mSamples = 0; variable
DRenderTarget11.h91 GLsizei mSamples; variable
DTextureStorage11.cpp3774 mSamples = samples; in TextureStorage11_2DMultisample()
3826 GLuint supportedSamples = textureCaps.getNearestSamples(mSamples); in ensureTextureExists()
3892 getLevelWidth(level), getLevelHeight(level), 1, mSamples)); in getRenderTarget()
3910 getLevelWidth(level), getLevelHeight(level), 1, mSamples)); in getRenderTarget()
3996 mSamples = samples; in TextureStorage11_2DMultisampleArray()
4047 GLuint supportedSamples = textureCaps.getNearestSamples(mSamples); in ensureTextureExists()
4154 getLevelWidth(mipLevel), getLevelHeight(mipLevel), 1, mSamples)); in getRenderTarget()
4174 getLevelWidth(mipLevel), getLevelHeight(mipLevel), 1, mSamples)); in getRenderTarget()
DTextureStorage11.h882 unsigned int mSamples; variable
946 unsigned int mSamples; variable
/external/angle/src/libANGLE/
DRenderbuffer.cpp41 mSamples(0), in RenderbufferState()
66 return mSamples; in getSamples()
89 mSamples = samples; in update()
266 return mState.mMultisamplingMode == MultisamplingMode::Regular ? mState.mSamples : 0; in getSamples()
322 size *= std::max(mState.mSamples, 1); in getMemorySize()
DRenderbuffer.h62 GLsizei mSamples; variable
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DRenderTarget9.cpp34 mSamples(samples), in TextureRenderTarget9()
77 return mSamples; in getSamples()
DRenderTarget9.h66 GLsizei mSamples; variable
/external/angle/src/tests/gl_tests/
DMultiviewDrawTest.cpp41 : MultiviewImplementationParams(implementationParams), mSamples(samples) in MultiviewRenderTestParams()
43 int mSamples; member
53 if (params.mSamples > 0) in operator <<()
55 os << "_samples_" << params.mSamples; in operator <<()
72 mSamples(samples), in MultiviewFramebufferTestBase()
97 CreateMultiviewBackingTextures(mSamples, viewWidth, height, numLayers, mColorTexture, in updateFBOs()
137 if (mSamples == 0) in resolveMultisampledFBO()
173 if (mSamples > 0) in GetViewColor()
228 bool isMultisampled() { return mSamples > 0; } in isMultisampled()
240 int mSamples; member in MultiviewFramebufferTestBase
[all …]
/external/angle/src/libANGLE/renderer/vulkan/android/
DHardwareBufferImageSiblingVkAndroid.h60 size_t mSamples; variable
DHardwareBufferImageSiblingVkAndroid.cpp146 mSamples(0), in HardwareBufferImageSiblingVkAndroid()
496 return mSamples; in getSamples()
/external/angle/src/libANGLE/renderer/vulkan/linux/
DDmaBufImageSiblingVkLinux.h71 size_t mSamples; variable
DDmaBufImageSiblingVkLinux.cpp328 mSamples(0), in DmaBufImageSiblingVkLinux()
631 return mSamples; in getSamples()
/external/angle/src/libANGLE/renderer/metal/
DSurfaceMtl.h80 int getSamples() const { return mSamples; } in getSamples()
120 int mSamples = 0; variable
DSurfaceMtl.mm88 mSamples = state.config->samples;
352 if (mSamples > 1 && (!mMSColorTexture || mMSColorTexture->sizeAt0() != size))
356 ANGLE_TRY(CreateOrResizeTexture(context, mColorFormat, size.width, size.height, mSamples,
373 ANGLE_TRY(CreateOrResizeTexture(context, mDepthFormat, size.width, size.height, mSamples,
388 mSamples,
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.h203 void setSamples(GLint samples) { mSamples = static_cast<uint8_t>(samples); } in setSamples()
204 uint8_t samples() const { return mSamples; } in samples()
225 uint8_t mSamples;
Dvk_helpers.cpp5343 mSamples = 1; in resetCachedProperties()
5522 mSamples = std::max(samples, 1); in initExternal()
5619 gl_vk::GetSamples(mSamples, context->getFeatures().limitSampleCountTo2.enabled); in initExternal()
6225 mSamples = std::max(samples, 1); in init2DWeakReference()
6278 mSamples = std::max(samples, 1); in initStaging()
6299 gl_vk::GetSamples(mSamples, context->getFeatures().limitSampleCountTo2.enabled); in initStaging()
9539 bool isMultisampled = mSamples > 1; in readPixelsImpl()
Dvk_helpers.h2077 GLint getSamples() const { return mSamples; } in getSamples()
2775 GLint mSamples; variable
Dvk_cache_utils.cpp2768 ASSERT(mSamples > 1); in packColorResolveAttachment()