Can you transfer DirectX game to Google Native Client?
You will have to rewrite your D3D code to OpenGL ES 2.0 (or introduce a runtime translation layer that translates DirectX calls to OpenGL ES).
The native client is designed to be portable across different operating systems (currently Windows, Linux, Mac OS, and Chrome OS), so you can't use something specific for one operating system. In the Native Client, you can think of the Pepper API (PPAPI) as a syscall interface to access features like graphics, audio, networking, etc. And specifically for hardware accelerated graphics, the native client supports OpenGL ES 2.0.
source to share