diff options
author | notaz | 2012-10-29 01:08:35 +0200 |
---|---|---|
committer | notaz | 2012-11-02 03:03:39 +0200 |
commit | fa56d36096cd4ab2b227ce2aa61c8404b8874689 (patch) | |
tree | 21fafd8723022995c1ec9e00914cd1478a3d0476 /plugins/gpu_neon | |
parent | b7569147823a8fc5a9de98e5d491da906e119296 (diff) | |
download | pcsx_rearmed-fa56d36096cd4ab2b227ce2aa61c8404b8874689.tar.gz pcsx_rearmed-fa56d36096cd4ab2b227ce2aa61c8404b8874689.tar.bz2 pcsx_rearmed-fa56d36096cd4ab2b227ce2aa61c8404b8874689.zip |
move blit to core, allow filtering while blitting
also adds libpicofe to pull filters from, and filter related UI stuff
Diffstat (limited to 'plugins/gpu_neon')
-rw-r--r-- | plugins/gpu_neon/psx_gpu_if.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/gpu_neon/psx_gpu_if.c b/plugins/gpu_neon/psx_gpu_if.c index 3ce9c1c..8900d4e 100644 --- a/plugins/gpu_neon/psx_gpu_if.c +++ b/plugins/gpu_neon/psx_gpu_if.c @@ -44,7 +44,7 @@ int do_cmd_list(uint32_t *list, int count, int *last_cmd) #define ENHANCEMENT_BUF_SIZE (1024 * 1024 * 2 * 4 + 4096 * 2) static uint16_t *get_enhancement_bufer(int *x, int *y, int *w, int *h, - int *stride, int *mask) + int *vram_h) { uint16_t *ret = select_enhancement_buf_ptr(&egpu, *x); @@ -52,8 +52,7 @@ static uint16_t *get_enhancement_bufer(int *x, int *y, int *w, int *h, *y *= 2; *w = *w * 2; *h = *h * 2; - *stride *= 2; - *mask = 1024 * 1024 - 1; + *vram_h = 1024; return ret; } @@ -183,4 +182,6 @@ void renderer_set_config(const struct rearmed_cbs *cbs) if (gpu.mmap != NULL && egpu.enhancement_buf_ptr == NULL) map_enhancement_buffer(); + if (cbs->pl_set_gpu_caps) + cbs->pl_set_gpu_caps(GPU_CAP_SUPPORTS_2X); } |