/third_party/skia/third_party/externals/imgui/backends/ |
H A D | imgui_impl_sdlrenderer.cpp | 145 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplSDLRenderer_RenderDrawData() local 146 if (pcmd->UserCallback) in ImGui_ImplSDLRenderer_RenderDrawData() 150 if (pcmd->UserCallback == ImDrawCallback_ResetRenderState) in ImGui_ImplSDLRenderer_RenderDrawData() 153 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplSDLRenderer_RenderDrawData() 158 ImVec2 clip_min((pcmd->ClipRect.x - clip_off.x) * clip_scale.x, (pcmd->ClipRect.y - clip_off.y) * clip_scale.y); in ImGui_ImplSDLRenderer_RenderDrawData() 159 ImVec2 clip_max((pcmd->ClipRect.z - clip_off.x) * clip_scale.x, (pcmd->ClipRect.w - clip_off.y) * clip_scale.y); in ImGui_ImplSDLRenderer_RenderDrawData() 175 SDL_Texture* tex = (SDL_Texture*)pcmd in ImGui_ImplSDLRenderer_RenderDrawData() [all...] |
H A D | imgui_impl_opengl2.cpp | 191 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplOpenGL2_RenderDrawData() local 192 if (pcmd->UserCallback) in ImGui_ImplOpenGL2_RenderDrawData() 196 if (pcmd->UserCallback == ImDrawCallback_ResetRenderState) in ImGui_ImplOpenGL2_RenderDrawData() 199 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplOpenGL2_RenderDrawData() 204 ImVec2 clip_min((pcmd->ClipRect.x - clip_off.x) * clip_scale.x, (pcmd->ClipRect.y - clip_off.y) * clip_scale.y); in ImGui_ImplOpenGL2_RenderDrawData() 205 ImVec2 clip_max((pcmd->ClipRect.z - clip_off.x) * clip_scale.x, (pcmd->ClipRect.w - clip_off.y) * clip_scale.y); in ImGui_ImplOpenGL2_RenderDrawData() 213 glBindTexture(GL_TEXTURE_2D, (GLuint)(intptr_t)pcmd in ImGui_ImplOpenGL2_RenderDrawData() [all...] |
H A D | imgui_impl_dx9.cpp | 239 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplDX9_RenderDrawData() local 240 if (pcmd->UserCallback != NULL) in ImGui_ImplDX9_RenderDrawData() 244 if (pcmd->UserCallback == ImDrawCallback_ResetRenderState) in ImGui_ImplDX9_RenderDrawData() 247 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplDX9_RenderDrawData() 252 ImVec2 clip_min(pcmd->ClipRect.x - clip_off.x, pcmd->ClipRect.y - clip_off.y); in ImGui_ImplDX9_RenderDrawData() 253 ImVec2 clip_max(pcmd->ClipRect.z - clip_off.x, pcmd->ClipRect.w - clip_off.y); in ImGui_ImplDX9_RenderDrawData() 259 const LPDIRECT3DTEXTURE9 texture = (LPDIRECT3DTEXTURE9)pcmd in ImGui_ImplDX9_RenderDrawData() [all...] |
H A D | imgui_impl_opengl3.cpp | 433 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplOpenGL3_RenderDrawData() local 434 if (pcmd->UserCallback != NULL) in ImGui_ImplOpenGL3_RenderDrawData() 438 if (pcmd->UserCallback == ImDrawCallback_ResetRenderState) in ImGui_ImplOpenGL3_RenderDrawData() 441 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplOpenGL3_RenderDrawData() 446 ImVec2 clip_min((pcmd->ClipRect.x - clip_off.x) * clip_scale.x, (pcmd->ClipRect.y - clip_off.y) * clip_scale.y); in ImGui_ImplOpenGL3_RenderDrawData() 447 ImVec2 clip_max((pcmd->ClipRect.z - clip_off.x) * clip_scale.x, (pcmd->ClipRect.w - clip_off.y) * clip_scale.y); in ImGui_ImplOpenGL3_RenderDrawData() 455 glBindTexture(GL_TEXTURE_2D, (GLuint)(intptr_t)pcmd in ImGui_ImplOpenGL3_RenderDrawData() [all...] |
H A D | imgui_impl_allegro5.cpp | 162 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplAllegro5_RenderDrawData() local 163 if (pcmd->UserCallback) in ImGui_ImplAllegro5_RenderDrawData() 167 if (pcmd->UserCallback == ImDrawCallback_ResetRenderState) in ImGui_ImplAllegro5_RenderDrawData() 170 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplAllegro5_RenderDrawData() 175 ImVec2 clip_min(pcmd->ClipRect.x - clip_off.x, pcmd->ClipRect.y - clip_off.y); in ImGui_ImplAllegro5_RenderDrawData() 176 ImVec2 clip_max(pcmd->ClipRect.z - clip_off.x, pcmd->ClipRect.w - clip_off.y); in ImGui_ImplAllegro5_RenderDrawData() 181 ALLEGRO_BITMAP* texture = (ALLEGRO_BITMAP*)pcmd in ImGui_ImplAllegro5_RenderDrawData() [all...] |
H A D | imgui_impl_dx10.cpp | 244 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplDX10_RenderDrawData() local 245 if (pcmd->UserCallback) in ImGui_ImplDX10_RenderDrawData() 249 if (pcmd->UserCallback == ImDrawCallback_ResetRenderState) in ImGui_ImplDX10_RenderDrawData() 252 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplDX10_RenderDrawData() 257 ImVec2 clip_min(pcmd->ClipRect.x - clip_off.x, pcmd->ClipRect.y - clip_off.y); in ImGui_ImplDX10_RenderDrawData() 258 ImVec2 clip_max(pcmd->ClipRect.z - clip_off.x, pcmd->ClipRect.w - clip_off.y); in ImGui_ImplDX10_RenderDrawData() 267 ID3D10ShaderResourceView* texture_srv = (ID3D10ShaderResourceView*)pcmd in ImGui_ImplDX10_RenderDrawData() [all...] |
H A D | imgui_impl_marmalade.cpp | 77 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_Marmalade_RenderDrawData() local 78 if (pcmd->UserCallback) in ImGui_Marmalade_RenderDrawData() 80 pcmd->UserCallback(cmd_list, pcmd); in ImGui_Marmalade_RenderDrawData() 92 pCurrentMaterial->SetTexture((CIwTexture*)pcmd->GetTexID()); in ImGui_Marmalade_RenderDrawData() 94 IwGxDrawPrims(IW_GX_TRI_LIST, (uint16*)idx_buffer, pcmd->ElemCount); in ImGui_Marmalade_RenderDrawData() 96 idx_buffer += pcmd->ElemCount; in ImGui_Marmalade_RenderDrawData()
|
H A D | imgui_impl_dx11.cpp | 254 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplDX11_RenderDrawData() local 255 if (pcmd->UserCallback != NULL) in ImGui_ImplDX11_RenderDrawData() 259 if (pcmd->UserCallback == ImDrawCallback_ResetRenderState) in ImGui_ImplDX11_RenderDrawData() 262 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplDX11_RenderDrawData() 267 ImVec2 clip_min(pcmd->ClipRect.x - clip_off.x, pcmd->ClipRect.y - clip_off.y); in ImGui_ImplDX11_RenderDrawData() 268 ImVec2 clip_max(pcmd->ClipRect.z - clip_off.x, pcmd->ClipRect.w - clip_off.y); in ImGui_ImplDX11_RenderDrawData() 277 ID3D11ShaderResourceView* texture_srv = (ID3D11ShaderResourceView*)pcmd in ImGui_ImplDX11_RenderDrawData() [all...] |
H A D | imgui_impl_dx12.cpp | 250 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplDX12_RenderDrawData() local 251 if (pcmd->UserCallback != NULL) in ImGui_ImplDX12_RenderDrawData() 255 if (pcmd->UserCallback == ImDrawCallback_ResetRenderState) in ImGui_ImplDX12_RenderDrawData() 258 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplDX12_RenderDrawData() 263 ImVec2 clip_min(pcmd->ClipRect.x - clip_off.x, pcmd->ClipRect.y - clip_off.y); in ImGui_ImplDX12_RenderDrawData() 264 ImVec2 clip_max(pcmd->ClipRect.z - clip_off.x, pcmd->ClipRect.w - clip_off.y); in ImGui_ImplDX12_RenderDrawData() 271 texture_handle.ptr = (UINT64)pcmd in ImGui_ImplDX12_RenderDrawData() [all...] |
H A D | imgui_impl_wgpu.cpp | 419 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplWGPU_RenderDrawData() local 420 if (pcmd->UserCallback != NULL) in ImGui_ImplWGPU_RenderDrawData() 424 if (pcmd->UserCallback == ImDrawCallback_ResetRenderState) in ImGui_ImplWGPU_RenderDrawData() 427 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplWGPU_RenderDrawData() 432 ImTextureID tex_id = pcmd->GetTexID(); in ImGui_ImplWGPU_RenderDrawData() 447 ImVec2 clip_min((pcmd->ClipRect.x - clip_off.x) * clip_scale.x, (pcmd->ClipRect.y - clip_off.y) * clip_scale.y); in ImGui_ImplWGPU_RenderDrawData() 448 ImVec2 clip_max((pcmd->ClipRect.z - clip_off.x) * clip_scale.x, (pcmd in ImGui_ImplWGPU_RenderDrawData() [all...] |
H A D | imgui_impl_vulkan.cpp | 501 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplVulkan_RenderDrawData() local 502 if (pcmd->UserCallback != NULL) in ImGui_ImplVulkan_RenderDrawData() 506 if (pcmd->UserCallback == ImDrawCallback_ResetRenderState) in ImGui_ImplVulkan_RenderDrawData() 509 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplVulkan_RenderDrawData() 514 ImVec2 clip_min((pcmd->ClipRect.x - clip_off.x) * clip_scale.x, (pcmd->ClipRect.y - clip_off.y) * clip_scale.y); in ImGui_ImplVulkan_RenderDrawData() 515 ImVec2 clip_max((pcmd->ClipRect.z - clip_off.x) * clip_scale.x, (pcmd->ClipRect.w - clip_off.y) * clip_scale.y); in ImGui_ImplVulkan_RenderDrawData() 534 vkCmdDrawIndexed(command_buffer, pcmd in ImGui_ImplVulkan_RenderDrawData() [all...] |
/third_party/mesa3d/src/intel/tools/imgui/ |
H A D | imgui_impl_opengl3.cpp | 188 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in ImGui_ImplOpenGL3_RenderDrawData() local 189 if (pcmd->UserCallback) in ImGui_ImplOpenGL3_RenderDrawData() 192 pcmd->UserCallback(cmd_list, pcmd); in ImGui_ImplOpenGL3_RenderDrawData() 196 ImVec4 clip_rect = ImVec4(pcmd->ClipRect.x - pos.x, pcmd->ClipRect.y - pos.y, pcmd->ClipRect.z - pos.x, pcmd->ClipRect.w - pos.y); in ImGui_ImplOpenGL3_RenderDrawData() 203 glBindTexture(GL_TEXTURE_2D, (GLuint)(intptr_t)pcmd->TextureId); in ImGui_ImplOpenGL3_RenderDrawData() 204 glDrawElements(GL_TRIANGLES, (GLsizei)pcmd in ImGui_ImplOpenGL3_RenderDrawData() [all...] |
/third_party/node/deps/openssl/openssl/ssl/ |
H A D | ssl_conf.c | 806 static int ssl_conf_cmd_skip_prefix(SSL_CONF_CTX *cctx, const char **pcmd) in ssl_conf_cmd_skip_prefix() argument 808 if (pcmd == NULL || *pcmd == NULL) in ssl_conf_cmd_skip_prefix() 812 if (strlen(*pcmd) <= cctx->prefixlen) in ssl_conf_cmd_skip_prefix() 815 strncmp(*pcmd, cctx->prefix, cctx->prefixlen)) in ssl_conf_cmd_skip_prefix() 818 OPENSSL_strncasecmp(*pcmd, cctx->prefix, cctx->prefixlen)) in ssl_conf_cmd_skip_prefix() 820 *pcmd += cctx->prefixlen; in ssl_conf_cmd_skip_prefix() 822 if (**pcmd != '-' || !(*pcmd)[1]) in ssl_conf_cmd_skip_prefix() 824 *pcmd in ssl_conf_cmd_skip_prefix() [all...] |
/third_party/openssl/ssl/ |
H A D | ssl_conf.c | 806 static int ssl_conf_cmd_skip_prefix(SSL_CONF_CTX *cctx, const char **pcmd) in ssl_conf_cmd_skip_prefix() argument 808 if (pcmd == NULL || *pcmd == NULL) in ssl_conf_cmd_skip_prefix() 812 if (strlen(*pcmd) <= cctx->prefixlen) in ssl_conf_cmd_skip_prefix() 815 strncmp(*pcmd, cctx->prefix, cctx->prefixlen)) in ssl_conf_cmd_skip_prefix() 818 OPENSSL_strncasecmp(*pcmd, cctx->prefix, cctx->prefixlen)) in ssl_conf_cmd_skip_prefix() 820 *pcmd += cctx->prefixlen; in ssl_conf_cmd_skip_prefix() 822 if (**pcmd != '-' || !(*pcmd)[1]) in ssl_conf_cmd_skip_prefix() 824 *pcmd in ssl_conf_cmd_skip_prefix() [all...] |
/third_party/node/test/parallel/ |
H A D | test-cli-eval.js | 205 const pcmd = `${nodejs}${popt} -- ${args}`; 206 child.exec(pcmd, common.mustCall(function(err, stdout, stderr) {
|
/third_party/mesa3d/src/vulkan/overlay-layer/ |
H A D | overlay.cpp | 1315 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; in render_swapchain_display() local 1319 scissor.offset.x = (int32_t)(pcmd->ClipRect.x - display_pos.x) > 0 ? (int32_t)(pcmd->ClipRect.x - display_pos.x) : 0; in render_swapchain_display() 1320 scissor.offset.y = (int32_t)(pcmd->ClipRect.y - display_pos.y) > 0 ? (int32_t)(pcmd->ClipRect.y - display_pos.y) : 0; in render_swapchain_display() 1321 scissor.extent.width = (uint32_t)(pcmd->ClipRect.z - pcmd->ClipRect.x); in render_swapchain_display() 1322 scissor.extent.height = (uint32_t)(pcmd->ClipRect.w - pcmd->ClipRect.y + 1); // FIXME: Why +1 here? in render_swapchain_display() 1326 device_data->vtable.CmdDrawIndexed(draw->command_buffer, pcmd in render_swapchain_display() [all...] |
/third_party/skia/third_party/externals/imgui/ |
H A D | imgui.cpp | 304 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; 305 if (pcmd->UserCallback) 307 pcmd->UserCallback(cmd_list, pcmd); 311 // The texture for the draw call is specified by pcmd->GetTexID(). 313 MyEngineBindTexture((MyTexture*)pcmd->GetTexID()); 323 // - Note that pcmd->ClipRect contains Min+Max bounds. Some graphics API may use Min+Max, other may use Min+Size (size being Max-Min) 325 MyEngineScissor((int)(pcmd->ClipRect.x - pos.x), (int)(pcmd->ClipRect.y - pos.y), (int)(pcmd [all...] |
/third_party/mesa3d/src/imgui/ |
H A D | imgui.cpp | 284 const ImDrawCmd* pcmd = &cmd_list->CmdBuffer[cmd_i]; 285 if (pcmd->UserCallback) 287 pcmd->UserCallback(cmd_list, pcmd); 291 // The texture for the draw call is specified by pcmd->TextureId. 293 MyEngineBindTexture((MyTexture*)pcmd->TextureId); 302 // - Note that pcmd->ClipRect contains Min+Max bounds. Some graphics API may use Min+Max, other may use Min+Size (size being Max-Min) 304 MyEngineScissor((int)(pcmd->ClipRect.x - pos.x), (int)(pcmd->ClipRect.y - pos.y), (int)(pcmd [all...] |