Home
last modified time | relevance | path

Searched refs:BX_COUNTOF (Results 1 – 25 of 178) sorted by relevance

12345678

/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/examples/32-particles/
H A Dparticles.cpp84 BX_STATIC_ASSERT(BX_COUNTOF(s_easeFuncName) == bx::Easing::Count);
117 if (ImGui::Combo("Shape", (int*)&m_shape, s_shapeNames, BX_COUNTOF(s_shapeNames) ) in imgui()
118 … || ImGui::Combo("Direction", (int*)&m_direction, s_directionName, BX_COUNTOF(s_directionName) ) ) in imgui()
147 …ImGui::Combo("Position Ease", (int*)&m_uniforms.m_easePos, s_easeFuncName, BX_COUNTOF(s_easeFuncNa… in imgui()
164 …ImGui::Combo("Scale Ease", (int*)&m_uniforms.m_easeScale, s_easeFuncName, BX_COUNTOF(s_easeFuncNam… in imgui()
182 …ImGui::Combo("Blend Ease", (int*)&m_uniforms.m_easeBlend, s_easeFuncName, BX_COUNTOF(s_easeFuncNam… in imgui()
198 …ImGui::Combo("RGBA Ease", (int*)&m_uniforms.m_easeRgba, s_easeFuncName, BX_COUNTOF(s_easeFuncName)… in imgui()
282 for (uint32_t ii = 0; ii < BX_COUNTOF(m_emitter); ++ii) in init()
301 for (uint32_t ii = 0; ii < BX_COUNTOF(m_emitter); ++ii) in shutdown()
388 for (uint32_t ii = 0; ii < BX_COUNTOF(m_emitter); ++ii) in update()
[all …]
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/examples/32-particles/
H A Dparticles.cpp84 BX_STATIC_ASSERT(BX_COUNTOF(s_easeFuncName) == bx::Easing::Count);
117 if (ImGui::Combo("Shape", (int*)&m_shape, s_shapeNames, BX_COUNTOF(s_shapeNames) ) in imgui()
118 … || ImGui::Combo("Direction", (int*)&m_direction, s_directionName, BX_COUNTOF(s_directionName) ) ) in imgui()
147 …ImGui::Combo("Position Ease", (int*)&m_uniforms.m_easePos, s_easeFuncName, BX_COUNTOF(s_easeFuncNa… in imgui()
164 …ImGui::Combo("Scale Ease", (int*)&m_uniforms.m_easeScale, s_easeFuncName, BX_COUNTOF(s_easeFuncNam… in imgui()
182 …ImGui::Combo("Blend Ease", (int*)&m_uniforms.m_easeBlend, s_easeFuncName, BX_COUNTOF(s_easeFuncNam… in imgui()
198 …ImGui::Combo("RGBA Ease", (int*)&m_uniforms.m_easeRgba, s_easeFuncName, BX_COUNTOF(s_easeFuncName)… in imgui()
282 for (uint32_t ii = 0; ii < BX_COUNTOF(m_emitter); ++ii) in init()
301 for (uint32_t ii = 0; ii < BX_COUNTOF(m_emitter); ++ii) in shutdown()
388 for (uint32_t ii = 0; ii < BX_COUNTOF(m_emitter); ++ii) in update()
[all …]
/dports/emulators/mess/mame-mame0226/3rdparty/bx/src/
H A Dhash.cpp47 BX_STATIC_ASSERT(BX_COUNTOF(s_crcTableIeee) == 256);
84 BX_STATIC_ASSERT(BX_COUNTOF(s_crcTableCastagnoli) == 256);
121 BX_STATIC_ASSERT(BX_COUNTOF(s_crcTableKoopman) == 256);
129 BX_STATIC_ASSERT(BX_COUNTOF(s_crcTable) == HashCrc32::Count);
H A Dprocess.cpp51 strCat(tmp, BX_COUNTOF(tmp), _filePath); in open()
52 strCat(tmp, BX_COUNTOF(tmp), "\" "); in open()
53 strCat(tmp, BX_COUNTOF(tmp), _args); in open()
122 strCat(tmp, BX_COUNTOF(tmp), _filePath); in open()
123 strCat(tmp, BX_COUNTOF(tmp), "\" "); in open()
124 strCat(tmp, BX_COUNTOF(tmp), _args); in open()
H A Dfilepath.cpp292 uint32_t len = BX_COUNTOF(tmp); in set()
320 , BX_COUNTOF(m_filePath) in set()
329 strCopy(tmp, BX_COUNTOF(tmp), m_filePath); in join()
330 strCat(tmp, BX_COUNTOF(tmp), "/"); in join()
331 strCat(tmp, BX_COUNTOF(tmp), _str); in join()
/dports/emulators/mame/mame-mame0226/3rdparty/bx/src/
H A Dhash.cpp47 BX_STATIC_ASSERT(BX_COUNTOF(s_crcTableIeee) == 256);
84 BX_STATIC_ASSERT(BX_COUNTOF(s_crcTableCastagnoli) == 256);
121 BX_STATIC_ASSERT(BX_COUNTOF(s_crcTableKoopman) == 256);
129 BX_STATIC_ASSERT(BX_COUNTOF(s_crcTable) == HashCrc32::Count);
H A Dprocess.cpp51 strCat(tmp, BX_COUNTOF(tmp), _filePath); in open()
52 strCat(tmp, BX_COUNTOF(tmp), "\" "); in open()
53 strCat(tmp, BX_COUNTOF(tmp), _args); in open()
122 strCat(tmp, BX_COUNTOF(tmp), _filePath); in open()
123 strCat(tmp, BX_COUNTOF(tmp), "\" "); in open()
124 strCat(tmp, BX_COUNTOF(tmp), _args); in open()
H A Dfilepath.cpp292 uint32_t len = BX_COUNTOF(tmp); in set()
320 , BX_COUNTOF(m_filePath) in set()
329 strCopy(tmp, BX_COUNTOF(tmp), m_filePath); in join()
330 strCat(tmp, BX_COUNTOF(tmp), "/"); in join()
331 strCat(tmp, BX_COUNTOF(tmp), _str); in join()
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/include/bgfx/
H A Dembedded_shader.h65 { _renderer, BX_CONCATENATE(_name, _dx9 ), BX_COUNTOF(BX_CONCATENATE(_name, _dx9 ) ) },
71 { _renderer, BX_CONCATENATE(_name, _dx11), BX_COUNTOF(BX_CONCATENATE(_name, _dx11) ) },
83 { _renderer, BX_CONCATENATE(_name, _glsl), BX_COUNTOF(BX_CONCATENATE(_name, _glsl) ) },
89 { _renderer, BX_CONCATENATE(_name, _glsl), BX_COUNTOF(BX_CONCATENATE(_name, _glsl) ) },
95 { _renderer, BX_CONCATENATE(_name, _spv), BX_COUNTOF(BX_CONCATENATE(_name, _spv) ) },
101 { _renderer, BX_CONCATENATE(_name, _mtl), BX_COUNTOF(BX_CONCATENATE(_name, _mtl) ) },
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/include/bgfx/
H A Dembedded_shader.h65 { _renderer, BX_CONCATENATE(_name, _dx9 ), BX_COUNTOF(BX_CONCATENATE(_name, _dx9 ) ) },
71 { _renderer, BX_CONCATENATE(_name, _dx11), BX_COUNTOF(BX_CONCATENATE(_name, _dx11) ) },
83 { _renderer, BX_CONCATENATE(_name, _glsl), BX_COUNTOF(BX_CONCATENATE(_name, _glsl) ) },
89 { _renderer, BX_CONCATENATE(_name, _glsl), BX_COUNTOF(BX_CONCATENATE(_name, _glsl) ) },
95 { _renderer, BX_CONCATENATE(_name, _spv), BX_COUNTOF(BX_CONCATENATE(_name, _spv) ) },
101 { _renderer, BX_CONCATENATE(_name, _mtl), BX_COUNTOF(BX_CONCATENATE(_name, _mtl) ) },
/dports/emulators/mess/mame-mame0226/3rdparty/bx/tests/
H A Dsort_test.cpp21 bx::quickSort(str, BX_COUNTOF(str), sizeof(void*)
36 for (uint32_t ii = 0; ii < BX_COUNTOF(byte); ++ii)
41 bx::quickSort(byte, BX_COUNTOF(byte), 1
49 for (uint32_t ii = 1; ii < BX_COUNTOF(byte); ++ii)
H A Dstring_test.cpp25 prettify(tmp, BX_COUNTOF(tmp), 4000, bx::Units::Kilo);
28 prettify(tmp, BX_COUNTOF(tmp), 4096, bx::Units::Kibi);
87 REQUIRE(1 == bx::strCat(dst, BX_COUNTOF(dst), "------", 1) );
88 REQUIRE(3 == bx::strCat(dst, BX_COUNTOF(dst), "cat") );
175 BX_STATIC_ASSERT(BX_COUNTOF(test) == BX_COUNTOF(expected) );
177 bx::quickSort(test, BX_COUNTOF(test), sizeof(const char*), strCmpV);
179 for (uint32_t ii = 0; ii < BX_COUNTOF(test); ++ii)
251 int32_t num = bx::toString(tmp, BX_COUNTOF(tmp), _value, 10, _separator); in testToStringS()
284 int32_t num = bx::toString(tmp, BX_COUNTOF(tmp), _value); in testToString()
330 bx::toString(tmp, BX_COUNTOF(tmp), _value); in testFromString()
[all …]
H A Dhash_test.cpp57 for (uint32_t ii = 0; ii < BX_COUNTOF(s_hashTest); ++ii)
70 for (uint32_t ii = 0; ii < BX_COUNTOF(s_hashTest); ++ii)
/dports/emulators/mame/mame-mame0226/3rdparty/bx/tests/
H A Dsort_test.cpp21 bx::quickSort(str, BX_COUNTOF(str), sizeof(void*)
36 for (uint32_t ii = 0; ii < BX_COUNTOF(byte); ++ii)
41 bx::quickSort(byte, BX_COUNTOF(byte), 1
49 for (uint32_t ii = 1; ii < BX_COUNTOF(byte); ++ii)
H A Dstring_test.cpp25 prettify(tmp, BX_COUNTOF(tmp), 4000, bx::Units::Kilo);
28 prettify(tmp, BX_COUNTOF(tmp), 4096, bx::Units::Kibi);
87 REQUIRE(1 == bx::strCat(dst, BX_COUNTOF(dst), "------", 1) );
88 REQUIRE(3 == bx::strCat(dst, BX_COUNTOF(dst), "cat") );
175 BX_STATIC_ASSERT(BX_COUNTOF(test) == BX_COUNTOF(expected) );
177 bx::quickSort(test, BX_COUNTOF(test), sizeof(const char*), strCmpV);
179 for (uint32_t ii = 0; ii < BX_COUNTOF(test); ++ii)
251 int32_t num = bx::toString(tmp, BX_COUNTOF(tmp), _value, 10, _separator); in testToStringS()
284 int32_t num = bx::toString(tmp, BX_COUNTOF(tmp), _value); in testToString()
330 bx::toString(tmp, BX_COUNTOF(tmp), _value); in testFromString()
[all …]
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/examples/08-update/
H A Dupdate.cpp78 BX_STATIC_ASSERT(BX_COUNTOF(s_cubeVertices) == 28);
100 BX_STATIC_ASSERT(BX_COUNTOF(s_cubeIndices) == 36);
197 BX_STATIC_ASSERT(12 == BX_COUNTOF(m_textures)); in init()
269 for(uint32_t ii = 0; ii<BX_COUNTOF( m_textureCube ); ++ii) in init()
307 for (uint32_t ii = 0; ii < BX_COUNTOF(m_textureCubeFaceFb); ++ii) in init()
351 for (uint32_t ii = 0; ii < BX_COUNTOF(m_textures); ++ii) in shutdown()
363 for (uint32_t ii = 0; ii<BX_COUNTOF(m_textureCube); ++ii) in shutdown()
371 for (uint32_t ii = 0; ii<BX_COUNTOF(m_textureCubeFaceFb); ++ii) in shutdown()
535 for (uint32_t ii = 0; ii < BX_COUNTOF(m_textureCubeFaceFb); ++ii) in update()
552 for (uint32_t ii = 0; ii < BX_COUNTOF(m_textureCube); ++ii) in update()
[all …]
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/examples/08-update/
H A Dupdate.cpp78 BX_STATIC_ASSERT(BX_COUNTOF(s_cubeVertices) == 28);
100 BX_STATIC_ASSERT(BX_COUNTOF(s_cubeIndices) == 36);
197 BX_STATIC_ASSERT(12 == BX_COUNTOF(m_textures)); in init()
269 for(uint32_t ii = 0; ii<BX_COUNTOF( m_textureCube ); ++ii) in init()
307 for (uint32_t ii = 0; ii < BX_COUNTOF(m_textureCubeFaceFb); ++ii) in init()
351 for (uint32_t ii = 0; ii < BX_COUNTOF(m_textures); ++ii) in shutdown()
363 for (uint32_t ii = 0; ii<BX_COUNTOF(m_textureCube); ++ii) in shutdown()
371 for (uint32_t ii = 0; ii<BX_COUNTOF(m_textureCubeFaceFb); ++ii) in shutdown()
535 for (uint32_t ii = 0; ii < BX_COUNTOF(m_textureCubeFaceFb); ++ii) in update()
552 for (uint32_t ii = 0; ii < BX_COUNTOF(m_textureCube); ++ii) in update()
[all …]
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/examples/01-cubes/
H A Dcubes.cpp123 BX_STATIC_ASSERT(BX_COUNTOF(s_ptState) == BX_COUNTOF(s_ptNames) );
219 for (uint32_t ii = 0; ii < BX_COUNTOF(m_ibh); ++ii) in shutdown()
268 ImGui::Combo("", (int*)&m_pt, s_ptNames, BX_COUNTOF(s_ptNames) ); in update()
352 bgfx::IndexBufferHandle m_ibh[BX_COUNTOF(s_ptState)];
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/examples/01-cubes/
H A Dcubes.cpp123 BX_STATIC_ASSERT(BX_COUNTOF(s_ptState) == BX_COUNTOF(s_ptNames) );
219 for (uint32_t ii = 0; ii < BX_COUNTOF(m_ibh); ++ii) in shutdown()
268 ImGui::Combo("", (int*)&m_pt, s_ptNames, BX_COUNTOF(s_ptNames) ); in update()
352 bgfx::IndexBufferHandle m_ibh[BX_COUNTOF(s_ptState)];
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/examples/31-rsm/
H A Dreflectiveshadowmap.cpp275 for (uint32_t ii = 0; ii < BX_COUNTOF(s_meshPaths); ++ii) in init()
282 for (uint32_t ii = 0; ii < BX_COUNTOF(m_models); ++ii) in init()
289 model.mesh = 1+mwc.gen()%(BX_COUNTOF(s_meshPaths)-1); in init()
318 m_gbuffer = bgfx::createFrameBuffer(BX_COUNTOF(m_gbufferTex), m_gbufferTex, true); in init()
325 m_lightBuffer = bgfx::createFrameBuffer(BX_COUNTOF(lightBufferRTs), lightBufferRTs, true); in init()
360 m_shadowBuffer = bgfx::createFrameBuffer(BX_COUNTOF(m_shadowBufferTex), m_shadowBufferTex, true); in init()
383 for (uint32_t ii = 0; ii < BX_COUNTOF(s_meshPaths); ++ii) in shutdown()
416 for (uint32_t ii = 0; ii < BX_COUNTOF(m_gbufferTex); ++ii) in shutdown()
422 for (uint32_t ii = 0; ii < BX_COUNTOF(m_shadowBufferTex); ++ii) in shutdown()
633 for (uint32_t ii = 0; ii < BX_COUNTOF(m_models); ++ii) in drawAllModels()
[all …]
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/examples/31-rsm/
H A Dreflectiveshadowmap.cpp275 for (uint32_t ii = 0; ii < BX_COUNTOF(s_meshPaths); ++ii) in init()
282 for (uint32_t ii = 0; ii < BX_COUNTOF(m_models); ++ii) in init()
289 model.mesh = 1+mwc.gen()%(BX_COUNTOF(s_meshPaths)-1); in init()
318 m_gbuffer = bgfx::createFrameBuffer(BX_COUNTOF(m_gbufferTex), m_gbufferTex, true); in init()
325 m_lightBuffer = bgfx::createFrameBuffer(BX_COUNTOF(lightBufferRTs), lightBufferRTs, true); in init()
360 m_shadowBuffer = bgfx::createFrameBuffer(BX_COUNTOF(m_shadowBufferTex), m_shadowBufferTex, true); in init()
383 for (uint32_t ii = 0; ii < BX_COUNTOF(s_meshPaths); ++ii) in shutdown()
416 for (uint32_t ii = 0; ii < BX_COUNTOF(m_gbufferTex); ++ii) in shutdown()
422 for (uint32_t ii = 0; ii < BX_COUNTOF(m_shadowBufferTex); ++ii) in shutdown()
633 for (uint32_t ii = 0; ii < BX_COUNTOF(m_models); ++ii) in drawAllModels()
[all …]
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/src/
H A Ddxgi.cpp98 …BX_STATIC_ASSERT(BX_COUNTOF(s_colorSpaceStr) == kDxgiLastColorSpace+2, "Colorspace string table mi…
188 …actory->EnumAdapters(ii, reinterpret_cast<IDXGIAdapter**>(&adapter) ) && ii < BX_COUNTOF(_caps.gpu) in init()
199 char description[BX_COUNTOF(desc.Description)]; in init()
200 wcstombs(description, desc.Description, BX_COUNTOF(desc.Description) ); in init()
253 char deviceName[BX_COUNTOF(outputDesc.DeviceName)]; in init()
254 wcstombs(deviceName, outputDesc.DeviceName, BX_COUNTOF(outputDesc.DeviceName)); in init()
344 for (uint32_t ii = 0; ii < BX_COUNTOF(s_dxgiDeviceIIDs) && FAILED(hr); ++ii) in update()
347 BX_TRACE("DXGI device 11.%d, hr %x", BX_COUNTOF(s_dxgiDeviceIIDs) - 1 - ii, hr); in update()
494 for (uint32_t ii = 0; ii < BX_COUNTOF(s_dxgiSwapChainIIDs); ++ii) in createSwapChain()
506 for (uint32_t jj = 0; jj < BX_COUNTOF(s_colorSpace); ++jj) in createSwapChain()
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/src/
H A Ddxgi.cpp98 …BX_STATIC_ASSERT(BX_COUNTOF(s_colorSpaceStr) == kDxgiLastColorSpace+2, "Colorspace string table mi…
188 …actory->EnumAdapters(ii, reinterpret_cast<IDXGIAdapter**>(&adapter) ) && ii < BX_COUNTOF(_caps.gpu) in init()
199 char description[BX_COUNTOF(desc.Description)]; in init()
200 wcstombs(description, desc.Description, BX_COUNTOF(desc.Description) ); in init()
253 char deviceName[BX_COUNTOF(outputDesc.DeviceName)]; in init()
254 wcstombs(deviceName, outputDesc.DeviceName, BX_COUNTOF(outputDesc.DeviceName)); in init()
344 for (uint32_t ii = 0; ii < BX_COUNTOF(s_dxgiDeviceIIDs) && FAILED(hr); ++ii) in update()
347 BX_TRACE("DXGI device 11.%d, hr %x", BX_COUNTOF(s_dxgiDeviceIIDs) - 1 - ii, hr); in update()
494 for (uint32_t ii = 0; ii < BX_COUNTOF(s_dxgiSwapChainIIDs); ++ii) in createSwapChain()
506 for (uint32_t jj = 0; jj < BX_COUNTOF(s_colorSpace); ++jj) in createSwapChain()
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/examples/common/
H A Dexample-glue.cpp128 bx::snprintf(temp, BX_COUNTOF(temp), "Example: %s", _app->getName() ); in showExampleDialog()
154 bx::snprintf(tmp, BX_COUNTOF(tmp), "Documentation: %.*s", url.getLength(), url.getPtr() ); in showExampleDialog()
199 bx::snprintf(command, BX_COUNTOF(command), "app restart %s", items[current]); in showExampleDialog()
247 uint8_t num = bgfx::getSupportedRenderers(BX_COUNTOF(supportedRenderers), supportedRenderers); in showExampleDialog()
305 …bx::snprintf(frameTextOverlay, BX_COUNTOF(frameTextOverlay), "%s%.3fms, %s%.3fms\nAvg: %.3fms, %.1… in showExampleDialog()
335 bx::prettify(tmp0, BX_COUNTOF(tmp0), stats->gpuMemoryUsed); in showExampleDialog()
338 bx::prettify(tmp1, BX_COUNTOF(tmp1), stats->gpuMemoryMax); in showExampleDialog()
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/examples/common/
H A Dexample-glue.cpp128 bx::snprintf(temp, BX_COUNTOF(temp), "Example: %s", _app->getName() ); in showExampleDialog()
154 bx::snprintf(tmp, BX_COUNTOF(tmp), "Documentation: %.*s", url.getLength(), url.getPtr() ); in showExampleDialog()
199 bx::snprintf(command, BX_COUNTOF(command), "app restart %s", items[current]); in showExampleDialog()
247 uint8_t num = bgfx::getSupportedRenderers(BX_COUNTOF(supportedRenderers), supportedRenderers); in showExampleDialog()
305 …bx::snprintf(frameTextOverlay, BX_COUNTOF(frameTextOverlay), "%s%.3fms, %s%.3fms\nAvg: %.3fms, %.1… in showExampleDialog()
335 bx::prettify(tmp0, BX_COUNTOF(tmp0), stats->gpuMemoryUsed); in showExampleDialog()
338 bx::prettify(tmp1, BX_COUNTOF(tmp1), stats->gpuMemoryMax); in showExampleDialog()

12345678