Skip to content

Conversation

@akshay-at-yml
Copy link
Contributor

@akshay-at-yml akshay-at-yml commented Aug 16, 2022

The screenshots for Pixel5 device are captured using emulator with software acceleration.

Running emulator in GPU mode. 'swiftshader_indirect`, Which will use software acceleration instead of hardware acceleration for rendering.

Steps :

  1. Checkout this branch
  2. launch emulator using. \emulator -avd <AVD NAME> -gpu swiftshader_indirect

Example :

PS C:\Users\LATITUDE\AppData\Local\Android\Sdk\emulator> ./emulator -list-avds Pixel_4_API_30 Pixel_4_XL_API_33 Screenshot_Device PS C:\Users\LATITUDE\AppData\Local\Android\Sdk\emulator> .\emulator -avd Pixel_4_API_30 -gpu swiftshader_indirect 
  1. Run shot tests on Pixel 5 device
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants