ilo: move ilo_format.[ch] out of core

They provide PIPE_FORMAT_x to GEN6_FORMAT_x translation as well as some
convenient helpers.  Move them out of core.
This commit is contained in:
Chia-I Wu 2015-06-22 14:06:13 +08:00
parent 3547bb0783
commit 513bc5d90b
5 changed files with 8 additions and 8 deletions

View File

@ -15,8 +15,6 @@ C_SOURCES := \
core/ilo_debug.h \
core/ilo_dev.c \
core/ilo_dev.h \
core/ilo_format.c \
core/ilo_format.h \
core/ilo_image.c \
core/ilo_image.h \
core/ilo_state_cc.c \
@ -60,6 +58,8 @@ C_SOURCES := \
ilo_cp.h \
ilo_draw.c \
ilo_draw.h \
ilo_format.c \
ilo_format.h \
ilo_gpgpu.c \
ilo_gpgpu.h \
ilo_public.h \

View File

@ -26,8 +26,8 @@
*/
#include "genhw/genhw.h"
#include "ilo_state_surface.h"
#include "ilo_state_vf.h"
#include "core/ilo_state_surface.h"
#include "core/ilo_state_vf.h"
#include "ilo_format.h"
bool

View File

@ -29,8 +29,8 @@
#define ILO_FORMAT_H
#include "genhw/genhw.h"
#include "ilo_core.h"
#include "ilo_dev.h"
#include "ilo_common.h"
bool
ilo_format_support_vb(const struct ilo_dev *dev,

View File

@ -31,10 +31,10 @@
#include "vl/vl_decoder.h"
#include "vl/vl_video_buffer.h"
#include "genhw/genhw.h" /* for GEN6_REG_TIMESTAMP */
#include "core/ilo_format.h"
#include "core/intel_winsys.h"
#include "ilo_context.h"
#include "ilo_format.h"
#include "ilo_resource.h"
#include "ilo_transfer.h" /* for ILO_TRANSFER_MAP_BUFFER_ALIGNMENT */
#include "ilo_public.h"

View File

@ -26,7 +26,6 @@
*/
#include "core/ilo_builder_3d.h" /* for gen6_3d_translate_pipe_prim() */
#include "core/ilo_format.h"
#include "util/u_dual_blend.h"
#include "util/u_dynarray.h"
#include "util/u_framebuffer.h"
@ -35,6 +34,7 @@
#include "util/u_upload_mgr.h"
#include "ilo_context.h"
#include "ilo_format.h"
#include "ilo_resource.h"
#include "ilo_shader.h"
#include "ilo_state.h"