Home
last modified time | relevance | path

Searched refs:divisor (Results 1 – 25 of 70) sorted by relevance

123

/hardware/interfaces/health/utils/libhealthtest/include/health-test/
DTestUtils.h69 inline AssertionResult IsValueSimilar(int32_t dividend, int32_t divisor, double factor) { in IsValueSimilar() argument
70 auto difference = abs(dividend - divisor); in IsValueSimilar()
71 if (difference > factor * abs(divisor)) { in IsValueSimilar()
72 return AssertionFailure() << dividend << " and " << divisor in IsValueSimilar()
75 return AssertionSuccess() << dividend << " and " << divisor in IsValueSimilar()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_EXT_vertex_attribute_divisor.adoc33 2) Should zero be an allowed divisor?
36 A zero divisor means the vertex attribute is repeated for all instances.
51 .divisor = 4
83 ** Adjust the interaction between pname:divisor and pname:firstInstance to
87 ** Allow a zero divisor.
/hardware/google/graphics/common/libhwc2.1/libvrr/
DUtils.h49 T roundDivide(T divident, T divisor) { in roundDivide() argument
50 if (divident < 0 || divisor <= 0) { in roundDivide()
53 return (divident + (divisor / 2)) / divisor; in roundDivide()
/hardware/google/gfxstream/guest/mesa/src/util/
Dfast_urem_by_const.h37 #define REMAINDER_MAGIC(divisor) \ argument
38 ((uint64_t) ~0ull / (divisor) + 1)
/hardware/st/secure_element2/secure_element/esehal/src/
Dtransport.c57 div_uint64_rem(uint64_t dividend, uint32_t divisor, uint64_t *remainder) in div_uint64_rem() argument
62 while (dividend >= divisor) in div_uint64_rem()
63 dividend -= divisor, r++; in div_uint64_rem()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dfxvertex.adoc502 * pname:divisor is the number of successive instances that will use the
507 For example, if the divisor is N, the same vertex attribute will be
510 The maximum value of pname:divisor is implementation-dependent and can
513 A value of `0` can: be used for the divisor if the
520 * pname:divisor must: be set to `1`
531 * [[VUID-VkVertexInputBindingDescription2EXT-divisor-04798]]
534 pname:divisor must: not be `0`
535 * [[VUID-VkVertexInputBindingDescription2EXT-divisor-04799]]
538 pname:divisor must: be `1`
539 * [[VUID-VkVertexInputBindingDescription2EXT-divisor-06226]]
[all …]
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DGLESpointer.cpp151 void GLESpointer::setDivisor(GLuint divisor) { in setDivisor() argument
152 m_divisor = divisor; in setDivisor()
/hardware/google/gfxstream/host/gl/glestranslator/include/GLcommon/
DGLESpointer.h67 void setDivisor(GLuint divisor);
/hardware/google/gfxstream/host/apigen-codec-common/GL/
Dglxext.h631 extern int glXWaitVideoSyncSGI (int divisor, int remainder, unsigned int *count);
634 typedef int ( * PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigned int *count);
818 …sMscOML (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainde…
819 …rMscOML (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainde…
824 …MLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainde…
825 …MLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainde…
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DGLESv2Context.cpp324 if (bufferBinding.divisor) { in postLoadRestoreCtx()
325 dispatcher.glVertexAttribDivisor(i, bufferBinding.divisor); in postLoadRestoreCtx()
698 void GLESv2Context::setVertexAttribDivisor(GLuint bindingindex, GLuint divisor) { in setVertexAttribDivisor() argument
702 m_currVaoState.bufferBindings()[bindingindex].divisor = divisor; in setVertexAttribDivisor()
DGLESv2Context.h69 void setVertexAttribDivisor(GLuint bindingindex, GLuint divisor);
DGLESv31Imp.cpp618 GL_APICALL void GL_APIENTRY glVertexBindingDivisor(GLuint bindingindex, GLuint divisor) { in glVertexBindingDivisor() argument
621 ctx->setVertexAttribDivisor(bindingindex, divisor); in glVertexBindingDivisor()
622 ctx->dispatcher().glVertexBindingDivisor(bindingindex, divisor); in glVertexBindingDivisor()
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_integer_sequence.cpp395 uint8_t divisor; member
438 return (entry.scale * character_count + entry.round) / entry.divisor; in get_ise_sequence_bitcount()
/hardware/google/gfxstream/guest/mesa/include/GL/
Dwglext.h827 typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT…
828 …PLAYERBUFFERSMSCOMLPROC) (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder);
829 typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 re…
834 INT64 WINAPI wglSwapBuffersMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder);
835 INT64 WINAPI wglSwapLayerBuffersMscOML (HDC hdc, INT fuPlanes, INT64 target_msc, INT64 divisor, INT…
836 BOOL WINAPI wglWaitForMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT64 *ust…
Dglxext.h690 …MLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainde…
691 …MLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainde…
696 …sMscOML (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainde…
697 Bool glXWaitForMscOML (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int…
935 typedef int ( *PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigned int *count);
938 int glXWaitVideoSyncSGI (int divisor, int remainder, unsigned int *count);
/hardware/google/gfxstream/include/GL/
Dwglext.h647 extern INT64 WINAPI wglSwapBuffersMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder…
648 …glSwapLayerBuffersMscOML (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder);
649 extern BOOL WINAPI wglWaitForMscOML (HDC hdc, INT64 target_msc, INT64 divisor, INT64 remainder, INT…
654 typedef INT64 (WINAPI * PFNWGLSWAPBUFFERSMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT…
655 …PLAYERBUFFERSMSCOMLPROC) (HDC hdc, int fuPlanes, INT64 target_msc, INT64 divisor, INT64 remainder);
656 typedef BOOL (WINAPI * PFNWGLWAITFORMSCOMLPROC) (HDC hdc, INT64 target_msc, INT64 divisor, INT64 re…
/hardware/google/gfxstream/include/OpenGLESDispatch/
Dgles31_only_functions.h69 X(void, glVertexBindingDivisor, (GLuint bindingindex, GLuint divisor), (bindingindex, divisor)) \
Dgles3_only_functions.h55 X(void, glVertexAttribDivisor, (GLuint index, GLuint divisor), (index, divisor)) \
Dgles31_only_static_translator_namespaced_header.h69 GL_APICALL void GL_APIENTRY glVertexBindingDivisor(GLuint bindingindex, GLuint divisor);
/hardware/google/gfxstream/host/gl/OpenGLESDispatch/
Dgles31_only_dispatch_logging_wrappers.impl294 void glVertexBindingDivisor_dispatchLoggingWrapper(GLuint bindingindex, GLuint divisor) {
295 DISPATCH_DEBUG_LOG("glVertexBindingDivisor(bindingindex:%d, divisor:%d)", bindingindex, divisor);
296 GLDispatch::glVertexBindingDivisor_underlying(bindingindex, divisor);
Dgles3_only_dispatch_logging_wrappers.impl229 void glVertexAttribDivisor_dispatchLoggingWrapper(GLuint index, GLuint divisor) {
230 DISPATCH_DEBUG_LOG("glVertexAttribDivisor(index:%d, divisor:%d)", index, divisor);
231 GLDispatch::glVertexAttribDivisor_underlying(index, divisor);
Dgles31_only.entries85 void glVertexBindingDivisor(GLuint bindingindex, GLuint divisor);
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_graphics_state.h131 uint32_t divisor; member
/hardware/google/gfxstream/guest/OpenglCodecCommon/include/gfxstream/guest/
DGLClientState.h183 GLuint divisor; member
194 GLuint divisor; member
274 void setVertexBindingDivisor(int bindingindex, GLuint divisor);
/hardware/interfaces/graphics/composer/aidl/vts/
DVtsHalGraphicsComposer3_TargetTest.cpp3152 for (int divisor = lowestDivisor; divisor <= highestDivisor; divisor++) { in TEST_P() local
3153 const auto frameIntervalNs = vsyncPeriod * divisor; in TEST_P()
3195 int divisor = lowestDivisor; in TEST_P() local
3196 auto frameIntervalNs = vsyncPeriod * divisor; in TEST_P()
3202 frameIntervalNs = vsyncPeriod * divisor; in TEST_P()
3203 ++divisor; in TEST_P()
3204 const auto nextFrameIntervalNs = vsyncPeriod * divisor; in TEST_P()
3215 } while (divisor < highestDivisor); in TEST_P()

123