Stefan Dösinger
|
beb64c9998
|
wined3d: Separate surface locations and flags.
|
2014-01-17 18:10:08 +01:00 |
Stefan Dösinger
|
00923cb50c
|
wined3d: Remove surface_ops->map.
|
2014-01-17 18:10:05 +01:00 |
Stefan Dösinger
|
f1ac04f2a6
|
wined3d: Add a missing break.
|
2014-01-17 16:22:51 +01:00 |
Stefan Dösinger
|
65bc678fcc
|
wined3d: Prevent blits to surfaces that will be converted.
|
2014-01-16 21:04:19 +01:00 |
Stefan Dösinger
|
09dbba00d0
|
wined3d: Remove surface_init_sysmem.
|
2014-01-16 21:04:19 +01:00 |
Stefan Dösinger
|
abb620ed2e
|
wined3d: Sysmem can be freed when user memory is used.
|
2014-01-16 21:04:19 +01:00 |
Stefan Dösinger
|
2b8e900ac4
|
wined3d: Give buffers their own location.
|
2014-01-15 20:03:53 +01:00 |
Stefan Dösinger
|
321cd8e825
|
wined3d: Decide about PBO use at surface creation time.
|
2014-01-15 20:03:47 +01:00 |
Stefan Dösinger
|
7c052171d6
|
wined3d: Remove SFLAG_PBO.
|
2014-01-15 20:03:35 +01:00 |
Stefan Dösinger
|
035012d5aa
|
wined3d: Load textures from dib without copying to sysmem first.
|
2014-01-15 20:03:33 +01:00 |
Stefan Dösinger
|
42927d0e9d
|
wined3d: Add INDIB and INUSERMEM to resource_access_from_location.
|
2014-01-15 20:03:31 +01:00 |
Stefan Dösinger
|
d0823eb4f0
|
wined3d: Re-enable mapping into the DIB.
|
2014-01-14 20:18:25 +01:00 |
Stefan Dösinger
|
9665884766
|
wined3d: Don't map the surface in getdc.
This avoids bouncing the content between the map binding and DIB.
|
2014-01-14 20:18:25 +01:00 |
Stefan Dösinger
|
adf0ab2ad8
|
wined3d: Give the DIB section its own location.
|
2014-01-14 20:18:24 +01:00 |
Stefan Dösinger
|
f6403b4ac0
|
wined3d: Do not use surface->resource.allocatedMemory.
|
2014-01-14 20:18:23 +01:00 |
Stefan Dösinger
|
353b3ba6d3
|
wined3d: Don't lock directly into the DIB.
|
2014-01-14 20:18:22 +01:00 |
Stefan Dösinger
|
4ca8f7104f
|
wined3d: Move map binding loading to wined3d_surface_map.
|
2014-01-13 18:41:42 +01:00 |
Stefan Dösinger
|
e2c0bc63cb
|
wined3d: Start to split up surface_prepare_system_memory.
|
2014-01-13 18:41:15 +01:00 |
Stefan Dösinger
|
676a7f2140
|
wined3d: Make the callers of load_location responsible for allocating sysmem.
|
2014-01-13 18:41:09 +01:00 |
Stefan Dösinger
|
28bfc20589
|
wined3d: Use the map binding to optimize sysmem->sysmem blits.
|
2014-01-13 18:41:03 +01:00 |
Stefan Dösinger
|
965d00f4b6
|
wined3d: Give user memory its own location.
|
2014-01-10 17:59:16 +01:00 |
Stefan Dösinger
|
badf3d8db7
|
wined3d: Load surfaces into map binding memory on unload.
A surface can stay in DIB or user memory just fine. When buffers get
their own location an exception for them has to be added.
|
2014-01-10 17:56:48 +01:00 |
Stefan Dösinger
|
18bf8b49b3
|
wined3d: Move location flag updating out of surface_init_sysmem.
|
2014-01-10 17:56:43 +01:00 |
Stefan Dösinger
|
1b561e815e
|
wined3d: Use the map binding for RGB<->sRGB loads.
|
2014-01-10 17:56:39 +01:00 |
Stefan Dösinger
|
5c1df19b16
|
wined3d: Use the map binding to reload surfaces on color key changes.
|
2014-01-10 17:56:30 +01:00 |
Stefan Dösinger
|
5479ccea20
|
wined3d: Use the map binding to reload surfaces on palette changes.
|
2014-01-10 17:56:27 +01:00 |
Stefan Dösinger
|
1046551c34
|
wined3d: Add a map_binding field to surfaces.
Buffers, heap memory, user memory and DIBs will have their own
locations. This field specifies which location is used when the surface
is mapped.
|
2014-01-10 17:56:24 +01:00 |
Henri Verbeet
|
51cdeeacd4
|
wined3d: Explicitly request alpha testing for blitting the cursor and logo textures to screen.
|
2014-01-10 12:06:09 +01:00 |
Frédéric Delanoy
|
91f2435469
|
Assorted spelling fixes.
|
2014-01-09 17:39:59 +01:00 |
Stefan Dösinger
|
441d8ffeb2
|
wined3d: Mark the system location up to date in the DIB recreation codepath.
|
2014-01-09 17:39:54 +01:00 |
Stefan Dösinger
|
db6d3c500c
|
wined3d: Remove SFLAG_USERPTR.
|
2014-01-09 17:39:53 +01:00 |
Henri Verbeet
|
4710c4b51a
|
wined3d: Store color keys in textures instead of in surfaces.
|
2014-01-09 15:50:39 +01:00 |
Stefan Dösinger
|
b91973daa7
|
wined3d: Merge wined3d_surface_set_mem into wined3d_surface_update_desc .
|
2014-01-08 20:02:22 +01:00 |
Stefan Dösinger
|
82666af87a
|
wined3d: Simplify wined3d_surface_set_mem.
|
2014-01-08 19:58:56 +01:00 |
Stefan Dösinger
|
70eab9d025
|
wined3d: Support custom pitches in wined3d_surface_update_desc.
|
2014-01-08 17:35:08 +01:00 |
Stefan Dösinger
|
fb75292875
|
wined3d: Don't store user memory in allocatedMemory.
|
2013-12-13 16:55:30 +01:00 |
Stefan Dösinger
|
a1762ba8a4
|
wined3d: Don't check for render target usage in wined3d_surface_set_mem.
Ddraw and d3d9 already take care of this.
|
2013-12-13 16:55:28 +01:00 |
Henri Verbeet
|
4e7b62a46d
|
wined3d: Get rid of unused palette flags.
|
2013-12-13 12:36:11 +01:00 |
Stefan Dösinger
|
78fda5cea0
|
wined3d: Rename surface_load_pbo to surface_create_pbo.
|
2013-12-11 18:17:02 +01:00 |
Stefan Dösinger
|
4de7249d23
|
wined3d: Call buffer_get_memory in surface_load_pbo.
|
2013-12-11 18:17:01 +01:00 |
Stefan Dösinger
|
800571c015
|
wined3d: Use surface_get_memory in surface_download_data.
|
2013-12-11 18:17:01 +01:00 |
Stefan Dösinger
|
9b67b1b8a1
|
wined3d: Support getdc with user memory.
|
2013-12-11 18:17:00 +01:00 |
Henri Verbeet
|
544e52bff4
|
wined3d: Recreate DIB sections in wined3d_surface_update_desc().
Since commit 6bc69c271b , the GDI implementation
assumes DIB sections always exist.
|
2013-12-11 15:14:49 +01:00 |
Henri Verbeet
|
7524258aaf
|
ddraw: Implement flips inside ddraw.
|
2013-12-05 12:40:56 +01:00 |
Frédéric Delanoy
|
5ba7f79bad
|
Assorted spelling fixes.
|
2013-12-03 19:41:53 +01:00 |
Stefan Dösinger
|
60ecf707a7
|
wined3d: Remove a useless comment.
|
2013-12-02 17:16:45 +01:00 |
Stefan Dösinger
|
6f865d3ea5
|
wined3d: Don't pass the pitch to read_from_framebuffer.
|
2013-12-02 17:16:43 +01:00 |
Stefan Dösinger
|
e8c774e486
|
wined3d: Remove redundant state restoration from read_from_framebuffer.
|
2013-12-02 17:16:38 +01:00 |
Stefan Dösinger
|
6907faf805
|
wined3d: Use surface_get_memory in read_from_framebuffer.
|
2013-12-02 17:16:34 +01:00 |
Stefan Dösinger
|
ae3788dcba
|
wined3d: Add a function to retrieve surface data.
|
2013-12-02 17:16:28 +01:00 |