mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Rename gfx_common.c to win32_dwm_common.c
This commit is contained in:
parent
cdb1f9e0a6
commit
51d97c3fbb
@ -116,7 +116,6 @@ OBJ += frontend/frontend.o \
|
|||||||
dynamic_dummy.o \
|
dynamic_dummy.o \
|
||||||
libretro-sdk/queues/message_queue.o \
|
libretro-sdk/queues/message_queue.o \
|
||||||
rewind.o \
|
rewind.o \
|
||||||
gfx/gfx_common.o \
|
|
||||||
gfx/drivers_font_renderer/bitmapfont.o \
|
gfx/drivers_font_renderer/bitmapfont.o \
|
||||||
input/input_autodetect.o \
|
input/input_autodetect.o \
|
||||||
input/input_joypad_driver.o \
|
input/input_joypad_driver.o \
|
||||||
@ -629,7 +628,8 @@ endif
|
|||||||
ifneq ($(findstring Win32,$(OS)),)
|
ifneq ($(findstring Win32,$(OS)),)
|
||||||
OBJ += media/rarch.o \
|
OBJ += media/rarch.o \
|
||||||
input/keyboard_event_win32.o \
|
input/keyboard_event_win32.o \
|
||||||
gfx/drivers_context/win32_common.o
|
gfx/drivers_context/win32_common.o \
|
||||||
|
gfx/drivers_context/win32_dwm_common.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Record
|
# Record
|
||||||
|
2
driver.c
2
driver.c
@ -25,7 +25,7 @@
|
|||||||
#include "gfx/video_viewport.h"
|
#include "gfx/video_viewport.h"
|
||||||
#include "gfx/video_pixel_converter.h"
|
#include "gfx/video_pixel_converter.h"
|
||||||
#include "audio/audio_monitor.h"
|
#include "audio/audio_monitor.h"
|
||||||
#include "gfx/gfx_common.h"
|
#include "gfx/drivers_context/win32_dwm_common.h"
|
||||||
|
|
||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
#include "menu/menu.h"
|
#include "menu/menu.h"
|
||||||
|
@ -26,9 +26,10 @@
|
|||||||
#endif
|
#endif
|
||||||
#include "../video_viewport.h"
|
#include "../video_viewport.h"
|
||||||
|
|
||||||
#include "../drivers_context/win32_common.h"
|
|
||||||
|
|
||||||
#ifndef _XBOX
|
#ifndef _XBOX
|
||||||
|
#include "../drivers_context/win32_common.h"
|
||||||
|
#include "../drivers_context/win32_dwm_common.h"
|
||||||
|
|
||||||
#define HAVE_MONITOR
|
#define HAVE_MONITOR
|
||||||
#define HAVE_WINDOW
|
#define HAVE_WINDOW
|
||||||
#endif
|
#endif
|
||||||
|
@ -49,6 +49,10 @@
|
|||||||
#include <string/string_list.h>
|
#include <string/string_list.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(_WIN32) && !defined(_XBOX)
|
||||||
|
#include "../drivers_context/win32_dwm_common.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../video_shader_driver.h"
|
#include "../video_shader_driver.h"
|
||||||
|
|
||||||
/* Used for the last pass when rendering to the back buffer. */
|
/* Used for the last pass when rendering to the back buffer. */
|
||||||
|
@ -32,6 +32,10 @@
|
|||||||
#include "../drivers_context/x11_common.h"
|
#include "../drivers_context/x11_common.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(_WIN32) && !defined(_XBOX)
|
||||||
|
#include "../drivers_context/win32_dwm_common.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -29,6 +29,10 @@
|
|||||||
#include "../drivers_context/x11_common.h"
|
#include "../drivers_context/x11_common.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(_WIN32) && !defined(_XBOX)
|
||||||
|
#include "../drivers_context/win32_dwm_common.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -14,12 +14,12 @@
|
|||||||
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "gfx_common.h"
|
#include "win32_dwm_common.h"
|
||||||
#include "../general.h"
|
#include "../../general.h"
|
||||||
|
|
||||||
#if defined(_WIN32) && !defined(_XBOX)
|
#if defined(_WIN32) && !defined(_XBOX)
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include "../dynamic.h"
|
#include "../../dynamic.h"
|
||||||
|
|
||||||
/* We only load this library once, so we let it be
|
/* We only load this library once, so we let it be
|
||||||
* unloaded at application shutdown, since unloading
|
* unloaded at application shutdown, since unloading
|
@ -14,8 +14,8 @@
|
|||||||
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __GFX_COMMON_H
|
#ifndef __WIN32_DWM_COMMON_H
|
||||||
#define __GFX_COMMON_H
|
#define __WIN32_DWM_COMMON_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -23,13 +23,8 @@ extern "C" {
|
|||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "../general.h"
|
|
||||||
#include <boolean.h>
|
#include <boolean.h>
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "../config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
void gfx_set_dwm(void);
|
void gfx_set_dwm(void);
|
||||||
#endif
|
#endif
|
@ -87,6 +87,7 @@ UI COMMON CONTEXT
|
|||||||
============================================================ */
|
============================================================ */
|
||||||
#if defined(_WIN32) && !defined(_XBOX)
|
#if defined(_WIN32) && !defined(_XBOX)
|
||||||
#include "../gfx/drivers_context/win32_common.c"
|
#include "../gfx/drivers_context/win32_common.c"
|
||||||
|
#include "../gfx/drivers_context/win32_dwm_common.c"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*============================================================
|
/*============================================================
|
||||||
@ -198,8 +199,6 @@ VIDEO DRIVER
|
|||||||
#include "../gfx/drivers/omap_gfx.c"
|
#include "../gfx/drivers/omap_gfx.c"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "../gfx/gfx_common.c"
|
|
||||||
|
|
||||||
#ifdef _XBOX
|
#ifdef _XBOX
|
||||||
#include "../xdk/xdk_resources.cpp"
|
#include "../xdk/xdk_resources.cpp"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user