libeplayer3/subtitles/spark: use backbuffer and blit

Origin commit data
------------------
Branch: master
Commit: 84b264ad87
Author: martii <m4rtii@gmx.de>
Date: 2013-07-27 (Sat, 27 Jul 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2013-07-27 08:12:03 +02:00
parent 510d320b64
commit 19ba5c1b78
5 changed files with 29 additions and 62 deletions

View File

@@ -109,6 +109,7 @@ static int screen_height = 0;
static int destStride = 0;
static int shareFramebuffer = 0;
static int framebufferFD = -1;
static void (*framebufferBlit) = NULL;
static unsigned char* destination = NULL;
/* ***************************** */
@@ -783,6 +784,7 @@ static int Command(void *_context, OutputCmd_t command, void * argument) {
out->screen_height = screen_height;
out->shareFramebuffer = shareFramebuffer;
out->framebufferFD = framebufferFD;
out->framebufferBlit = framebufferBlit;
out->destination = destination;
out->destStride = destStride;
break;
@@ -793,6 +795,7 @@ static int Command(void *_context, OutputCmd_t command, void * argument) {
screen_height = out->screen_height;
shareFramebuffer = out->shareFramebuffer;
framebufferFD = out->framebufferFD;
framebufferBlit = out->framebufferBlit;
destination = out->destination;
destStride = out->destStride;
break;