[virglrenderer-devel] [PATCH] Increase VREND_MAX_CTX to 64.

Lepton Wu lepton at chromium.org
Fri Mar 16 07:34:29 UTC 2018


On Wed, Mar 14, 2018 at 2:35 PM, Lepton Wu <lepton at chromium.org> wrote:
> The current default value is not big enough for running android app
> inside Chrome OS under qemu+virgl. Increase it to 64 so we can run
> several android apps inside ARC++ under Chrome OS in qemu+virgl at
> same time.
>
> Signed-off-by: Lepton Wu <lepton at chromium.org>
> ---
>  src/vrend_decode.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/vrend_decode.c b/src/vrend_decode.c
> index 6112bd8..cdfb91b 100644
> --- a/src/vrend_decode.c
> +++ b/src/vrend_decode.c
> @@ -47,7 +47,7 @@ struct vrend_decode_ctx {
>     struct vrend_decoder_state ids, *ds;
>     struct vrend_context *grctx;
>  };
> -#define VREND_MAX_CTX 16
> +#define VREND_MAX_CTX 64
>  static struct vrend_decode_ctx *dec_ctx[VREND_MAX_CTX];
>
>  static inline uint32_t get_buf_entry(struct vrend_decode_ctx *ctx, uint32_t offset)
> --
> 2.16.2.804.g6dcf76e118-goog
>

Any comments for this CL?  Thanks!


More information about the virglrenderer-devel mailing list