Closed Bug 379167 Opened 17 years ago Closed 13 years ago

[BeOS] Thebes gfx changes not included in BeOS code

Categories

(Core :: Graphics, defect)

x86
BeOS
defect
Not set
major

Tracking

()

RESOLVED WONTFIX

People

(Reporter: doug, Assigned: doug)

References

Details

Attachments

(1 file, 1 obsolete file)

Changes incorporated in Thebes platform-specific gfx code from bug 375446 and bug  332115 were not incorporated into gfxBeOSPlatform code.  BeOS building breaks at building gfxPlatform.cpp

Need to incorporate changes in gfxBeOSPlatform.h and gfxBeOSPlatform.cpp
Blocks: 356310
Based on code changes to gfxPlatformGtk.
Assignee: nobody → doug
Status: NEW → ASSIGNED
Attachment #263197 - Flags: review?(cbiesinger)
Comment on attachment 263197 [details] [diff] [review]
changes to allow gfxPlatform to build

-    already_AddRefed<gfxASurface>
-        CreateOffscreenSurface(PRUint32 width,
-                               PRUint32 height,
-                               gfxASurface::gfxImageFormat imageFormat);
+    already_AddRefed<gfxASurface> CreateOffscreenSurface(const gfxIntSize& size,
+                                                         gfxASurface::gfxImageFormat imageFormat);
 
Your lines are really long now... can you format them more like the original code?

Hm, is this patch really enough? You don't have to change the implementation of CreateOffscreenSurface in the .cpp file?
I'll reformat, no problem.  I copied the code from the gtk version, formatting and all.  We may need to change the .cpp file also in order for the code to function correctly but this patch at least gets past the build problems.  Once I get a working build, I'm sure there will be more work to do.
Attachment #263197 - Attachment is obsolete: true
Attachment #263197 - Flags: review?(cbiesinger)
Attachment #263458 - Flags: review?(vladimir)
Comment on attachment 263458 [details] [diff] [review]
revised formatting per biesi's request

gfxBeOSPlatform.cpp has a gfxPlatformGtk::... member function declared (copy-paste error?).. in any case, you don't need review from me for BeOS-only code.
Attachment #263458 - Flags: review?(vladimir) → review-
if you don't make the cpp change that I mentioned gfxPlatformBeOS.cpp can't be compiled. vlad's comment is something else that'd break that file. I guess there's another build breakage before that file is reached...
Blocks: 430829
No longer blocks: 430829
BeOS is dead.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: