Rename shader_context.c to video_shader_driver.c

This commit is contained in:
twinaphex 2015-01-12 21:41:27 +01:00
parent f21f7e17b5
commit cec3af8e4a
14 changed files with 21 additions and 23 deletions

View File

@ -132,7 +132,7 @@ OBJ += frontend/frontend.o \
screenshot.o \
libretro-sdk/gfx/scaler/scaler.o \
gfx/shader/shader_null.o \
gfx/shader/shader_context.o \
gfx/video_shader_driver.o \
gfx/shader/shader_parse.o \
libretro-sdk/gfx/scaler/pixconv.o \
libretro-sdk/gfx/scaler/scaler_int.o \

View File

@ -46,7 +46,7 @@
#include "../../driver.h"
#if defined(HAVE_CG) || defined(HAVE_GLSL) || defined(HAVE_HLSL)
#include "../shader/shader_context.h"
#include "../video_shader_driver.h"
#endif
#include "../fonts/d3d_font.h"

View File

@ -49,7 +49,7 @@
#include <string/string_list.h>
#endif
#include "../shader/shader_context.h"
#include "../video_shader_driver.h"
/* Used for the last pass when rendering to the back buffer. */
static const GLfloat vertexes_flipped[] = {

View File

@ -16,7 +16,7 @@
#include "../gfx_common.h"
#include "../gl_common.h"
#include "../shader/shader_context.h"
#include "../video_shader_driver.h"
#define emit(c, vx, vy) do { \
font_vertex[ 2 * (6 * i + c) + 0] = (x + (delta_x + off_x + vx * width) * scale) * inv_win_width; \

View File

@ -22,7 +22,7 @@
#include <gfx/math/matrix_4x4.h>
#include <gfx/scaler/scaler.h>
#include "fonts/gl_font.h"
#include "shader/shader_context.h"
#include "video_shader_driver.h"
#ifdef HAVE_CONFIG_H
#include "../config.h"

View File

@ -20,7 +20,7 @@
#endif
#include <stdint.h>
#include "shader_context.h"
#include "../video_shader_driver.h"
#include <Cg/cg.h>

View File

@ -18,8 +18,10 @@
#define __RARCH_GLSL_H
#include <boolean.h>
#include "shader_context.h"
#include "../video_shader_driver.h"
void gl_glsl_set_get_proc_address(gfx_ctx_proc_t (*proc)(const char*));
void gl_glsl_set_context_type(bool core_profile, unsigned major, unsigned minor);
#endif

View File

@ -18,7 +18,7 @@
#ifndef __RARCH_HLSL_H
#define __RARCH_HLSL_H
#include "shader_context.h"
#include "../video_shader_driver.h"
#include <stdint.h>
void hlsl_set_proj_matrix(XMMATRIX rotation_value);

View File

@ -31,7 +31,7 @@
#include "../gl_common.h"
#endif
#include "shader_context.h"
#include "../video_shader_driver.h"
#include <stdlib.h>
static void shader_null_deinit(void) { }

View File

@ -13,14 +13,10 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "shader_context.h"
#include "../../retroarch_logger.h"
#include "video_shader_driver.h"
#include "../retroarch_logger.h"
#include <string.h>
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#endif
static const shader_backend_t *shader_ctx_drivers[] = {
#ifdef HAVE_CG
&gl_cg_backend,

View File

@ -13,16 +13,16 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SHADER_CONTEXT_H__
#define SHADER_CONTEXT_H__
#ifndef VIDEO_SHADER_DRIVER_H__
#define VIDEO_SHADER_DRIVER_H__
#include <boolean.h>
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#include "../config.h"
#endif
#include "../video_context.h"
#include "video_context.h"
#include <gfx/math/matrix_4x4.h>
typedef struct shader_backend
@ -78,7 +78,7 @@ extern const shader_backend_t shader_null_backend;
#define HAVE_SHADER_MANAGER
#endif
#include "shader_parse.h"
#include "shader/shader_parse.h"
#define GL_SHADER_STOCK_BLEND (GFX_MAX_SHADERS - 1)

View File

@ -134,7 +134,7 @@ VIDEO SHADERS
============================================================ */
#ifdef HAVE_SHADERS
#include "../gfx/shader/shader_context.c"
#include "../gfx/video_shader_driver.c"
#include "../gfx/shader/shader_parse.c"
#include "../gfx/shader/shader_null.c"

View File

@ -28,7 +28,7 @@
#include "../../core_info.h"
#include "../../playlist.h"
#include "menu_input.h"
#include "../../gfx/shader/shader_context.h"
#include "../../gfx/video_shader_driver.h"
#ifdef HAVE_RGUI
#define MENU_TEXTURE_FULLSCREEN false

View File

@ -17,7 +17,7 @@
#ifndef _MENU_SHADER_MANAGER_H
#define _MENU_SHADER_MANAGER_H
#include "../gfx/shader/shader_context.h"
#include "../gfx/video_shader_driver.h"
#ifdef __cplusplus
extern "C" {