Tag Archives: renderdoc

Building RenderDoc for Android on WSL

I cloned the repository, created build directory, set environment variables and run CMake:

git clone https://github.com/baldurk/renderdoc.git
cd renderdoc/
mkdir build-android
cd build-android
export JAVA_HOME=~/dev/repos/graphicsprofiler/tools/buildtools/jdk
export ANDROID_SDK=~/dev/repos/graphicsprofiler/tools/buildtools/android
export ANDROID_NDK=~/dev/repos/graphicsprofiler/tools/buildtools/android/ndk-bundle/android-ndk-r20b
export PATH=$PATH:$JAVA_HOME/bin
cmake -DBUILD_ANDROID=On -DANDROID_ABI=armeabi-v7a ..
(more…)

Investigating SDFile in RenderDoc

When we click on a node in Event Viewer: see renderdoc\qrenderdoc\Windows\APIInspector.cpp:

void APIInspector::OnSelectedEventChanged(uint32_t eventId)
{
  ui->apiEvents->saveExpansion(ui->apiEvents->getInternalExpansion(m_EventID), 0);

  ui->apiEvents->clearSelection();

  fillAPIView();

  m_EventID = eventId;
  ui->apiEvents->applyExpansion(ui->apiEvents->getInternalExpansion(m_EventID), 0);
}
(more…)

Debugging RenderDoc

Visual Studio 2022 was able to display rdcstr:

(more…)

How RenderDoc works with Vulkan app

Launching a Windows app

I built Vulkan samples for Windows as follows:

set MY_VS_GENERATOR="Visual Studio 17 2022"
set MY_DRIVE=D:
%MY_DRIVE%
cd \dev\build\v
set MY_CMAKE_EXE=%MY_DRIVE%\dev\tools\cmake-3.24.2-windows-x86_64\bin\cmake.exe
%MY_CMAKE_EXE% ..\..\repos\Vulkan -G %MY_VS_GENERATOR% -A x64
rem Open generated vulkanExamples.sln and build.

and launched bloom.exe with RenderDoc:

(more…)

How RenderDoc works with OpenGL app

I cloned RenderDoc’s repository:

git clone https://github.com/baldurk/renderdoc.git

easily built renderdoc\renderdoc.sln with MSVC2022 on my home machine, opened my Lines Game built on Windows with OpenGL:

(more…)