예제 #1
0
void WebRender::updateWebcore(){
	Sleep(50);
    awe_webcore_update();
	rPixelBuffer = awe_renderbuffer_get_buffer(renderBuffer);
	pixelBuffer = const_cast<unsigned char *> (rPixelBuffer);
	convertBGRAToRGB(pixelBuffer,rightPixelBuffer,WEB_WIDTH, WEB_HEIGHT);
	texColor.loadData(rightPixelBuffer, WEB_WIDTH, WEB_HEIGHT, GL_RGB);	
}
예제 #2
0
	const unsigned char* Awesomium::getBufferFromRenderbuffer()
	{				
		return awe_renderbuffer_get_buffer(rBuffer);
	}